Lines Matching refs:nx

287 	struct nfs_export *nx;
301 error = nfsrv_fhtovp(&nfh, nd, &vp, &nx, &nxo);
305 NFSStatAdd64(&nx->nx_stats.ops, 1);
308 nfsrv_update_user_stat(nx, nd, kauth_cred_getuid(nd->nd_cr), 1, 0, 0);
310 error = nfsrv_credcheck(nd, ctx, nx, nxo);
413 struct nfs_export *nx;
424 error = nfsrv_fhtovp(&nfh, nd, &vp, &nx, &nxo);
428 NFSStatAdd64(&nx->nx_stats.ops, 1);
431 nfsrv_update_user_stat(nx, nd, kauth_cred_getuid(nd->nd_cr), 1, 0, 0);
433 error = nfsrv_credcheck(nd, ctx, nx, nxo);
474 struct nfs_export *nx;
511 error = nfsrv_fhtovp(&nfh, nd, &vp, &nx, &nxo);
515 NFSStatAdd64(&nx->nx_stats.ops, 1);
518 nfsrv_update_user_stat(nx, nd, saved_uid, 1, 0, 0);
520 error = nfsrv_credcheck(nd, ctx, nx, nxo);
599 struct nfs_export *nx = NULL;
626 error = nfsrv_namei(nd, ctx, &ni, &dnfh, &dirp, &nx, &nxo);
627 if (nx != NULL) {
629 NFSStatAdd64(&nx->nx_stats.ops, 1);
632 nfsrv_update_user_stat(nx, nd, saved_uid, 1, 0, 0);
648 error = nfsrv_vptofh(nx, nd->nd_vers, (isdotdot ? &dnfh : NULL), vp, ctx, &nfh);
697 struct nfs_export *nx;
735 error = nfsrv_fhtovp(&nfh, nd, &vp, &nx, &nxo);
739 NFSStatAdd64(&nx->nx_stats.ops, 1);
742 nfsrv_update_user_stat(nx, nd, kauth_cred_getuid(nd->nd_cr), 1, 0, 0);
744 error = nfsrv_credcheck(nd, ctx, nx, nxo);
824 struct nfs_export *nx;
854 error = nfsrv_fhtovp(&nfh, nd, &vp, &nx, &nxo);
858 NFSStatAdd64(&nx->nx_stats.ops, 1);
860 error = nfsrv_credcheck(nd, ctx, nx, nxo);
956 NFSStatAdd64(&nx->nx_stats.bytes_read, len);
959 nfsrv_update_user_stat(nx, nd, saved_uid, 1, len, 0);
1183 struct nfs_export *nx;
1237 error = nfsrv_fhtovp(&nfh, nd, &vp, &nx, &nxo);
1241 NFSStatAdd64(&nx->nx_stats.ops, 1);
1243 error = nfsrv_credcheck(nd, ctx, nx, nxo);
1289 NFSStatAdd64(&nx->nx_stats.bytes_written, len);
1292 nfsrv_update_user_stat(nx, nd, saved_uid, 1, 0, len);
1326 nfsm_chain_add_32(error, &nmrep, nx->nx_exptime.tv_sec);
1327 nfsm_chain_add_32(error, &nmrep, nx->nx_exptime.tv_usec);
1374 struct nfs_export *nx;
1517 error = nfsrv_fhtovp(&nd->nd_fh, nd, &vp, &nx, &nxo);
1520 NFSStatAdd64(&nx->nx_stats.ops, 1);
1522 error = nfsrv_credcheck(nd, ctx, nx, nxo);
1568 NFSStatAdd64(&nx->nx_stats.bytes_written, nd->nd_len);
1570 nfsrv_update_user_stat(nx, nd, saved_uid, 1, 0, nd->nd_len);
1612 nfsm_chain_add_32(error, &nmrep, nx->nx_exptime.tv_sec);
1613 nfsm_chain_add_32(error, &nmrep, nx->nx_exptime.tv_usec);
1820 struct nfs_export *nx = NULL;
1850 error = nfsrv_namei(nd, ctx, &ni, &nfh, &dirp, &nx, &nxo);
1851 if (nx != NULL) {
1853 NFSStatAdd64(&nx->nx_stats.ops, 1);
1856 nfsrv_update_user_stat(nx, nd, saved_uid, 1, 0, 0);
2068 error = nfsrv_vptofh(nx, nd->nd_vers, NULL, vp, ctx, &nfh);
2151 struct nfs_export *nx = NULL;
2178 error = nfsrv_namei(nd, ctx, &ni, &nfh, &dirp, &nx, &nxo);
2179 if (nx != NULL) {
2181 NFSStatAdd64(&nx->nx_stats.ops, 1);
2184 nfsrv_update_user_stat(nx, nd, saved_uid, 1, 0, 0);
2311 error = nfsrv_vptofh(nx, NFS_VER3, NULL, vp, ctx, &nfh);
2384 struct nfs_export *nx = NULL;
2407 error = nfsrv_namei(nd, ctx, &ni, &nfh, &dirp, &nx, &nxo);
2408 if (nx != NULL) {
2410 NFSStatAdd64(&nx->nx_stats.ops, 1);
2413 nfsrv_update_user_stat(nx, nd, saved_uid, 1, 0, 0);
3131 struct nfs_export *nx;
3146 error = nfsrv_fhtovp(&nfh, nd, &vp, &nx, &nxo);
3150 NFSStatAdd64(&nx->nx_stats.ops, 1);
3153 nfsrv_update_user_stat(nx, nd, kauth_cred_getuid(nd->nd_cr), 1, 0, 0);
3155 error = nfsrv_credcheck(nd, ctx, nx, nxo);
3175 error = nfsrv_namei(nd, ctx, &ni, &dnfh, &dirp, &nx, &nxo);
3291 struct nfs_export *nx = NULL;
3321 error = nfsrv_namei(nd, ctx, &ni, &nfh, &dirp, &nx, &nxo);
3322 if (nx != NULL) {
3324 NFSStatAdd64(&nx->nx_stats.ops, 1);
3327 nfsrv_update_user_stat(nx, nd, saved_uid, 1, 0, 0);
3415 error = nfsrv_vptofh(nx, NFS_VER3, NULL, vp, ctx, &nfh);
3510 struct nfs_export *nx = NULL;
3538 error = nfsrv_namei(nd, ctx, &ni, &nfh, &dirp, &nx, &nxo);
3539 if (nx != NULL) {
3541 NFSStatAdd64(&nx->nx_stats.ops, 1);
3544 nfsrv_update_user_stat(nx, nd, saved_uid, 1, 0, 0);
3640 error = nfsrv_vptofh(nx, nd->nd_vers, NULL, vp, ctx, &nfh);
3723 struct nfs_export *nx = NULL;
3748 error = nfsrv_namei(nd, ctx, &ni, &nfh, &dirp, &nx, &nxo);
3749 if (nx != NULL) {
3751 NFSStatAdd64(&nx->nx_stats.ops, 1);
3754 nfsrv_update_user_stat(nx, nd, saved_uid, 1, 0, 0);
3896 struct nfs_export *nx;
3933 error = nfsrv_fhtovp(&nfh, nd, &vp, &nx, &nxo);
3937 NFSStatAdd64(&nx->nx_stats.ops, 1);
3940 nfsrv_update_user_stat(nx, nd, kauth_cred_getuid(nd->nd_cr), 1, 0, 0);
3942 error = nfsrv_credcheck(nd, ctx, nx, nxo);
4117 struct nfs_export *nx;
4156 error = nfsrv_fhtovp(&dnfh, nd, &vp, &nx, &nxo);
4160 NFSStatAdd64(&nx->nx_stats.ops, 1);
4163 nfsrv_update_user_stat(nx, nd, kauth_cred_getuid(nd->nd_cr), 1, 0, 0);
4165 error = nfsrv_credcheck(nd, ctx, nx, nxo);
4281 if (nfsrv_vptofh(nx, 0, (isdotdot ? &dnfh : NULL), nvp, ctx, &nfh))
4362 struct nfs_export *nx;
4385 error = nfsrv_fhtovp(&nfh, nd, &vp, &nx, &nxo);
4389 NFSStatAdd64(&nx->nx_stats.ops, 1);
4392 nfsrv_update_user_stat(nx, nd, kauth_cred_getuid(nd->nd_cr), 1, 0, 0);
4394 error = nfsrv_credcheck(nd, ctx, nx, nxo);
4418 nfsm_chain_add_32(error, &nmrep, nx->nx_exptime.tv_sec);
4419 nfsm_chain_add_32(error, &nmrep, nx->nx_exptime.tv_usec);
4445 struct nfs_export *nx;
4459 error = nfsrv_fhtovp(&nfh, nd, &vp, &nx, &nxo);
4463 NFSStatAdd64(&nx->nx_stats.ops, 1);
4466 nfsrv_update_user_stat(nx, nd, kauth_cred_getuid(nd->nd_cr), 1, 0, 0);
4468 error = nfsrv_credcheck(nd, ctx, nx, nxo);
4536 struct nfs_export *nx;
4548 error = nfsrv_fhtovp(&nfh, nd, &vp, &nx, &nxo);
4552 NFSStatAdd64(&nx->nx_stats.ops, 1);
4555 nfsrv_update_user_stat(nx, nd, kauth_cred_getuid(nd->nd_cr), 1, 0, 0);
4557 error = nfsrv_credcheck(nd, ctx, nx, nxo);
4625 struct nfs_export *nx;
4637 error = nfsrv_fhtovp(&nfh, nd, &vp, &nx, &nxo);
4641 NFSStatAdd64(&nx->nx_stats.ops, 1);
4644 nfsrv_update_user_stat(nx, nd, kauth_cred_getuid(nd->nd_cr), 1, 0, 0);
4646 error = nfsrv_credcheck(nd, ctx, nx, nxo);