Home
last modified time | relevance | path

Searched refs:ex_path (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/fs/nfsd/
Dnfsfh.c38 while (tdentry != exp->ex_path.dentry && !IS_ROOT(tdentry)) { in nfsd_acceptable()
50 if (tdentry != exp->ex_path.dentry) in nfsd_acceptable()
52 rv = (tdentry == exp->ex_path.dentry); in nfsd_acceptable()
142 if (unlikely(dentry != exp->ex_path.dentry)) in check_pseudo_root()
265 dentry = dget(exp->ex_path.dentry); in nfsd_set_fh_dentry()
267 dentry = exportfs_decode_fh(exp->ex_path.mnt, fid, in nfsd_set_fh_dentry()
377 && exp->ex_path.dentry == dentry) in fh_verify()
411 if (dentry != exp->ex_path.dentry) { in _fh_update()
441 return exp->ex_path.dentry == exp->ex_path.dentry->d_sb->s_root; in is_root_export()
446 return exp->ex_path.dentry->d_sb; in exp_sb()
[all …]
Dexport.c313 path_put(&exp->ex_path); in svc_export_put()
329 pth = d_path(&exp->ex_path, *bpp, *blen); in svc_export_request()
545 err = kern_path(buf, 0, &exp.ex_path); in svc_export_parse()
604 err = check_export(d_inode(exp.ex_path.dentry), &exp.ex_flags, in svc_export_parse()
646 path_put(&exp.ex_path); in svc_export_parse()
669 seq_path(m, &exp->ex_path, " \t\n\\"); in svc_export_show()
696 path_equal(&orig->ex_path, &new->ex_path); in svc_export_match()
706 new->ex_path = item->ex_path; in svc_export_init()
707 path_get(&item->ex_path); in svc_export_init()
772 hash ^= hash_ptr(exp->ex_path.dentry, EXPORT_HASHBITS); in svc_export_hash()
[all …]
Dvfs.h123 int ret = mnt_want_write(fh->fh_export->ex_path.mnt); in fh_want_write()
134 mnt_drop_write(fh->fh_export->ex_path.mnt); in fh_drop_write()
140 struct path p = {.mnt = fh->fh_export->ex_path.mnt, in fh_getattr()
Dvfs.c91 struct path path = {.mnt = mntget(exp->ex_path.mnt), in nfsd_cross_mnt()
98 if (path.mnt == exp->ex_path.mnt && path.dentry == dentry && in nfsd_cross_mnt()
154 struct path path = {.mnt = mntget((*exp)->ex_path.mnt), in nfsd_lookup_parent()
218 else if (dparent != exp->ex_path.dentry) in nfsd_lookup_dentry()
729 path.mnt = fhp->fh_export->ex_path.mnt; in nfsd_open()
1496 path.mnt = fhp->fh_export->ex_path.mnt; in nfsd_readlink()
1708 if (ffhp->fh_export->ex_path.mnt != tfhp->fh_export->ex_path.mnt) in nfsd_rename()
1710 if (ffhp->fh_export->ex_path.dentry != tfhp->fh_export->ex_path.dentry) in nfsd_rename()
1959 .mnt = fhp->fh_export->ex_path.mnt, in nfsd_statfs()
1998 __mnt_is_readonly(exp->ex_path.mnt)? " ro" : ""); in nfsd_permission()
[all …]
Dexport.h53 struct path ex_path; member
Dnfs4xdr.c2216 res = nfsd4_encode_path(xdr, &exp_ps->ex_path, path); in nfsd4_encode_fsloc_fsroot()
2232 status = nfsd4_encode_fsloc_fsroot(xdr, rqstp, &exp->ex_path); in nfsd4_encode_fs_locations()
2344 struct path path = exp->ex_path; in get_parent_attributes()
2422 .mnt = exp->ex_path.mnt, in nfsd4_encode_fattr()
2723 p = xdr_encode_hyper(p, exp->ex_path.mnt->mnt_sb->s_maxbytes); in nfsd4_encode_fattr()
2851 dentry == exp->ex_path.mnt->mnt_root) { in nfsd4_encode_fattr()
Dnfs4layouts.c130 struct super_block *sb = exp->ex_path.mnt->mnt_sb; in nfsd4_setup_layout_type()
Dnfs4proc.c1345 nfserr = ops->proc_getdeviceinfo(exp->ex_path.mnt->mnt_sb, in nfsd4_getdeviceinfo()