Home
last modified time | relevance | path

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

/fs/nfsd/
Dnfsfh.c37 while (tdentry != exp->ex_path.dentry && !IS_ROOT(tdentry)) { in nfsd_acceptable()
49 if (tdentry != exp->ex_path.dentry) in nfsd_acceptable()
51 rv = (tdentry == exp->ex_path.dentry); in nfsd_acceptable()
125 if (unlikely(dentry != exp->ex_path.dentry)) in check_pseudo_root()
248 dentry = dget(exp->ex_path.dentry); in nfsd_set_fh_dentry()
250 dentry = exportfs_decode_fh(exp->ex_path.mnt, fid, in nfsd_set_fh_dentry()
360 && exp->ex_path.dentry == dentry) in fh_verify()
394 if (dentry != exp->ex_path.dentry) { in _fh_update()
424 return exp->ex_path.dentry == exp->ex_path.dentry->d_sb->s_root; in is_root_export()
429 return exp->ex_path.dentry->d_inode->i_sb; in exp_sb()
[all …]
Dexport.c311 path_put(&exp->ex_path); in svc_export_put()
327 pth = d_path(&exp->ex_path, *bpp, *blen); in svc_export_request()
542 err = kern_path(buf, 0, &exp.ex_path); in svc_export_parse()
600 err = check_export(exp.ex_path.dentry->d_inode, &exp.ex_flags, in svc_export_parse()
640 path_put(&exp.ex_path); in svc_export_parse()
663 seq_path(m, &exp->ex_path, " \t\n\\"); in svc_export_show()
690 orig->ex_path.dentry == new->ex_path.dentry && in svc_export_match()
691 orig->ex_path.mnt == new->ex_path.mnt; in svc_export_match()
701 new->ex_path = item->ex_path; in svc_export_init()
702 path_get(&item->ex_path); in svc_export_init()
[all …]
Dvfs.h107 int ret = mnt_want_write(fh->fh_export->ex_path.mnt); in fh_want_write()
118 mnt_drop_write(fh->fh_export->ex_path.mnt); in fh_drop_write()
124 struct path p = {.mnt = fh->fh_export->ex_path.mnt, in fh_getattr()
Dvfs.c87 struct path path = {.mnt = mntget(exp->ex_path.mnt), in nfsd_cross_mnt()
144 struct path path = {.mnt = mntget((*exp)->ex_path.mnt), in nfsd_lookup_parent()
198 else if (dparent != exp->ex_path.dentry) in nfsd_lookup_dentry()
650 path.mnt = fhp->fh_export->ex_path.mnt; in nfsd_open()
1455 path.mnt = fhp->fh_export->ex_path.mnt; in nfsd_readlink()
1676 if (ffhp->fh_export->ex_path.mnt != tfhp->fh_export->ex_path.mnt) in nfsd_rename()
1678 if (ffhp->fh_export->ex_path.dentry != tfhp->fh_export->ex_path.dentry) in nfsd_rename()
1936 .mnt = fhp->fh_export->ex_path.mnt, in nfsd_statfs()
1975 __mnt_is_readonly(exp->ex_path.mnt)? " ro" : ""); in nfsd_permission()
1987 __mnt_is_readonly(exp->ex_path.mnt)) in nfsd_permission()
Dexport.h51 struct path ex_path; member
Dnfs4xdr.c1918 res = nfsd4_encode_path(xdr, &exp_ps->ex_path, path); in nfsd4_encode_fsloc_fsroot()
1934 status = nfsd4_encode_fsloc_fsroot(xdr, rqstp, &exp->ex_path); in nfsd4_encode_fs_locations()
2027 struct path path = exp->ex_path; in get_parent_attributes()
2073 .mnt = exp->ex_path.mnt, in nfsd4_encode_fattr()
2396 p = xdr_encode_hyper(p, exp->ex_path.mnt->mnt_sb->s_maxbytes); in nfsd4_encode_fattr()
2523 dentry == exp->ex_path.mnt->mnt_root) in nfsd4_encode_fattr()