]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: introduce mas_wr_store_type()
authorSidhartha Kumar <sidhartha.kumar@oracle.com>
Fri, 29 Sep 2023 20:10:47 +0000 (13:10 -0700)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Sat, 20 Apr 2024 01:40:08 +0000 (21:40 -0400)
commit509c77184bf28a6829e2279937eddda106437dcd
tree1bc60914421e8f3b1d13f7cddb9ef9e0d6dd1916
parent4e52f8d37d18af58a5ecdbd5cdecf4aca64b20ac
maple_tree: introduce mas_wr_store_type()

Abstract the calculation used to determine the number of nodes needed for
a store operation into a separate function mas_prealloc_calc().

Signed-off-by: Sidhartha Kumar <sidhartha.kumar@oracle.com>
lib/maple_tree.c