Home
last modified time | relevance | path

Searched refs:mountpoint (Results 1 – 6 of 6) sorted by relevance

/tools/lib/api/fs/
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()
95 strcpy(cached.mountpoint, mountpoint); in cgroupfs_find_mountpoint()
97 if (mountpoint[0] && strlen(mountpoint) < maxlen) { in cgroupfs_find_mountpoint()
98 strcpy(buf, mountpoint); in cgroupfs_find_mountpoint()
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()
Dtracing_path.h10 void tracing_path_set(const char *mountpoint);
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()
/tools/testing/selftests/resctrl/
Dresctrlfs.c62 char mountpoint[256]; in remount_resctrlfs() local
65 ret = find_resctrl_mount(mountpoint); in remount_resctrlfs()
67 strcpy(mountpoint, RESCTRL_PATH); in remount_resctrlfs()
69 if (!ret && mum_resctrlfs && umount(mountpoint)) in remount_resctrlfs()
70 ksft_print_msg("Fail: unmounting \"%s\"\n", mountpoint); in remount_resctrlfs()
/tools/bpf/bpftool/Documentation/
Dbpftool-cgroup.rst53 bpftool uses cgroup v2 mountpoint.