Home
last modified time | relevance | path

Searched refs:old_order (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/tools/testing/radix-tree/
Dmultiorder.c465 static void check_mem(unsigned old_order, unsigned new_order, unsigned alloc) in check_mem() argument
469 printv(2, "split(%u %u) remaining %u\n", old_order, new_order, in check_mem()
477 printv(2, "split(%u %u) allocated %u %u\n", old_order, new_order, in check_mem()
481 static void __multiorder_split(int old_order, int new_order) in __multiorder_split() argument
490 assert(item_insert_order(&tree, 0, old_order) == 0); in __multiorder_split()
498 radix_tree_split_preload(old_order, new_order, GFP_KERNEL); in __multiorder_split()
501 check_mem(old_order, new_order, alloc); in __multiorder_split()
512 static void __multiorder_split2(int old_order, int new_order) in __multiorder_split2() argument
520 __radix_tree_insert(&tree, 0, old_order, (void *)0x12); in __multiorder_split2()
539 static void __multiorder_split3(int old_order, int new_order) in __multiorder_split3() argument
[all …]
Dbenchmark.c150 int old_order, int new_order) in __benchmark_split() argument
156 item_insert_order(&tree, index, old_order); in __benchmark_split()
/Linux-v4.19/arch/x86/kernel/
Daperture_64.c157 u32 old_order; in read_agp() local
168 old_order = *order; in read_agp()
188 bus, slot, func, aper, aper + (32ULL << (old_order + 20)) - 1, in read_agp()
189 32 << old_order); in read_agp()
193 *order = old_order; in read_agp()
/Linux-v4.19/include/linux/
Dradix-tree.h357 int radix_tree_split_preload(unsigned old_order, unsigned new_order, gfp_t);
/Linux-v4.19/lib/
Dradix-tree.c538 int radix_tree_split_preload(unsigned int old_order, unsigned int new_order, in radix_tree_split_preload() argument
541 unsigned top = 1 << (old_order % RADIX_TREE_MAP_SHIFT); in radix_tree_split_preload()
542 unsigned layers = (old_order / RADIX_TREE_MAP_SHIFT) - in radix_tree_split_preload()
547 BUG_ON(new_order >= old_order); in radix_tree_split_preload()