Lines Matching refs:child
133 char *child;
137 child = cg_name_indexed(parent, "child", i);
138 if (!child)
141 if (cg_create(child)) {
142 cg_destroy(child);
143 free(child);
147 if (cg_run(child, fn, NULL)) {
148 cg_destroy(child);
149 free(child);
153 cg_destroy(child);
154 free(child);
301 * This test sequentionally creates 30 child cgroups, allocates some
355 char *parent, *child;
370 child = cg_name_indexed(parent, "child", i);
371 if (!child)
374 if (cg_create(child))
377 free(child);
392 child = cg_name_indexed(parent, "child", i);
393 cg_destroy(child);
394 free(child);