Home
last modified time | relevance | path

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

/xnu-11417.121.6/bsd/nfs/
H A Dnfs_upcall.c101 struct nfsrv_uc_queue *myqueue = &nfsrv_uc_queue_tbl[qi]; in nfsrv_uc_thread() local
105 lck_mtx_lock(&myqueue->ucq_lock); in nfsrv_uc_thread()
107 while (!nfsrv_uc_shutdown && TAILQ_EMPTY(myqueue->ucq_queue)) { in nfsrv_uc_thread()
108 myqueue->ucq_flags |= NFS_UC_QUEUE_SLEEPING; in nfsrv_uc_thread()
109 error = msleep(myqueue, &myqueue->ucq_lock, PSOCK, "nfsd_upcall_handler", NULL); in nfsrv_uc_thread()
110 myqueue->ucq_flags &= ~NFS_UC_QUEUE_SLEEPING; in nfsrv_uc_thread()
116 lck_mtx_unlock(&myqueue->ucq_lock); in nfsrv_uc_thread()
121 ep = TAILQ_FIRST(myqueue->ucq_queue); in nfsrv_uc_thread()
122 DPRINT("nfsrv_uc_thread:%d dequeue %p from %p\n", qi, ep, myqueue); in nfsrv_uc_thread()
124 TAILQ_REMOVE(myqueue->ucq_queue, ep, nua_svcq); in nfsrv_uc_thread()
[all …]