Lines Matching refs:in_use
61 int in_use_deks; /* the number of keys being used, with in_use bit 1 */
65 unsigned long *in_use;
307 bulk->in_use = bitmap_zalloc(num_deks, GFP_KERNEL);
308 if (!bulk->in_use) {
327 bitmap_free(bulk->in_use);
353 bitmap_free(bulk->in_use);
403 bitmap_set(bulk->in_use, pos, 1);
435 old_val = test_and_clear_bit(obj_offset, bulk->in_use);
470 * As the combinations of (need_sync, in_use) of one DEK are
476 * hweight_long(need_sync XOR in_use), and the need_sync bits can be reset
477 * by simply copying from in_use bits.
483 unsigned long *in_use = bulk->in_use;
490 i++, need_sync++, in_use++) {
491 reused = hweight_long((*need_sync) ^ (*in_use));
497 *need_sync = *in_use;