Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

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

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

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 1 nice s32min-2147483646
CAPPED_DATA 1 nice 1
DATA_SOURCE 0 p $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 nice s32min-2147483646[c]
NO_OVERFLOW_SIMPLE 0 p->dl.dl_runtime

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

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
DATA_SOURCE 0 p $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 p->dl.dl_runtime