Home
last modified time | relevance | path

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

/linux-4.19.296/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 …]
Dvfs.h127 ret = mnt_want_write(fh->fh_export->ex_path.mnt); in fh_want_write()
137 mnt_drop_write(fh->fh_export->ex_path.mnt); in fh_drop_write()
143 struct path p = {.mnt = fh->fh_export->ex_path.mnt, in fh_getattr()
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.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()
742 path.mnt = fhp->fh_export->ex_path.mnt; in nfsd_open()
1516 path.mnt = fhp->fh_export->ex_path.mnt; in nfsd_readlink()
1728 if (ffhp->fh_export->ex_path.mnt != tfhp->fh_export->ex_path.mnt) in nfsd_rename()
1730 if (ffhp->fh_export->ex_path.dentry != tfhp->fh_export->ex_path.dentry) in nfsd_rename()
1979 .mnt = fhp->fh_export->ex_path.mnt, in nfsd_statfs()
2018 __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()
2424 .mnt = exp->ex_path.mnt, in nfsd4_encode_fattr()
2725 p = xdr_encode_hyper(p, exp->ex_path.mnt->mnt_sb->s_maxbytes); in nfsd4_encode_fattr()
2853 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()
Dnfs3xdr.c853 if (dparent == exp->ex_path.dentry) in compose_entry_fh()
Dnfs4proc.c1347 nfserr = ops->proc_getdeviceinfo(exp->ex_path.mnt->mnt_sb, in nfsd4_getdeviceinfo()