Lines Matching refs:out_flags

1972 	kern_apfs_reflock_out_flags_t out_flags;  in get_obj_cache()  local
1984 if (kern_apfs_reflock_try_get_ref(refcount, KERN_APFS_REFLOCK_IN_WILL_WAIT, &out_flags)) { in get_obj_cache()
2027 if (kern_apfs_reflock_try_get_ref(refcount, KERN_APFS_REFLOCK_IN_WILL_WAIT, &out_flags)) { in get_obj_cache()
2087 kern_apfs_reflock_out_flags_t out_flags; in put_obj_cache() local
2110 ret = kern_apfs_reflock_try_put_ref(refcount, KERN_APFS_REFLOCK_IN_LOCK_IF_LAST, &out_flags); in put_obj_cache()
2112 if ((out_flags & KERN_APFS_REFLOCK_OUT_LOCKED) == 0) { in put_obj_cache()
2195 kern_apfs_reflock_out_flags_t out_flags; in thread_refcount_reflock() local
2210 ret = kern_apfs_reflock_try_get_ref(&info->reflock, in_flags, &out_flags); in thread_refcount_reflock()
2213 if ((out_flags & KERN_APFS_REFLOCK_OUT_LOCKED) == KERN_APFS_REFLOCK_OUT_LOCKED) { in thread_refcount_reflock()
2221 …ret = kern_apfs_reflock_try_put_ref(&info->reflock, KERN_APFS_REFLOCK_IN_LOCK_IF_LAST, &out_flags); in thread_refcount_reflock()
2223 if ((out_flags & KERN_APFS_REFLOCK_OUT_LOCKED) == KERN_APFS_REFLOCK_OUT_LOCKED) { in thread_refcount_reflock()
2247 kern_apfs_reflock_out_flags_t out_flags; in thread_force_reflock() local
2270 ret = kern_apfs_reflock_try_get_ref(&info->reflock, KERN_APFS_REFLOCK_IN_FORCE, &out_flags); in thread_force_reflock()
2272 ret = kern_apfs_reflock_try_put_ref(&info->reflock, KERN_APFS_REFLOCK_IN_FORCE, &out_flags); in thread_force_reflock()
2288 kern_apfs_reflock_out_flags_t out_flags; in thread_lock_reflock() local
2313 ret = kern_apfs_reflock_try_get_ref(&info->reflock, KERN_APFS_REFLOCK_IN_DEFAULT, &out_flags); in thread_lock_reflock()
2316 ret = kern_apfs_reflock_try_put_ref(&info->reflock, KERN_APFS_REFLOCK_IN_DEFAULT, &out_flags); in thread_lock_reflock()