Lines Matching refs:exp

2097 			struct svc_rqst *rqstp, struct svc_export *exp)  in nfsd4_encode_fs_locations()  argument
2102 struct nfsd4_fs_locations *fslocs = &exp->ex_fslocs; in nfsd4_encode_fs_locations()
2104 status = nfsd4_encode_fsloc_fsroot(xdr, rqstp, &exp->ex_path); in nfsd4_encode_fs_locations()
2216 static int get_parent_attributes(struct svc_export *exp, struct kstat *stat) in get_parent_attributes() argument
2218 struct path path = exp->ex_path; in get_parent_attributes()
2237 struct svc_export *exp, in nfsd4_encode_fattr() argument
2264 .mnt = exp->ex_path.mnt, in nfsd4_encode_fattr()
2274 if (exp->ex_fslocs.migrated) { in nfsd4_encode_fattr()
2297 status = fh_compose(tempfh, exp, dentry, NULL); in nfsd4_encode_fattr()
2402 if (exp->ex_flags & NFSEXP_NOSUBTREECHECK) in nfsd4_encode_fattr()
2442 if (exp->ex_fslocs.migrated) { in nfsd4_encode_fattr()
2447 p = xdr_encode_hyper(p, (u64)exp->ex_fsid); in nfsd4_encode_fattr()
2457 p = xdr_encode_opaque_fixed(p, exp->ex_uuid, in nfsd4_encode_fattr()
2573 status = nfsd4_encode_fs_locations(xdr, rqstp, exp); in nfsd4_encode_fattr()
2587 p = xdr_encode_hyper(p, exp->ex_path.mnt->mnt_sb->s_maxbytes); in nfsd4_encode_fattr()
2714 dentry == exp->ex_path.mnt->mnt_root) in nfsd4_encode_fattr()
2715 get_parent_attributes(exp, &stat); in nfsd4_encode_fattr()
2720 status = nfsd4_encode_layout_type(xdr, exp->ex_layout_type); in nfsd4_encode_fattr()
2726 status = nfsd4_encode_layout_type(xdr, exp->ex_layout_type); in nfsd4_encode_fattr()
2795 struct svc_fh *fhp, struct svc_export *exp, in nfsd4_encode_fattr_to_buf() argument
2804 ret = nfsd4_encode_fattr(&xdr, fhp, exp, dentry, bmval, rqstp, in nfsd4_encode_fattr_to_buf()
2823 struct svc_export *exp = cd->rd_fhp->fh_export; in nfsd4_encode_dirent_fattr() local
2841 exp_get(exp); in nfsd4_encode_dirent_fattr()
2849 if (nfsd_mountpoint(dentry, exp)) { in nfsd4_encode_dirent_fattr()
2852 if (!(exp->ex_flags & NFSEXP_V4ROOT) in nfsd4_encode_dirent_fattr()
2862 err = nfsd_cross_mnt(cd->rd_rqstp, &dentry, &exp); in nfsd4_encode_dirent_fattr()
2867 nfserr = check_nfsd_access(exp, cd->rd_rqstp); in nfsd4_encode_dirent_fattr()
2873 nfserr = nfsd4_encode_fattr(xdr, NULL, exp, dentry, cd->rd_bmval, in nfsd4_encode_dirent_fattr()
2877 exp_put(exp); in nfsd4_encode_dirent_fattr()
3665 __be32 nfserr, struct svc_export *exp) in nfsd4_do_encode_secinfo() argument
3676 if (exp->ex_nflavors) { in nfsd4_do_encode_secinfo()
3677 flavs = exp->ex_flavors; in nfsd4_do_encode_secinfo()
3678 nflavs = exp->ex_nflavors; in nfsd4_do_encode_secinfo()
3681 if (exp->ex_client->flavour->flavour == RPC_AUTH_UNIX) { in nfsd4_do_encode_secinfo()
3685 } else if (exp->ex_client->flavour->flavour == RPC_AUTH_GSS) { in nfsd4_do_encode_secinfo()
3688 = svcauth_gss_flavor(exp->ex_client); in nfsd4_do_encode_secinfo()
3692 = exp->ex_client->flavour->flavour; in nfsd4_do_encode_secinfo()
3734 if (exp) in nfsd4_do_encode_secinfo()
3735 exp_put(exp); in nfsd4_do_encode_secinfo()