Lines Matching refs:exp
8 int nfsexp_flags(struct svc_cred *cred, struct svc_export *exp) in nfsexp_flags() argument
11 struct exp_flavor_info *end = exp->ex_flavors + exp->ex_nflavors; in nfsexp_flags()
13 for (f = exp->ex_flavors; f < end; f++) { in nfsexp_flags()
17 return exp->ex_flags; in nfsexp_flags()
21 int nfsd_setuser(struct svc_cred *cred, struct svc_export *exp) in nfsd_setuser() argument
27 int flags = nfsexp_flags(cred, exp); in nfsd_setuser()
41 new->fsuid = exp->ex_anon_uid; in nfsd_setuser()
42 new->fsgid = exp->ex_anon_gid; in nfsd_setuser()
48 new->fsuid = exp->ex_anon_uid; in nfsd_setuser()
50 new->fsgid = exp->ex_anon_gid; in nfsd_setuser()
58 gi->gid[i] = exp->ex_anon_gid; in nfsd_setuser()
70 new->fsuid = exp->ex_anon_uid; in nfsd_setuser()
72 new->fsgid = exp->ex_anon_gid; in nfsd_setuser()