| /linux/include/linux/ |
| H A D | mount.h | 58 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 D | nfs_ssc.h | 19 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 D | path.h | 6 struct vfsmount; 9 struct vfsmount *mnt;
|
| H A D | fs_pin.h | 12 struct vfsmount; 23 void pin_insert(struct fs_pin *, struct vfsmount *);
|
| H A D | file.h | 22 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 D | fsnotify.h | 293 static inline void fsnotify_vfsmount_delete(struct vfsmount *mnt) in fsnotify_vfsmount_delete() 498 static inline void fsnotify_mnt_attach(struct mnt_namespace *ns, struct vfsmount *mnt) in fsnotify_mnt_attach() 503 static inline void fsnotify_mnt_detach(struct mnt_namespace *ns, struct vfsmount *mnt) in fsnotify_mnt_detach() 508 static inline void fsnotify_mnt_move(struct mnt_namespace *ns, struct vfsmount *mnt) in fsnotify_mnt_move()
|
| H A D | devpts_fs.h | 19 struct vfsmount *devpts_mntget(struct file *, struct pts_fs_info *);
|
| H A D | dcache.h | 20 struct vfsmount; 164 struct vfsmount *(*d_automount)(struct path *);
|
| H A D | ipc_namespace.h | 56 struct vfsmount *mq_mnt;
|
| /linux/fs/autofs/ |
| H A D | expire.c | 29 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()
|
| /linux/fs/afs/ |
| H A D | mntpt.c | 159 static struct vfsmount *afs_mntpt_do_automount(struct dentry *mntpt) in afs_mntpt_do_automount() 162 struct vfsmount *mnt; in afs_mntpt_do_automount() 184 struct vfsmount *afs_d_automount(struct path *path) in afs_d_automount() 186 struct vfsmount *newmnt; in afs_d_automount()
|
| /linux/fs/ |
| H A D | namespace.c | 94 DEFINE_FREE(mntput, struct vfsmount *, if (!IS_ERR(_T)) mntput(_T)) 198 static inline struct hlist_head *m_hash(struct vfsmount *mnt, struct dentry *dentry) in m_hash() 359 bool __mnt_is_readonly(const struct vfsmount *mnt) in __mnt_is_readonly() 399 static int mnt_is_readonly(const struct vfsmount *mnt) in mnt_is_readonly() 431 int mnt_get_write_access(struct vfsmount *m) in mnt_get_write_access() 489 int mnt_want_write(struct vfsmount *m) in mnt_want_write() 553 void mnt_put_write_access(struct vfsmount *mnt) in mnt_put_write_access() 569 void mnt_drop_write(struct vfsmount *mnt) in mnt_drop_write() 740 int __legitimize_mnt(struct vfsmount *bastard, unsigned seq) in __legitimize_mnt() 764 static bool legitimize_mnt(struct vfsmount *bastard, unsigned seq) in legitimize_mnt() [all …]
|
| H A D | fs_pin.c | 22 void pin_insert(struct fs_pin *pin, struct vfsmount *m) in pin_insert()
|
| /linux/fs/smb/client/ |
| H A D | namespace.c | 192 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/Documentation/filesystems/ |
| H A D | automount-support.rst | 57 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/overlayfs/ |
| H A D | ovl_entry.h | 35 struct vfsmount *mnt; 103 static inline struct vfsmount *ovl_upper_mnt(struct ovl_fs *ofs) in ovl_upper_mnt()
|
| /linux/fs/erofs/ |
| H A D | ishare.c | 12 static struct vfsmount *erofs_ishare_mnt; 203 struct vfsmount *mnt; in erofs_init_ishare()
|
| /linux/security/apparmor/include/ |
| H A D | mount.h | 54 struct aa_label *label, struct vfsmount *mnt, int flags);
|
| /linux/fs/nfs/ |
| H A D | namespace.c | 145 struct vfsmount *nfs_d_automount(struct path *path) in nfs_d_automount() 149 struct vfsmount *mnt = ERR_PTR(-ENOMEM); in nfs_d_automount()
|
| /linux/fs/ocfs2/ |
| H A D | file.h | 62 struct vfsmount *vfsmnt);
|
| /linux/arch/um/drivers/ |
| H A D | mconsole_kern.c | 40 static struct vfsmount *proc_mnt = NULL; 129 struct vfsmount *mnt = proc_mnt; in mconsole_proc() 697 struct vfsmount *mnt; in mount_proc()
|
| /linux/ipc/ |
| H A D | mqueue.c | 468 static struct vfsmount *mq_create_mount(struct ipc_namespace *ns) in mq_create_mount() 472 struct vfsmount *mnt; in mq_create_mount() 889 struct vfsmount *mnt, int oflag, int ro, in mqueue_file_open() 914 struct vfsmount *mnt = current->nsproxy->ipc_ns->mq_mnt; in do_mq_open() 946 struct vfsmount *mnt = ipc_ns->mq_mnt; in SYSCALL_DEFINE1() 1622 struct vfsmount *m; in mq_init_ns()
|
| /linux/fs/configfs/ |
| H A D | mount.c | 25 static struct vfsmount *configfs_mount = NULL;
|
| /linux/fs/ecryptfs/ |
| H A D | kthread.c | 119 struct vfsmount *lower_mnt, in ecryptfs_privileged_open()
|
| /linux/fs/hugetlbfs/ |
| H A D | inode.c | 1507 static struct vfsmount *hugetlbfs_vfsmount[HUGE_MAX_HSTATE]; 1534 struct vfsmount *mnt; in hugetlb_file_setup() 1584 static struct vfsmount *__init mount_one_hugetlbfs(struct hstate *h) in mount_one_hugetlbfs() 1587 struct vfsmount *mnt; in mount_one_hugetlbfs() 1606 struct vfsmount *mnt; in init_hugetlbfs_fs()
|