Lines Matching refs:offset
24 unsigned long offset) in find_next_bit() argument
29 if (unlikely(offset >= size)) in find_next_bit()
32 val = *addr & GENMASK(size - 1, offset); in find_next_bit()
36 return _find_next_bit(addr, NULL, size, offset, 0UL, 0); in find_next_bit()
54 unsigned long offset) in find_next_and_bit() argument
59 if (unlikely(offset >= size)) in find_next_and_bit()
62 val = *addr1 & *addr2 & GENMASK(size - 1, offset); in find_next_and_bit()
66 return _find_next_bit(addr1, addr2, size, offset, 0UL, 0); in find_next_and_bit()
82 unsigned long offset) in find_next_zero_bit() argument
87 if (unlikely(offset >= size)) in find_next_zero_bit()
90 val = *addr | ~GENMASK(size - 1, offset); in find_next_zero_bit()
94 return _find_next_bit(addr, NULL, size, offset, ~0UL, 0); in find_next_zero_bit()