Home
last modified time | relevance | path

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

/openbmc/linux/fs/nfsd/
H A Dnfsfh.c52 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()
386 && exp->ex_path.dentry == dentry) in fh_verify()
414 if (dentry != exp->ex_path.dentry) { in _fh_update()
433 return exp->ex_path.dentry == exp->ex_path.dentry->d_sb->s_root; in is_root_export()
438 return exp->ex_path.dentry->d_sb; in exp_sb()
534 (long) d_inode(exp->ex_path.dentry)->i_ino, in fh_compose()
[all …]
H A Dexport.c357 path_put(&exp->ex_path); in svc_export_put()
380 pth = d_path(&exp->ex_path, *bpp, *blen); in svc_export_request()
629 err = kern_path(buf, 0, &exp.ex_path); in svc_export_parse()
734 path_put(&exp.ex_path); in svc_export_parse()
771 seq_path(m, &exp->ex_path, " \t\n\\"); in svc_export_show()
811 path_equal(&orig->ex_path, &new->ex_path); in svc_export_match()
821 new->ex_path = item->ex_path; in svc_export_init()
822 path_get(&item->ex_path); in svc_export_init()
903 hash ^= hash_ptr(exp->ex_path.mnt, EXPORT_HASHBITS); in svc_export_hash()
970 key.ex_path = *path; in exp_get_by_name()
[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()
1564 path.mnt = fhp->fh_export->ex_path.mnt; in nfsd_readlink()
1785 if (ffhp->fh_export->ex_path.mnt != tfhp->fh_export->ex_path.mnt) in nfsd_rename()
1787 if (ffhp->fh_export->ex_path.dentry != tfhp->fh_export->ex_path.dentry) in nfsd_rename()
2143 .mnt = fhp->fh_export->ex_path.mnt, in nfsd_statfs()
2419 __mnt_is_readonly(exp->ex_path.mnt)? " ro" : ""); in nfsd_permission()
[all …]
H A Dexport.h68 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 Dnfs4layouts.c130 struct super_block *sb = exp->ex_path.mnt->mnt_sb; in nfsd4_setup_layout_type()
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 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()