Searched refs:setpriority (Results 1 – 25 of 32) sorted by relevance
12
/kernel/liteos_a/testsuites/unittest/process/basic/process/smoke/ |
D | process_test_043.cpp | 60 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()
|
D | process_test_013.cpp | 56 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()
|
D | process_test_009.cpp | 53 … ret = setpriority(PRIO_PROCESS, getpid(), currProcessPri - 2); // 2, Used to calculate priorities. in ProcessTest001()
|
D | process_test_010.cpp | 47 … ret = setpriority(PRIO_PROCESS, getpid(), currProcessPri - 2); // 2, Used to calculate priorities. in ProcessTest001()
|
D | process_test_008.cpp | 61 … ret = setpriority(PRIO_PROCESS, getpid(), currProcessPri - 2); // 2, Used to calculate priorities. in ProcessTest001()
|
D | process_test_006.cpp | 60 … ret = setpriority(PRIO_PROCESS, getpid(), currProcessPri - 2); // 2, Used to calculate priorities. in ProcessTest001()
|
D | process_test_002.cpp | 69 ret = setpriority(PRIO_PROCESS, getpid(), currProcessPri); in Testcase()
|
D | process_test_001.cpp | 125 ret = setpriority(PRIO_PROCESS, getpid(), param.sched_priority); in Testcase()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
D | send_signal.c | 61 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/ |
D | sys_test_028.cpp | 38 ret = setpriority(PRIO_PROCESS, 0, 15); /* 15, set priority for test */ in TestCase()
|
/kernel/liteos_a/testsuites/unittest/process/basic/process/full/ |
D | process_test_007.cpp | 52 … ret = setpriority(PRIO_PROCESS, getpid(), currProcessPri - 2); // 2, Used to calculate priorities. in ProcessTest001()
|
/kernel/linux/linux-5.10/tools/testing/selftests/mqueue/ |
D | mq_perf_tests.c | 533 if (setpriority(PRIO_PROCESS, 0, -20) != 0) in increase_limits()
|
/kernel/linux/linux-5.10/arch/mips/kernel/syscalls/ |
D | syscall_n64.tbl | 148 138 n64 setpriority sys_setpriority
|
D | syscall_n32.tbl | 148 138 n32 setpriority sys_setpriority
|
D | syscall_o32.tbl | 111 97 o32 setpriority sys_setpriority
|
/kernel/linux/linux-5.10/arch/ia64/kernel/syscalls/ |
D | syscall.tbl | 90 78 common setpriority sys_setpriority
|
/kernel/linux/linux-5.10/arch/x86/entry/syscalls/ |
D | syscall_64.tbl | 152 141 common setpriority sys_setpriority
|
/kernel/linux/linux-5.10/arch/xtensa/kernel/syscalls/ |
D | syscall.tbl | 147 133 common setpriority sys_setpriority
|
/kernel/linux/linux-5.10/tools/perf/arch/x86/entry/syscalls/ |
D | syscall_64.tbl | 152 141 common setpriority sys_setpriority
|
/kernel/linux/linux-5.10/arch/microblaze/kernel/syscalls/ |
D | syscall.tbl | 107 97 common setpriority sys_setpriority
|
/kernel/linux/linux-5.10/tools/perf/arch/s390/entry/syscalls/ |
D | syscall.tbl | 92 97 common setpriority sys_setpriority sys_setpriority
|
/kernel/linux/linux-5.10/arch/sh/kernel/syscalls/ |
D | syscall.tbl | 107 97 common setpriority sys_setpriority
|
/kernel/linux/linux-5.10/arch/parisc/kernel/syscalls/ |
D | syscall.tbl | 110 97 common setpriority sys_setpriority
|
/kernel/linux/linux-5.10/arch/m68k/kernel/syscalls/ |
D | syscall.tbl | 107 97 common setpriority sys_setpriority
|
/kernel/linux/linux-5.10/arch/arm/tools/ |
D | syscall.tbl | 112 97 common setpriority sys_setpriority
|
12