Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/staging/rdma/hfi1/
Dfile_ops.c1544 u16 bitidx = *start; in num_free_groups() local
1546 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() local
1608 bitidx = tidcursor & 0xffff; in exp_tid_setup()
[all …]
/linux-4.4.14/mm/
Dpage_alloc.c6461 unsigned long bitidx, word_bitidx; in get_pfnblock_flags_mask() local
6466 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() local
6497 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 …]