Searched refs:task_pid (Results 1 – 2 of 2) sorted by relevance
326 local task_pid=$1329 cat "${cgroup_name}/tasks" | grep -E "^${task_pid}\$" > /dev/null 2>&1 && return 0332 tst_resm ${LIB_TEST_STATE} "Expected pid ${task_pid} is not in \"${cgroup_name}\" task list"339 local task_pid=$1342 cat "${cgroup_name}/tasks" | grep -E "^${task_pid}\$" > /dev/null 2>&1 || return 0345 tst_resm ${LIB_TEST_STATE} "Expected pid ${task_pid} is in \"${cgroup_name}\" task list"394 local task_pid=$1396 local ps_state="$(get_task_state ${task_pid})"402 tst_resm ${LIB_TEST_STATE} "Expected task ${task_pid} to be in state \"${expected_state}\""411 local task_pid=$1[all …]
31 static int task_pid; variable73 task_pid = gettid(); in test_fn()74 SAFE_FILE_PRINTF(STUNE_TEST_PATH "/tasks", "%d", task_pid); in test_fn()81 SAFE_FILE_PRINTF(STUNE_ROOT_TASKS, "%d", task_pid); in test_fn()