Searched refs:PRIO_PROCESS (Results 1 – 5 of 5) sorted by relevance
/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/ |
A D | send_signal.c | 56 old_prio = getpriority(PRIO_PROCESS, 0); in test_send_signal_common() 58 ASSERT_OK(setpriority(PRIO_PROCESS, 0, -20), "setpriority"); in test_send_signal_common() 78 ASSERT_OK(setpriority(PRIO_PROCESS, 0, old_prio), "setpriority"); in test_send_signal_common()
|
/linux-6.3-rc2/include/uapi/linux/ |
A D | resource.h | 58 #define PRIO_PROCESS 0 macro
|
/linux-6.3-rc2/tools/testing/selftests/mqueue/ |
A D | mq_perf_tests.c | 536 if (setpriority(PRIO_PROCESS, 0, -20) != 0) in increase_limits() 653 cur_nice = getpriority(PRIO_PROCESS, 0); in main()
|
/linux-6.3-rc2/kernel/ |
A D | sys.c | 220 if (which > PRIO_USER || which < PRIO_PROCESS) in SYSCALL_DEFINE3() 232 case PRIO_PROCESS: in SYSCALL_DEFINE3() 290 if (which > PRIO_USER || which < PRIO_PROCESS) in SYSCALL_DEFINE2() 295 case PRIO_PROCESS: in SYSCALL_DEFINE2()
|
/linux-6.3-rc2/tools/power/x86/turbostat/ |
A D | turbostat.c | 3515 original_priority = getpriority(PRIO_PROCESS, 0); in set_my_sched_priority() 3519 retval = setpriority(PRIO_PROCESS, 0, priority); in set_my_sched_priority() 3524 retval = getpriority(PRIO_PROCESS, 0); in set_my_sched_priority()
|
Completed in 26 milliseconds