Home
last modified time | relevance | path

Searched refs:exp (Results 1 – 11 of 11) sorted by relevance

/fs/nfsd/
Dexport.c331 struct svc_export *exp = container_of(ref, struct svc_export, h.ref); in svc_export_put() local
332 path_put(&exp->ex_path); in svc_export_put()
333 auth_domain_put(exp->ex_client); in svc_export_put()
334 kfree(exp->ex_pathname); in svc_export_put()
335 nfsd4_fslocs_free(&exp->ex_fslocs); in svc_export_put()
336 kfree(exp); in svc_export_put()
344 struct svc_export *exp = container_of(h, struct svc_export, h); in svc_export_request() local
347 qword_add(bpp, blen, exp->ex_client->name); in svc_export_request()
348 pth = d_path(&exp->ex_path, *bpp, *blen); in svc_export_request()
451 static int secinfo_parse(char **mesg, char *buf, struct svc_export *exp) in secinfo_parse() argument
[all …]
Dnfsfh.c41 struct svc_export *exp = expv; in nfsd_acceptable() local
46 if (exp->ex_flags & NFSEXP_NOSUBTREECHECK) in nfsd_acceptable()
50 while (tdentry != exp->ex_path.dentry && !IS_ROOT(tdentry)) { in nfsd_acceptable()
62 if (tdentry != exp->ex_path.dentry) in nfsd_acceptable()
64 rv = (tdentry == exp->ex_path.dentry); in nfsd_acceptable()
100 struct svc_export *exp) in nfsd_setuser_and_check_port() argument
103 if (!rqstp->rq_secure && EX_SECURE(exp)) { in nfsd_setuser_and_check_port()
112 return nfserrno(nfsd_setuser(rqstp, exp)); in nfsd_setuser_and_check_port()
124 struct svc_export *exp; in nfsd_set_fh_dentry() local
156 exp = rqst_exp_find(rqstp, fh->fh_fsid_type, fh->fh_auth); in nfsd_set_fh_dentry()
[all …]
Dauth.c15 int nfsexp_flags(struct svc_rqst *rqstp, struct svc_export *exp) in nfsexp_flags() argument
18 struct exp_flavor_info *end = exp->ex_flavors + exp->ex_nflavors; in nfsexp_flags()
20 for (f = exp->ex_flavors; f < end; f++) { in nfsexp_flags()
24 return exp->ex_flags; in nfsexp_flags()
28 int nfsd_setuser(struct svc_rqst *rqstp, struct svc_export *exp) in nfsd_setuser() argument
34 int flags = nfsexp_flags(rqstp, exp); in nfsd_setuser()
49 new->fsuid = exp->ex_anon_uid; in nfsd_setuser()
50 new->fsgid = exp->ex_anon_gid; in nfsd_setuser()
56 new->fsuid = exp->ex_anon_uid; in nfsd_setuser()
58 new->fsgid = exp->ex_anon_gid; in nfsd_setuser()
[all …]
Dvfs.c101 struct svc_export *exp = *expp, *exp2 = NULL; in nfsd_cross_mnt() local
103 struct vfsmount *mnt = mntget(exp->ex_path.mnt); in nfsd_cross_mnt()
117 if ((exp->ex_flags & NFSEXP_CROSSMOUNT) || EX_NOHIDE(exp2)) { in nfsd_cross_mnt()
119 exp_put(exp); in nfsd_cross_mnt()
137 struct svc_export *exp; in nfsd_lookup_dentry() local
151 exp = fhp->fh_export; in nfsd_lookup_dentry()
152 exp_get(exp); in nfsd_lookup_dentry()
158 else if (dparent != exp->ex_path.dentry) in nfsd_lookup_dentry()
160 else if (!EX_NOHIDE(exp)) in nfsd_lookup_dentry()
166 struct vfsmount *mnt = mntget(exp->ex_path.mnt); in nfsd_lookup_dentry()
[all …]
Dnfs4xdr.c1279 static char *nfsd4_path(struct svc_rqst *rqstp, struct svc_export *exp, __be32 *stat) in nfsd4_path() argument
1290 path = exp->ex_pathname; in nfsd4_path()
1306 struct svc_export *exp, in nfsd4_encode_fs_locations() argument
1312 struct nfsd4_fs_locations *fslocs = &exp->ex_fslocs; in nfsd4_encode_fs_locations()
1313 char *root = nfsd4_path(rqstp, exp, &status); in nfsd4_encode_fs_locations()
1409 nfsd4_encode_fattr(struct svc_fh *fhp, struct svc_export *exp, in nfsd4_encode_fattr() argument
1433 if (exp->ex_fslocs.migrated) { in nfsd4_encode_fattr()
1439 err = vfs_getattr(exp->ex_path.mnt, dentry, &stat); in nfsd4_encode_fattr()
1452 status = fh_compose(&tempfh, exp, dentry, NULL); in nfsd4_encode_fattr()
1472 if (exp->ex_fslocs.locations == NULL) { in nfsd4_encode_fattr()
[all …]
Dnfs4proc.c629 struct svc_export *exp; in nfsd4_secinfo() local
636 &exp, &dentry); in nfsd4_secinfo()
640 exp_put(exp); in nfsd4_secinfo()
643 secinfo->si_exp = exp; in nfsd4_secinfo()
Dnfs3xdr.c831 struct svc_export *exp; in compose_entry_fh() local
836 exp = cd->fh.fh_export; in compose_entry_fh()
854 fh_compose(fhp, exp, dchild, &cd->fh) != 0 || in compose_entry_fh()
/fs/
Dselect.c393 unsigned long *rinp, *routp, *rexp, *inp, *outp, *exp; in do_select() local
395 inp = fds->in; outp = fds->out; exp = fds->ex; in do_select()
404 in = *inp++; out = *outp++; ex = *exp++; in do_select()
486 fd_set __user *exp, struct timespec *end_time) in core_sys_select() argument
531 (ret = get_fd_set(n, exp, fds.ex))) in core_sys_select()
550 set_fd_set(n, exp, fds.res_ex)) in core_sys_select()
561 fd_set __user *, exp, struct timeval __user *, tvp) in SYSCALL_DEFINE5() argument
578 ret = core_sys_select(n, inp, outp, exp, to); in SYSCALL_DEFINE5()
586 fd_set __user *exp, struct timespec __user *tsp, in do_pselect() argument
613 ret = core_sys_select(n, inp, outp, exp, to); in do_pselect()
[all …]
Dcompat.c1616 compat_ulong_t __user *outp, compat_ulong_t __user *exp, in compat_core_sys_select() argument
1658 (ret = compat_get_fd_set(n, exp, fds.ex))) in compat_core_sys_select()
1677 compat_set_fd_set(n, exp, fds.res_ex)) in compat_core_sys_select()
1687 compat_ulong_t __user *outp, compat_ulong_t __user *exp, in compat_sys_select() argument
1705 ret = compat_core_sys_select(n, inp, outp, exp, to); in compat_sys_select()
1713 compat_ulong_t __user *outp, compat_ulong_t __user *exp, in do_compat_pselect() argument
1743 ret = compat_core_sys_select(n, inp, outp, exp, to); in do_compat_pselect()
1764 compat_ulong_t __user *outp, compat_ulong_t __user *exp, in compat_sys_pselect6() argument
1778 return do_compat_pselect(n, inp, outp, exp, tsp, compat_ptr(up), in compat_sys_pselect6()
/fs/autofs/
Ddirhash.c20 list_add_tail(&ent->exp, &dh->expiry_head); in autofs_init_usage()
26 list_del(&ent->exp); in autofs_delete_usage()
49 ent = list_entry(dh->expiry_head.next, struct autofs_dir_ent, exp); in autofs_expire()
Dautofs_i.h63 struct list_head exp; member