Lines Matching refs:NULL
116 struct nfsrv_sock *nfsrv_udpsock = NULL;
215 nfsrv_fmod_timer_call = thread_call_allocate(nfsrv_fmod_timer, NULL);
216 nfsrv_deadsock_timer_call = thread_call_allocate(nfsrv_deadsock_timer, NULL);
217 nfsrv_wg_timer_call = thread_call_allocate(nfsrv_wg_timer, NULL);
227 nfsrv_udpsock = NULL;
281 *mrepp = NULL;
282 vp = NULL;
317 if (nfsrv_authorize(vp, NULL, testaction, ctx, nxo, 0))
322 nfsrv_authorize(vp, NULL, KAUTH_VNODE_SEARCH, ctx, nxo, 0)))
334 if (nfsrv_authorize(vp, NULL, testaction, ctx, nxo, 0))
347 if (nfsrv_authorize(vp, NULL, testaction, ctx, nxo, 0))
364 nfsrv_authorize(vp, NULL, KAUTH_VNODE_EXECUTE, ctx, nxo, 0)))
387 *mrepp = NULL;
413 *mrepp = NULL;
414 vp = NULL;
433 vp = NULL;
449 *mrepp = NULL;
481 *mrepp = NULL;
482 vp = NULL;
543 error = nfsrv_authorize(vp, NULL, action, ctx, nxo, 0);
575 *mrepp = NULL;
591 vnode_t vp, dirp = NULL;
593 struct nfs_export *nx = NULL;
618 if (nx != NULL) {
639 error = nfsrv_vptofh(nx, nd->nd_vers, (isdotdot ? &dnfh : NULL), vp, ctx, &nfh);
669 *mrepp = NULL;
692 uio_t uiop = NULL;
701 mpath = NULL;
702 vp = NULL;
746 error = nfsrv_authorize(vp, NULL, KAUTH_VNODE_READ_DATA, ctx, nxo, 0);
755 vp = NULL;
759 mpath = NULL;
786 mpath = NULL;
796 *mrepp = NULL;
818 uio_t uiop = NULL;
819 char *uio_bufp = NULL;
830 mread = NULL;
831 vp = NULL;
863 if ((error = nfsrv_authorize(vp, NULL, KAUTH_VNODE_READ_DATA, ctx, nxo, 1)))
864 error = nfsrv_authorize(vp, NULL, KAUTH_VNODE_EXECUTE, ctx, nxo, 1);
913 vp = NULL;
946 mread = NULL;
958 if (uio_bufp != NULL)
962 *mrepp = NULL;
1113 if (fp == NULL) {
1159 uio_t uiop = NULL;
1160 char *uio_bufp = NULL;
1165 if (nd->nd_nmreq.nmc_mhead == NULL) {
1166 *mrepp = NULL;
1175 vp = NULL;
1231 error = nfsrv_authorize(vp, NULL, KAUTH_VNODE_WRITE_DATA, ctx, nxo, 1);
1278 vp = NULL;
1309 if (uio_bufp != NULL)
1313 *mrepp = NULL;
1357 uio_t uiop = NULL;
1358 char *uio_bufp = NULL;
1366 vp = NULL;
1368 *mrepp = NULL;
1371 *ndp = NULL;
1374 nd->nd_mrep = NULL;
1426 owp = NULL;
1439 owp = NULL;
1512 vp = NULL;
1514 error = nfsrv_authorize(vp, NULL, KAUTH_VNODE_WRITE_DATA, ctx, nxo, 1);
1553 uio_bufp = NULL;
1685 nd->nd_nmreq.nmc_mhead = NULL;
1686 nd->nd_nmreq.nmc_mcur = NULL;
1794 struct nfs_export *nx = NULL;
1805 vp = dvp = dirp = NULL;
1826 if (nx != NULL) {
1840 dirp = NULL;
1868 if (vp == NULL)
1901 if (vp == NULL) {
1902 kauth_acl_t xacl = NULL;
1916 error = nfsrv_authorize(dvp, NULL, KAUTH_VNODE_ADD_FILE, ctx, nxo, 0);
1921 NULL,
1926 if (!error && xacl != NULL)
1958 if (xacl != NULL)
1987 error = suser(nd->nd_cr, NULL);
1994 if (xacl != NULL)
2002 vp = NULL;
2038 error = nfsrv_authorize(vp, NULL, KAUTH_VNODE_WRITE_DATA,
2049 error = nfsrv_vptofh(nx, nd->nd_vers, NULL, vp, ctx, &nfh);
2067 dirp = NULL;
2107 *mrepp = NULL;
2131 struct nfs_export *nx = NULL;
2134 kauth_acl_t xacl = NULL;
2141 vp = dvp = dirp = NULL;
2160 if (nx != NULL) {
2219 error = nfsrv_authorize(dvp, NULL, KAUTH_VNODE_ADD_FILE, ctx, nxo, 0);
2224 NULL,
2229 if (!error && xacl != NULL)
2268 vp = NULL;
2283 if (xacl != NULL)
2294 dvp = NULL;
2297 error = nfsrv_vptofh(nx, NFS_VER3, NULL, vp, ctx, &nfh);
2305 vp = NULL;
2311 dirp = NULL;
2348 *mrepp = NULL;
2367 vnode_t vp, dvp, dirp = NULL;
2370 struct nfs_export *nx = NULL;
2377 dvp = vp = dirp = NULL;
2391 if (nx != NULL) {
2405 dirp = NULL;
2425 char *path = NULL;
2435 path = NULL;
2483 *mrepp = NULL;
2498 kauth_cred_t saved_cred = NULL;
2504 char *frompath = NULL, *topath = NULL;
2528 frompath = topath = NULL;
2529 fdirp = tdirp = NULL;
2538 fvp = tvp = NULL;
2539 fdvp = tdvp = NULL;
2540 locked_mp = NULL;
2569 frompath = NULL;
2585 fdirp = NULL;
2601 topath = NULL;
2608 tnx = NULL;
2627 if (tnx != NULL) {
2643 tdirp = NULL;
2647 if (tvp != NULL) {
2695 if ((tvp != NULL) && vnode_isdir(tvp)) {
2706 if ((error = nfsrv_authorize(((tvp != NULL) && vnode_isdir(tvp)) ? tvp : tdvp,
2707 NULL,
2713 if ((error = nfsrv_authorize(fdvp, NULL,
2719 if ((tvp != NULL) && !vnode_isdir(tvp) &&
2857 fdirp = NULL;
2861 tdirp = NULL;
2866 fvp = tvp = NULL;
2867 fdvp = tdvp = NULL;
2923 from_name = NULL;
2936 to_name = from_name ? get_pathbuff() : NULL;
2942 from_name = NULL;
2947 from_name = to_name = NULL;
2960 from_name = NULL;
2961 to_name = NULL;
2964 from_name = NULL;
2965 to_name = NULL;
3011 from_name = to_name = NULL;
3029 tdvp = NULL;
3042 fdvp = NULL;
3048 fdirp = NULL;
3054 tdirp = NULL;
3110 *mrepp = NULL;
3137 vp = xp = dvp = dirp = NULL;
3165 if ((error = nfsrv_authorize(vp, NULL, KAUTH_VNODE_LINKTARGET, ctx, nxo, 0)) != 0)
3179 dirp = NULL;
3187 if (xp != NULL)
3192 error = nfsrv_authorize(dvp, NULL, KAUTH_VNODE_ADD_FILE, ctx, nxo, 0);
3199 char *target_path = NULL;
3240 dirp = NULL;
3243 vp = NULL;
3263 *mrepp = NULL;
3287 struct nfs_export *nx = NULL;
3289 uio_t auio = NULL;
3297 linkdata = NULL;
3298 dirp = NULL;
3307 vp = dvp = NULL;
3319 if (nx != NULL) {
3333 dirp = NULL;
3385 error = nfsrv_authorize(dvp, NULL, KAUTH_VNODE_ADD_FILE, ctx, nxo, 0);
3404 if (vp == NULL) {
3416 error = nfsrv_vptofh(nx, NFS_VER3, NULL, vp, ctx, &nfh);
3444 linkdata = NULL;
3450 dirp = NULL;
3488 *mrepp = NULL;
3510 struct nfs_export *nx = NULL;
3513 kauth_acl_t xacl = NULL;
3528 vp = dvp = dirp = NULL;
3540 if (nx != NULL) {
3554 dirp = NULL;
3569 if (vp != NULL) {
3592 error = nfsrv_authorize(dvp, NULL, KAUTH_VNODE_ADD_SUBDIRECTORY, ctx, nxo, 0);
3597 NULL,
3602 if (!error && xacl != NULL)
3637 if (xacl != NULL)
3641 error = nfsrv_vptofh(nx, nd->nd_vers, NULL, vp, ctx, &nfh);
3649 vp = NULL;
3664 dirp = NULL;
3703 *mrepp = NULL;
3724 struct nfs_export *nx = NULL;
3735 vp = dvp = dirp = NULL;
3747 if (nx != NULL) {
3761 dirp = NULL;
3789 char *path = NULL;
3799 path = NULL;
3831 dirp = NULL;
3850 *mrepp = NULL;
3896 uio_t auio = NULL;
3909 rbuf = NULL;
3910 vp = NULL;
3952 error = nfsrv_authorize(vp, NULL, KAUTH_VNODE_LIST_DIRECTORY, ctx, nxo, 0);
3983 vp = NULL;
4022 vp = NULL;
4096 *mrepp = NULL;
4114 uio_t auio = NULL;
4128 rbuf = NULL;
4129 vp = NULL;
4171 error = nfsrv_authorize(vp, NULL, KAUTH_VNODE_LIST_DIRECTORY, ctx, nxo, 0);
4200 vp = NULL;
4274 if (nfsrv_vptofh(nx, 0, (isdotdot ? &dnfh : NULL), nvp, ctx, &nfh))
4318 vp = NULL;
4338 *mrepp = NULL;
4366 vp = NULL;
4418 *mrepp = NULL;
4447 vp = NULL;
4510 *mrepp = NULL;
4537 vp = NULL;
4598 *mrepp = NULL;
4626 vp = NULL;
4681 *mrepp = NULL;
4717 *mrepp = NULL;
4752 *mrepp = NULL;