Home
last modified time | relevance | path

Searched refs:ex_path (Results 1 - 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/fs/nfsd/
H A Dnfsfh.c39 while (tdentry != exp->ex_path.dentry && !IS_ROOT(tdentry)) { in nfsd_acceptable()
51 if (tdentry != exp->ex_path.dentry) in nfsd_acceptable()
53 rv = (tdentry == exp->ex_path.dentry); in nfsd_acceptable()
143 if (unlikely(dentry != exp->ex_path.dentry)) in check_pseudo_root()
269 dentry = dget(exp->ex_path.dentry); in nfsd_set_fh_dentry()
271 dentry = exportfs_decode_fh(exp->ex_path.mnt, fid, in nfsd_set_fh_dentry()
384 && exp->ex_path.dentry == dentry) in fh_verify()
418 if (dentry != exp->ex_path.dentry) { in _fh_update()
448 return exp->ex_path.dentry == exp->ex_path in is_root_export()
[all...]
H A Dexport.c337 path_put(&exp->ex_path); in svc_export_put()
358 pth = d_path(&exp->ex_path, *bpp, *blen); in svc_export_request()
574 err = kern_path(buf, 0, &exp.ex_path); in svc_export_parse()
633 err = check_export(d_inode(exp.ex_path.dentry), &exp.ex_flags, in svc_export_parse()
677 path_put(&exp.ex_path); in svc_export_parse()
700 seq_path(m, &exp->ex_path, " \t\n\\"); in svc_export_show()
727 path_equal(&orig->ex_path, &new->ex_path); in svc_export_match()
737 new->ex_path = item->ex_path; in svc_export_init()
[all...]
H A Dvfs.h141 ret = mnt_want_write(fh->fh_export->ex_path.mnt); in fh_want_write()
151 mnt_drop_write(fh->fh_export->ex_path.mnt); in fh_drop_write()
157 struct path p = {.mnt = fh->fh_export->ex_path.mnt, in fh_getattr()
H A 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()
750 path.mnt = fhp->fh_export->ex_path.mnt; in __nfsd_open()
1562 path.mnt = fhp->fh_export->ex_path.mnt; in nfsd_readlink()
1762 if (ffhp->fh_export->ex_path.mnt != tfhp->fh_export->ex_path.mnt) in nfsd_rename()
1764 if (ffhp->fh_export->ex_path.dentry != tfhp->fh_export->ex_path in nfsd_rename()
[all...]
H A Dexport.h53 struct path ex_path; member
H A Dtrace.h139 __string(path, key->ex_path.dentry->d_name.name)
144 __assign_str(path, key->ex_path.dentry->d_name.name);
159 __string(path, key->ex_path.dentry->d_name.name)
164 __assign_str(path, key->ex_path.dentry->d_name.name);
H A Dnfs4xdr.c2519 res = nfsd4_encode_path(xdr, &exp_ps->ex_path, path); in nfsd4_encode_fsloc_fsroot()
2535 status = nfsd4_encode_fsloc_fsroot(xdr, rqstp, &exp->ex_path); in nfsd4_encode_fs_locations()
2647 struct path path = exp->ex_path; in get_parent_attributes()
2727 .mnt = exp->ex_path.mnt, in nfsd4_encode_fattr()
3028 p = xdr_encode_hyper(p, exp->ex_path.mnt->mnt_sb->s_maxbytes); in nfsd4_encode_fattr()
3156 dentry == exp->ex_path.mnt->mnt_root) { in nfsd4_encode_fattr()
H A Dnfs4layouts.c130 struct super_block *sb = exp->ex_path.mnt->mnt_sb; in nfsd4_setup_layout_type()
H A Dnfs3xdr.c872 if (dparent == exp->ex_path.dentry) in compose_entry_fh()
H A Dnfs4proc.c1879 nfserr = ops->proc_getdeviceinfo(exp->ex_path.mnt->mnt_sb, in nfsd4_getdeviceinfo()
/kernel/linux/linux-6.6/fs/nfsd/
H A Dnfsfh.c39 while (tdentry != exp->ex_path.dentry && !IS_ROOT(tdentry)) { in nfsd_acceptable()
52 if (tdentry != exp->ex_path.dentry) in nfsd_acceptable()
54 rv = (tdentry == exp->ex_path.dentry); in nfsd_acceptable()
144 if (unlikely(dentry != exp->ex_path.dentry)) in check_pseudo_root()
247 dentry = dget(exp->ex_path.dentry); in nfsd_set_fh_dentry()
249 dentry = exportfs_decode_fh_raw(exp->ex_path.mnt, fid, in nfsd_set_fh_dentry()
385 && exp->ex_path.dentry == dentry) in fh_verify()
413 if (dentry != exp->ex_path.dentry) { in _fh_update()
432 return exp->ex_path.dentry == exp->ex_path in is_root_export()
[all...]
H A Dexport.c353 path_put(&exp->ex_path); in svc_export_put()
375 pth = d_path(&exp->ex_path, *bpp, *blen); in svc_export_request()
624 err = kern_path(buf, 0, &exp.ex_path); in svc_export_parse()
685 err = check_export(&exp.ex_path, &exp.ex_flags, exp.ex_uuid); in svc_export_parse()
729 path_put(&exp.ex_path); in svc_export_parse()
766 seq_path(m, &exp->ex_path, " \t\n\\"); in svc_export_show()
804 path_equal(&orig->ex_path, &new->ex_path); in svc_export_match()
814 new->ex_path = item->ex_path; in svc_export_init()
[all...]
H A Dvfs.h156 ret = mnt_want_write(fh->fh_export->ex_path.mnt); in fh_want_write()
166 mnt_drop_write(fh->fh_export->ex_path.mnt); in fh_drop_write()
173 struct path p = {.mnt = fh->fh_export->ex_path.mnt, in fh_getattr()
H A Dvfs.c127 struct path path = {.mnt = mntget(exp->ex_path.mnt), in nfsd_cross_mnt()
138 if (path.mnt == exp->ex_path.mnt && path.dentry == dentry && in nfsd_cross_mnt()
194 struct path path = {.mnt = mntget((*exp)->ex_path.mnt), in nfsd_lookup_parent()
258 else if (dparent != exp->ex_path.dentry) in nfsd_lookup_dentry()
836 path.mnt = fhp->fh_export->ex_path.mnt; in __nfsd_open()
1562 path.mnt = fhp->fh_export->ex_path.mnt; in nfsd_readlink()
1783 if (ffhp->fh_export->ex_path.mnt != tfhp->fh_export->ex_path.mnt) in nfsd_rename()
1785 if (ffhp->fh_export->ex_path.dentry != tfhp->fh_export->ex_path in nfsd_rename()
[all...]
H A Dexport.h67 struct path ex_path; member
H A Dtrace.h361 __string(path, key->ex_path.dentry->d_name.name)
366 __assign_str(path, key->ex_path.dentry->d_name.name);
381 __string(path, key->ex_path.dentry->d_name.name)
386 __assign_str(path, key->ex_path.dentry->d_name.name);
H A Dnfs4xdr.c2764 res = nfsd4_encode_path(xdr, &exp_ps->ex_path, path); in nfsd4_encode_fsloc_fsroot()
2780 status = nfsd4_encode_fsloc_fsroot(xdr, rqstp, &exp->ex_path); in nfsd4_encode_fs_locations()
2892 struct path path = exp->ex_path; in nfsd4_get_mounted_on_ino()
2974 .mnt = exp->ex_path.mnt, in nfsd4_encode_fattr()
3284 p = xdr_encode_hyper(p, exp->ex_path.mnt->mnt_sb->s_maxbytes); in nfsd4_encode_fattr()
3411 dentry == exp->ex_path.mnt->mnt_root) { in nfsd4_encode_fattr()
H A Dnfs4layouts.c130 struct super_block *sb = exp->ex_path.mnt->mnt_sb; in nfsd4_setup_layout_type()
H A Dnfs3xdr.c1002 if (dparent == exp->ex_path.dentry) in compose_entry_fh()
H A Dnfs4proc.c213 path.mnt = fhp->fh_export->ex_path.mnt; in nfsd4_vfs_create()
2196 nfserr = ops->proc_getdeviceinfo(exp->ex_path.mnt->mnt_sb, in nfsd4_getdeviceinfo()

Completed in 44 milliseconds