Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/sched/fair.c enqueue_hierarchy() -> __calc_prop_weight()

Type Parameter Key Value
PARAM_VALUE 0 cfs_rq 4096-ptr_max
PARAM_VALUE 1 se 4096-ptr_max
PARAM_VALUE 2 weight 2-u64max
BUF_SIZE 1 se (-1),320
BUF_SIZE 1 se (-1),320
CAPPED_DATA 0 cfs_rq 1
FUZZY_MAX 2 weight 1048576
PARAM_COMPARE 0 cfs_rq == $1->cfs_rq
PARAM_COMPARE 0 cfs_rq == $1->cfs_rq
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &p->pi_lock
HALF_LOCKED2 &p->sighand->siglock

kernel/sched/fair.c reweight_task_fair() -> __calc_prop_weight()

Type Parameter Key Value
PARAM_VALUE 1 se 4096-ptr_max
PARAM_VALUE 2 weight 2-u64max
BUF_SIZE 1 se (-1),320
BUF_SIZE 1 se (-1),320
FUZZY_MAX 2 weight 1048576
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 se->slice 100001-99999999
HALF_LOCKED2 global &tasklist_lock
HALF_LOCKED2 rcu_read

kernel/sched/fair.c set_next_task_fair() -> __calc_prop_weight()

Type Parameter Key Value
PARAM_VALUE 0 cfs_rq 4096-ptr_max
PARAM_VALUE 1 se 4096-ptr_max
PARAM_VALUE 2 weight 2-u64max
BUF_SIZE 1 se (-1),320
BUF_SIZE 1 se (-1),320
FUZZY_MAX 2 weight 1048576
PARAM_COMPARE 0 cfs_rq == $1->cfs_rq
PARAM_COMPARE 0 cfs_rq == $1->cfs_rq
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 irq

kernel/sched/fair.c task_tick_fair() -> __calc_prop_weight()

Type Parameter Key Value
PARAM_VALUE 0 cfs_rq 4096-ptr_max
PARAM_VALUE 1 se 4096-ptr_max
PARAM_VALUE 2 weight 2-u64max
BUF_SIZE 1 se (-1),320
BUF_SIZE 1 se (-1),320
FUZZY_MAX 2 weight 1048576
PARAM_COMPARE 0 cfs_rq == $1->cfs_rq
PARAM_COMPARE 0 cfs_rq == $1->cfs_rq
RX_PATH
TASK_NOT_RUNNING