Home
last modified time | relevance | path

Searched refs:setpriority (Results 1 – 25 of 32) sorted by relevance

12

/kernel/liteos_a/testsuites/unittest/process/basic/process/smoke/
Dprocess_test_043.cpp60 priority = setpriority(PRIO_USER + count, getpid(), currProcessPri); in Testcase()
70 priority = setpriority(-count, getpid(), currProcessPri); in Testcase()
106 priority = setpriority(PRIO_PGRP, getpid(), currProcessPri); in Testcase()
111 priority = setpriority(PRIO_USER, getpid(), currProcessPri); in Testcase()
Dprocess_test_013.cpp56 ret = setpriority(PRIO_PROCESS, 0, PROCESS_TEST_PRI1); in TestCase()
97 ret = setpriority(PRIO_PROCESS, 1, PROCESS_TEST_PRI1); in TestCase()
102 ret = setpriority(PRIO_PROCESS, 2, PROCESS_TEST_PRI1); // 2, Used to calculate priorities. in TestCase()
Dprocess_test_009.cpp53 … ret = setpriority(PRIO_PROCESS, getpid(), currProcessPri - 2); // 2, Used to calculate priorities. in ProcessTest001()
Dprocess_test_010.cpp47 … ret = setpriority(PRIO_PROCESS, getpid(), currProcessPri - 2); // 2, Used to calculate priorities. in ProcessTest001()
Dprocess_test_008.cpp61 … ret = setpriority(PRIO_PROCESS, getpid(), currProcessPri - 2); // 2, Used to calculate priorities. in ProcessTest001()
Dprocess_test_006.cpp60 … ret = setpriority(PRIO_PROCESS, getpid(), currProcessPri - 2); // 2, Used to calculate priorities. in ProcessTest001()
Dprocess_test_002.cpp69 ret = setpriority(PRIO_PROCESS, getpid(), currProcessPri); in Testcase()
Dprocess_test_001.cpp125 ret = setpriority(PRIO_PROCESS, getpid(), param.sched_priority); in Testcase()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dsend_signal.c61 ASSERT_OK(setpriority(PRIO_PROCESS, 0, -20), "setpriority"); in test_send_signal_common()
79 ASSERT_OK(setpriority(PRIO_PROCESS, 0, old_prio), "setpriority"); in test_send_signal_common()
/kernel/liteos_a/testsuites/unittest/libc/sys/full/
Dsys_test_028.cpp38 ret = setpriority(PRIO_PROCESS, 0, 15); /* 15, set priority for test */ in TestCase()
/kernel/liteos_a/testsuites/unittest/process/basic/process/full/
Dprocess_test_007.cpp52 … ret = setpriority(PRIO_PROCESS, getpid(), currProcessPri - 2); // 2, Used to calculate priorities. in ProcessTest001()
/kernel/linux/linux-5.10/tools/testing/selftests/mqueue/
Dmq_perf_tests.c533 if (setpriority(PRIO_PROCESS, 0, -20) != 0) in increase_limits()
/kernel/linux/linux-5.10/arch/mips/kernel/syscalls/
Dsyscall_n64.tbl148 138 n64 setpriority sys_setpriority
Dsyscall_n32.tbl148 138 n32 setpriority sys_setpriority
Dsyscall_o32.tbl111 97 o32 setpriority sys_setpriority
/kernel/linux/linux-5.10/arch/ia64/kernel/syscalls/
Dsyscall.tbl90 78 common setpriority sys_setpriority
/kernel/linux/linux-5.10/arch/x86/entry/syscalls/
Dsyscall_64.tbl152 141 common setpriority sys_setpriority
/kernel/linux/linux-5.10/arch/xtensa/kernel/syscalls/
Dsyscall.tbl147 133 common setpriority sys_setpriority
/kernel/linux/linux-5.10/tools/perf/arch/x86/entry/syscalls/
Dsyscall_64.tbl152 141 common setpriority sys_setpriority
/kernel/linux/linux-5.10/arch/microblaze/kernel/syscalls/
Dsyscall.tbl107 97 common setpriority sys_setpriority
/kernel/linux/linux-5.10/tools/perf/arch/s390/entry/syscalls/
Dsyscall.tbl92 97 common setpriority sys_setpriority sys_setpriority
/kernel/linux/linux-5.10/arch/sh/kernel/syscalls/
Dsyscall.tbl107 97 common setpriority sys_setpriority
/kernel/linux/linux-5.10/arch/parisc/kernel/syscalls/
Dsyscall.tbl110 97 common setpriority sys_setpriority
/kernel/linux/linux-5.10/arch/m68k/kernel/syscalls/
Dsyscall.tbl107 97 common setpriority sys_setpriority
/kernel/linux/linux-5.10/arch/arm/tools/
Dsyscall.tbl112 97 common setpriority sys_setpriority

12