Home
last modified time | relevance | path

Searched defs:mnt (Results 1 – 25 of 52) sorted by relevance

123

/linux/fs/
H A Dnamespace.c262 static inline struct hlist_head *m_hash(struct vfsmount *mnt, struct dentry *dentry) in m_hash()
277 static int mnt_alloc_id(struct mount *mnt) in mnt_alloc_id()
289 static void mnt_free_id(struct mount *mnt) in mnt_free_id()
297 static int mnt_alloc_group_id(struct mount *mnt) in mnt_alloc_group_id()
310 void mnt_release_group_id(struct mount *mnt) in mnt_release_group_id()
319 static inline void mnt_add_count(struct mount *mnt, int n) in mnt_add_count()
333 int mnt_get_count(struct mount *mnt) in mnt_get_count()
351 struct mount *mnt = kmem_cache_zalloc(mnt_cache, GFP_KERNEL); in alloc_vfsmnt() local
423 bool __mnt_is_readonly(struct vfsmount *mnt) in __mnt_is_readonly()
429 static inline void mnt_inc_writers(struct mount *mnt) in mnt_inc_writers()
[all …]
H A Dpnode.c32 static struct mount *get_peer_under_root(struct mount *mnt, in get_peer_under_root()
55 int get_dominating_id(struct mount *mnt, const struct path *root) in get_dominating_id()
73 static struct mount *propagation_source(struct mount *mnt) in propagation_source()
86 static void transfer_propagation(struct mount *mnt, struct mount *to) in transfer_propagation()
105 void change_mnt_propagation(struct mount *mnt, int type) in change_mnt_propagation()
333 static inline int do_refcount_check(struct mount *mnt, int count) in do_refcount_check()
385 int propagate_mount_busy(struct mount *mnt, int refcnt) in propagate_mount_busy()
428 void propagate_mount_unlock(struct mount *mnt) in propagate_mount_unlock()
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()
H A Dmount.h53 struct vfsmount mnt; member
115 static inline struct mount *real_mount(struct vfsmount *mnt) in real_mount()
120 static inline int mnt_has_parent(const struct mount *mnt) in mnt_has_parent()
125 static inline int is_mounted(struct vfsmount *mnt) in is_mounted()
186 static inline bool mnt_ns_attached(const struct mount *mnt) in mnt_ns_attached()
196 static inline void move_from_ns(struct mount *mnt) in move_from_ns()
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() local
H A Dpnode.h33 static inline void set_mnt_shared(struct mount *mnt) in set_mnt_shared()
H A Dd_path.c104 static int __prepend_path(const struct dentry *dentry, const struct mount *mnt, in __prepend_path()
/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()
/linux/tools/bpf/bpftool/
H A Dtracelog.c27 static int validate_tracefs_mnt(const char *mnt, unsigned long magic) in validate_tracefs_mnt()
40 find_tracefs_mnt_single(unsigned long magic, char *mnt, const char *mntpt) in find_tracefs_mnt_single()
57 static bool get_tracefs_pipe(char *mnt) in get_tracefs_pipe()
/linux/tools/lib/api/fs/
H A Dtracing_path.c26 const char *mnt; in tracing_path_tracefs_mount() local
39 const char *mnt; in tracing_path_debugfs_mount() local
52 const char *mnt; in tracing_path_mount() local
/linux/tools/perf/util/
H A Dcgroup.c34 char mnt[PATH_MAX + 1]; in open_cgroup() local
69 char mnt[PATH_MAX + 1]; in read_cgroup_id() local
89 char mnt[PATH_MAX + 1]; in cgroup_is_v2() local
302 char mnt[PATH_MAX]; in match_cgroups() local
601 char mnt[PATH_MAX]; in read_all_cgroups() local
H A Dmem-events.c181 static bool perf_pmu__mem_events_supported(const char *mnt, struct perf_pmu *pmu, in perf_pmu__mem_events_supported()
197 const char *mnt = sysfs__mount(); in __perf_pmu__mem_events_init() local
255 const char *mnt = sysfs__mount(); in perf_mem_events__record_args() local
/linux/include/linux/
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 Dpath.h9 struct vfsmount *mnt; member
/linux/fs/notify/
H A Dfsnotify.c26 void __fsnotify_vfsmount_delete(struct vfsmount *mnt) in __fsnotify_vfsmount_delete()
549 struct mount *mnt = NULL; in fsnotify() local
743 void fsnotify_mnt(__u32 mask, struct mnt_namespace *ns, struct vfsmount *mnt) in fsnotify_mnt()
H A Dfsnotify.h88 static inline void fsnotify_clear_marks_by_mount(struct vfsmount *mnt) in fsnotify_clear_marks_by_mount()
/linux/fs/overlayfs/
H A Dsuper.c297 struct vfsmount *mnt = ovl_upper_mnt(ofs); in ovl_workdir_create() local
657 struct vfsmount *mnt = ovl_upper_mnt(ofs); in ovl_make_workdir() local
833 struct vfsmount *mnt = ovl_upper_mnt(ofs); in ovl_get_indexdir() local
1032 struct vfsmount *mnt; in ovl_get_layers() local
/linux/tools/testing/selftests/filesystems/mount-notify/
H A Dmount-notify_test.c122 struct fanotify_event_info_mnt *mnt; in expect_notify() local
335 int ret, fs, mnt; in TEST_F() local
H A Dmount-notify_test_ns.c150 struct fanotify_event_info_mnt *mnt; in expect_notify() local
363 int ret, fs, mnt; in TEST_F() local
/linux/fs/smb/client/
H A Dnamespace.c201 struct vfsmount *mnt; in cifs_do_automount() local
/linux/arch/um/drivers/
H A Dmconsole_kern.c129 struct vfsmount *mnt = proc_mnt; in mconsole_proc() local
697 struct vfsmount *mnt; in mount_proc() local
/linux/arch/powerpc/platforms/cell/spufs/
H A Dinode.c392 struct vfsmount *mnt, int flags, umode_t mode, in spufs_create_context()
535 struct vfsmount *mnt, umode_t mode) in spufs_create_gang()
/linux/fs/nfs/
H A Dnamespace.c149 struct vfsmount *mnt = ERR_PTR(-ENOMEM); in nfs_d_automount() local
/linux/tools/perf/bench/
H A Dsched-pipe.c155 char mnt[PATH_MAX]; in enter_cgroup() local
/linux/fs/hugetlbfs/
H A Dinode.c1527 struct vfsmount *mnt; in hugetlb_file_setup() local
1580 struct vfsmount *mnt; in mount_one_hugetlbfs() local
1599 struct vfsmount *mnt; in init_hugetlbfs_fs() local

123