Searched refs:vfsmount (Results 1 - 142 of 142) sorted by relevance

/linux-4.1.27/include/linux/
H A Dfs_pin.h11 struct vfsmount;
22 void pin_insert_group(struct fs_pin *, struct vfsmount *, struct hlist_head *);
23 void pin_insert(struct fs_pin *, struct vfsmount *);
H A Dmount.h20 struct vfsmount;
35 #define MNT_SHARED 0x1000 /* if the vfsmount is a shared mount */
36 #define MNT_UNBINDABLE 0x2000 /* if the vfsmount is a unbindable mount */
66 struct vfsmount { struct
75 extern int mnt_want_write(struct vfsmount *mnt);
77 extern int mnt_clone_write(struct vfsmount *mnt);
78 extern void mnt_drop_write(struct vfsmount *mnt);
80 extern void mntput(struct vfsmount *mnt);
81 extern struct vfsmount *mntget(struct vfsmount *mnt);
82 extern struct vfsmount *mnt_clone_internal(struct path *path);
83 extern int __mnt_is_readonly(struct vfsmount *mnt);
86 extern struct vfsmount *clone_private_mount(struct path *path);
89 extern struct vfsmount *vfs_kern_mount(struct file_system_type *type,
93 extern void mnt_set_expiry(struct vfsmount *mnt, struct list_head *expiry_list);
H A Dpath.h5 struct vfsmount;
8 struct vfsmount *mnt;
H A Ddcookies.h39 * Convert the given dentry/vfsmount pair into
H A Dfsnotify_backend.h221 struct hlist_node obj_list; /* list of marks for inode / vfsmount */
225 struct vfsmount *mnt; /* vfsmount this mark is associated with */
233 unsigned int flags; /* vfsmount or inode mark? */
246 extern void __fsnotify_vfsmount_delete(struct vfsmount *mnt);
327 /* run all marks associated with a vfsmount and update mnt->mnt_fsnotify_mask */
328 extern void fsnotify_recalc_vfsmount_mask(struct vfsmount *mnt);
334 /* find (and take a reference) to a mark associated with group and vfsmount */
335 extern struct fsnotify_mark *fsnotify_find_vfsmount_mark(struct fsnotify_group *group, struct vfsmount *mnt);
344 struct inode *inode, struct vfsmount *mnt, int allow_dups);
346 struct inode *inode, struct vfsmount *mnt, int allow_dups);
352 /* run all the marks in a group, and clear all of the vfsmount marks */
384 static inline void __fsnotify_vfsmount_delete(struct vfsmount *mnt) __fsnotify_vfsmount_delete()
H A Dpid_namespace.h35 struct vfsmount *proc_mnt;
H A Dfile.h17 struct vfsmount;
H A Dacct.h22 struct vfsmount;
H A Dnamei.h9 struct vfsmount;
H A Dfdtable.h63 struct vfsmount;
H A Dexportfs.h10 struct vfsmount;
223 extern struct dentry *exportfs_decode_fh(struct vfsmount *mnt, struct fid *fid,
H A Dfsnotify.h126 * fsnotify_vfsmount_delete - a vfsmount is being destroyed, clean up is needed
128 static inline void fsnotify_vfsmount_delete(struct vfsmount *mnt) fsnotify_vfsmount_delete()
H A Dipc_namespace.h47 struct vfsmount *mq_mnt;
H A Ddebugfs.h66 struct vfsmount *(*f)(void *),
H A Dfs.h48 struct vfsmount;
1645 int (*getattr) (struct vfsmount *mnt, struct dentry *, struct kstat *);
1947 extern struct dentry *mount_subtree(struct vfsmount *mnt, const char *path);
1985 extern struct vfsmount *kern_mount_data(struct file_system_type *, void *data);
1987 extern void kern_unmount(struct vfsmount *mnt);
1988 extern int may_umount_tree(struct vfsmount *);
1989 extern int may_umount(struct vfsmount *);
1992 extern struct vfsmount *collect_mounts(struct path *);
1993 extern void drop_collected_mounts(struct vfsmount *);
1994 extern int iterate_mounts(int (*)(struct vfsmount *, void *), void *,
1995 struct vfsmount *);
2002 extern bool our_mnt(struct vfsmount *mnt);
2204 extern struct file *file_open_root(struct dentry *, struct vfsmount *,
2768 extern int simple_getattr(struct vfsmount *, struct dentry *, struct kstat *);
2798 extern int simple_pin_fs(struct file_system_type *, struct vfsmount **mount, int *count);
2799 extern void simple_release_fs(struct vfsmount **mount, int *count);
H A Ddcache.h15 struct vfsmount;
161 struct vfsmount *(*d_automount)(struct path *);
H A Dnfs_fs.h347 extern int nfs_getattr(struct vfsmount *, struct dentry *, struct kstat *);
H A Dsecurity.h43 struct vfsmount;
506 * @mnt is the vfsmount where the dentry was looked up
1504 int (*sb_umount) (struct vfsmount *mnt, int flags);
1808 int security_sb_umount(struct vfsmount *mnt, int flags);
2117 static inline int security_sb_umount(struct vfsmount *mnt, int flags) security_sb_umount()
H A Dnfs_xdr.h1451 struct vfsmount *(*submount) (struct nfs_server *, struct dentry *,
/linux-4.1.27/fs/notify/
H A Dfsnotify.h12 /* protects reads of inode and vfsmount marks list */
32 /* add a mark to a vfsmount */
34 struct fsnotify_group *group, struct vfsmount *mnt,
37 /* vfsmount specific destruction of a mark */
48 /* run the list of all marks associated with vfsmount and flag them to be freed */
49 extern void fsnotify_clear_marks_by_mount(struct vfsmount *mnt);
H A Dvfsmount_mark.c33 void fsnotify_clear_marks_by_mount(struct vfsmount *mnt) fsnotify_clear_marks_by_mount()
60 void fsnotify_recalc_vfsmount_mask(struct vfsmount *mnt) fsnotify_recalc_vfsmount_mask()
71 struct vfsmount *mnt = mark->mnt; fsnotify_destroy_vfsmount_mark()
87 * given a group and vfsmount, find the mark associated with that combination.
91 struct vfsmount *mnt) fsnotify_find_vfsmount_mark()
104 * Attach an initialized mark to a given group and vfsmount.
109 struct fsnotify_group *group, struct vfsmount *mnt, fsnotify_add_vfsmount_mark()
H A Dmark.c44 * is assigned to as well as the access to a reference of the inode/vfsmount
208 * the original inode / vfsmount.
254 * and vfsmount marks of each group together. Using the group address as
256 * merge inode and vfsmount lists of marks in linear time and find groups
320 struct vfsmount *mnt, int allow_dups) fsnotify_add_mark_locked()
381 struct inode *inode, struct vfsmount *mnt, int allow_dups) fsnotify_add_mark()
H A Dfsnotify.c40 void __fsnotify_vfsmount_delete(struct vfsmount *mnt) __fsnotify_vfsmount_delete()
209 * otherwise return if neither the inode nor the vfsmount care about fsnotify()
233 * We need to merge inode & vfsmount mark lists so that inode mark fsnotify()
/linux-4.1.27/fs/
H A Dmount.h34 struct vfsmount mnt;
72 static inline struct mount *real_mount(struct vfsmount *mnt) real_mount()
82 static inline int is_mounted(struct vfsmount *mnt) is_mounted()
88 extern struct mount *__lookup_mnt(struct vfsmount *, struct dentry *);
89 extern struct mount *__lookup_mnt_last(struct vfsmount *, struct dentry *);
91 extern bool legitimize_mnt(struct vfsmount *, unsigned);
123 int (*show)(struct seq_file *, struct vfsmount *);
H A Dinternal.h52 extern int vfs_path_lookup(struct dentry *, struct vfsmount *,
61 extern struct vfsmount *lookup_mnt(struct path *);
62 extern int finish_automount(struct vfsmount *, struct path *);
68 extern int __mnt_want_write(struct vfsmount *);
70 extern void __mnt_drop_write(struct vfsmount *);
104 extern struct file *do_file_open_root(struct dentry *, struct vfsmount *,
H A Dfs_pin.c21 void pin_insert_group(struct fs_pin *pin, struct vfsmount *m, struct hlist_head *p) pin_insert_group()
30 void pin_insert(struct fs_pin *pin, struct vfsmount *m) pin_insert()
H A Dnamespace.c72 * vfsmount lock may be taken for read to prevent changes to the
73 * vfsmount hash, ie. during mountpoint lookups or walking back
76 * It should be taken for write in all cases where the vfsmount
77 * tree or hash is modified or when a vfsmount structure is modified.
81 static inline struct hlist_head *m_hash(struct vfsmount *mnt, struct dentry *dentry) m_hash()
161 * vfsmount lock must be held for read
175 * vfsmount lock must be held for write
274 int __mnt_is_readonly(struct vfsmount *mnt) __mnt_is_readonly()
318 static int mnt_is_readonly(struct vfsmount *mnt) mnt_is_readonly()
343 int __mnt_want_write(struct vfsmount *m) __mnt_want_write()
382 int mnt_want_write(struct vfsmount *m) mnt_want_write()
406 int mnt_clone_write(struct vfsmount *mnt) mnt_clone_write()
460 void __mnt_drop_write(struct vfsmount *mnt) __mnt_drop_write()
475 void mnt_drop_write(struct vfsmount *mnt) mnt_drop_write()
593 bool legitimize_mnt(struct vfsmount *bastard, unsigned seq) legitimize_mnt()
615 * find the first mount at @dentry on vfsmount @mnt.
618 struct mount *__lookup_mnt(struct vfsmount *mnt, struct dentry *dentry) __lookup_mnt()
630 * find the last mount at @dentry on vfsmount @mnt.
633 struct mount *__lookup_mnt_last(struct vfsmount *mnt, struct dentry *dentry) __lookup_mnt_last()
662 * return successively the root dentry and vfsmount of /dev/sda1, then
665 * lookup_mnt takes a reference to the found vfsmount.
667 struct vfsmount *lookup_mnt(struct path *path) lookup_mnt()
670 struct vfsmount *m; lookup_mnt()
777 * vfsmount lock must be held for write
788 * vfsmount lock must be held for write
799 * vfsmount lock must be held for write
813 * vfsmount lock must be held for write
823 * vfsmount lock must be held for write
833 * vfsmount lock must be held for write
848 * vfsmount lock must be held for write
874 * vfsmount lock must be held for write
921 struct vfsmount * vfs_kern_mount()
1125 void mntput(struct vfsmount *mnt) mntput()
1137 struct vfsmount *mntget(struct vfsmount *mnt) mntget()
1145 struct vfsmount *mnt_clone_internal(struct path *path) mnt_clone_internal()
1274 int may_umount_tree(struct vfsmount *m) may_umount_tree()
1311 int may_umount(struct vfsmount *mnt) may_umount()
1452 * (2) the usage count == 1 [parent vfsmount] + 1 [sys_umount] do_umount()
1492 * to rootfs. GC would eventually take care of the old vfsmount. do_umount()
1730 struct vfsmount *collect_mounts(struct path *path) collect_mounts()
1745 void drop_collected_mounts(struct vfsmount *mnt) drop_collected_mounts()
1757 * This creates a new vfsmount, which will be the clone of @path. The new will
1763 struct vfsmount *clone_private_mount(struct path *path) clone_private_mount()
1781 int iterate_mounts(int (*f)(struct vfsmount *, void *), void *arg, iterate_mounts()
1782 struct vfsmount *root) iterate_mounts()
1942 struct vfsmount *mnt; lock_mount()
2122 static int change_mount_flags(struct vfsmount *mnt, int ms_flags) change_mount_flags()
2292 static struct vfsmount *fs_set_subtype(struct vfsmount *mnt, const char *fstype) fs_set_subtype()
2370 struct vfsmount *mnt; do_new_mount()
2415 int finish_automount(struct vfsmount *m, struct path *path) finish_automount()
2450 void mnt_set_expiry(struct vfsmount *mnt, struct list_head *expiry_list) mnt_set_expiry()
2476 /* extract from the expiration list every vfsmount that matches the mark_mounts_for_expiry()
2478 * - only referenced by its parent vfsmount mark_mounts_for_expiry()
2767 struct vfsmount *rootmnt = NULL, *pwdmnt = NULL; copy_mnt_ns()
2840 static struct mnt_namespace *create_mnt_ns(struct vfsmount *m) create_mnt_ns()
2854 struct dentry *mount_subtree(struct vfsmount *mnt, const char *name) mount_subtree()
2873 /* trade a vfsmount reference for active sb one */ mount_subtree()
3068 struct vfsmount *mnt; init_mount_tree()
3144 struct vfsmount *kern_mount_data(struct file_system_type *type, void *data) kern_mount_data()
3146 struct vfsmount *mnt; kern_mount_data()
3159 void kern_unmount(struct vfsmount *mnt) kern_unmount()
3170 bool our_mnt(struct vfsmount *mnt) our_mnt()
H A Dproc_namespace.c60 static void show_mnt_opts(struct seq_file *m, struct vfsmount *mnt) show_mnt_opts()
93 static int show_vfsmnt(struct seq_file *m, struct vfsmount *mnt) show_vfsmnt()
127 static int show_mountinfo(struct seq_file *m, struct vfsmount *mnt) show_mountinfo()
187 static int show_vfsstat(struct seq_file *m, struct vfsmount *mnt) show_vfsstat()
234 int (*show)(struct seq_file *, struct vfsmount *)) mounts_open_common()
H A Dnsfs.c8 static struct vfsmount *nsfs_mnt;
49 struct vfsmount *mnt = mntget(nsfs_mnt); ns_get_path()
H A Dpnode.c117 * vfsmount lock must be held for write
143 * vfsmount found while iterating with propagation_next() is
343 * vfsmount lock must be held for write
448 * vfsmount lock must be held for write
H A Dfhandle.c114 static struct vfsmount *get_vfsmount_from_fd(int fd) get_vfsmount_from_fd()
116 struct vfsmount *mnt; get_vfsmount_from_fd()
252 * to the vfsmount pointed by the @mountdirfd. @flags
H A Dfile_table.c154 * @path: the (dentry, vfsmount) pair for the new file
189 struct vfsmount *mnt = file->f_path.mnt; __fput()
H A Dstatfs.c43 static int calculate_f_flags(struct vfsmount *mnt) calculate_f_flags()
H A Danon_inodes.c25 static struct vfsmount *anon_inode_mnt __read_mostly;
H A Dbad_inode.c92 static int bad_inode_getattr(struct vfsmount *mnt, struct dentry *dentry, bad_inode_getattr()
H A Dlibfs.c28 int simple_getattr(struct vfsmount *mnt, struct dentry *dentry, simple_getattr()
543 int simple_pin_fs(struct file_system_type *type, struct vfsmount **mount, int *count) simple_pin_fs()
545 struct vfsmount *mnt = NULL; simple_pin_fs()
564 void simple_release_fs(struct vfsmount **mount, int *count) simple_release_fs()
566 struct vfsmount *mnt; simple_release_fs()
1106 static int empty_dir_getattr(struct vfsmount *mnt, struct dentry *dentry, empty_dir_getattr()
H A Dnamei.c473 * Given a path increment the reference count to the dentry and the vfsmount.
486 * Given a path decrement the reference count to the dentry and the vfsmount.
517 struct vfsmount *mnt = path->mnt; path_connected()
558 * before returning. Do vfsmount first; if dentry unlazy_walk()
949 * follow_up - Find the mountpoint of path's vfsmount
989 struct vfsmount *mnt; follow_automount()
1068 struct vfsmount *mnt = path->mnt; /* held by caller, must be left alone */ follow_managed()
1091 struct vfsmount *mounted = lookup_mnt(path); follow_managed()
1129 struct vfsmount *mounted; follow_down_one()
1280 struct vfsmount *mounted = lookup_mnt(path); follow_down()
1303 struct vfsmount *mounted = lookup_mnt(path); follow_mount()
1430 struct vfsmount *mnt = nd->path.mnt; lookup_fast()
2130 * vfs_path_lookup - lookup a file path relative to a dentry-vfsmount pair
2137 int vfs_path_lookup(struct dentry *dentry, struct vfsmount *mnt, vfs_path_lookup()
2435 * simply want track down the dentry and vfsmount attached at the mountpoint
3320 struct file *do_file_open_root(struct dentry *dentry, struct vfsmount *mnt, do_file_open_root()
H A Dbinfmt_misc.c61 static struct vfsmount *bm_mnt;
H A Dinode.c1516 static int relatime_need_update(struct vfsmount *mnt, struct inode *inode, relatime_need_update()
1589 struct vfsmount *mnt = path->mnt; touch_atime()
H A Dopen.c989 struct file *file_open_root(struct dentry *dentry, struct vfsmount *mnt, file_open_root()
H A Dpipe.c622 static struct vfsmount *pipe_mnt __read_mostly;
H A Ddcache.c2127 * __d_lookup_rcu must only be used in rcu-walk mode, ie. with vfsmount lock
2874 * @path: the dentry/vfsmount to report
2894 struct vfsmount *vfsmnt; prepend_path()
2974 * @path: the dentry/vfsmount to report
H A Daio.c200 static struct vfsmount *aio_mnt;
H A Dblock_dev.c554 static struct vfsmount *bd_mnt; bdev_cache_init()
/linux-4.1.27/fs/nfs/
H A Dnamespace.c139 struct vfsmount *nfs_d_automount(struct path *path) nfs_d_automount()
141 struct vfsmount *mnt; nfs_d_automount()
181 nfs_namespace_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat) nfs_namespace_getattr()
225 static struct vfsmount *nfs_do_clone_mount(struct nfs_server *server, nfs_do_clone_mount()
240 struct vfsmount *nfs_do_submount(struct dentry *dentry, struct nfs_fh *fh, nfs_do_submount()
250 struct vfsmount *mnt = ERR_PTR(-ENOMEM); nfs_do_submount()
261 mnt = (struct vfsmount *)devname; nfs_do_submount()
275 struct vfsmount *nfs_submount(struct nfs_server *server, struct dentry *dentry, nfs_submount()
H A Dnfs4super.c129 static struct vfsmount *nfs_do_root_mount(struct file_system_type *fs_type, nfs_do_root_mount()
132 struct vfsmount *root_mnt; nfs_do_root_mount()
216 static struct dentry *nfs_follow_remote_path(struct vfsmount *root_mnt, nfs_follow_remote_path()
242 struct vfsmount *root_mnt; nfs4_try_mount()
301 struct vfsmount *root_mnt; nfs4_referral_mount()
H A Dnfs4namespace.c237 static struct vfsmount *try_location(struct nfs_clone_mount *mountdata, try_location()
243 struct vfsmount *mnt = ERR_PTR(-ENOENT); try_location()
296 static struct vfsmount *nfs_follow_referral(struct dentry *dentry, nfs_follow_referral()
299 struct vfsmount *mnt = ERR_PTR(-ENOENT); nfs_follow_referral()
352 static struct vfsmount *nfs_do_refmount(struct rpc_clnt *client, struct dentry *dentry) nfs_do_refmount()
354 struct vfsmount *mnt = ERR_PTR(-ENOMEM); nfs_do_refmount()
394 struct vfsmount *nfs4_submount(struct nfs_server *server, struct dentry *dentry, nfs4_submount()
402 struct vfsmount *mnt; nfs4_submount()
H A Dinternal.h401 extern struct vfsmount *nfs_d_automount(struct path *path);
402 struct vfsmount *nfs_submount(struct nfs_server *, struct dentry *,
404 struct vfsmount *nfs_do_submount(struct dentry *, struct nfs_fh *,
H A Dnfs4_fs.h226 struct vfsmount *nfs4_submount(struct nfs_server *, struct dentry *,
H A Dinode.c642 int nfs_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat) nfs_getattr()
661 * Note that we only have to check the vfsmount flags here: nfs_getattr()
/linux-4.1.27/fs/ocfs2/
H A Dfile.h71 int ocfs2_getattr(struct vfsmount *mnt, struct dentry *dentry,
76 struct vfsmount *vfsmnt);
H A Ddlmglue.h117 struct vfsmount *vfsmnt,
H A Dfile.c217 struct vfsmount *vfsmnt) ocfs2_should_update_atime()
1274 int ocfs2_getattr(struct vfsmount *mnt, ocfs2_getattr()
H A Ddlmglue.c2467 struct vfsmount *vfsmnt, ocfs2_inode_lock_atime()
/linux-4.1.27/fs/cifs/
H A Dcifs_dfs_ref.c244 static struct vfsmount *cifs_dfs_do_refmount(struct cifs_sb_info *cifs_sb, cifs_dfs_do_refmount()
247 struct vfsmount *mnt; cifs_dfs_do_refmount()
256 return (struct vfsmount *)mountdata; cifs_dfs_do_refmount()
276 * Create a vfsmount that we can automount
278 static struct vfsmount *cifs_dfs_do_automount(struct dentry *mntpt) cifs_dfs_do_automount()
288 struct vfsmount *mnt; cifs_dfs_do_automount()
358 struct vfsmount *cifs_dfs_d_automount(struct path *path) cifs_dfs_d_automount()
360 struct vfsmount *newmnt; cifs_dfs_d_automount()
H A Dcifsfs.h76 extern int cifs_getattr(struct vfsmount *, struct dentry *, struct kstat *);
113 extern struct vfsmount *cifs_dfs_d_automount(struct path *path);
H A Dinode.c1955 int cifs_getattr(struct vfsmount *mnt, struct dentry *dentry, cifs_getattr()
/linux-4.1.27/fs/autofs4/
H A Dexpire.c38 static int autofs4_mount_busy(struct vfsmount *mnt, struct dentry *dentry) autofs4_mount_busy()
189 static int autofs4_direct_busy(struct vfsmount *mnt, autofs4_direct_busy()
214 static int autofs4_tree_busy(struct vfsmount *mnt, autofs4_tree_busy()
269 static struct dentry *autofs4_check_leaves(struct vfsmount *mnt, autofs4_check_leaves()
297 struct vfsmount *mnt, autofs4_expire_direct()
345 struct vfsmount *mnt, should_expire()
427 struct vfsmount *mnt, autofs4_expire_indirect()
525 struct vfsmount *mnt, autofs4_expire_run()
561 int autofs4_do_expire_multi(struct super_block *sb, struct vfsmount *mnt, autofs4_do_expire_multi()
593 int autofs4_expire_multi(struct super_block *sb, struct vfsmount *mnt, autofs4_expire_multi()
H A Dautofs_i.h156 int autofs4_expire_run(struct super_block *, struct vfsmount *,
159 int autofs4_do_expire_multi(struct super_block *sb, struct vfsmount *mnt,
161 int autofs4_expire_multi(struct super_block *, struct vfsmount *,
164 struct vfsmount *mnt,
167 struct vfsmount *mnt,
H A Droot.c36 static struct vfsmount *autofs4_d_automount(struct path *);
334 static struct vfsmount *autofs4_d_automount(struct path *path) autofs4_d_automount()
822 static inline int autofs4_ask_umount(struct vfsmount *mnt, int __user *p) autofs4_ask_umount()
H A Ddev-ioctl.c476 struct vfsmount *mnt; autofs_dev_ioctl_expire()
/linux-4.1.27/fs/afs/
H A Dmntpt.c123 * create a vfsmount to be automounted
125 static struct vfsmount *afs_mntpt_do_automount(struct dentry *mntpt) afs_mntpt_do_automount()
128 struct vfsmount *mnt; afs_mntpt_do_automount()
227 struct vfsmount *afs_d_automount(struct path *path) afs_d_automount()
229 struct vfsmount *newmnt; afs_d_automount()
H A Dinode.c377 int afs_getattr(struct vfsmount *mnt, struct dentry *dentry, afs_getattr()
H A Dinternal.h572 extern int afs_getattr(struct vfsmount *, struct dentry *, struct kstat *);
595 extern struct vfsmount *afs_d_automount(struct path *);
/linux-4.1.27/fs/proc/
H A Droot.c199 static int proc_root_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat proc_root_getattr()
264 struct vfsmount *mnt; pid_ns_prepare_proc()
H A Dproc_net.c142 static int proc_tgid_net_getattr(struct vfsmount *mnt, struct dentry *dentry, proc_tgid_net_getattr()
H A Dinternal.h163 extern int pid_getattr(struct vfsmount *, struct dentry *, struct kstat *);
H A Dgeneric.c120 static int proc_getattr(struct vfsmount *mnt, struct dentry *dentry, proc_getattr()
H A Dbase.c1496 int pid_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat) pid_getattr()
2668 static void proc_flush_task_mnt(struct vfsmount *mnt, pid_t pid, pid_t tgid) proc_flush_task_mnt()
3187 static int proc_task_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat) proc_task_getattr()
H A Dproc_sysctl.c765 static int proc_sys_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat) proc_sys_getattr()
/linux-4.1.27/fs/ecryptfs/
H A Dkthread.c125 * @lower_mnt: Lower vfsmount for file to open
133 struct vfsmount *lower_mnt, ecryptfs_privileged_open()
H A Decryptfs_kernel.h261 * vfsmount too. */
518 static inline struct vfsmount * ecryptfs_dentry_to_lower_mnt()
702 struct vfsmount *lower_mnt,
H A Dinode.c173 * @nd: nameidata of ecryptfs' parent's dentry & vfsmount
337 struct vfsmount *lower_mnt; ecryptfs_lookup_interpose()
978 static int ecryptfs_getattr_link(struct vfsmount *mnt, struct dentry *dentry, ecryptfs_getattr_link()
1002 static int ecryptfs_getattr(struct vfsmount *mnt, struct dentry *dentry, ecryptfs_getattr()
/linux-4.1.27/fs/coda/
H A Dcoda_linux.h50 int coda_getattr(struct vfsmount *, struct dentry *, struct kstat *);
H A Dinode.c258 int coda_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat) coda_getattr()
/linux-4.1.27/fs/debugfs/
H A Dinode.c33 static struct vfsmount *debugfs_mount;
187 static struct vfsmount *debugfs_automount(struct path *path) debugfs_automount()
189 struct vfsmount *(*f)(void *); debugfs_automount()
190 f = (struct vfsmount *(*)(void *))path->dentry->d_fsdata; debugfs_automount()
267 * block. A pointer to that is in the struct vfsmount that we start_creating()
452 struct vfsmount *(*f)(void *), debugfs_create_automount()
/linux-4.1.27/fs/kernfs/
H A Dkernfs-internal.h83 int kernfs_iop_getattr(struct vfsmount *mnt, struct dentry *dentry,
H A Dinode.c270 int kernfs_iop_getattr(struct vfsmount *mnt, struct dentry *dentry, kernfs_iop_getattr()
/linux-4.1.27/fs/btrfs/tests/
H A Dbtrfs-tests.c28 static struct vfsmount *test_mnt = NULL;
/linux-4.1.27/fs/exportfs/
H A Dexpfs.c25 static int exportfs_get_name(struct vfsmount *mnt, struct dentry *dir, exportfs_get_name()
119 static struct dentry *reconnect_one(struct vfsmount *mnt, reconnect_one()
205 reconnect_path(struct vfsmount *mnt, struct dentry *target_dir, char *nbuf) reconnect_path()
412 struct dentry *exportfs_decode_fh(struct vfsmount *mnt, struct fid *fid, exportfs_decode_fh()
/linux-4.1.27/fs/overlayfs/
H A Dsuper.c38 struct vfsmount *upper_mnt;
40 struct vfsmount **lower_mnt;
640 static struct dentry *ovl_workdir_create(struct vfsmount *mnt, ovl_workdir_create()
942 ufs->lower_mnt = kcalloc(numlower, sizeof(struct vfsmount *), GFP_KERNEL); ovl_fill_super()
946 struct vfsmount *mnt = clone_private_mount(&stack[i]); ovl_fill_super()
H A Dinode.c80 static int ovl_getattr(struct vfsmount *mnt, struct dentry *dentry, ovl_getattr()
H A Ddir.c135 static int ovl_dir_getattr(struct vfsmount *mnt, struct dentry *dentry, ovl_dir_getattr()
/linux-4.1.27/kernel/
H A Daudit_tree.c578 static int compare_root(struct vfsmount *mnt, void *arg) compare_root()
592 struct vfsmount *root_mnt; audit_trim_trees()
650 static int tag_mount(struct vfsmount *mnt, void *arg) tag_mount()
711 struct vfsmount *mnt; audit_add_tree_rule()
782 struct vfsmount *tagged; audit_tag_tree()
H A Dacct.c193 struct vfsmount *mnt, *internal; acct_on()
H A Dsysctl_binary.c1300 struct vfsmount *mnt; binary_sysctl()
/linux-4.1.27/security/tomoyo/
H A Dtomoyo.c142 * @mnt: Pointer to "struct vfsmount".
419 * @mnt: Pointer to "struct vfsmount".
424 static int tomoyo_sb_umount(struct vfsmount *mnt, int flags) tomoyo_sb_umount()
H A Drealpath.c283 * or dentry without vfsmount. tomoyo_realpath_from_path()
/linux-4.1.27/fs/notify/fanotify/
H A Dfanotify_user.c515 struct vfsmount *mnt, __u32 mask, fanotify_remove_vfsmount_mark()
602 struct vfsmount *mnt) fanotify_add_new_mark()
626 struct vfsmount *mnt, __u32 mask, fanotify_add_vfsmount_mark()
805 struct vfsmount *mnt = NULL; SYSCALL_DEFINE5()
/linux-4.1.27/fs/minix/
H A Dminix.h54 extern int minix_getattr(struct vfsmount *, struct dentry *, struct kstat *);
H A Dinode.c626 int minix_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat) minix_getattr()
/linux-4.1.27/fs/configfs/
H A Dmount.c40 static struct vfsmount *configfs_mount = NULL;
/linux-4.1.27/drivers/staging/lustre/lustre/include/
H A Dlustre_disk.h493 struct vfsmount *lsi_srv_mnt; /* the one server mount */
521 struct vfsmount *lmi_mnt;
538 struct vfsmount *mnt));
/linux-4.1.27/fs/sysv/
H A Dsysv.h145 extern int sysv_getattr(struct vfsmount *, struct dentry *, struct kstat *);
H A Ditree.c443 int sysv_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat) sysv_getattr()
/linux-4.1.27/security/
H A Dinode.c25 static struct vfsmount *mount;
H A Dcapability.c106 static int cap_sb_umount(struct vfsmount *mnt, int flags) cap_sb_umount()
H A Dsecurity.c309 int security_sb_umount(struct vfsmount *mnt, int flags) security_sb_umount()
/linux-4.1.27/security/selinux/include/
H A Dsecurity.h232 extern struct vfsmount *selinuxfs_mount;
/linux-4.1.27/drivers/gpu/drm/
H A Ddrm_drv.c473 * iput(), but this way you'd end up with a new vfsmount for each inode.
477 static struct vfsmount *drm_fs_mnt;
/linux-4.1.27/fs/tracefs/
H A Dinode.c30 static struct vfsmount *tracefs_mount;
331 * block. A pointer to that is in the struct vfsmount that we start_creating()
/linux-4.1.27/arch/powerpc/platforms/cell/spufs/
H A Dinode.c423 struct vfsmount *mnt, int flags, umode_t mode, spufs_create_context()
542 struct vfsmount *mnt, umode_t mode) spufs_create_gang()
/linux-4.1.27/fs/cachefiles/
H A Dinternal.h61 struct vfsmount *mnt; /* mountpoint holding the cache */
/linux-4.1.27/fs/fat/
H A Dfile.c306 int fat_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat) fat_getattr()
H A Dfat.h364 extern int fat_getattr(struct vfsmount *mnt, struct dentry *dentry,
/linux-4.1.27/security/smack/
H A Dsmack.h427 struct vfsmount *m) smk_ad_setfield_u_fs_path_mnt()
H A Dsmackfs.c2521 static struct vfsmount *smackfs_mount;
H A Dsmack_lsm.c1068 * @mnt: vfsmount of the object
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
H A Dobd_mount.c57 struct vfsmount *mnt);
1182 struct vfsmount *lmd2_mnt;
1265 struct vfsmount *mnt)) lustre_register_client_fill_super()
/linux-4.1.27/include/uapi/linux/
H A Daudit.h116 #define AUDIT_AVC_PATH 1402 /* dentry, vfsmount pair from avc */
/linux-4.1.27/fs/devpts/
H A Dinode.c98 static struct vfsmount *devpts_mnt;
/linux-4.1.27/ipc/
H A Dmqueue.c784 struct vfsmount *mnt = ipc_ns->mq_mnt; SYSCALL_DEFINE4()
863 struct vfsmount *mnt = ipc_ns->mq_mnt; SYSCALL_DEFINE1()
/linux-4.1.27/arch/um/drivers/
H A Dmconsole_kern.c126 struct vfsmount *mnt = task_active_pid_ns(current)->proc_mnt; mconsole_proc()
/linux-4.1.27/fs/hppfs/
H A Dhppfs.c711 struct vfsmount *proc_mnt; hppfs_fill_super()
/linux-4.1.27/fs/ceph/
H A Dsuper.c772 int first = 0; /* first vfsmount for this super_block */ ceph_real_mount()
H A Dsuper.h758 extern int ceph_getattr(struct vfsmount *mnt, struct dentry *dentry,
H A Dinode.c1990 int ceph_getattr(struct vfsmount *mnt, struct dentry *dentry, ceph_getattr()
/linux-4.1.27/fs/ext4/
H A Dfile.c256 struct vfsmount *mnt = filp->f_path.mnt; ext4_file_open()
H A Dext4.h2300 extern int ext4_getattr(struct vfsmount *mnt, struct dentry *dentry,
H A Dinode.c4870 int ext4_getattr(struct vfsmount *mnt, struct dentry *dentry, ext4_getattr()
/linux-4.1.27/security/apparmor/
H A Dlsm.c203 static int common_perm_mnt_dentry(int op, struct vfsmount *mnt, common_perm_mnt_dentry()
/linux-4.1.27/fs/gfs2/
H A Dinode.c1785 * @mnt: The vfsmount the inode is being accessed from
1798 static int gfs2_getattr(struct vfsmount *mnt, struct dentry *dentry, gfs2_getattr()
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
H A Dllite_internal.h761 int ll_getattr(struct vfsmount *mnt, struct dentry *de, struct kstat *stat);
797 int ll_fill_super(struct super_block *sb, struct vfsmount *mnt);
H A Dllite_lib.c153 struct vfsmount *mnt) client_common_fill_super()
911 int ll_fill_super(struct super_block *sb, struct vfsmount *mnt) ll_fill_super()
H A Dfile.c1055 const struct vfsmount *mnt = file->f_path.mnt; file_is_noatime()
3020 int ll_getattr(struct vfsmount *mnt, struct dentry *de, struct kstat *stat) ll_getattr()
/linux-4.1.27/fs/btrfs/
H A Dsuper.c1195 struct vfsmount *mnt; mount_subvol()
1219 /* FIXME: release vfsmount mnt ??*/ mount_subvol()
H A Dinode.c9088 static int btrfs_getattr(struct vfsmount *mnt, btrfs_getattr()
/linux-4.1.27/fs/ubifs/
H A Ddir.c1135 int ubifs_getattr(struct vfsmount *mnt, struct dentry *dentry, ubifs_getattr()
H A Dubifs.h1753 int ubifs_getattr(struct vfsmount *mnt, struct dentry *dentry,
/linux-4.1.27/fs/xfs/
H A Dxfs_iops.c445 struct vfsmount *mnt, xfs_vn_getattr()
/linux-4.1.27/fs/hugetlbfs/
H A Dinode.c942 static struct vfsmount *hugetlbfs_vfsmount[HUGE_MAX_HSTATE];
/linux-4.1.27/fs/f2fs/
H A Dfile.c574 int f2fs_getattr(struct vfsmount *mnt, f2fs_getattr()
H A Df2fs.h1427 int f2fs_getattr(struct vfsmount *, struct dentry *, struct kstat *);
/linux-4.1.27/fs/9p/
H A Dvfs_inode.c1053 v9fs_vfs_getattr(struct vfsmount *mnt, struct dentry *dentry, v9fs_vfs_getattr()
H A Dvfs_inode_dotl.c473 v9fs_vfs_getattr_dotl(struct vfsmount *mnt, struct dentry *dentry, v9fs_vfs_getattr_dotl()
/linux-4.1.27/security/selinux/
H A Dselinuxfs.c1855 struct vfsmount *selinuxfs_mount;
H A Dhooks.c2703 static int selinux_umount(struct vfsmount *mnt, int flags) selinux_umount()
/linux-4.1.27/fs/fuse/
H A Ddir.c1726 static int fuse_getattr(struct vfsmount *mnt, struct dentry *entry, fuse_getattr()
/linux-4.1.27/mm/
H A Dshmem.c36 static struct vfsmount *shm_mnt;
/linux-4.1.27/net/
H A Dsocket.c329 static struct vfsmount *sock_mnt __read_mostly;
/linux-4.1.27/kernel/trace/
H A Dtrace.c6689 static struct vfsmount *trace_automount(void *ingore) trace_automount()
6691 struct vfsmount *mnt; trace_automount()
/linux-4.1.27/arch/ia64/kernel/
H A Dperfmon.c1527 static struct vfsmount *pfmfs_mnt __read_mostly;

Completed in 6529 milliseconds