Lines Matching refs:BLOCK_REFCOUNT_MASK
106 if ((old_value & BLOCK_REFCOUNT_MASK) == BLOCK_REFCOUNT_MASK) {
107 return BLOCK_REFCOUNT_MASK;
119 if ((old_value & BLOCK_REFCOUNT_MASK) == BLOCK_REFCOUNT_MASK) {
120 return BLOCK_REFCOUNT_MASK;
132 if ((old_value & BLOCK_REFCOUNT_MASK) == BLOCK_REFCOUNT_MASK) {
133 return BLOCK_REFCOUNT_MASK;
135 if ((old_value & BLOCK_REFCOUNT_MASK) == 0) {
148 if ((old_value & BLOCK_REFCOUNT_MASK) == BLOCK_REFCOUNT_MASK) {
149 return BLOCK_REFCOUNT_MASK;
151 if ((old_value & BLOCK_REFCOUNT_MASK) == 0) {
302 if (wantsOne && ((latching_incr_int(&aBlock->flags) & BLOCK_REFCOUNT_MASK) == 1)) {
318 result->flags &= ~(BLOCK_REFCOUNT_MASK); // XXX not needed
337 flags &= ~(BLOCK_NEEDS_FREE|BLOCK_REFCOUNT_MASK); // XXX not needed
377 else if ((src->forwarding->flags & BLOCK_REFCOUNT_MASK) == 0) {
427 refcount = shared_struct->flags & BLOCK_REFCOUNT_MASK;
431 else if ((latching_decr_int(&shared_struct->flags) & BLOCK_REFCOUNT_MASK) == 0) {
463 newCount = latching_decr_int(&aBlock->flags) & BLOCK_REFCOUNT_MASK;
670 cp += sprintf(cp, "\nrefcount: %u\n", closure->flags & BLOCK_REFCOUNT_MASK);