Searched defs:controllers (Results 1 - 3 of 3) sorted by relevance
| /systemd/src/core/ |
| H A D | mount-setup.c | 226 _cleanup_set_free_free_ Set *controllers = NULL; local 232 /* Mount all available cgroup controllers that are built into the kernel. */ 234 controllers = set_new(&string_hash_ops); 235 if (!controllers) 238 r = cg_kernel_controllers(controllers); 240 return log_error_errno(r, "Failed to enumerate cgroup controllers: %m"); 252 controller = set_steal_first(controllers); 269 t = set_remove(controllers, *i);
|
| /systemd/src/nspawn/ |
| H A D | nspawn-mount.c | 635 _cleanup_set_free_free_ Set *controllers = NULL; local 661 controllers = set_new(&string_hash_ops); 662 if (!controllers) 665 r = cg_kernel_controllers(controllers); 667 return log_error_errno(r, "Failed to determine cgroup controllers: %m"); 672 controller = set_steal_first(controllers); 697 /* A symbolic link, a combination of controllers in one hierarchy */
|
| /systemd/src/basic/ |
| H A D | cgroup-util.c | 531 * *below* the controllers, without any prefix. */ 574 * controllers are considered accessible, except for the named 1991 /* Determines the mask of supported cgroup controllers. Only 1992 * includes controllers we can make sense of and that are 1999 _cleanup_free_ char *root = NULL, *controllers = NULL, *path = NULL; local 2003 * and accessible controllers from a the top-level 2010 r = cg_get_path(SYSTEMD_CGROUP_CONTROLLER, root, "cgroup.controllers", &path); 2014 r = read_one_line_file(path, &controllers); 2018 c = controllers; 2060 int cg_kernel_controllers(Set *controllers) { argument [all...] |
Completed in 14 milliseconds