Searched refs:thd (Results 1 - 11 of 11) sorted by relevance

/darwin-on-arm/xnu/bsd/nfs/
H A Dnfs_bio.c641 thread_t thd,
694 if ((error = nfs_sigintr(VTONMP(vp), NULL, thd, 0))) {
721 if ((error = nfs_sigintr(VTONMP(vp), NULL, thd, 0))) {
875 if ((error = nfs_sigintr(VTONMP(vp), NULL, thd, 0))) {
1461 thread_t thd; local
1468 thd = ISSET(bp->nb_flags, NB_ASYNC) ? NULL : current_thread();
1480 error = nfs_buf_read_rpc(bp, thd, cred);
1537 nfs_buf_read_rpc(struct nfsbuf *bp, thread_t thd, kauth_cred_t cred) argument
1597 error = nmp->nm_funcs->nf_read_rpc_async(np, boff + offset, len, thd, cred, &cb, &req);
1655 thread_t thd; local
637 nfs_buf_get( nfsnode_t np, daddr64_t blkno, uint32_t size, thread_t thd, int flags, struct nfsbuf **bpp) argument
1838 nfs_buf_readahead(nfsnode_t np, int ioflag, daddr64_t *rabnp, daddr64_t lastrabn, thread_t thd, kauth_cred_t cred) argument
1904 thread_t thd; local
2282 thread_t thd; local
2479 nfs_vinvalbuf2(NFSTOV(np), V_SAVE|V_IGNORE_WRITEERR, thd, cred, 1); local
2493 nfs_buf_write_finish(struct nfsbuf *bp, thread_t thd, kauth_cred_t cred) argument
2602 nfs_buf_write_dirty_pages(struct nfsbuf *bp, thread_t thd, kauth_cred_t cred) argument
2686 nfs_buf_write_rpc(struct nfsbuf *bp, int iomode, thread_t thd, kauth_cred_t cred) argument
2811 thread_t thd; local
3244 nfs_flush(nfsnode_t np, int waitfor, thread_t thd, int ignore_writeerr) argument
3457 nfs_vinvalbuf_internal( nfsnode_t np, int flags, thread_t thd, kauth_cred_t cred, int slpflag, int slptimeo) argument
3618 nfs_vinvalbuf2(vnode_t vp, int flags, thread_t thd, kauth_cred_t cred, int intrflg) argument
[all...]
H A Dnfs_lock.c408 thread_t thd)
605 nfs_down(nmp, thd, 0, NFSSTA_LOCKTIMEO, "lockd not responding");
646 nfs_up(NFSTONMP(np), thd, NFSSTA_LOCKTIMEO, local
744 thread_t thd,
761 if ((error = nfs_lock_owner_set_busy(nlop, thd)))
782 error = nfs3_lockd_request(np, 0, &msgreq, flags, thd);
799 thread_t thd,
824 return (nfs3_lockd_request(np, F_UNLCK, &msgreq, flags, thd));
403 nfs3_lockd_request( nfsnode_t np, int type, LOCKD_MSG_REQUEST *msgreq, int flags, thread_t thd) argument
738 nfs3_setlock_rpc( nfsnode_t np, struct nfs_open_file *nofp, struct nfs_file_lock *nflp, int reclaim, int flags, thread_t thd, kauth_cred_t cred) argument
792 nfs3_unlock_rpc( nfsnode_t np, struct nfs_lock_owner *nlop, __unused int type, uint64_t start, uint64_t end, int flags, thread_t thd, kauth_cred_t cred) argument
H A Dnfs4_vnops.c315 thread_t thd,
345 nfs_get_stateid(np, thd, cred, &stateid);
355 error = nfs_request_async(np, NULL, &nmreq, NFSPROC4_COMPOUND, thd, cred, &si, 0, cb, reqp);
420 thread_t thd,
457 nfs_get_stateid(np, thd, cred, &stateid);
471 error = nfs_request_async(np, NULL, &nmreq, NFSPROC4_COMPOUND, thd, cred, &si, 0, cb, reqp);
552 thread_t thd,
590 error = nfs_request2(dnp, NULL, &nmreq, NFSPROC4_COMPOUND, thd, cred, &si, 0, &nmrep, &xid, &status);
1645 nfs_mount_state_in_use_start(struct nfsmount *nmp, thread_t thd) argument
1648 int error = 0, slpflag = (NMFLAG(nmp, INTR) && thd)
311 nfs4_read_rpc_async( nfsnode_t np, off_t offset, size_t len, thread_t thd, kauth_cred_t cred, struct nfsreq_cbinfo *cb, struct nfsreq **reqp) argument
416 nfs4_write_rpc_async( nfsnode_t np, uio_t uio, size_t len, thread_t thd, kauth_cred_t cred, int iomode, struct nfsreq_cbinfo *cb, struct nfsreq **reqp) argument
548 nfs4_remove_rpc( nfsnode_t dnp, char *name, int namelen, thread_t thd, kauth_cred_t cred) argument
1755 nfs_open_state_set_busy(nfsnode_t np, thread_t thd) argument
1898 nfs_open_owner_set_busy(struct nfs_open_owner *noop, thread_t thd) argument
2079 nfs_open_file_set_busy(struct nfs_open_file *nofp, thread_t thd) argument
2416 nfs_get_stateid(nfsnode_t np, thread_t thd, kauth_cred_t cred, nfs_stateid *sid) argument
3051 nfs_lock_owner_set_busy(struct nfs_lock_owner *nlop, thread_t thd) argument
3200 nfs4_setlock_rpc( nfsnode_t np, struct nfs_open_file *nofp, struct nfs_file_lock *nflp, int reclaim, int flags, thread_t thd, kauth_cred_t cred) argument
3324 nfs4_unlock_rpc( nfsnode_t np, struct nfs_lock_owner *nlop, int type, uint64_t start, uint64_t end, int flags, thread_t thd, kauth_cred_t cred) argument
4396 nfs4_reopen(struct nfs_open_file *nofp, thread_t thd) argument
4539 nfs4_open_reopen_rpc( struct nfs_open_file *nofp, thread_t thd, kauth_cred_t cred, struct componentname *cnp, vnode_t dvp, vnode_t *vpp, int share_access, int share_deny) argument
4556 nfs4_open_confirm_rpc( struct nfsmount *nmp, nfsnode_t dnp, u_char *fhp, int fhlen, struct nfs_open_owner *noop, nfs_stateid *sid, thread_t thd, kauth_cred_t cred, struct nfs_vattr *nvap, uint64_t *xidp) argument
4618 nfs4_open_rpc_internal( struct nfs_open_file *nofp, vfs_context_t ctx, thread_t thd, kauth_cred_t cred, struct componentname *cnp, struct vnode_attr *vap, vnode_t dvp, vnode_t *vpp, int create, int share_access, int share_deny) argument
5487 nfs4_close_rpc( nfsnode_t np, struct nfs_open_file *nofp, thread_t thd, kauth_cred_t cred, int flags) argument
5895 nfs4_delegation_return(nfsnode_t np, int flags, thread_t thd, kauth_cred_t cred) argument
5972 nfs4_delegreturn_rpc(struct nfsmount *nmp, u_char *fhp, int fhlen, struct nfs_stateid *sid, int flags, thread_t thd, kauth_cred_t cred) argument
6929 thread_t thd; local
[all...]
H A Dnfs_node.c1098 nfs_node_set_busy(nfsnode_t np, thread_t thd) argument
1108 if ((error = nfs_sigintr(NFSTONMP(np), NULL, thd, 0)))
1131 nfs_node_set_busy2(nfsnode_t np1, nfsnode_t np2, thread_t thd) argument
1138 if ((error = nfs_node_set_busy(first, thd)))
1142 if ((error = nfs_node_set_busy(second, thd)))
1183 nfs_node_set_busy4(nfsnode_t np1, nfsnode_t np2, nfsnode_t np3, nfsnode_t np4, thread_t thd) argument
1192 if ((error = nfs_node_set_busy(list[i], thd))) {
H A Dnfs_socket.c1501 thread_t thd = current_thread(); local
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(); local
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,
3415 nfs_request_create( nfsnode_t np, mount_t mp, struct nfsm_chain *nmrest, int procnum, thread_t thd, kauth_cred_t cred, struct nfsreq **reqp) argument
4144 nfs_request2( nfsnode_t np, mount_t mp, struct nfsm_chain *nmrest, int procnum, thread_t thd, kauth_cred_t cred, struct nfsreq_secinfo_args *si, int flags, struct nfsm_chain *nmrepp, u_int64_t *xidp, int *status) argument
4194 nfs_request_gss( mount_t mp, struct nfsm_chain *nmrest, thread_t thd, kauth_cred_t cred, int flags, struct nfs_gss_clnt_ctx *cp, struct nfsm_chain *nmrepp, int *status) argument
4241 nfs_request_async( nfsnode_t np, mount_t mp, struct nfsm_chain *nmrest, int procnum, thread_t thd, kauth_cred_t cred, struct nfsreq_secinfo_args *si, int flags, struct nfsreq_cbinfo *cb, struct nfsreq **reqp) argument
4705 nfs_noremotehang(thread_t thd) argument
4721 nfs_sigintr(struct nfsmount *nmp, struct nfsreq *req, thread_t thd, int nmplocked) argument
4850 nfs_aux_request( struct nfsmount *nmp, thread_t thd, struct sockaddr *saddr, socket_t so, int sotype, mbuf_t mreq, uint32_t xid, int bindresv, int timeo, struct nfsm_chain *nmrep) argument
5032 thread_t thd = vfs_context_thread(ctx); local
5138 nfs_msg(thread_t thd, const char *server, const char *msg, int error) argument
5297 nfs_down(struct nfsmount *nmp, thread_t thd, int error, int flags, const char *msg) argument
5354 nfs_up(struct nfsmount *nmp, thread_t thd, int flags, const char *msg) argument
[all...]
H A Dnfs_vnops.c2393 thread_t thd,
2420 error = nfs_request_async(np, NULL, &nmreq, NFSPROC_READ, thd, cred, NULL, 0, cb, reqp);
2513 thread_t thd; local
2523 thd = vfs_context_thread(ctx);
2609 error = nfs_buf_get(np, lbn, biosize, thd, NBLK_WRITE, &bp);
2700 ((error = nfs_buf_get(np, eofbn, biosize, thd, NBLK_WRITE|NBLK_ONLYVALID, &eofbp))))
3067 thread_t thd,
3110 error = nmp->nm_funcs->nf_write_rpc_async(np, uio, len, thd, cred, *iomodep, NULL, &req);
3185 thread_t thd,
3224 error = nfs_request_async(np, NULL, &nmreq, NFSPROC_WRITE, thd, cre
2389 nfs3_read_rpc_async( nfsnode_t np, off_t offset, size_t len, thread_t thd, kauth_cred_t cred, struct nfsreq_cbinfo *cb, struct nfsreq **reqp) argument
3064 nfs_write_rpc2( nfsnode_t np, uio_t uio, thread_t thd, kauth_cred_t cred, int *iomodep, uint64_t *wverfp) argument
3181 nfs3_write_rpc_async( nfsnode_t np, uio_t uio, size_t len, thread_t thd, kauth_cred_t cred, int iomode, struct nfsreq_cbinfo *cb, struct nfsreq **reqp) argument
3835 nfs3_remove_rpc( nfsnode_t dnp, char *name, int namelen, thread_t thd, kauth_cred_t cred) argument
4687 thread_t thd; local
5217 thread_t thd = vfs_context_thread(ctx); local
6660 thread_t thd; local
6972 thread_t thd; local
[all...]
H A Dnfs_syscalls.c292 thread_t thd = THREAD_NULL; local
300 if (kernel_thread_start((thread_continue_t)nfsiod_thread, NULL, &thd) != KERN_SUCCESS) {
305 msleep(thd, nfsiod_mutex, PWAIT | PDROP, "nfsiodw", NULL);
306 thread_deallocate(thd);
H A Dnfs4_subs.c216 thread_t thd; local
226 thd = current_thread();
286 error = nfs_request2(NULL, nmp->nm_mountp, &nmreq, NFSPROC4_COMPOUND, thd, cred, NULL, R_SETUP, &nmrep, &xid, &status);
311 error = nfs_request2(NULL, nmp->nm_mountp, &nmreq, NFSPROC4_COMPOUND, thd, cred, NULL, R_SETUP, &nmrep, &xid, &status);
340 error = nfs_request2(NULL, nmp->nm_mountp, &nmreq, NFSPROC4_COMPOUND, thd, cred, NULL, R_SETUP, &nmrep, &xid, &status);
2445 thread_t thd = current_thread(); local
2557 nfs4_delegation_return(nofp->nof_np, R_RECOVER, thd, noop->noo_cred);
2618 error = nmp->nm_funcs->nf_setlock_rpc(nofp->nof_np, nofp, nflp, 1, R_RECOVER, thd, noop->noo_cred);
2651 nfs4_delegation_return(nofp->nof_np, R_RECOVER, thd, noop->noo_cred);
H A Dnfs_vfsops.c2580 thread_t thd; local
2592 if (kernel_thread_start(nfs_mount_connect_thread, nmp, &thd) != KERN_SUCCESS) {
2597 thread_deallocate(thd);
3838 thread_t thd; local
3840 if (kernel_thread_start(nfs_ephemeral_mount_harvester, NULL, &thd) == KERN_SUCCESS)
3841 thread_deallocate(thd);
3907 thread_t thd = vfs_context_thread(ctx); local
3964 error = nfs_aux_request(nmp, thd, saddr, NULL,
3990 thread_t thd = vfs_context_thread(ctx); local
4052 error = nfs_aux_request(nmp, thd, sadd
4414 thread_t thd = vfs_context_thread(ctx); local
4529 thread_t thd = vfs_context_thread(ctx); local
[all...]
/darwin-on-arm/xnu/osfmk/kern/
H A Dthread.h844 #define thread_is_64bit(thd) \
845 task_has_64BitAddr(get_threadtask(thd))
/darwin-on-arm/xnu/osfmk/i386/
H A Di386_lock.s210 #define CHECK_MYLOCK(thd)

Completed in 76 milliseconds