Lines Matching defs:ctx_mask
1015 uint64_t ctx_mask, test = 1ull << i;
1027 ctx_mask = (*bucket_ptr << DCB_LOCK_BITS) >> DCB_LOCK_BITS;
1029 ASSERT(ctx_mask >> DCB_BMAP_BITS == 0);
1031 if (ctx_mask & test) /* quick check i bit */
1032 for (i = 0, test = 1ull; test & ctx_mask; test <<= 1, i++)
1035 ctx_mask |= test;
1036 *bucket_ptr = ctx_mask; /* unlock */
1041 "get_dvma_context: ctx_mask=0x%x.%x ctx=0x%x\n",
1042 (uint32_t)(ctx_mask >> 32), (uint32_t)ctx_mask, ctx);
1049 uint64_t ctx_mask;
1060 ctx_mask = (*bucket_ptr << DCB_LOCK_BITS) >> DCB_LOCK_BITS;
1062 ASSERT(ctx_mask & (1ull << bit_no));
1063 *bucket_ptr = ctx_mask ^ (1ull << bit_no); /* clear & unlock */