Home
last modified time | relevance | path

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

/linux-5.19.10/tools/testing/selftests/powerpc/mm/
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-5.19.10/arch/mips/sgi-ip27/
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-5.19.10/drivers/md/
Ddm-region-hash.c59 unsigned region_shift; member
119 return sector >> rh->region_shift; in dm_rh_sector_to_region()
124 return region << rh->region_shift; in dm_rh_region_to_sector()
198 rh->region_shift = __ffs(region_size); in dm_region_hash_create()
Ddm-clone-target.c78 unsigned int region_shift; member
278 return ((sector_t)region_nr << clone->region_shift); in region_to_sector()
284 return (bio->bi_iter.bi_sector >> clone->region_shift); in bio_to_region()
294 end = bio_end_sector(bio) >> clone->region_shift; in bio_region_range()
468 nr_regions << clone->region_shift); in complete_discard_bio()
1818 clone->region_shift = __ffs(clone->region_size); in clone_ctr()