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) { in latching_incr_int()
120 return BLOCK_REFCOUNT_MASK; in latching_incr_int()
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) { in latching_decr_int()
149 return BLOCK_REFCOUNT_MASK; in latching_decr_int()
151 if ((old_value & BLOCK_REFCOUNT_MASK) == 0) { in latching_decr_int()
302 if (wantsOne && ((latching_incr_int(&aBlock->flags) & BLOCK_REFCOUNT_MASK) == 1)) { in _Block_copy_internal()
318 result->flags &= ~(BLOCK_REFCOUNT_MASK); // XXX not needed in _Block_copy_internal()
337 flags &= ~(BLOCK_NEEDS_FREE|BLOCK_REFCOUNT_MASK); // XXX not needed in _Block_copy_internal()
377 else if ((src->forwarding->flags & BLOCK_REFCOUNT_MASK) == 0) { in _Block_byref_assign_copy()
427 refcount = shared_struct->flags & BLOCK_REFCOUNT_MASK; in _Block_byref_release()
431 else if ((latching_decr_int(&shared_struct->flags) & BLOCK_REFCOUNT_MASK) == 0) { in _Block_byref_release()
463 newCount = latching_decr_int(&aBlock->flags) & BLOCK_REFCOUNT_MASK; in _Block_release()
670 cp += sprintf(cp, "\nrefcount: %u\n", closure->flags & BLOCK_REFCOUNT_MASK); in _Block_dump()