Home
last modified time | relevance | path

Searched refs:PRIO_PROCESS (Results 1 – 5 of 5) sorted by relevance

/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/
A Dsend_signal.c56 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 Dresource.h58 #define PRIO_PROCESS 0 macro
/linux-6.3-rc2/tools/testing/selftests/mqueue/
A Dmq_perf_tests.c536 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 Dsys.c220 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 Dturbostat.c3515 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