Home
last modified time | relevance | path

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

/linux-4.4.14/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 d_inode(exp->ex_path.dentry)->i_sb; in exp_sb()
[all …]
Dvfs.h112 int ret = mnt_want_write(fh->fh_export->ex_path.mnt); in fh_want_write()
123 mnt_drop_write(fh->fh_export->ex_path.mnt); in fh_drop_write()
129 struct path p = {.mnt = fh->fh_export->ex_path.mnt, in fh_getattr()
Dexport.c312 path_put(&exp->ex_path); in svc_export_put()
328 pth = d_path(&exp->ex_path, *bpp, *blen); in svc_export_request()
543 err = kern_path(buf, 0, &exp.ex_path); in svc_export_parse()
602 err = check_export(d_inode(exp.ex_path.dentry), &exp.ex_flags, in svc_export_parse()
644 path_put(&exp.ex_path); in svc_export_parse()
667 seq_path(m, &exp->ex_path, " \t\n\\"); in svc_export_show()
694 path_equal(&orig->ex_path, &new->ex_path); in svc_export_match()
704 new->ex_path = item->ex_path; in svc_export_init()
705 path_get(&item->ex_path); in svc_export_init()
770 hash ^= hash_ptr(exp->ex_path.dentry, EXPORT_HASHBITS); in svc_export_hash()
[all …]
Dvfs.c88 struct path path = {.mnt = mntget(exp->ex_path.mnt), in nfsd_cross_mnt()
145 struct path path = {.mnt = mntget((*exp)->ex_path.mnt), in nfsd_lookup_parent()
199 else if (dparent != exp->ex_path.dentry) in nfsd_lookup_dentry()
666 path.mnt = fhp->fh_export->ex_path.mnt; in nfsd_open()
1438 path.mnt = fhp->fh_export->ex_path.mnt; in nfsd_readlink()
1659 if (ffhp->fh_export->ex_path.mnt != tfhp->fh_export->ex_path.mnt) in nfsd_rename()
1661 if (ffhp->fh_export->ex_path.dentry != tfhp->fh_export->ex_path.dentry) in nfsd_rename()
1921 .mnt = fhp->fh_export->ex_path.mnt, in nfsd_statfs()
1960 __mnt_is_readonly(exp->ex_path.mnt)? " ro" : ""); in nfsd_permission()
1972 __mnt_is_readonly(exp->ex_path.mnt)) in nfsd_permission()
Dexport.h52 struct path ex_path; member
Dnfs4xdr.c2089 res = nfsd4_encode_path(xdr, &exp_ps->ex_path, path); in nfsd4_encode_fsloc_fsroot()
2105 status = nfsd4_encode_fsloc_fsroot(xdr, rqstp, &exp->ex_path); in nfsd4_encode_fs_locations()
2219 struct path path = exp->ex_path; in get_parent_attributes()
2297 .mnt = exp->ex_path.mnt, in nfsd4_encode_fattr()
2597 p = xdr_encode_hyper(p, exp->ex_path.mnt->mnt_sb->s_maxbytes); in nfsd4_encode_fattr()
2727 dentry == exp->ex_path.mnt->mnt_root) { in nfsd4_encode_fattr()
Dnfs4layouts.c119 struct super_block *sb = exp->ex_path.mnt->mnt_sb; in nfsd4_setup_layout_type()
Dnfs4proc.c1231 nfserr = ops->proc_getdeviceinfo(exp->ex_path.mnt->mnt_sb, gdp); in nfsd4_getdeviceinfo()