Home
last modified time | relevance | path

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

/systemd-251/src/basic/
Dcgroup-util.c48 r = cg_get_path(controller, path, item, &fs); in cg_enumerate_items()
98 r = cg_get_path(controller, path, "cgroup.events", &events); in cg_read_event()
189 r = cg_get_path(controller, path, NULL, &fs); in cg_enumerate_subgroups()
229 r = cg_get_path(controller, path, NULL, &p); in cg_rmdir()
388 r = cg_get_path(controller, path, "cgroup.kill", &killfile); in cg_kill_kernel_sigkill()
525 int cg_get_path(const char *controller, const char *path, const char *suffix, char **ret) { in cg_get_path() function
608 return cg_get_path(controller, path, suffix, fs); in cg_get_path_and_check()
619 r = cg_get_path(controller, path, NULL, &fs); in cg_set_xattr()
634 r = cg_get_path(controller, path, NULL, &fs); in cg_get_xattr()
652 r = cg_get_path(controller, path, NULL, &fs); in cg_get_xattr_malloc()
[all …]
Dcgroup-util.h201 int cg_get_path(const char *controller, const char *path, const char *suffix, char **fs);
/systemd-251/src/shared/
Dcgroup-setup.c242 r = cg_get_path(controller, path, NULL, &fs); in cg_trim()
439 r = cg_get_path(controller, path, NULL, &fs); in cg_set_access()
451 r = cg_get_path(controller, path, i->name, &fs); in cg_set_access()
855 r = cg_get_path(SYSTEMD_CGROUP_CONTROLLER, p, "cgroup.subtree_control", &fs); in cg_enable_everywhere()
Dcgroup-show.c347 r = cg_get_path(controller, path, NULL, &p); in show_cgroup()
Dcondition.c1039 r = cg_get_path(SYSTEMD_CGROUP_CONTROLLER, slice_path, controller, &pressure_path); in condition_test_psi()
/systemd-251/src/cgtop/
Dcgtop.c225 r = cg_get_path(controller, path, "pids.current", &p); in process()
253 r = cg_get_path(controller, path, "memory.current", &p); in process()
255 r = cg_get_path(controller, path, "memory.usage_in_bytes", &p); in process()
280 … r = cg_get_path(controller, path, all_unified ? "io.stat" : "blkio.io_service_bytes", &p); in process()
396 r = cg_get_path(controller, path, "cpuacct.usage", &p); in process()
/systemd-251/src/nspawn/
Dnspawn-cgroup.c56 r = cg_get_path(SYSTEMD_CGROUP_CONTROLLER, path, NULL, &fs); in chown_cgroup()
68 r = cg_get_path(SYSTEMD_CGROUP_CONTROLLER_LEGACY, path, NULL, &lfs); in chown_cgroup()
/systemd-251/src/core/
Dbpf-foreign.c135 r = cg_get_path(SYSTEMD_CGROUP_CONTROLLER, u->cgroup_path, NULL, &cgroup_path); in bpf_foreign_install()
Drestrict-ifaces.c118 r = cg_get_path(SYSTEMD_CGROUP_CONTROLLER, u->cgroup_path, NULL, &cgroup_path); in restrict_network_interfaces_install_impl()
Dbpf-socket-bind.c176 r = cg_get_path(SYSTEMD_CGROUP_CONTROLLER, u->cgroup_path, NULL, &cgroup_path); in socket_bind_install_impl()
Dcgroup.c2050 r = cg_get_path(SYSTEMD_CGROUP_CONTROLLER, u->cgroup_path, "cgroup.events", &events); in unit_watch_cgroup()
2113 r = cg_get_path(SYSTEMD_CGROUP_CONTROLLER, u->cgroup_path, "memory.events", &events); in unit_watch_cgroup_memory()
2189 r = cg_get_path(SYSTEMD_CGROUP_CONTROLLER, u->cgroup_path, NULL, &cgroup_full_path); in unit_update_cgroup()
3376 r = cg_get_path(SYSTEMD_CGROUP_CONTROLLER, m->cgroup_root, NULL, &path); in manager_setup_cgroup()
3873 r = cg_get_path("io", u->cgroup_path, "io.stat", &path); in unit_get_io_accounting_raw()
4174 r = cg_get_path(SYSTEMD_CGROUP_CONTROLLER, u->cgroup_path, "cgroup.freeze", &path); in unit_cgroup_freezer_action()
Dbpf-devices.c258 r = cg_get_path(SYSTEMD_CGROUP_CONTROLLER, cgroup_path, NULL, &controller_path); in bpf_devices_apply_policy()
Dbpf-firewall.c707 r = cg_get_path(SYSTEMD_CGROUP_CONTROLLER, u->cgroup_path, NULL, &path); in bpf_firewall_install()
/systemd-251/src/test/
Dtest-cgroup.c92 assert_se(cg_get_path(SYSTEMD_CGROUP_CONTROLLER, test_d, NULL, &path) == 0); in TEST()
Dtest-bpf-devices.c281 r = cg_get_path(SYSTEMD_CGROUP_CONTROLLER, cgroup, NULL, &controller_path); in main()
/systemd-251/src/oom/
Doomd-util.c183 r = cg_get_path(SYSTEMD_CGROUP_CONTROLLER, path, NULL, &cg_path); in oomd_cgroup_kill()
350 r = cg_get_path(SYSTEMD_CGROUP_CONTROLLER, path, "memory.pressure", &p); in oomd_cgroup_context_acquire()