Home
last modified time | relevance | path

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

123

/linux/fs/
H A Dnamespace.c213 static inline struct hlist_head *m_hash(struct vfsmount *mnt, struct dentry *dentry) in m_hash()
228 static int mnt_alloc_id(struct mount *mnt) in mnt_alloc_id()
240 static void mnt_free_id(struct mount *mnt) in mnt_free_id()
248 static int mnt_alloc_group_id(struct mount *mnt) in mnt_alloc_group_id()
261 void mnt_release_group_id(struct mount *mnt) in mnt_release_group_id()
270 static inline void mnt_add_count(struct mount *mnt, int n) in mnt_add_count()
284 int mnt_get_count(struct mount *mnt) in mnt_get_count()
302 struct mount *mnt = kmem_cache_zalloc(mnt_cache, GFP_KERNEL); in alloc_vfsmnt() local
374 bool __mnt_is_readonly(const struct vfsmount *mnt) in __mnt_is_readonly()
380 static inline void mnt_inc_writers(struct mount *mnt) in mnt_inc_writers()
[all …]
H A Dpnode.c33 static struct mount *get_peer_under_root(struct mount *mnt, in get_peer_under_root()
56 int get_dominating_id(struct mount *mnt, const struct path *root) in get_dominating_id()
74 static void transfer_propagation(struct mount *mnt, struct mount *to) in transfer_propagation()
93 void change_mnt_propagation(struct mount *mnt, int type) in change_mnt_propagation()
371 static inline int do_refcount_check(struct mount *mnt, int count) in do_refcount_check()
423 int propagate_mount_busy(struct mount *mnt, int refcnt) in propagate_mount_busy()
466 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.h47 struct vfsmount mnt; member
112 static inline struct mount *real_mount(struct vfsmount *mnt) in real_mount()
117 static inline int mnt_has_parent(const struct mount *mnt) in mnt_has_parent()
122 static inline int is_mounted(struct vfsmount *mnt) in is_mounted()
188 static inline bool mnt_ns_attached(const struct mount *mnt) in mnt_ns_attached()
198 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()
/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/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/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
H A Dcpumap.c446 const char *mnt; in set_max_cpu_num() local
494 const char *mnt; in set_max_node_num() local
580 const char *mnt; in cpu__setup_cpunode_map() 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
H A Dmount.h65 static inline struct mnt_idmap *mnt_idmap(const struct vfsmount *mnt) in mnt_idmap()
/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()
H A Dfdinfo.c121 struct mount *mnt = fsnotify_conn_mount(mark->connector); in fanotify_fdinfo() local
/linux/fs/overlayfs/
H A Dsuper.c307 struct vfsmount *mnt = ovl_upper_mnt(ofs); in ovl_workdir_create() local
667 struct vfsmount *mnt = ovl_upper_mnt(ofs); in ovl_make_workdir() local
843 struct vfsmount *mnt = ovl_upper_mnt(ofs); in ovl_get_indexdir() local
1067 struct vfsmount *mnt; in ovl_get_layers() local
/linux/tools/testing/selftests/filesystems/mount-notify/
H A Dmount-notify_test_ns.c148 struct fanotify_event_info_mnt *mnt; in expect_notify() local
361 int ret, fs, mnt; in TEST_F() local
H A Dmount-notify_test.c121 struct fanotify_event_info_mnt *mnt; in expect_notify() local
334 int ret, fs, mnt; in TEST_F() local
/linux/fs/afs/
H A Dmntpt.c161 struct vfsmount *mnt; in afs_mntpt_do_automount() local
/linux/fs/smb/client/
H A Dnamespace.c201 struct vfsmount *mnt; in cifs_do_automount() 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()

123