Lines Matching refs:cg
137 tst_cgroup_group_name(const struct tst_cgroup_group *const cg)
142 tst_cgroup_group_rm(struct tst_cgroup_group *const cg)
145 #define TST_CGROUP_VER(cg, ctrl_name) \ argument
146 tst_cgroup_ver(__FILE__, __LINE__, (cg), (ctrl_name))
149 const struct tst_cgroup_group *const cg,
153 #define TST_CGROUP_VER_IS_V1(cg, ctrl_name) \ argument
154 (TST_CGROUP_VER((cg), (ctrl_name)) == TST_CGROUP_V1)
156 #define SAFE_CGROUP_HAS(cg, file_name) \ argument
157 safe_cgroup_has(__FILE__, __LINE__, (cg), (file_name))
160 const struct tst_cgroup_group *const cg,
164 #define SAFE_CGROUP_READ(cg, file_name, out, len) \ argument
166 (cg), (file_name), (out), (len))
169 const struct tst_cgroup_group *const cg,
174 #define SAFE_CGROUP_PRINTF(cg, file_name, fmt, ...) \ argument
176 (cg), (file_name), (fmt), __VA_ARGS__)
178 #define SAFE_CGROUP_PRINT(cg, file_name, str) \ argument
179 safe_cgroup_printf(__FILE__, __LINE__, (cg), (file_name), "%s", (str))
182 const struct tst_cgroup_group *const cg,
187 #define SAFE_CGROUP_SCANF(cg, file_name, fmt, ...) \ argument
189 (cg), (file_name), (fmt), __VA_ARGS__)
192 const struct tst_cgroup_group *const cg,
197 #define SAFE_CGROUP_LINES_SCANF(cg, file_name, fmt, ...) \ argument
199 (cg), (file_name), (fmt), __VA_ARGS__)
202 const struct tst_cgroup_group *const cg,
207 #define SAFE_CGROUP_OCCURSIN(cg, file_name, needle) \ argument
209 (cg), (file_name), (needle))
212 const struct tst_cgroup_group *const cg,