Home
last modified time | relevance | path

Searched defs:mnt (Results 1 – 25 of 53) 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 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 Dpnode.h33 static inline void set_mnt_shared(struct mount *mnt) in set_mnt_shared()
H A Dfhandle.c257 struct vfsmount *mnt = ctx->root.mnt; in do_handle_to_path() local
H A Dd_path.c104 static int __prepend_path(const struct dentry *dentry, const struct mount *mnt, in __prepend_path()
H A Dinode.c1959 static bool relatime_need_update(struct vfsmount *mnt, struct inode *inode, in relatime_need_update()
2092 struct vfsmount *mnt = path->mnt; in atime_needs_update() local
2128 struct vfsmount *mnt = path->mnt; in touch_atime() local
/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() argument
40 find_tracefs_mnt_single(unsigned long magic, char *mnt, const char *mntpt) in find_tracefs_mnt_single() argument
57 static bool get_tracefs_pipe(char *mnt) in get_tracefs_pipe() argument
[all...]
/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.c428 const char *mnt; set_max_cpu_num() local
468 const char *mnt; set_max_node_num() local
554 const char *mnt; cpu__setup_cpunode_map() local
[all...]
/linux/include/linux/
H A Dfsnotify.h318 fsnotify_vfsmount_delete(struct vfsmount * mnt) fsnotify_vfsmount_delete() argument
536 fsnotify_mnt_attach(struct mnt_namespace * ns,struct vfsmount * mnt) fsnotify_mnt_attach() argument
541 fsnotify_mnt_detach(struct mnt_namespace * ns,struct vfsmount * mnt) fsnotify_mnt_detach() argument
546 fsnotify_mnt_move(struct mnt_namespace * ns,struct vfsmount * mnt) fsnotify_mnt_move() argument
H A Dpath.h9 struct vfsmount *mnt; member
H A Dmount.h66 static inline struct mnt_idmap *mnt_idmap(const struct vfsmount *mnt) in mnt_idmap()
/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
/linux/fs/afs/
H A Dmntpt.c160 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/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/ipc/
H A Dmqueue.c473 struct vfsmount *mnt; in mq_create_mount() local
898 struct vfsmount *mnt = current->nsproxy->ipc_ns->mq_mnt; in do_mq_open() local
962 struct vfsmount *mnt = ipc_ns->mq_mnt; in SYSCALL_DEFINE1() local

123