Home
last modified time | relevance | path

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

12345

/linux/include/linux/
H A Dmount.h58 struct vfsmount { struct
65 static inline struct mnt_idmap *mnt_idmap(const struct vfsmount *mnt) in mnt_idmap() argument
71 extern int mnt_want_write(struct vfsmount *mnt);
73 extern void mnt_drop_write(struct vfsmount *mnt);
75 extern void mntput(struct vfsmount *mnt);
76 extern struct vfsmount *mntget(struct vfsmount *mnt);
77 extern void mnt_make_shortterm(struct vfsmount *mnt);
78 extern struct vfsmount *mnt_clone_internal(const struct path *path);
79 extern bool __mnt_is_readonly(const struct vfsmount *mnt);
80 extern bool mnt_may_suid(struct vfsmount *mnt);
[all …]
H A Dnfs_ssc.h19 struct file *(*sco_open)(struct vfsmount *ss_mnt,
43 static inline struct file *nfs42_ssc_open(struct vfsmount *ss_mnt, in nfs42_ssc_open()
67 struct vfsmount *nsui_vfsmount;
H A Dpath.h6 struct vfsmount;
9 struct vfsmount *mnt;
H A Dfs_pin.h12 struct vfsmount;
23 void pin_insert(struct fs_pin *, struct vfsmount *);
H A Dfile.h22 struct vfsmount;
26 extern struct file *alloc_file_pseudo(struct inode *, struct vfsmount *,
28 extern struct file *alloc_file_pseudo_noaccount(struct inode *, struct vfsmount *,
H A Dexportfs.h13 struct vfsmount;
355 extern struct dentry *exportfs_decode_fh_raw(struct vfsmount *mnt,
361 extern struct dentry *exportfs_decode_fh(struct vfsmount *mnt, struct fid *fid,
H A Dfsnotify.h293 static inline void fsnotify_vfsmount_delete(struct vfsmount *mnt) in fsnotify_vfsmount_delete()
511 static inline void fsnotify_mnt_attach(struct mnt_namespace *ns, struct vfsmount *mnt) in fsnotify_mnt_attach()
516 static inline void fsnotify_mnt_detach(struct mnt_namespace *ns, struct vfsmount *mnt) in fsnotify_mnt_detach()
521 static inline void fsnotify_mnt_move(struct mnt_namespace *ns, struct vfsmount *mnt) in fsnotify_mnt_move()
H A Dfsnotify_backend.h526 FSNOTIFY_ITER_FUNCS(vfsmount, VFSMOUNT)
651 extern void __fsnotify_vfsmount_delete(struct vfsmount *mnt);
656 extern void fsnotify_mnt(__u32 mask, struct mnt_namespace *ns, struct vfsmount *mnt);
949 static inline void __fsnotify_vfsmount_delete(struct vfsmount *mnt) in __fsnotify_vfsmount_delete()
972 static inline void fsnotify_mnt(__u32 mask, struct mnt_namespace *ns, struct vfsmount *mnt) in fsnotify_mnt()
H A Ddevpts_fs.h19 struct vfsmount *devpts_mntget(struct file *, struct pts_fs_info *);
/linux/fs/
H A Dmount.h47 struct vfsmount mnt;
112 static inline struct mount *real_mount(struct vfsmount *mnt) in real_mount()
122 static inline int is_mounted(struct vfsmount *mnt) in is_mounted()
128 extern struct mount *__lookup_mnt(struct vfsmount *, struct dentry *);
130 extern int __legitimize_mnt(struct vfsmount *, unsigned);
162 int (*show)(struct seq_file *, struct vfsmount *);
H A Dnamespace.c100 DEFINE_FREE(mntput, struct vfsmount *, if (!IS_ERR(_T)) mntput(_T))
213 static inline struct hlist_head *m_hash(struct vfsmount *mnt, struct dentry *dentry) in m_hash()
374 bool __mnt_is_readonly(const struct vfsmount *mnt) in __mnt_is_readonly()
414 static int mnt_is_readonly(const struct vfsmount *mnt) in mnt_is_readonly()
446 int mnt_get_write_access(struct vfsmount *m) in mnt_get_write_access()
504 int mnt_want_write(struct vfsmount *m) in mnt_want_write()
568 void mnt_put_write_access(struct vfsmount *mnt) in mnt_put_write_access()
584 void mnt_drop_write(struct vfsmount *mnt) in mnt_drop_write()
755 int __legitimize_mnt(struct vfsmount *bastard, unsigned seq) in __legitimize_mnt()
779 static bool legitimize_mnt(struct vfsmount *bastard, unsigned seq) in legitimize_mnt()
[all …]
H A Dproc_namespace.c64 static void show_vfsmnt_opts(struct seq_file *m, struct vfsmount *mnt) in show_vfsmnt_opts()
101 static int show_vfsmnt(struct seq_file *m, struct vfsmount *mnt) in show_vfsmnt()
135 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()
235 int (*show)(struct seq_file *, struct vfsmount *)) in mounts_open_common() argument
H A Dinternal.h74 extern struct vfsmount *lookup_mnt(const struct path *);
75 extern int finish_automount(struct vfsmount *, const struct path *);
84 extern void dissolve_on_fput(struct vfsmount *);
331 int path_from_stashed(struct dentry **stashed, struct vfsmount *mnt, void *data,
H A Dfile_table.c361 struct vfsmount *mnt, struct path *path) in alloc_path_pseudo()
371 struct file *alloc_file_pseudo(struct inode *inode, struct vfsmount *mnt, in alloc_file_pseudo()
399 struct vfsmount *mnt, const char *name, in alloc_file_pseudo_noaccount()
445 struct vfsmount *mnt = file->f_path.mnt; in __fput()
/linux/fs/autofs/
H A Dexpire.c29 static int autofs_mount_busy(struct vfsmount *mnt, in autofs_mount_busy()
147 static int autofs_direct_busy(struct vfsmount *mnt, in autofs_direct_busy()
179 static int autofs_tree_busy(struct vfsmount *mnt, in autofs_tree_busy()
238 static struct dentry *autofs_check_leaves(struct vfsmount *mnt, in autofs_check_leaves()
272 struct vfsmount *mnt, in autofs_expire_direct()
319 struct vfsmount *mnt, in should_expire()
418 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()
H A Dautofs_i.h166 int autofs_expire_run(struct super_block *, struct vfsmount *,
169 int autofs_do_expire_multi(struct super_block *sb, struct vfsmount *mnt,
171 int autofs_expire_multi(struct super_block *, struct vfsmount *,
/linux/fs/afs/
H A 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()
/linux/Documentation/filesystems/
H A Dsharedsubtree.rst33 Shared subtree provides four different flavors of mounts; struct vfsmount to be
247 the word 'vfsmount' and the noun 'mount' have been used
252 A **propagation event** is defined as event generated on a vfsmount
262 A **shared mount** is defined as a vfsmount that belongs to a
278 A **slave mount** is defined as a vfsmount that receives
293 A vfsmount can be both **shared** as well as **slave**. This state
294 indicates that the mount is a slave of some vfsmount, and
295 has its own peer group too. This vfsmount receives propagation
296 events from its master vfsmount, and also forwards propagation
299 Strictly speaking, the vfsmount is shared having its own
[all …]
H A Dautomount-support.rst57 vfsmount thereon for potential expiry on the next call.
59 If a vfsmount was already flagged for expiry, and if its usage count is 1
60 (it's only referenced by its parent vfsmount), then it will be deleted
71 mount is made on an expirable mount, the new vfsmount will not be on the
/linux/fs/smb/client/
H A Dnamespace.c192 static struct vfsmount *cifs_do_automount(struct path *path) in cifs_do_automount()
201 struct vfsmount *mnt; in cifs_do_automount()
277 struct vfsmount *cifs_d_automount(struct path *path) in cifs_d_automount()
279 struct vfsmount *newmnt; in cifs_d_automount()
/linux/fs/notify/
H A Dfsnotify.h49 return ((struct vfsmount *)obj)->mnt_sb; in fsnotify_object_sb()
88 static inline void fsnotify_clear_marks_by_mount(struct vfsmount *mnt) in fsnotify_clear_marks_by_mount()
/linux/fs/exportfs/
H A 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()
210 reconnect_path(struct vfsmount *mnt, struct dentry *target_dir, char *nbuf) in reconnect_path()
438 exportfs_decode_fh_raw(struct vfsmount *mnt, struct fid *fid, int fh_len, in exportfs_decode_fh_raw()
591 struct dentry *exportfs_decode_fh(struct vfsmount *mnt, struct fid *fid, in exportfs_decode_fh()
/linux/fs/overlayfs/
H A Dovl_entry.h35 struct vfsmount *mnt;
103 static inline struct vfsmount *ovl_upper_mnt(struct ovl_fs *ofs) in ovl_upper_mnt()
/linux/drivers/gpu/drm/i915/gem/
H A Di915_gemfs.c18 struct vfsmount *gemfs; in i915_gemfs_init()
/linux/drivers/gpu/drm/v3d/
H A Dv3d_gemfs.c14 struct vfsmount *gemfs; in v3d_gemfs_init()

12345