Home
last modified time | relevance | path

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

12345

/Linux-v4.19/include/linux/
Dmount.h21 struct vfsmount;
67 struct vfsmount { struct
76 extern int mnt_want_write(struct vfsmount *mnt); argument
78 extern int mnt_clone_write(struct vfsmount *mnt);
79 extern void mnt_drop_write(struct vfsmount *mnt);
81 extern void mntput(struct vfsmount *mnt);
82 extern struct vfsmount *mntget(struct vfsmount *mnt);
83 extern struct vfsmount *mnt_clone_internal(const struct path *path);
84 extern int __mnt_is_readonly(struct vfsmount *mnt);
85 extern bool mnt_may_suid(struct vfsmount *mnt);
[all …]
Dfs_pin.h12 struct vfsmount;
23 void pin_insert_group(struct fs_pin *, struct vfsmount *, struct hlist_head *);
24 void pin_insert(struct fs_pin *, struct vfsmount *);
Dpath.h6 struct vfsmount;
9 struct vfsmount *mnt;
Dfile.h18 struct vfsmount;
22 extern struct file *alloc_file_pseudo(struct inode *, struct vfsmount *,
Dexportfs.h12 struct vfsmount;
217 extern struct dentry *exportfs_decode_fh(struct vfsmount *mnt, struct fid *fid,
Dfsnotify_backend.h257 FSNOTIFY_ITER_FUNCS(vfsmount, VFSMOUNT)
337 extern void __fsnotify_vfsmount_delete(struct vfsmount *mnt);
484 static inline void __fsnotify_vfsmount_delete(struct vfsmount *mnt) in __fsnotify_vfsmount_delete()
Ddevpts_fs.h22 struct vfsmount *devpts_mntget(struct file *, struct pts_fs_info *);
/Linux-v4.19/fs/
Dmount.h38 struct vfsmount mnt;
77 static inline struct mount *real_mount(struct vfsmount *mnt) in real_mount()
87 static inline int is_mounted(struct vfsmount *mnt) in is_mounted()
93 extern struct mount *__lookup_mnt(struct vfsmount *, struct dentry *);
95 extern int __legitimize_mnt(struct vfsmount *, unsigned);
96 extern bool legitimize_mnt(struct vfsmount *, unsigned);
133 int (*show)(struct seq_file *, struct vfsmount *);
Dinternal.h58 extern int vfs_path_lookup(struct dentry *, struct vfsmount *,
76 extern struct vfsmount *lookup_mnt(const struct path *);
77 extern int finish_automount(struct vfsmount *, struct path *);
83 extern int __mnt_want_write(struct vfsmount *);
85 extern void __mnt_drop_write(struct vfsmount *);
120 extern struct file *do_file_open_root(struct dentry *, struct vfsmount *,
Dnamespace.c84 static inline struct hlist_head *m_hash(struct vfsmount *mnt, struct dentry *dentry) in m_hash()
248 int __mnt_is_readonly(struct vfsmount *mnt) in __mnt_is_readonly()
292 static int mnt_is_readonly(struct vfsmount *mnt) in mnt_is_readonly()
317 int __mnt_want_write(struct vfsmount *m) in __mnt_want_write()
356 int mnt_want_write(struct vfsmount *m) in mnt_want_write()
380 int mnt_clone_write(struct vfsmount *mnt) in mnt_clone_write()
434 void __mnt_drop_write(struct vfsmount *mnt) in __mnt_drop_write()
449 void mnt_drop_write(struct vfsmount *mnt) in mnt_drop_write()
568 int __legitimize_mnt(struct vfsmount *bastard, unsigned seq) in __legitimize_mnt()
596 bool legitimize_mnt(struct vfsmount *bastard, unsigned seq) in legitimize_mnt()
[all …]
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()
131 static int show_mountinfo(struct seq_file *m, struct vfsmount *mnt) in show_mountinfo()
193 static int show_vfsstat(struct seq_file *m, struct vfsmount *mnt) in show_vfsstat()
239 int (*show)(struct seq_file *, struct vfsmount *)) in mounts_open_common() argument
Dfs_pin.c22 void pin_insert_group(struct fs_pin *pin, struct vfsmount *m, struct hlist_head *p) in pin_insert_group()
31 void pin_insert(struct fs_pin *pin, struct vfsmount *m) in pin_insert()
/Linux-v4.19/fs/nfs/
Dnamespace.c139 struct vfsmount *nfs_d_automount(struct path *path) in nfs_d_automount()
141 struct vfsmount *mnt; in nfs_d_automount()
215 static struct vfsmount *nfs_do_clone_mount(struct nfs_server *server, in nfs_do_clone_mount()
230 struct vfsmount *nfs_do_submount(struct dentry *dentry, struct nfs_fh *fh, in nfs_do_submount()
240 struct vfsmount *mnt; in nfs_do_submount()
258 struct vfsmount *nfs_submount(struct nfs_server *server, struct dentry *dentry, in nfs_submount()
Dnfs4namespace.c238 static struct vfsmount *try_location(struct nfs_clone_mount *mountdata, in try_location()
244 struct vfsmount *mnt = ERR_PTR(-ENOENT); in try_location()
295 static struct vfsmount *nfs_follow_referral(struct dentry *dentry, in nfs_follow_referral()
298 struct vfsmount *mnt = ERR_PTR(-ENOENT); in nfs_follow_referral()
350 static struct vfsmount *nfs_do_refmount(struct rpc_clnt *client, struct dentry *dentry) in nfs_do_refmount()
352 struct vfsmount *mnt = ERR_PTR(-ENOMEM); in nfs_do_refmount()
388 struct vfsmount *nfs4_submount(struct nfs_server *server, struct dentry *dentry, in nfs4_submount()
396 struct vfsmount *mnt; in nfs4_submount()
Dnfs4super.c129 static struct vfsmount *nfs_do_root_mount(struct file_system_type *fs_type, in nfs_do_root_mount()
132 struct vfsmount *root_mnt; in nfs_do_root_mount()
216 static struct dentry *nfs_follow_remote_path(struct vfsmount *root_mnt, in nfs_follow_remote_path()
242 struct vfsmount *root_mnt; in nfs4_try_mount()
301 struct vfsmount *root_mnt; in nfs4_referral_mount()
/Linux-v4.19/fs/cifs/
Dcifs_dfs_ref.c248 static struct vfsmount *cifs_dfs_do_refmount(struct dentry *mntpt, in cifs_dfs_do_refmount()
252 struct vfsmount *mnt; in cifs_dfs_do_refmount()
261 return (struct vfsmount *)mountdata; in cifs_dfs_do_refmount()
283 static struct vfsmount *cifs_dfs_do_automount(struct dentry *mntpt) in cifs_dfs_do_automount()
293 struct vfsmount *mnt; in cifs_dfs_do_automount()
365 struct vfsmount *cifs_dfs_d_automount(struct path *path) in cifs_dfs_d_automount()
367 struct vfsmount *newmnt; in cifs_dfs_d_automount()
/Linux-v4.19/fs/autofs/
Dexpire.c32 static int autofs_mount_busy(struct vfsmount *mnt, in autofs_mount_busy()
192 static int autofs_direct_busy(struct vfsmount *mnt, in autofs_direct_busy()
224 static int autofs_tree_busy(struct vfsmount *mnt, in autofs_tree_busy()
283 static struct dentry *autofs_check_leaves(struct vfsmount *mnt, in autofs_check_leaves()
317 struct vfsmount *mnt, in autofs_expire_direct()
364 struct vfsmount *mnt, in should_expire()
463 struct vfsmount *mnt, in autofs_expire_indirect()
578 struct vfsmount *mnt, in autofs_expire_run()
615 int autofs_do_expire_multi(struct super_block *sb, struct vfsmount *mnt, in autofs_do_expire_multi()
651 int autofs_expire_multi(struct super_block *sb, struct vfsmount *mnt, in autofs_expire_multi()
Dautofs_i.h153 int autofs_expire_run(struct super_block *, struct vfsmount *,
156 int autofs_do_expire_multi(struct super_block *sb, struct vfsmount *mnt,
158 int autofs_expire_multi(struct super_block *, struct vfsmount *,
/Linux-v4.19/fs/afs/
Dmntpt.c73 static struct vfsmount *afs_mntpt_do_automount(struct dentry *mntpt) in afs_mntpt_do_automount()
76 struct vfsmount *mnt; in afs_mntpt_do_automount()
177 struct vfsmount *afs_d_automount(struct path *path) in afs_d_automount()
179 struct vfsmount *newmnt; in afs_d_automount()
/Linux-v4.19/Documentation/filesystems/
Dsharedsubtree.txt30 Shared subtree provides four different flavors of mounts; struct vfsmount to be
232 Note: the word 'vfsmount' and the noun 'mount' have been used
244 A 'propagation event' is defined as event generated on a vfsmount
252 A 'shared mount' is defined as a vfsmount that belongs to a
267 A 'slave mount' is defined as a vfsmount that receives
282 A vfsmount can be both shared as well as slave. This state
283 indicates that the mount is a slave of some vfsmount, and
284 has its own peer group too. This vfsmount receives propagation
285 events from its master vfsmount, and also forwards propagation
288 Strictly speaking, the vfsmount is shared having its own
[all …]
Dautomount-support.txt51 vfsmount thereon for potential expiry on the next call.
53 If a vfsmount was already flagged for expiry, and if its usage count is 1
54 (it's only referenced by its parent vfsmount), then it will be deleted
65 mount is made on an expirable mount, the new vfsmount will not be on the
/Linux-v4.19/fs/overlayfs/
Dovl_entry.h31 struct vfsmount *mnt;
46 struct vfsmount *upper_mnt;
/Linux-v4.19/fs/exportfs/
Dexpfs.c26 static int exportfs_get_name(struct vfsmount *mnt, struct dentry *dir, in exportfs_get_name()
120 static struct dentry *reconnect_one(struct vfsmount *mnt, in reconnect_one()
210 reconnect_path(struct vfsmount *mnt, struct dentry *target_dir, char *nbuf) in reconnect_path()
418 struct dentry *exportfs_decode_fh(struct vfsmount *mnt, struct fid *fid, in exportfs_decode_fh()
/Linux-v4.19/drivers/gpu/drm/i915/
Di915_gemfs.c35 struct vfsmount *gemfs; in i915_gemfs_init()
/Linux-v4.19/fs/notify/
Dfsnotify.h42 static inline void fsnotify_clear_marks_by_mount(struct vfsmount *mnt) in fsnotify_clear_marks_by_mount()

12345