Lines Matching refs:smask
26 uint32_t smask, emask; member
39 bd->smask = ~(BIT(bd->soff) - 1); in setup_bundle_data()
44 bd->smask &= bd->emask; in setup_bundle_data()
84 if ((bundle & bd->smask) != bd->smask) { in match_region()
86 mismatch_bundle = ~bundle & bd->smask; in match_region()
103 if ((bundle & bd->smask) != bd->smask) { in match_region()
105 mismatch_bundle = ~bundle & bd->smask; in match_region()
187 bitarray->bundles[bd->sidx] |= bd->smask; in set_region()
189 bitarray->bundles[bd->sidx] &= ~bd->smask; in set_region()
198 bitarray->bundles[bd->sidx] |= bd->smask; in set_region()
204 bitarray->bundles[bd->sidx] &= ~bd->smask; in set_region()
240 *count = POPCOUNT(bitarray->bundles[bd.sidx] & bd.smask); in sys_bitarray_popcount_region()
248 *count += POPCOUNT(bitarray->bundles[bd.sidx] & bd.smask); in sys_bitarray_popcount_region()
293 ((other->bundles[bd.sidx] ^ dst->bundles[bd.sidx]) & bd.smask) | in sys_bitarray_xor()
294 (dst->bundles[bd.sidx] & ~bd.smask); in sys_bitarray_xor()
302 ((other->bundles[bd.sidx] ^ dst->bundles[bd.sidx]) & bd.smask) | in sys_bitarray_xor()
303 (dst->bundles[bd.sidx] & ~bd.smask); in sys_bitarray_xor()
586 count = POPCOUNT(bitarray->bundles[bd.sidx] & bd.smask); in sys_bitarray_find_nth_set()
590 mask = bd.smask; in sys_bitarray_find_nth_set()