Searched refs:bitidx (Results 1 – 2 of 2) sorted by relevance
492 unsigned long bitidx, word_bitidx; in __get_pfnblock_flags_mask() local496 bitidx = pfn_to_bitidx(page, pfn); in __get_pfnblock_flags_mask()497 word_bitidx = bitidx / BITS_PER_LONG; in __get_pfnblock_flags_mask()498 bitidx &= (BITS_PER_LONG-1); in __get_pfnblock_flags_mask()501 return (word >> bitidx) & mask; in __get_pfnblock_flags_mask()536 unsigned long bitidx, word_bitidx; in set_pfnblock_flags_mask() local543 bitidx = pfn_to_bitidx(page, pfn); in set_pfnblock_flags_mask()544 word_bitidx = bitidx / BITS_PER_LONG; in set_pfnblock_flags_mask()545 bitidx &= (BITS_PER_LONG-1); in set_pfnblock_flags_mask()549 mask <<= bitidx; in set_pfnblock_flags_mask()[all …]
616 static void remove_addr_bit(u64 *addr, int bitidx) in remove_addr_bit() argument620 if (bitidx == -1) in remove_addr_bit()623 mask = (1ull << bitidx) - 1; in remove_addr_bit()