Lines Matching refs:nxp
980 exp_export(struct nfsctl_export *nxp)
991 if (!exp_verify_string(nxp->ex_path, NFS_MAXPATHLEN) ||
992 !exp_verify_string(nxp->ex_client, NFSCLNT_IDMAX))
996 nxp->ex_client, nxp->ex_path,
997 (unsigned)nxp->ex_dev, (long)nxp->ex_ino,
998 nxp->ex_flags);
1004 if (!(clp = auth_domain_find(nxp->ex_client)))
1009 err = kern_path(nxp->ex_path, 0, &path);
1019 if ((nxp->ex_flags & NFSEXP_FSID) &&
1020 (!IS_ERR(fsid_key = exp_get_fsid_key(clp, nxp->ex_dev))) &&
1030 exp->ex_flags = nxp->ex_flags;
1031 exp->ex_anon_uid = nxp->ex_anon_uid;
1032 exp->ex_anon_gid = nxp->ex_anon_gid;
1033 exp->ex_fsid = nxp->ex_dev;
1039 err = check_export(path.dentry->d_inode, &nxp->ex_flags, NULL);
1048 new.ex_pathname = kstrdup(nxp->ex_path, GFP_KERNEL);
1053 new.ex_flags = nxp->ex_flags;
1054 new.ex_anon_uid = nxp->ex_anon_uid;
1055 new.ex_anon_gid = nxp->ex_anon_gid;
1056 new.ex_fsid = nxp->ex_dev;
1105 exp_unexport(struct nfsctl_export *nxp)
1113 if (!exp_verify_string(nxp->ex_path, NFS_MAXPATHLEN) ||
1114 !exp_verify_string(nxp->ex_client, NFSCLNT_IDMAX))
1120 dom = auth_domain_find(nxp->ex_client);
1122 dprintk("nfsd: unexport couldn't find %s\n", nxp->ex_client);
1126 err = kern_path(nxp->ex_path, 0, &path);