Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/
H A Dcgroup_helpers.c33 #define CGROUP_MOUNT_PATH "/mnt" macro
39 snprintf(buf, sizeof(buf), "%s%s%d%s", CGROUP_MOUNT_PATH, \
208 if (mount("none", CGROUP_MOUNT_PATH, "cgroup2", 0, NULL) && errno != EBUSY) { in setup_cgroup_environment()
222 if (__enable_controllers(CGROUP_MOUNT_PATH, NULL) || in setup_cgroup_environment()
289 return join_cgroup_from_top(CGROUP_MOUNT_PATH); in join_root_cgroup()
326 join_cgroup_from_top(CGROUP_MOUNT_PATH); in cleanup_cgroup_environment()
340 fd = open(CGROUP_MOUNT_PATH, O_RDONLY); in get_root_cgroup()