Home
last modified time | relevance | path

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

/Linux-v5.4/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.c326 path_put(&exp->ex_path); in svc_export_put()
342 pth = d_path(&exp->ex_path, *bpp, *blen); in svc_export_request()
558 err = kern_path(buf, 0, &exp.ex_path); in svc_export_parse()
617 err = check_export(d_inode(exp.ex_path.dentry), &exp.ex_flags, in svc_export_parse()
659 path_put(&exp.ex_path); in svc_export_parse()
682 seq_path(m, &exp->ex_path, " \t\n\\"); in svc_export_show()
709 path_equal(&orig->ex_path, &new->ex_path); in svc_export_match()
719 new->ex_path = item->ex_path; in svc_export_init()
720 path_get(&item->ex_path); in svc_export_init()
785 hash ^= hash_ptr(exp->ex_path.dentry, EXPORT_HASHBITS); in svc_export_hash()
[all …]
Dvfs.c64 struct path path = {.mnt = mntget(exp->ex_path.mnt), in nfsd_cross_mnt()
71 if (path.mnt == exp->ex_path.mnt && path.dentry == dentry && in nfsd_cross_mnt()
127 struct path path = {.mnt = mntget((*exp)->ex_path.mnt), in nfsd_lookup_parent()
191 else if (dparent != exp->ex_path.dentry) in nfsd_lookup_dentry()
702 path.mnt = fhp->fh_export->ex_path.mnt; in __nfsd_open()
1471 path.mnt = fhp->fh_export->ex_path.mnt; in nfsd_readlink()
1705 if (ffhp->fh_export->ex_path.mnt != tfhp->fh_export->ex_path.mnt) in nfsd_rename()
1707 if (ffhp->fh_export->ex_path.dentry != tfhp->fh_export->ex_path.dentry) in nfsd_rename()
1980 .mnt = fhp->fh_export->ex_path.mnt, in nfsd_statfs()
2019 __mnt_is_readonly(exp->ex_path.mnt)? " ro" : ""); in nfsd_permission()
[all …]
Dexport.h53 struct path ex_path; member
Dnfs4xdr.c2223 res = nfsd4_encode_path(xdr, &exp_ps->ex_path, path); in nfsd4_encode_fsloc_fsroot()
2239 status = nfsd4_encode_fsloc_fsroot(xdr, rqstp, &exp->ex_path); in nfsd4_encode_fs_locations()
2351 struct path path = exp->ex_path; in get_parent_attributes()
2431 .mnt = exp->ex_path.mnt, in nfsd4_encode_fattr()
2732 p = xdr_encode_hyper(p, exp->ex_path.mnt->mnt_sb->s_maxbytes); in nfsd4_encode_fattr()
2860 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.c1579 nfserr = ops->proc_getdeviceinfo(exp->ex_path.mnt->mnt_sb, in nfsd4_getdeviceinfo()