Home
last modified time | relevance | path

Searched refs:vfsmount (Results 1 – 25 of 67) sorted by relevance

123

/fs/
Dmount.h38 struct vfsmount mnt;
79 static inline struct mount *real_mount(struct vfsmount *mnt) in real_mount()
89 static inline int is_mounted(struct vfsmount *mnt) in is_mounted()
95 extern struct mount *__lookup_mnt(struct vfsmount *, struct dentry *);
97 extern int __legitimize_mnt(struct vfsmount *, unsigned);
98 extern bool legitimize_mnt(struct vfsmount *, unsigned);
135 int (*show)(struct seq_file *, struct vfsmount *);
Dnamespace.c90 static inline struct hlist_head *m_hash(struct vfsmount *mnt, struct dentry *dentry) in m_hash()
247 bool __mnt_is_readonly(struct vfsmount *mnt) in __mnt_is_readonly()
287 static int mnt_is_readonly(struct vfsmount *mnt) in mnt_is_readonly()
312 int __mnt_want_write(struct vfsmount *m) in __mnt_want_write()
351 int mnt_want_write(struct vfsmount *m) in mnt_want_write()
375 int mnt_clone_write(struct vfsmount *mnt) in mnt_clone_write()
429 void __mnt_drop_write(struct vfsmount *mnt) in __mnt_drop_write()
444 void mnt_drop_write(struct vfsmount *mnt) in mnt_drop_write()
565 int __legitimize_mnt(struct vfsmount *bastard, unsigned seq) in __legitimize_mnt()
593 bool legitimize_mnt(struct vfsmount *bastard, unsigned seq) in legitimize_mnt()
[all …]
Dinternal.h81 extern struct vfsmount *lookup_mnt(const struct path *);
82 extern int finish_automount(struct vfsmount *, struct path *);
91 extern void dissolve_on_fput(struct vfsmount *);
123 extern struct file *do_file_open_root(struct dentry *, struct vfsmount *,
Dproc_namespace.c64 static void show_mnt_opts(struct seq_file *m, struct vfsmount *mnt) in show_mnt_opts()
97 static int show_vfsmnt(struct seq_file *m, struct vfsmount *mnt) in show_vfsmnt()
133 static int show_mountinfo(struct seq_file *m, struct vfsmount *mnt) in show_mountinfo()
197 static int show_vfsstat(struct seq_file *m, struct vfsmount *mnt) in show_vfsstat()
243 int (*show)(struct seq_file *, struct vfsmount *)) in mounts_open_common() argument
Dnamei.c383 static inline int do_inode_permission(struct vfsmount *mnt, struct inode *inode, int mask) in do_inode_permission()
431 int inode_permission2(struct vfsmount *mnt, struct inode *inode, int mask) in inode_permission2()
575 struct vfsmount *mnt = path->mnt; in path_connected()
1230 struct vfsmount *mnt; in follow_automount()
1309 struct vfsmount *mnt = path->mnt; /* held by caller, must be left alone */ in follow_managed()
1332 struct vfsmount *mounted = lookup_mnt(path); in follow_managed()
1374 struct vfsmount *mounted; in follow_down_one()
1524 struct vfsmount *mounted = lookup_mnt(path); in follow_down()
1547 struct vfsmount *mounted = lookup_mnt(path); in follow_mount()
1645 struct vfsmount *mnt = nd->path.mnt; in lookup_fast()
[all …]
Dfhandle.c115 static struct vfsmount *get_vfsmount_from_fd(int fd) in get_vfsmount_from_fd()
117 struct vfsmount *mnt; in get_vfsmount_from_fd()
Dnsfs.c14 static struct vfsmount *nsfs_mnt;
57 struct vfsmount *mnt = nsfs_mnt; in __ns_get_path()
Dopen.c38 int do_truncate2(struct vfsmount *mnt, struct dentry *dentry, loff_t length, in do_truncate2()
77 struct vfsmount *mnt; in vfs_truncate()
166 struct vfsmount *mnt; in do_sys_ftruncate()
363 struct vfsmount *mnt; in do_faccessat()
1083 struct file *file_open_root(struct dentry *dentry, struct vfsmount *mnt, in file_open_root()
Dfile_table.c214 struct file *alloc_file_pseudo(struct inode *inode, struct vfsmount *mnt, in alloc_file_pseudo()
257 struct vfsmount *mnt = file->f_path.mnt; in __fput()
Dfs_pin.c22 void pin_insert(struct fs_pin *pin, struct vfsmount *m) in pin_insert()
Danon_inodes.c27 static struct vfsmount *anon_inode_mnt __read_mostly;
/fs/nfs/
Dnamespace.c140 struct vfsmount *nfs_d_automount(struct path *path) in nfs_d_automount()
142 struct vfsmount *mnt; in nfs_d_automount()
216 static struct vfsmount *nfs_do_clone_mount(struct nfs_server *server, in nfs_do_clone_mount()
231 struct vfsmount *nfs_do_submount(struct dentry *dentry, struct nfs_fh *fh, in nfs_do_submount()
241 struct vfsmount *mnt; in nfs_do_submount()
259 struct vfsmount *nfs_submount(struct nfs_server *server, struct dentry *dentry, in nfs_submount()
Dnfs4namespace.c239 static struct vfsmount *try_location(struct nfs_clone_mount *mountdata, in try_location()
245 struct vfsmount *mnt = ERR_PTR(-ENOENT); in try_location()
296 static struct vfsmount *nfs_follow_referral(struct dentry *dentry, in nfs_follow_referral()
299 struct vfsmount *mnt = ERR_PTR(-ENOENT); in nfs_follow_referral()
351 static struct vfsmount *nfs_do_refmount(struct rpc_clnt *client, struct dentry *dentry) in nfs_do_refmount()
353 struct vfsmount *mnt = ERR_PTR(-ENOMEM); in nfs_do_refmount()
389 struct vfsmount *nfs4_submount(struct nfs_server *server, struct dentry *dentry, in nfs4_submount()
397 struct vfsmount *mnt; in nfs4_submount()
Dnfs4super.c130 static struct vfsmount *nfs_do_root_mount(struct file_system_type *fs_type, in nfs_do_root_mount()
133 struct vfsmount *root_mnt; in nfs_do_root_mount()
217 static struct dentry *nfs_follow_remote_path(struct vfsmount *root_mnt, in nfs_follow_remote_path()
243 struct vfsmount *root_mnt; in nfs4_try_mount()
302 struct vfsmount *root_mnt; in nfs4_referral_mount()
/fs/cifs/
Dcifs_dfs_ref.c249 static struct vfsmount *cifs_dfs_do_refmount(struct dentry *mntpt, in cifs_dfs_do_refmount()
253 struct vfsmount *mnt; in cifs_dfs_do_refmount()
272 return (struct vfsmount *)mountdata; in cifs_dfs_do_refmount()
294 static struct vfsmount *cifs_dfs_do_automount(struct dentry *mntpt) in cifs_dfs_do_automount()
304 struct vfsmount *mnt; in cifs_dfs_do_automount()
401 struct vfsmount *cifs_dfs_d_automount(struct path *path) in cifs_dfs_d_automount()
403 struct vfsmount *newmnt; in cifs_dfs_d_automount()
/fs/autofs/
Dexpire.c29 static int autofs_mount_busy(struct vfsmount *mnt, in autofs_mount_busy()
150 static int autofs_direct_busy(struct vfsmount *mnt, in autofs_direct_busy()
182 static int autofs_tree_busy(struct vfsmount *mnt, in autofs_tree_busy()
241 static struct dentry *autofs_check_leaves(struct vfsmount *mnt, in autofs_check_leaves()
275 struct vfsmount *mnt, in autofs_expire_direct()
322 struct vfsmount *mnt, in should_expire()
421 struct vfsmount *mnt, in autofs_expire_indirect()
537 struct vfsmount *mnt, in autofs_expire_run()
575 int autofs_do_expire_multi(struct super_block *sb, struct vfsmount *mnt, in autofs_do_expire_multi()
611 int autofs_expire_multi(struct super_block *sb, struct vfsmount *mnt, in autofs_expire_multi()
Dautofs_i.h156 int autofs_expire_run(struct super_block *, struct vfsmount *,
159 int autofs_do_expire_multi(struct super_block *sb, struct vfsmount *mnt,
161 int autofs_expire_multi(struct super_block *, struct vfsmount *,
/fs/afs/
Dmntpt.c158 static struct vfsmount *afs_mntpt_do_automount(struct dentry *mntpt) in afs_mntpt_do_automount()
161 struct vfsmount *mnt; in afs_mntpt_do_automount()
183 struct vfsmount *afs_d_automount(struct path *path) in afs_d_automount()
185 struct vfsmount *newmnt; in afs_d_automount()
/fs/sdcardfs/
Dinode.c67 struct vfsmount *lower_dentry_mnt; in sdcardfs_create()
137 struct vfsmount *lower_mnt; in sdcardfs_unlink()
210 struct vfsmount *lower_mnt; in sdcardfs_mkdir()
350 struct vfsmount *lower_mnt; in sdcardfs_rmdir()
407 struct vfsmount *lower_mnt = NULL; in sdcardfs_rename()
559 static int sdcardfs_permission(struct vfsmount *mnt, struct inode *inode, int mask) in sdcardfs_permission()
601 static int sdcardfs_setattr(struct vfsmount *mnt, struct dentry *dentry, struct iattr *ia) in sdcardfs_setattr()
605 struct vfsmount *lower_mnt; in sdcardfs_setattr()
737 static int sdcardfs_fillattr(struct vfsmount *mnt, struct inode *inode, in sdcardfs_fillattr()
766 struct vfsmount *mnt = path->mnt; in sdcardfs_getattr()
/fs/overlayfs/
Dovl_entry.h31 struct vfsmount *mnt;
48 struct vfsmount *upper_mnt;
/fs/exportfs/
Dexpfs.c27 static int exportfs_get_name(struct vfsmount *mnt, struct dentry *dir, in exportfs_get_name()
121 static struct dentry *reconnect_one(struct vfsmount *mnt, in reconnect_one()
212 reconnect_path(struct vfsmount *mnt, struct dentry *target_dir, char *nbuf) in reconnect_path()
420 struct dentry *exportfs_decode_fh(struct vfsmount *mnt, struct fid *fid, in exportfs_decode_fh()
/fs/notify/
Dfsnotify.h48 static inline void fsnotify_clear_marks_by_mount(struct vfsmount *mnt) in fsnotify_clear_marks_by_mount()
/fs/nfsd/
Dnetns.h46 struct vfsmount *nfsd_mnt;
/fs/ocfs2/
Dfile.h60 struct vfsmount *vfsmnt);
/fs/hugetlbfs/
Dinode.c1345 static struct vfsmount *hugetlbfs_vfsmount[HUGE_MAX_HSTATE];
1372 struct vfsmount *mnt; in hugetlb_file_setup()
1427 static struct vfsmount *__init mount_one_hugetlbfs(struct hstate *h) in mount_one_hugetlbfs()
1430 struct vfsmount *mnt; in mount_one_hugetlbfs()
1449 struct vfsmount *mnt; in init_hugetlbfs_fs()

123