Home
last modified time | relevance | path

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

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