Lines Matching defs:thd
1501 thread_t thd = current_thread();
1526 nfs_down(nmp, thd, error, NFSSTA_TIMEO, "can not connect");
1537 if ((error = nfs_sigintr(nmp, NULL, thd, 1))) {
1543 if ((error = nfs_sigintr(nmp, NULL, thd, 0)))
1548 nfs_up(nmp, thd, NFSSTA_TIMEO, "connected");
1652 thread_t thd = current_thread();
1695 nfs4_delegation_return(np, R_RECOVER, thd, nmp->nm_mcred);
1834 if (nmp->nm_sockthd == thd)
1838 thread_terminate(thd);
3420 thread_t thd,
3468 req->r_thread = thd;
3469 if (!thd)
4149 thread_t thd,
4160 if ((error = nfs_request_create(np, mp, nmrest, procnum, thd, cred, &req)))
4197 thread_t thd,
4207 if ((error = nfs_request_create(NULL, mp, nmrest, NFSPROC_NULL, thd, cred, &req)))
4246 thread_t thd,
4257 error = nfs_request_create(np, mp, nmrest, procnum, thd, cred, reqp);
4705 nfs_noremotehang(thread_t thd)
4707 proc_t p = thd ? get_bsdthreadtask_info(thd) : NULL;
4721 nfs_sigintr(struct nfsmount *nmp, struct nfsreq *req, thread_t thd, int nmplocked)
4732 thd = NULL; /* don't check for signal on R_NOINTR */
4753 if (!error && (nmp->nm_state & NFSSTA_TIMEO) && nfs_noremotehang(thd))
4762 if (thd == NULL)
4778 if (NMFLAG(nmp, INTR) && ((p = get_bsdthreadtask_info(thd))) &&
4852 thread_t thd,
4933 if ((error = nfs_sigintr(nmp, NULL, !try ? NULL : thd, 0)))
5032 thread_t thd = vfs_context_thread(ctx);
5087 error = nfs_aux_request(nmp, thd, saddr, so, (ipproto == IPPROTO_UDP) ? SOCK_DGRAM : SOCK_STREAM,
5138 nfs_msg(thread_t thd,
5143 proc_t p = thd ? get_bsdthreadtask_info(thd) : NULL;
5297 nfs_down(struct nfsmount *nmp, thread_t thd, int error, int flags, const char *msg)
5350 nfs_msg(thd, vfs_statfs(nmp->nm_mountp)->f_mntfromname, msg, error);
5354 nfs_up(struct nfsmount *nmp, thread_t thd, int flags, const char *msg)
5363 nfs_msg(thd, vfs_statfs(nmp->nm_mountp)->f_mntfromname, msg, 0);