Home
last modified time | relevance | path

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

/Linux-v4.19/mm/
Dpage_alloc.c379 unsigned long bitidx, word_bitidx; in __get_pfnblock_flags_mask() local
383 bitidx = pfn_to_bitidx(page, pfn); in __get_pfnblock_flags_mask()
384 word_bitidx = bitidx / BITS_PER_LONG; in __get_pfnblock_flags_mask()
385 bitidx &= (BITS_PER_LONG-1); in __get_pfnblock_flags_mask()
388 bitidx += end_bitidx; in __get_pfnblock_flags_mask()
389 return (word >> (BITS_PER_LONG - bitidx - 1)) & mask; in __get_pfnblock_flags_mask()
418 unsigned long bitidx, word_bitidx; in set_pfnblock_flags_mask() local
424 bitidx = pfn_to_bitidx(page, pfn); in set_pfnblock_flags_mask()
425 word_bitidx = bitidx / BITS_PER_LONG; in set_pfnblock_flags_mask()
426 bitidx &= (BITS_PER_LONG-1); in set_pfnblock_flags_mask()
[all …]
/Linux-v4.19/drivers/edac/
Dpnd2_edac.c619 static void remove_addr_bit(u64 *addr, int bitidx) in remove_addr_bit() argument
623 if (bitidx == -1) in remove_addr_bit()
626 mask = (1ull << bitidx) - 1; in remove_addr_bit()