Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
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.1.9/include/uapi/linux/
Dresource.h58 #define PRIO_PROCESS 0 macro
/linux-6.1.9/tools/testing/selftests/mqueue/
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.1.9/kernel/
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.1.9/tools/power/x86/turbostat/
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()