Home
last modified time | relevance | path

Searched refs:new_lck (Results 1 – 1 of 1) sorted by relevance

/xnu-12377.81.4/bsd/vfs/ !
H A Dvfs_cluster.c5321 struct cl_direct_read_lock *lck, *new_lck = NULL; in cluster_lock_direct_read() local
5330 if (new_lck) { in cluster_lock_direct_read()
5332 lck_rw_destroy(&new_lck->rw_lock, &cl_mtx_grp); in cluster_lock_direct_read()
5333 kfree_type(cl_direct_read_lock_t, new_lck); in cluster_lock_direct_read()
5340 if (new_lck) { in cluster_lock_direct_read()
5342 LIST_INSERT_HEAD(head, new_lck, chain); in cluster_lock_direct_read()
5344 lck_rw_lock(&new_lck->rw_lock, type); in cluster_lock_direct_read()
5345 return new_lck; in cluster_lock_direct_read()
5351 new_lck = kalloc_type(cl_direct_read_lock_t, Z_WAITOK); in cluster_lock_direct_read()
5352 lck_rw_init(&new_lck->rw_lock, &cl_mtx_grp, LCK_ATTR_NULL); in cluster_lock_direct_read()
[all …]