Home
last modified time | relevance | path

Searched refs:task_pid (Results 1 – 2 of 2) sorted by relevance

/external/ltp/testcases/kernel/controllers/freezer/
Dlibcgroup_freezer326 local task_pid=$1
329 cat "${cgroup_name}/tasks" | grep -E "^${task_pid}\$" > /dev/null 2>&1 && return 0
332 tst_resm ${LIB_TEST_STATE} "Expected pid ${task_pid} is not in \"${cgroup_name}\" task list"
339 local task_pid=$1
342 cat "${cgroup_name}/tasks" | grep -E "^${task_pid}\$" > /dev/null 2>&1 || return 0
345 tst_resm ${LIB_TEST_STATE} "Expected pid ${task_pid} is in \"${cgroup_name}\" task list"
394 local task_pid=$1
396 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 …]
/external/ltp/testcases/kernel/sched/eas/
Dsched_boost.c31 static int task_pid; variable
73 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()