Lines Matching refs:eidx

20 	size_t sidx, eidx;  member
36 bd->eidx = (offset + num_bits - 1) / bundle_bitness(bitarray); in setup_bundle_data()
42 if (bd->sidx == bd->eidx) { in setup_bundle_data()
78 if (bd->sidx == bd->eidx) { in match_region()
111 bundle = bitarray->bundles[bd->eidx]; in match_region()
119 mismatch_bundle_idx = bd->eidx; in match_region()
124 for (idx = bd->sidx + 1; idx < bd->eidx; idx++) { in match_region()
184 if (bd->sidx == bd->eidx) { in set_region()
199 bitarray->bundles[bd->eidx] |= bd->emask; in set_region()
200 for (idx = bd->sidx + 1; idx < bd->eidx; idx++) { in set_region()
205 bitarray->bundles[bd->eidx] &= ~bd->emask; in set_region()
206 for (idx = bd->sidx + 1; idx < bd->eidx; idx++) { in set_region()
238 if (bd.sidx == bd.eidx) { in sys_bitarray_popcount_region()
249 *count += POPCOUNT(bitarray->bundles[bd.eidx] & bd.emask); in sys_bitarray_popcount_region()
250 for (idx = bd.sidx + 1; idx < bd.eidx; idx++) { in sys_bitarray_popcount_region()
290 if (bd.sidx == bd.eidx) { in sys_bitarray_xor()
304 dst->bundles[bd.eidx] = in sys_bitarray_xor()
305 ((other->bundles[bd.eidx] ^ dst->bundles[bd.eidx]) & bd.emask) | in sys_bitarray_xor()
306 (dst->bundles[bd.eidx] & ~bd.emask); in sys_bitarray_xor()
307 for (idx = bd.sidx + 1; idx < bd.eidx; idx++) { in sys_bitarray_xor()
594 if (bd.sidx != bd.eidx) { in sys_bitarray_find_nth_set()
600 for (idx = bd.sidx + 1; idx < bd.eidx; idx++) { in sys_bitarray_find_nth_set()
609 count = POPCOUNT(bitarray->bundles[bd.eidx] & bd.emask); in sys_bitarray_find_nth_set()
611 idx = bd.eidx; in sys_bitarray_find_nth_set()