Lines Matching refs:exp

2534 			     struct svc_export *exp)  in encode_change()  argument
2536 if (exp->ex_flags & NFSEXP_V4ROOT) { in encode_change()
2537 *p++ = cpu_to_be32(convert_to_wallclock(exp->cd->flush_time)); in encode_change()
2773 struct svc_rqst *rqstp, struct svc_export *exp) in nfsd4_encode_fs_locations() argument
2778 struct nfsd4_fs_locations *fslocs = &exp->ex_fslocs; in nfsd4_encode_fs_locations()
2780 status = nfsd4_encode_fsloc_fsroot(xdr, rqstp, &exp->ex_path); in nfsd4_encode_fs_locations()
2890 static int nfsd4_get_mounted_on_ino(struct svc_export *exp, u64 *pino) in nfsd4_get_mounted_on_ino() argument
2892 struct path path = exp->ex_path; in nfsd4_get_mounted_on_ino()
2947 struct svc_export *exp, in nfsd4_encode_fattr() argument
2974 .mnt = exp->ex_path.mnt, in nfsd4_encode_fattr()
2982 if (exp->ex_fslocs.migrated) { in nfsd4_encode_fattr()
3015 status = fh_compose(tempfh, exp, dentry, NULL); in nfsd4_encode_fattr()
3034 if (exp->ex_flags & NFSEXP_SECURITY_LABEL) in nfsd4_encode_fattr()
3099 if (exp->ex_flags & NFSEXP_NOSUBTREECHECK) in nfsd4_encode_fattr()
3109 p = encode_change(p, &stat, d_inode(dentry), exp); in nfsd4_encode_fattr()
3139 if (exp->ex_fslocs.migrated) { in nfsd4_encode_fattr()
3144 p = xdr_encode_hyper(p, (u64)exp->ex_fsid); in nfsd4_encode_fattr()
3154 p = xdr_encode_opaque_fixed(p, exp->ex_uuid, in nfsd4_encode_fattr()
3270 status = nfsd4_encode_fs_locations(xdr, rqstp, exp); in nfsd4_encode_fattr()
3284 p = xdr_encode_hyper(p, exp->ex_path.mnt->mnt_sb->s_maxbytes); in nfsd4_encode_fattr()
3411 dentry == exp->ex_path.mnt->mnt_root) { in nfsd4_encode_fattr()
3412 err = nfsd4_get_mounted_on_ino(exp, &ino); in nfsd4_encode_fattr()
3420 status = nfsd4_encode_layout_types(xdr, exp->ex_layout_types); in nfsd4_encode_fattr()
3426 status = nfsd4_encode_layout_types(xdr, exp->ex_layout_types); in nfsd4_encode_fattr()
3508 struct svc_fh *fhp, struct svc_export *exp, in nfsd4_encode_fattr_to_buf() argument
3517 ret = nfsd4_encode_fattr(&xdr, fhp, exp, dentry, bmval, rqstp, in nfsd4_encode_fattr_to_buf()
3536 struct svc_export *exp = cd->rd_fhp->fh_export; in nfsd4_encode_dirent_fattr() local
3545 exp_get(exp); in nfsd4_encode_dirent_fattr()
3553 if (nfsd_mountpoint(dentry, exp)) { in nfsd4_encode_dirent_fattr()
3556 if (!(exp->ex_flags & NFSEXP_V4ROOT) in nfsd4_encode_dirent_fattr()
3566 err = nfsd_cross_mnt(cd->rd_rqstp, &dentry, &exp); in nfsd4_encode_dirent_fattr()
3571 nfserr = check_nfsd_access(exp, cd->rd_rqstp); in nfsd4_encode_dirent_fattr()
3577 nfserr = nfsd4_encode_fattr(xdr, NULL, exp, dentry, cd->rd_bmval, in nfsd4_encode_dirent_fattr()
3581 exp_put(exp); in nfsd4_encode_dirent_fattr()
4341 nfsd4_do_encode_secinfo(struct xdr_stream *xdr, struct svc_export *exp) in nfsd4_do_encode_secinfo() argument
4349 if (exp->ex_nflavors) { in nfsd4_do_encode_secinfo()
4350 flavs = exp->ex_flavors; in nfsd4_do_encode_secinfo()
4351 nflavs = exp->ex_nflavors; in nfsd4_do_encode_secinfo()
4354 if (exp->ex_client->flavour->flavour == RPC_AUTH_UNIX) { in nfsd4_do_encode_secinfo()
4358 } else if (exp->ex_client->flavour->flavour == RPC_AUTH_GSS) { in nfsd4_do_encode_secinfo()
4361 = svcauth_gss_flavor(exp->ex_client); in nfsd4_do_encode_secinfo()
4365 = exp->ex_client->flavour->flavour; in nfsd4_do_encode_secinfo()