Lines Matching refs:cg_parent
77 char *cg_parent = NULL, *cg_child = NULL; in test_pids_events() local
80 cg_parent = cg_name(root, "pids_parent"); in test_pids_events()
81 cg_child = cg_name(cg_parent, "pids_child"); in test_pids_events()
82 if (!cg_parent || !cg_child) in test_pids_events()
85 if (cg_create(cg_parent)) in test_pids_events()
87 if (cg_write(cg_parent, "cgroup.subtree_control", "+pids")) in test_pids_events()
92 if (cg_write(cg_parent, "pids.max", "2")) in test_pids_events()
113 if (cg_read_key_long(cg_parent, "pids.events", "max ") != 1) in test_pids_events()
123 if (cg_parent) in test_pids_events()
124 cg_destroy(cg_parent); in test_pids_events()
126 free(cg_parent); in test_pids_events()