Home
last modified time | relevance | path

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

12345

/linux-6.1.9/include/linux/
Dmount.h69 struct vfsmount { struct
76 static inline struct user_namespace *mnt_user_ns(const struct vfsmount *mnt) in mnt_user_ns() argument
82 extern int mnt_want_write(struct vfsmount *mnt);
84 extern void mnt_drop_write(struct vfsmount *mnt);
86 extern void mntput(struct vfsmount *mnt);
87 extern struct vfsmount *mntget(struct vfsmount *mnt);
88 extern struct vfsmount *mnt_clone_internal(const struct path *path);
89 extern bool __mnt_is_readonly(struct vfsmount *mnt);
90 extern bool mnt_may_suid(struct vfsmount *mnt);
92 extern struct vfsmount *clone_private_mount(const struct path *path);
[all …]
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()
66 struct vfsmount *nsui_vfsmount;
Dpath.h6 struct vfsmount;
9 struct vfsmount *mnt;
Dfs_pin.h12 struct vfsmount;
23 void pin_insert(struct fs_pin *, struct vfsmount *);
Dexportfs.h12 struct vfsmount;
231 extern struct dentry *exportfs_decode_fh_raw(struct vfsmount *mnt,
236 extern struct dentry *exportfs_decode_fh(struct vfsmount *mnt, struct fid *fid,
Dfile.h20 struct vfsmount;
24 extern struct file *alloc_file_pseudo(struct inode *, struct vfsmount *,
Ddevpts_fs.h19 struct vfsmount *devpts_mntget(struct file *, struct pts_fs_info *);
Dfsnotify_backend.h448 FSNOTIFY_ITER_FUNCS(vfsmount, VFSMOUNT)
547 extern void __fsnotify_vfsmount_delete(struct vfsmount *mnt);
847 static inline void __fsnotify_vfsmount_delete(struct vfsmount *mnt) in __fsnotify_vfsmount_delete()
/linux-6.1.9/fs/
Dmount.h43 struct vfsmount mnt;
84 static inline struct mount *real_mount(struct vfsmount *mnt) in real_mount()
94 static inline int is_mounted(struct vfsmount *mnt) in is_mounted()
100 extern struct mount *__lookup_mnt(struct vfsmount *, struct dentry *);
102 extern int __legitimize_mnt(struct vfsmount *, unsigned);
129 int (*show)(struct seq_file *, struct vfsmount *);
Dinternal.h62 extern int vfs_path_lookup(struct dentry *, struct vfsmount *,
77 extern struct vfsmount *lookup_mnt(const struct path *);
78 extern int finish_automount(struct vfsmount *, const struct path *);
87 extern void dissolve_on_fput(struct vfsmount *);
Dnamespace.c111 static inline struct hlist_head *m_hash(struct vfsmount *mnt, struct dentry *dentry) in m_hash()
269 bool __mnt_is_readonly(struct vfsmount *mnt) in __mnt_is_readonly()
309 static int mnt_is_readonly(struct vfsmount *mnt) in mnt_is_readonly()
334 int __mnt_want_write(struct vfsmount *m) in __mnt_want_write()
389 int mnt_want_write(struct vfsmount *m) in mnt_want_write()
453 void __mnt_drop_write(struct vfsmount *mnt) in __mnt_drop_write()
468 void mnt_drop_write(struct vfsmount *mnt) in mnt_drop_write()
623 int __legitimize_mnt(struct vfsmount *bastard, unsigned seq) in __legitimize_mnt()
651 static bool legitimize_mnt(struct vfsmount *bastard, unsigned seq) in legitimize_mnt()
668 struct mount *__lookup_mnt(struct vfsmount *mnt, struct dentry *dentry) in __lookup_mnt()
[all …]
Dproc_namespace.c64 static void show_mnt_opts(struct seq_file *m, struct vfsmount *mnt) in show_mnt_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()
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
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()
/linux-6.1.9/fs/cifs/
Dcifs_dfs_ref.c272 static struct vfsmount *cifs_dfs_do_mount(struct dentry *mntpt, in cifs_dfs_do_mount()
276 struct vfsmount *mnt; in cifs_dfs_do_mount()
295 return (struct vfsmount *)mountdata; in cifs_dfs_do_mount()
307 static struct vfsmount *cifs_dfs_do_automount(struct dentry *mntpt) in cifs_dfs_do_automount()
312 struct vfsmount *mnt; in cifs_dfs_do_automount()
353 struct vfsmount *cifs_dfs_d_automount(struct path *path) in cifs_dfs_d_automount()
355 struct vfsmount *newmnt; in cifs_dfs_d_automount()
/linux-6.1.9/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.h160 int autofs_expire_run(struct super_block *, struct vfsmount *,
163 int autofs_do_expire_multi(struct super_block *sb, struct vfsmount *mnt,
165 int autofs_expire_multi(struct super_block *, struct vfsmount *,
/linux-6.1.9/fs/afs/
Dmntpt.c151 static struct vfsmount *afs_mntpt_do_automount(struct dentry *mntpt) in afs_mntpt_do_automount()
154 struct vfsmount *mnt; in afs_mntpt_do_automount()
176 struct vfsmount *afs_d_automount(struct path *path) in afs_d_automount()
178 struct vfsmount *newmnt; in afs_d_automount()
/linux-6.1.9/Documentation/filesystems/
Dsharedsubtree.rst33 Shared subtree provides four different flavors of mounts; struct vfsmount to be
244 Note: the word 'vfsmount' and the noun 'mount' have been used
257 A 'propagation event' is defined as event generated on a vfsmount
265 A 'shared mount' is defined as a vfsmount that belongs to a
281 A 'slave mount' is defined as a vfsmount that receives
296 A vfsmount can be both shared as well as slave. This state
297 indicates that the mount is a slave of some vfsmount, and
298 has its own peer group too. This vfsmount receives propagation
299 events from its master vfsmount, and also forwards propagation
302 Strictly speaking, the vfsmount is shared having its own
[all …]
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-6.1.9/kernel/
Dusermode_driver.c12 static struct vfsmount *blob_to_mnt(const void *data, size_t len, const char *name) in blob_to_mnt()
15 struct vfsmount *mnt; in blob_to_mnt()
62 struct vfsmount *mnt; in umd_load_blob()
/linux-6.1.9/fs/overlayfs/
Dovl_entry.h35 struct vfsmount *mnt;
88 static inline struct vfsmount *ovl_upper_mnt(struct ovl_fs *ofs) in ovl_upper_mnt()
/linux-6.1.9/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 exportfs_decode_fh_raw(struct vfsmount *mnt, struct fid *fid, int fh_len, in exportfs_decode_fh_raw()
568 struct dentry *exportfs_decode_fh(struct vfsmount *mnt, struct fid *fid, in exportfs_decode_fh()
/linux-6.1.9/drivers/gpu/drm/i915/gem/
Di915_gemfs.c18 struct vfsmount *gemfs; in i915_gemfs_init()
/linux-6.1.9/security/apparmor/include/
Dmount.h45 int aa_umount(struct aa_label *label, struct vfsmount *mnt, int flags);
/linux-6.1.9/fs/notify/
Dfsnotify.h63 static inline void fsnotify_clear_marks_by_mount(struct vfsmount *mnt) in fsnotify_clear_marks_by_mount()

12345