Home
last modified time | relevance | path

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

/linux-6.1.9/fs/nfsd/
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()
429 return exp->ex_path.dentry == exp->ex_path.dentry->d_sb->s_root; in is_root_export()
434 return exp->ex_path.dentry->d_sb; in exp_sb()
[all …]
Dexport.c353 path_put(&exp->ex_path); in svc_export_put()
375 pth = d_path(&exp->ex_path, *bpp, *blen); in svc_export_request()
604 err = kern_path(buf, 0, &exp.ex_path); in svc_export_parse()
663 err = check_export(&exp.ex_path, &exp.ex_flags, exp.ex_uuid); in svc_export_parse()
706 path_put(&exp.ex_path); in svc_export_parse()
743 seq_path(m, &exp->ex_path, " \t\n\\"); in svc_export_show()
781 path_equal(&orig->ex_path, &new->ex_path); in svc_export_match()
791 new->ex_path = item->ex_path; in svc_export_init()
792 path_get(&item->ex_path); in svc_export_init()
864 hash ^= hash_ptr(exp->ex_path.dentry, EXPORT_HASHBITS); in svc_export_hash()
[all …]
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()
172 struct path p = {.mnt = fh->fh_export->ex_path.mnt, in fh_getattr()
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()
760 path.mnt = fhp->fh_export->ex_path.mnt; in __nfsd_open()
1428 path.mnt = fhp->fh_export->ex_path.mnt; in nfsd_readlink()
1675 if (ffhp->fh_export->ex_path.mnt != tfhp->fh_export->ex_path.mnt) in nfsd_rename()
1677 if (ffhp->fh_export->ex_path.dentry != tfhp->fh_export->ex_path.dentry) in nfsd_rename()
1995 .mnt = fhp->fh_export->ex_path.mnt, in nfsd_statfs()
2270 __mnt_is_readonly(exp->ex_path.mnt)? " ro" : ""); in nfsd_permission()
[all …]
Dexport.h67 struct path ex_path; member
Dtrace.h358 __string(path, key->ex_path.dentry->d_name.name)
363 __assign_str(path, key->ex_path.dentry->d_name.name);
378 __string(path, key->ex_path.dentry->d_name.name)
383 __assign_str(path, key->ex_path.dentry->d_name.name);
Dnfs4layouts.c130 struct super_block *sb = exp->ex_path.mnt->mnt_sb; in nfsd4_setup_layout_type()
Dnfs4xdr.c2685 res = nfsd4_encode_path(xdr, &exp_ps->ex_path, path); in nfsd4_encode_fsloc_fsroot()
2701 status = nfsd4_encode_fsloc_fsroot(xdr, rqstp, &exp->ex_path); in nfsd4_encode_fs_locations()
2813 struct path path = exp->ex_path; in nfsd4_get_mounted_on_ino()
2895 .mnt = exp->ex_path.mnt, in nfsd4_encode_fattr()
3198 p = xdr_encode_hyper(p, exp->ex_path.mnt->mnt_sb->s_maxbytes); in nfsd4_encode_fattr()
3333 dentry == exp->ex_path.mnt->mnt_root) { in nfsd4_encode_fattr()
Dnfs3xdr.c999 if (dparent == exp->ex_path.dentry) in compose_entry_fh()
Dnfs4proc.c213 path.mnt = fhp->fh_export->ex_path.mnt; in nfsd4_vfs_create()
2183 nfserr = ops->proc_getdeviceinfo(exp->ex_path.mnt->mnt_sb, in nfsd4_getdeviceinfo()