Home
last modified time | relevance | path

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

/linux-6.12.1/mm/
Dpage_alloc.c363 unsigned long bitidx, word_bitidx; in get_pfnblock_flags_mask() local
367 bitidx = pfn_to_bitidx(page, pfn); in get_pfnblock_flags_mask()
368 word_bitidx = bitidx / BITS_PER_LONG; in get_pfnblock_flags_mask()
369 bitidx &= (BITS_PER_LONG-1); in get_pfnblock_flags_mask()
376 return (word >> bitidx) & mask; in get_pfnblock_flags_mask()
397 unsigned long bitidx, word_bitidx; in set_pfnblock_flags_mask() local
404 bitidx = pfn_to_bitidx(page, pfn); in set_pfnblock_flags_mask()
405 word_bitidx = bitidx / BITS_PER_LONG; in set_pfnblock_flags_mask()
406 bitidx &= (BITS_PER_LONG-1); in set_pfnblock_flags_mask()
410 mask <<= bitidx; in set_pfnblock_flags_mask()
[all …]
/linux-6.12.1/drivers/edac/
Dpnd2_edac.c595 static void remove_addr_bit(u64 *addr, int bitidx) in remove_addr_bit() argument
599 if (bitidx == -1) in remove_addr_bit()
602 mask = BIT_ULL(bitidx) - 1; in remove_addr_bit()