Home
last modified time | relevance | path

Searched refs:ex_path (Results 1 – 9 of 9) 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()
399 && exp->ex_path.dentry == dentry) in __fh_verify()
486 if (dentry != exp->ex_path.dentry) { in _fh_update()
505 return exp->ex_path.dentry == exp->ex_path.dentry->d_sb->s_root; in is_root_export()
510 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()
640 err = kern_path(buf, 0, &exp.ex_path); in svc_export_parse()
701 err = check_export(&exp.ex_path, &exp.ex_flags, exp.ex_uuid); in svc_export_parse()
745 path_put(&exp.ex_path); in svc_export_parse()
782 seq_path(m, &exp->ex_path, " \t\n\\"); in svc_export_show()
822 path_equal(&orig->ex_path, &new->ex_path); in svc_export_match()
832 new->ex_path = item->ex_path; in svc_export_init()
833 path_get(&item->ex_path); in svc_export_init()
913 hash ^= hash_ptr(exp->ex_path.dentry, EXPORT_HASHBITS); in svc_export_hash()
[all …]
H A Dnfsfh.h294 ret = mnt_want_write(fhp->fh_export->ex_path.mnt); in fh_want_write()
308 mnt_drop_write(fhp->fh_export->ex_path.mnt); in fh_drop_write()
H A Dvfs.c130 struct path path = {.mnt = mntget(exp->ex_path.mnt), in nfsd_cross_mnt()
141 if (path.mnt == exp->ex_path.mnt && path.dentry == dentry && in nfsd_cross_mnt()
197 struct path path = {.mnt = mntget((*exp)->ex_path.mnt), in nfsd_lookup_parent()
261 else if (dparent != exp->ex_path.dentry) in nfsd_lookup_dentry()
906 path.mnt = fhp->fh_export->ex_path.mnt; in __nfsd_open()
1922 path.mnt = fhp->fh_export->ex_path.mnt; in nfsd_readlink()
2164 if (ffhp->fh_export->ex_path.mnt != tfhp->fh_export->ex_path.mnt) in nfsd_rename()
2166 if (ffhp->fh_export->ex_path.dentry != tfhp->fh_export->ex_path.dentry) in nfsd_rename()
2568 .mnt = fhp->fh_export->ex_path.mnt, in nfsd_statfs()
2844 __mnt_is_readonly(exp->ex_path.mnt)? " ro" : ""); in nfsd_permission()
[all …]
H A Dexport.h68 struct path ex_path; member
H A Dnfs4layouts.c129 struct super_block *sb = exp->ex_path.mnt->mnt_sb; in nfsd4_setup_layout_type()
H A Dnfs4xdr.c2915 status = nfsd4_encode_pathname4(xdr, &exp_ps->ex_path, &exp->ex_path); in nfsd4_encode_fs_locations4()
3092 struct path path = exp->ex_path; in nfsd4_get_mounted_on_ino()
3397 struct super_block *sb = args->exp->ex_path.mnt->mnt_sb; in nfsd4_encode_fattr4_maxfilesize()
3539 args->dentry == args->exp->ex_path.mnt->mnt_root) { in nfsd4_encode_fattr4_mounted_on_fileid()
3876 .mnt = exp->ex_path.mnt, in nfsd4_encode_fattr4()
H A Dnfs4proc.c227 path.mnt = fhp->fh_export->ex_path.mnt; in nfsd4_vfs_create()
2609 nfserr = ops->proc_getdeviceinfo(exp->ex_path.mnt->mnt_sb, in nfsd4_getdeviceinfo()
H A Dnfs4state.c6229 path.mnt = currentfh->fh_export->ex_path.mnt; in nfs4_delegation_stat()