Searched refs:CGROUP_CONTROLLER_TO_MASK (Results 1 - 3 of 3) sorted by relevance

/systemd/src/basic/
H A Dcgroup-util.h45 #define CGROUP_CONTROLLER_TO_MASK(c) (1 << (c)) macro
49 CGROUP_MASK_CPU = CGROUP_CONTROLLER_TO_MASK(CGROUP_CONTROLLER_CPU),
50 CGROUP_MASK_CPUACCT = CGROUP_CONTROLLER_TO_MASK(CGROUP_CONTROLLER_CPUACCT),
51 CGROUP_MASK_BLKIO = CGROUP_CONTROLLER_TO_MASK(CGROUP_CONTROLLER_BLKIO),
52 CGROUP_MASK_MEMORY = CGROUP_CONTROLLER_TO_MASK(CGROUP_CONTROLLER_MEMORY),
53 CGROUP_MASK_DEVICES = CGROUP_CONTROLLER_TO_MASK(CGROUP_CONTROLLER_DEVICES),
54 CGROUP_MASK_PIDS = CGROUP_CONTROLLER_TO_MASK(CGROUP_CONTROLLER_PIDS),
55 _CGROUP_MASK_ALL = CGROUP_CONTROLLER_TO_MASK(_CGROUP_CONTROLLER_MAX) - 1
H A Dcgroup-util.c1862 CGroupMask bit = CGROUP_CONTROLLER_TO_MASK(c);
1891 CGroupMask bit = CGROUP_CONTROLLER_TO_MASK(c);
1943 CGroupMask bit = CGROUP_CONTROLLER_TO_MASK(c);
1976 CGroupMask bit = CGROUP_CONTROLLER_TO_MASK(c);
2033 mask |= CGROUP_CONTROLLER_TO_MASK(v);
2052 mask |= CGROUP_CONTROLLER_TO_MASK(c);
2167 CGroupMask bit = CGROUP_CONTROLLER_TO_MASK(c);
/systemd/src/test/
H A Dtest-cgroup-util.c309 printf("'%s' is supported: %s\n", cgroup_controller_to_string(c), yes_no(m & CGROUP_CONTROLLER_TO_MASK(c)));

Completed in 1099 milliseconds