/freebsd/sys/fs/nfsclient/ |
H A D | nfsmount.h | 55 struct nfssockreq nm_sockreq; /* Socket Info */ member 96 #define nm_nam nm_sockreq.nr_nam 97 #define nm_sotype nm_sockreq.nr_sotype 98 #define nm_so nm_sockreq.nr_so 99 #define nm_soflags nm_sockreq.nr_soflags 100 #define nm_soproto nm_sockreq.nr_soproto 101 #define nm_client nm_sockreq.nr_client
|
H A D | nfs_clvfsops.c | 745 error = newnfs_sndlock(&nmp->nm_sockreq.nr_lock); in nfs_decode_args() 750 newnfs_disconnect(nmp, &nmp->nm_sockreq); in nfs_decode_args() 752 newnfs_sndunlock(&nmp->nm_sockreq.nr_lock); in nfs_decode_args() 756 while (newnfs_connect(nmp, &nmp->nm_sockreq, in nfs_decode_args() 757 cred, td, 0, false, &nmp->nm_sockreq.nr_client)) { in nfs_decode_args() 1598 nmp->nm_sockreq.nr_cred = crhold(cred); in mountnfs() 1599 mtx_init(&nmp->nm_sockreq.nr_mtx, "nfssock", NULL, MTX_DEF); in mountnfs() 1670 nmp->nm_sockreq.nr_prog = NFS_PROG; in mountnfs() 1672 nmp->nm_sockreq.nr_vers = NFS_VER4; in mountnfs() 1674 nmp->nm_sockreq.nr_vers = NFS_VER3; in mountnfs() [all …]
|
H A D | nfs_clrpcops.c | 607 error = newnfs_request(nd, nmp, NULL, &nmp->nm_sockreq, vp, p, cred, in nfsrpc_openrpc() 969 error = newnfs_request(nd, nmp, NULL, &nmp->nm_sockreq, NULL, p, cred, in nfsrpc_closerpc() 1083 &nmp->nm_sockreq, NULL, in nfsrpc_setclient() 1109 error = nfsrpc_exchangeid(nmp, clp, &nmp->nm_sockreq, 0, in nfsrpc_setclient() 1115 &dsp->nfsclds_sess, &nmp->nm_sockreq, NULL, in nfsrpc_setclient() 1248 error = newnfs_request(nd, nmp, NULL, &nmp->nm_sockreq, NULL, p, cred, in nfsrpc_setclient() 1272 error = newnfs_request(nd, nmp, NULL, &nmp->nm_sockreq, NULL, p, in nfsrpc_setclient() 1349 error = newnfs_request(nd, nmp, NULL, &nmp->nm_sockreq, NULL, p, cred, in nfsrpc_getattrnovp() 4736 error = newnfs_request(nd, nmp, NULL, &nmp->nm_sockreq, NULL, p, cred, in nfsrpc_locku() 4816 error = newnfs_request(nd, nmp, NULL, &nmp->nm_sockreq, vp, p, cred, in nfsrpc_lock() [all …]
|
H A D | nfs_clport.c | 914 ret = newnfs_request(nd, nmp, NULL, &nmp->nm_sockreq, vp, p, cred, in nfscl_request() 1032 CURVNET_SET(CRED_TO_VNET(nmp->nm_sockreq.nr_cred)); in nfscl_getmyip() 1061 CURVNET_SET(CRED_TO_VNET(nmp->nm_sockreq.nr_cred)); in nfscl_getmyip()
|
/freebsd/sys/fs/nfs/ |
H A D | nfs_commonkrpc.c | 735 if (nmp != NULL && nmp->nm_aconnect > 0 && nrp == &nmp->nm_sockreq && in newnfs_request() 780 KASSERT(nmp->nm_sockreq.nr_cred != NULL, in newnfs_request() 783 authcred = crhold(nmp->nm_sockreq.nr_cred); in newnfs_request() 795 KASSERT(nmp->nm_sockreq.nr_cred != NULL, in newnfs_request() 798 authcred = crhold(nmp->nm_sockreq.nr_cred); in newnfs_request() 820 KASSERT(nmp->nm_sockreq.nr_cred != NULL, in newnfs_request() 823 authcred = crhold(nmp->nm_sockreq.nr_cred); in newnfs_request() 1478 if (nmp->nm_sockreq.nr_client != NULL) in newnfs_nmcancelreqs() 1479 CLNT_CLOSE(nmp->nm_sockreq.nr_client); in newnfs_nmcancelreqs()
|
H A D | nfs_commonsubs.c | 5139 error = newnfs_request(nd, nmp, NULL, &nmp->nm_sockreq, NULL, p, cred, in nfsrpc_destroysession()
|
/freebsd/sys/fs/nfsserver/ |
H A D | nfs_nfsdport.c | 5371 error = newnfs_request(nd, nmp, NULL, &nmp->nm_sockreq, NULL, p, cred, in nfsrv_readdsrpc() 5520 error = newnfs_request(nd, nmp, NULL, &nmp->nm_sockreq, NULL, p, in nfsrv_writedsdorpc() 5717 error = newnfs_request(nd, nmp, NULL, &nmp->nm_sockreq, NULL, p, in nfsrv_allocatedsdorpc() 5883 error = newnfs_request(nd, nmp, NULL, &nmp->nm_sockreq, NULL, p, in nfsrv_deallocatedsdorpc() 6045 error = newnfs_request(nd, nmp, NULL, &nmp->nm_sockreq, NULL, p, cred, in nfsrv_setattrdsdorpc() 6227 error = newnfs_request(nd, nmp, NULL, &nmp->nm_sockreq, NULL, p, cred, in nfsrv_setacldsdorpc() 6359 error = newnfs_request(nd, nmp, NULL, &nmp->nm_sockreq, NULL, p, cred, in nfsrv_getattrdsrpc() 6424 error = newnfs_request(nd, nmp, NULL, &nmp->nm_sockreq, NULL, p, cred, in nfsrv_seekdsrpc()
|