Lines Matching refs:freezer
21 # A library of cgroup test functions for testing the cgroup freezer and,
25 # mount_{freezer|signal} and make_sample_cgroup are the exceptions to this rule.
66 # These are echo'd to freezer.state.
130 export cgroup_subsys=freezer
167 [ "${cgroup_subsys}" != "freezer" ] && {
182 # we need to redirect to different freezer.state files for each
189 # For each group in the freezer hierarch, that its tasks
191 xargs -0r -n 1 ${XARGS_REPL_OPT} /bin/bash -c "\"${CG_FILE_WRITE}\" \"${THAW}\" > '${XARGS_REPL_STR}/freezer.state'"
491 if [ "${cgroup_subsys}" == "freezer" ]; then
492 assert_cgroup_rwfile "freezer.state" "freezer state"
494 elif [ "${cgroup_subsys}" == "freezer" ]; then
504 local state="$(cat freezer.state)"
509 tst_resm ${LIB_TEST_STATE} "Failed to read freezer state."
525 tst_resm ${LIB_TEST_STATE} "Expected freezer state \"$2\" but found freezer state: \"$state\""
776 "${CG_FILE_WRITE}" "${FREEZE}" > freezer.state
795 tst_resm ${LIB_TEST_STATE} "Failed to issue freeze command (freezer state: \"`get_freezer_state`\")."
930 "${CG_FILE_WRITE}" "${THAW}" > freezer.state && return 0