Searched refs:bitidx (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/mm/
H A Dpage_alloc.c6194 unsigned long bitidx, word_bitidx; get_pfnblock_flags_mask() local
6199 bitidx = pfn_to_bitidx(zone, pfn); get_pfnblock_flags_mask()
6200 word_bitidx = bitidx / BITS_PER_LONG; get_pfnblock_flags_mask()
6201 bitidx &= (BITS_PER_LONG-1); get_pfnblock_flags_mask()
6204 bitidx += end_bitidx; get_pfnblock_flags_mask()
6205 return (word >> (BITS_PER_LONG - bitidx - 1)) & mask; get_pfnblock_flags_mask()
6223 unsigned long bitidx, word_bitidx; set_pfnblock_flags_mask() local
6230 bitidx = pfn_to_bitidx(zone, pfn); set_pfnblock_flags_mask()
6231 word_bitidx = bitidx / BITS_PER_LONG; set_pfnblock_flags_mask()
6232 bitidx &= (BITS_PER_LONG-1); set_pfnblock_flags_mask()
6236 bitidx += end_bitidx; set_pfnblock_flags_mask()
6237 mask <<= (BITS_PER_LONG - bitidx - 1); set_pfnblock_flags_mask()
6238 flags <<= (BITS_PER_LONG - bitidx - 1); set_pfnblock_flags_mask()

Completed in 68 milliseconds