Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

kernel/sched/build_policy.c is_nice_reduction() -> nice_to_rlimit()

Type Parameter Key Value
DATA_SOURCE 0 nice $1
NOSPEC 0 nice
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 nice (-20)-19[c]
NO_OVERFLOW_SIMPLE 0 nice

kernel/sys.c __do_sys_getpriority() -> nice_to_rlimit()

Type Parameter Key Value
PARAM_VALUE 0 nice s32min-s32max
LOCK2 rcu_read

kernel/sys.c __do_sys_getpriority() -> nice_to_rlimit()

Type Parameter Key Value
PARAM_VALUE 0 nice s32min-s32max
LOCK2 global &tasklist_lock
LOCK2 rcu_read

kernel/sys.c __do_sys_getpriority() -> nice_to_rlimit()

Type Parameter Key Value
PARAM_VALUE 0 nice s32min-s32max

kernel/sys.c __do_sys_getpriority() -> nice_to_rlimit()

Type Parameter Key Value
PARAM_VALUE 0 nice s32min-s32max
LOCK2 rcu_read

kernel/sys.c __do_sys_getpriority() -> nice_to_rlimit()

Type Parameter Key Value
PARAM_VALUE 0 nice s32min-s32max
LOCK2 global &tasklist_lock
LOCK2 rcu_read

kernel/sys.c __do_sys_getpriority() -> nice_to_rlimit()

Type Parameter Key Value
PARAM_VALUE 0 nice s32min-s32max