Home
last modified time | relevance | path

Searched refs:region_shift (Results 1 – 3 of 3) sorted by relevance

/linux/tools/testing/selftests/powerpc/mm/
H A Dbad_accesses.c69 unsigned long i, j, addr, region_shift, page_shift, page_size; in test() local
89 region_shift = 52; in test()
94 region_shift = 46; in test()
104 1ul << region_shift); in test()
120 for (i = 1; i <= ((0xful << 60) >> region_shift); i++) { in test()
124 base = i << region_shift; in test()
/linux/arch/mips/sgi-ip27/
H A Dip27-memory.c42 int region_shift; in gen_region_mask() local
46 region_shift = get_region_shift(); in gen_region_mask()
49 region_mask |= BIT_ULL(nasid >> region_shift); in gen_region_mask()
/linux/drivers/md/
H A Ddm-region-hash.c62 unsigned int region_shift; member
122 return sector >> rh->region_shift; in dm_rh_sector_to_region()
127 return region << rh->region_shift; in dm_rh_region_to_sector()
201 rh->region_shift = __ffs(region_size); in dm_region_hash_create()