Home
last modified time | relevance | path

Searched refs:maxshift (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/lib/
H A Dradix-tree.c412 unsigned int maxshift; in radix_tree_extend() local
416 maxshift = shift; in radix_tree_extend()
417 while (index > shift_maxindex(maxshift)) in radix_tree_extend()
418 maxshift += RADIX_TREE_MAP_SHIFT; in radix_tree_extend()
459 } while (shift <= maxshift); in radix_tree_extend()
461 return maxshift + RADIX_TREE_MAP_SHIFT; in radix_tree_extend()
/openbmc/qemu/hw/ppc/
H A Dspapr_caps.c350 unsigned maxshift = *((unsigned *)opaque); in spapr_pagesize_cb() local
356 if (pshift > maxshift) { in spapr_pagesize_cb()
434 unsigned maxshift = val; in cap_hpt_maxpagesize_cpu_apply() local
436 ppc_hash64_filter_pagesizes(cpu, spapr_pagesize_cb, &maxshift); in cap_hpt_maxpagesize_cpu_apply()
H A Dspapr_hcall.c1241 int maxshift = spapr_hpt_shift_for_ramsize(MACHINE(spapr)->maxram_size); in do_client_architecture_support() local
1249 if (spapr->htab_shift < maxshift) { in do_client_architecture_support()
1254 spapr_reallocate_hpt(spapr, maxshift, &error_fatal); in do_client_architecture_support()
/openbmc/linux/kernel/time/
H A Dtimekeeping.c2155 int shift = 0, maxshift; in timekeeping_advance() local
2186 maxshift = (64 - (ilog2(ntp_tick_length())+1)) - 1; in timekeeping_advance()
2187 shift = min(shift, maxshift); in timekeeping_advance()