Searched refs:bitidx (Results 1 – 2 of 2) sorted by relevance
1544 u16 bitidx = *start; in num_free_groups() local1546 if (bitidx >= BITS_PER_LONG) in num_free_groups()1549 map &= ~((1ULL << bitidx) - 1); in num_free_groups()1550 free = tzcnt(map) - bitidx; in num_free_groups()1551 while (!free && bitidx < BITS_PER_LONG) { in num_free_groups()1553 map &= ~(1ULL << bitidx); in num_free_groups()1562 free = tzcnt(map) - ++bitidx; in num_free_groups()1564 *start = bitidx; in num_free_groups()1579 u16 useidx, idx, bitidx, tidcnt = 0; in exp_tid_setup() local1608 bitidx = tidcursor & 0xffff; in exp_tid_setup()[all …]
6461 unsigned long bitidx, word_bitidx; in get_pfnblock_flags_mask() local6466 bitidx = pfn_to_bitidx(zone, pfn); in get_pfnblock_flags_mask()6467 word_bitidx = bitidx / BITS_PER_LONG; in get_pfnblock_flags_mask()6468 bitidx &= (BITS_PER_LONG-1); in get_pfnblock_flags_mask()6471 bitidx += end_bitidx; in get_pfnblock_flags_mask()6472 return (word >> (BITS_PER_LONG - bitidx - 1)) & mask; in get_pfnblock_flags_mask()6490 unsigned long bitidx, word_bitidx; in set_pfnblock_flags_mask() local6497 bitidx = pfn_to_bitidx(zone, pfn); in set_pfnblock_flags_mask()6498 word_bitidx = bitidx / BITS_PER_LONG; in set_pfnblock_flags_mask()6499 bitidx &= (BITS_PER_LONG-1); in set_pfnblock_flags_mask()[all …]