Lines Matching refs:CK_BITMAP_BLOCK
48 #define CK_BITMAP_BLOCK (sizeof(unsigned int) * CHAR_BIT)
49 #define CK_BITMAP_OFFSET(i) ((i) % CK_BITMAP_BLOCK)
51 #define CK_BITMAP_PTR(x, i) ((x) + ((i) / CK_BITMAP_BLOCK))
52 #define CK_BITMAP_BLOCKS(n) (((n) + CK_BITMAP_BLOCK - 1) / CK_BITMAP_BLOCK)
322 words = limit / CK_BITMAP_BLOCK;
323 slop = limit % CK_BITMAP_BLOCK;
354 words = limit / CK_BITMAP_BLOCK;
355 slop = limit % CK_BITMAP_BLOCK;
384 words = limit / CK_BITMAP_BLOCK;
385 slop = limit % CK_BITMAP_BLOCK;
415 words = limit / CK_BITMAP_BLOCK;
416 slop = limit % CK_BITMAP_BLOCK;
452 unsigned int b = n_bits % CK_BITMAP_BLOCK;
509 *bit = CK_BITMAP_BLOCK * n_block + ck_cc_ctz(cache);