Home
last modified time | relevance | path

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

/linux/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()
135 if (unlikely(dentry != exp->ex_path.dentry)) in check_pseudo_root()
241 dentry = dget(exp->ex_path.dentry); in nfsd_set_fh_dentry()
243 dentry = exportfs_decode_fh_raw(exp->ex_path.mnt, fid, in nfsd_set_fh_dentry()
379 && exp->ex_path.dentry == dentry) in __fh_verify()
466 if (dentry != exp->ex_path.dentry) { in _fh_update()
485 return exp->ex_path.dentry == exp->ex_path.dentry->d_sb->s_root; in is_root_export()
490 return exp->ex_path.dentry->d_sb; in exp_sb()
[all …]
H A Dexport.c372 path_put(&exp->ex_path); in svc_export_put()
391 pth = d_path(&exp->ex_path, *bpp, *blen); in svc_export_request()
639 err = kern_path(buf, 0, &exp.ex_path); in svc_export_parse()
700 err = check_export(&exp.ex_path, &exp.ex_flags, exp.ex_uuid); in svc_export_parse()
744 path_put(&exp.ex_path); in svc_export_parse()
781 seq_path(m, &exp->ex_path, " \t\n\\"); in svc_export_show()
821 path_equal(&orig->ex_path, &new->ex_path); in svc_export_match()
831 new->ex_path = item->ex_path; in svc_export_init()
832 path_get(&item->ex_path); in svc_export_init()
912 hash ^= hash_ptr(exp->ex_path.dentry, EXPORT_HASHBITS); in svc_export_hash()
[all …]
H A Dvfs.h169 ret = mnt_want_write(fh->fh_export->ex_path.mnt); in fh_want_write()
179 mnt_drop_write(fh->fh_export->ex_path.mnt); in fh_drop_write()
186 struct path p = {.mnt = fh->fh_export->ex_path.mnt, in fh_getattr()
H A Dvfs.c128 struct path path = {.mnt = mntget(exp->ex_path.mnt), in nfsd_cross_mnt()
139 if (path.mnt == exp->ex_path.mnt && path.dentry == dentry && in nfsd_cross_mnt()
195 struct path path = {.mnt = mntget((*exp)->ex_path.mnt), in nfsd_lookup_parent()
259 else if (dparent != exp->ex_path.dentry) in nfsd_lookup_dentry()
884 path.mnt = fhp->fh_export->ex_path.mnt; in __nfsd_open()
1651 path.mnt = fhp->fh_export->ex_path.mnt; in nfsd_readlink()
1901 if (ffhp->fh_export->ex_path.mnt != tfhp->fh_export->ex_path.mnt) in nfsd_rename()
1903 if (ffhp->fh_export->ex_path.dentry != tfhp->fh_export->ex_path.dentry) in nfsd_rename()
2336 .mnt = fhp->fh_export->ex_path.mnt, in nfsd_statfs()
2612 __mnt_is_readonly(exp->ex_path.mnt)? " ro" : ""); in nfsd_permission()
[all …]
H A Dexport.h68 struct path ex_path; member
H A Dnfs4layouts.c130 struct super_block *sb = exp->ex_path.mnt->mnt_sb; in nfsd4_setup_layout_type()
H A Dnfs4xdr.c2791 status = nfsd4_encode_pathname4(xdr, &exp_ps->ex_path, &exp->ex_path); in nfsd4_encode_fs_locations4()
2885 struct path path = exp->ex_path; in nfsd4_get_mounted_on_ino()
3180 struct super_block *sb = args->exp->ex_path.mnt->mnt_sb; in nfsd4_encode_fattr4_maxfilesize()
3322 args->dentry == args->exp->ex_path.mnt->mnt_root) { in nfsd4_encode_fattr4_mounted_on_fileid()
3600 .mnt = exp->ex_path.mnt, in nfsd4_encode_fattr4()
H A Dnfs3xdr.c999 if (dparent == exp->ex_path.dentry) in compose_entry_fh()
H A Dnfs4proc.c216 path.mnt = fhp->fh_export->ex_path.mnt; in nfsd4_vfs_create()
2368 nfserr = ops->proc_getdeviceinfo(exp->ex_path.mnt->mnt_sb, in nfsd4_getdeviceinfo()
H A Dnfs4state.c6156 path.mnt = currentfh->fh_export->ex_path.mnt; in nfs4_delegation_stat()