Lines Matching refs:n_bits
57 unsigned int n_bits; \
118 unsigned int n_bits;
131 ck_bitmap_base(unsigned int n_bits)
134 return CK_BITMAP_BLOCKS(n_bits) * sizeof(unsigned int);
142 ck_bitmap_size(unsigned int n_bits)
145 return ck_bitmap_base(n_bits) + sizeof(struct ck_bitmap);
155 return bitmap->n_bits;
226 unsigned int n_buckets = dst->n_bits;
228 if (src->n_bits < dst->n_bits)
229 n_buckets = src->n_bits;
249 unsigned int n_buckets = dst->n_bits;
252 if (src->n_bits < n_intersect)
253 n_intersect = src->n_bits;
278 unsigned int n_intersect = dst->n_bits;
280 if (src->n_bits < n_intersect)
281 n_intersect = src->n_bits;
300 unsigned int n_buckets = ck_bitmap_base(bitmap->n_bits) /
319 if (limit > bitmap->n_bits)
320 limit = bitmap->n_bits;
350 if (limit > bitmap->n_bits) {
351 limit = bitmap->n_bits;
381 if (limit > bitmap->n_bits)
382 limit = bitmap->n_bits;
409 if (limit > x->n_bits)
410 limit = x->n_bits;
412 if (limit > y->n_bits)
413 limit = y->n_bits;
438 * ck_bitmap_size(n_bits) bytes. Third argument determines whether
443 unsigned int n_bits,
446 unsigned int base = ck_bitmap_base(n_bits);
448 bitmap->n_bits = n_bits;
452 unsigned int b = n_bits % CK_BITMAP_BLOCK;
457 *CK_BITMAP_PTR(bitmap->map, n_bits - 1) &= (1U << b) - 1U;
472 i->n_limit = CK_BITMAP_BLOCKS(bitmap->n_bits);