Lines Matching +full:free +full:- +full:running
1 /* SPDX-License-Identifier: GPL-2.0 */
32 return -1; in cg_check_frozen()
40 return -1; in cg_check_frozen()
62 int fd, ret = -1; in cg_enter_and_wait_for_frozen()
95 int fd, ret = -1; in cg_freeze_wait()
118 * A simple process running in a sleep loop until being
119 * re-parented.
133 * running processes and freeze it. Then unfreeze it. Then it kills all
169 free(cgroup); in test_cgfreezer_simple()
329 for (i = 9; i >= 0 && cgroup[i]; i--) { in test_cgfreezer_tree()
331 free(cgroup[i]); in test_cgfreezer_tree()
390 free(cgroup); in test_cgfreezer_forkbomb()
440 free(child); in test_cgfreezer_mkdir()
443 free(parent); in test_cgfreezer_mkdir()
492 free(child); in test_cgfreezer_rmdir()
495 free(parent); in test_cgfreezer_rmdir()
502 * 1) A (running) -> B (frozen)
503 * 2) B (frozen) -> A (running)
504 * 3) A (frozen) -> B (frozen)
536 * Migrate from A (running) to B (frozen) in test_cgfreezer_migrate()
548 * Migrate from B (frozen) to A (running) in test_cgfreezer_migrate()
573 free(cgroup[0]); in test_cgfreezer_migrate()
576 free(cgroup[1]); in test_cgfreezer_migrate()
636 free(cgroup); in test_cgfreezer_ptrace()
649 if (len == -1) { in proc_check_stopped()
651 return -1; in proc_check_stopped()
656 return -1; in proc_check_stopped()
702 free(cgroup); in test_cgfreezer_stopped()
759 free(cgroup); in test_cgfreezer_ptraced()
803 free(cgroup); in test_cgfreezer_vfork()