Home
last modified time | relevance | path

Searched refs:mountpoint (Results 1 - 25 of 29) sorted by relevance

12

/kernel/linux/linux-6.6/tools/lib/api/fs/
H A Dcgroup.c13 char mountpoint[PATH_MAX]; member
25 char mountpoint[PATH_MAX]; in cgroupfs_find_mountpoint() local
28 if (strlen(cached->mountpoint) < maxlen) { in cgroupfs_find_mountpoint()
29 strcpy(buf, cached->mountpoint); in cgroupfs_find_mountpoint()
45 mountpoint[0] = '\0'; in cgroupfs_find_mountpoint()
73 strcpy(mountpoint, path); in cgroupfs_find_mountpoint()
88 strcpy(mountpoint, path); in cgroupfs_find_mountpoint()
99 strcpy(cached->mountpoint, mountpoint); in cgroupfs_find_mountpoint()
102 if (mountpoint[ in cgroupfs_find_mountpoint()
[all...]
H A Dfs.c132 const char *mountpoint = lower_name##__mountpoint(); \
135 if (mountpoint) \
136 return mountpoint; \
271 const char *mountpoint; in fs__mount() local
276 mountpoint = fs__mountpoint(fs); in fs__mount()
277 if (mountpoint) in fs__mount()
280 mountpoint = mount_overload(fs); in fs__mount()
282 if (mount(NULL, mountpoint, fs->name, 0, NULL) == 0 && in fs__mount()
283 fs__valid_mount(mountpoint, fs->magic) == 0) { in fs__mount()
284 fs->path = strdup(mountpoint); in fs__mount()
[all...]
H A Dtracing_path.c18 static void __tracing_path_set(const char *tracing, const char *mountpoint) in __tracing_path_set() argument
21 mountpoint, tracing); in __tracing_path_set()
H A Dtracing_path.h11 void tracing_path_set(const char *mountpoint);
/kernel/linux/linux-5.10/tools/lib/api/fs/
H A Dcgroup.c14 char mountpoint[PATH_MAX + 1], tokens[PATH_MAX + 1], type[PATH_MAX + 1]; in cgroupfs_find_mountpoint() local
32 mountpoint, type, tokens) == 3) { in cgroupfs_find_mountpoint()
40 strcpy(path_v1, mountpoint); in cgroupfs_find_mountpoint()
48 strcpy(path_v2, mountpoint); in cgroupfs_find_mountpoint()
H A Dtracing_path.c20 static void __tracing_path_set(const char *tracing, const char *mountpoint) in __tracing_path_set() argument
22 snprintf(tracing_mnt, sizeof(tracing_mnt), "%s", mountpoint); in __tracing_path_set()
24 mountpoint, tracing); in __tracing_path_set()
26 mountpoint, tracing, "events"); in __tracing_path_set()
H A Dtracing_path.h10 void tracing_path_set(const char *mountpoint);
H A Dfs.c284 const char *mountpoint; in fs__mount() local
289 mountpoint = mount_overload(fs); in fs__mount()
291 if (mount(NULL, mountpoint, fs->name, 0, NULL) < 0) in fs__mount()
/kernel/linux/linux-6.6/fs/
H A Dpnode.h40 int propagate_mnt(struct mount *, struct mountpoint *, struct mount *,
48 void mnt_set_mountpoint(struct mount *, struct mountpoint *,
50 void mnt_change_mountpoint(struct mount *parent, struct mountpoint *mp,
58 const struct mountpoint *mp);
H A Dnamespace.c94 * vfsmount hash, ie. during mountpoint lookups or walking back
671 * @dentry: mountpoint
681 * has another mount @n mounted at the same mountpoint then the source
747 * __is_local_mountpoint - Test to see if dentry is a mountpoint in the
752 * dealing with a mountpoint of some kind, walk through all of the
754 * is a mountpoint.
782 static struct mountpoint *lookup_mountpoint(struct dentry *dentry) in lookup_mountpoint()
785 struct mountpoint *mp; in lookup_mountpoint()
796 static struct mountpoint *get_mountpoint(struct dentry *dentry) in get_mountpoint()
798 struct mountpoint *m in get_mountpoint()
1152 vfs_submount(const struct dentry *mountpoint, struct file_system_type *type, const char *name, void *data) vfs_submount() argument
2792 mnt_warn_timestamp_expiry(struct path *mountpoint, struct vfsmount *mnt) mnt_warn_timestamp_expiry() argument
3258 do_new_mount_fc(struct fs_context *fc, struct path *mountpoint, unsigned int mnt_flags) do_new_mount_fc() argument
[all...]
H A Dmount.h32 struct mountpoint { struct
65 struct mountpoint *mnt_mp; /* where is it mounted */
67 struct hlist_node mnt_mp_list; /* list mounts with the same mountpoint */
H A Dpnode.c224 static int propagate_one(struct mount *m, struct mountpoint *dest_mp) in propagate_one()
231 /* skip if mountpoint isn't covered by it */ in propagate_one()
287 int propagate_mnt(struct mount *dest_mnt, struct mountpoint *dest_mp, in propagate_mnt()
362 * @mp: future mountpoint of @to on @from
368 * If the root of the @to mount is equal to the future mountpoint @mp of
378 const struct mountpoint *mp) in propagation_would_overmount()
539 struct mountpoint *mp; in restore_mounts()
588 * tree for the mountpoint has already been visited and there is in propagate_umount()
607 * mountpoint has already been visited and there in propagate_umount()
/kernel/linux/linux-5.10/fs/
H A Dpnode.h40 int propagate_mnt(struct mount *, struct mountpoint *, struct mount *,
48 void mnt_set_mountpoint(struct mount *, struct mountpoint *,
50 void mnt_change_mountpoint(struct mount *parent, struct mountpoint *mp,
H A Dnamespace.c82 * vfsmount hash, ie. during mountpoint lookups or walking back
369 * on a mountpoint that we already know has a write reference
668 * __is_local_mountpoint - Test to see if dentry is a mountpoint in the
673 * dealing with a mountpoint of some kind, walk through all of the
675 * is a mountpoint.
703 static struct mountpoint *lookup_mountpoint(struct dentry *dentry) in lookup_mountpoint()
706 struct mountpoint *mp; in lookup_mountpoint()
717 static struct mountpoint *get_mountpoint(struct dentry *dentry) in get_mountpoint()
719 struct mountpoint *mp, *new = NULL; in get_mountpoint()
726 mountpoint in get_mountpoint()
1019 vfs_submount(const struct dentry *mountpoint, struct file_system_type *type, const char *name, void *data) vfs_submount() argument
2552 mnt_warn_timestamp_expiry(struct path *mountpoint, struct vfsmount *mnt) mnt_warn_timestamp_expiry() argument
2823 do_new_mount_fc(struct fs_context *fc, struct path *mountpoint, unsigned int mnt_flags) do_new_mount_fc() argument
[all...]
H A Dmount.h33 struct mountpoint { struct
66 struct mountpoint *mnt_mp; /* where is it mounted */
68 struct hlist_node mnt_mp_list; /* list mounts with the same mountpoint */
H A Dpnode.c217 static struct mountpoint *mp;
232 /* skip if mountpoint isn't covered by it */ in propagate_one()
288 int propagate_mnt(struct mount *dest_mnt, struct mountpoint *dest_mp, in propagate_mnt()
501 struct mountpoint *mp; in restore_mounts()
550 * tree for the mountpoint has already been visited and there is in propagate_umount()
569 * mountpoint has already been visited and there in propagate_umount()
/kernel/linux/linux-5.10/tools/testing/selftests/resctrl/
H A Dresctrlfs.c64 char mountpoint[256]; in remount_resctrlfs() local
67 ret = find_resctrl_mount(mountpoint); in remount_resctrlfs()
69 strcpy(mountpoint, RESCTRL_PATH); in remount_resctrlfs()
71 if (!ret && mum_resctrlfs && umount(mountpoint)) { in remount_resctrlfs()
72 printf("not ok unmounting \"%s\"\n", mountpoint); in remount_resctrlfs()
586 printf("%sok resctrl mountpoint \"%s\" exists\n", in check_resctrlfs_support()
/kernel/liteos_a/fs/include/fs/
H A Dmount.h69 const char *mountpoint,
/kernel/linux/build/test/moduletest/runtest/bin/cpusetdecouple_cpuhotplug_t/testcases/bin/
H A Dcpusetdecouple_cpuhotplug01.sh31 if mountpoint -q /dev/cpuset; then
32 tst_res TINFO "mountpoint -q /dev/cpuset"
H A Dcpusetdecouple_cpuhotplug03.sh31 if mountpoint -q /dev/cpuset; then
32 tst_res TINFO "mountpoint -q /dev/cpuset"
H A Dcpusetdecouple_cpuhotplug02.sh31 if mountpoint -q /dev/cpuset; then
32 tst_res TINFO "mountpoint -q /dev/cpuset"
H A Dcpusetdecouple_cpuhotplug04.sh31 if mountpoint -q /dev/cpuset; then
32 tst_res TINFO "mountpoint -q /dev/cpuset"
/kernel/linux/linux-6.6/tools/testing/selftests/filesystems/fat/
H A Drun_fat_tests.sh21 mountpoint -q "${MNT_PATH}" && unmount_image
/kernel/linux/linux-6.6/tools/testing/selftests/resctrl/
H A Dresctrlfs.c78 char mountpoint[256]; in umount_resctrlfs() local
81 ret = find_resctrl_mount(mountpoint); in umount_resctrlfs()
87 if (umount(mountpoint)) { in umount_resctrlfs()
579 ksft_print_msg("%s Check resctrl mountpoint \"%s\" exists\n", in check_resctrlfs_support()
/kernel/linux/linux-5.10/include/linux/
H A Dmount.h102 extern struct vfsmount *vfs_submount(const struct dentry *mountpoint,

Completed in 15 milliseconds

12