Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/sched/build_policy.c __dl_server_detach_bw_locked() -> __dl_sub()

Type Parameter Key Value
PARAM_VALUE 0 dl_b 4096-ptr_max
BUF_SIZE 0 dl_b 88
DATA_SOURCE 0 dl_b $1
DATA_SOURCE 2 cpus $2
PREEMPT_ADD
NOCHECK_CALL
HALF_LOCKED2 0 &dl_b->lock

kernel/sched/build_policy.c dl_bw_manage() -> __dl_sub()

Type Parameter Key Value
PARAM_VALUE 0 dl_b 4096-ptr_max
PARAM_VALUE 0 dl_b->lock.dep_map->name 0-255
PARAM_VALUE 0 dl_b->lock.owner_cpu 0
PARAM_VALUE 0 dl_b->lock.raw_lock.val.counter 0-s32max
BUF_SIZE 0 dl_b 88
DATA_SOURCE 0 dl_b r dl_bw_of
DATA_SOURCE 1 tsk_bw $2
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 global &cpuset_mutex
LOCK2 rcu_read
LOCK2 0 &dl_b->lock
HALF_LOCKED2 global &cgroup_mutex
TYPE_LOCK (struct dl_bw)->lock

kernel/sched/build_policy.c dl_server_apply_params() -> __dl_sub()

Type Parameter Key Value
PARAM_VALUE 0 dl_b 4096-ptr_max
BUF_SIZE 0 dl_b 88
DATA_SOURCE 0 dl_b r dl_bw_of
DATA_SOURCE 2 cpus r dl_bw_cpus
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 _T->lock
LOCK2 _T->rf.flags
LOCK2 0 &dl_b->lock
TYPE_LOCK (struct dl_bw)->lock

kernel/sched/build_policy.c dl_task_offline_migration() -> __dl_sub()

Type Parameter Key Value
PARAM_VALUE 0 dl_b 4096-ptr_max
PARAM_VALUE 0 dl_b->lock.dep_map->name 0-255
PARAM_VALUE 0 dl_b->lock.owner_cpu 0
PARAM_VALUE 0 dl_b->lock.raw_lock.val.counter 0-s32max
BUF_SIZE 0 dl_b 88
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &dl_b->lock
HALF_LOCKED2 irq
TYPE_LOCK (struct dl_bw)->lock

kernel/sched/build_policy.c inactive_task_timer() -> __dl_sub()

Type Parameter Key Value
PARAM_VALUE 0 dl_b 4096-ptr_max
PARAM_VALUE 0 dl_b->lock.dep_map->name 0-255
PARAM_VALUE 0 dl_b->lock.owner_cpu 0
PARAM_VALUE 0 dl_b->lock.raw_lock.val.counter 0-s32max
BUF_SIZE 0 dl_b 88
DATA_SOURCE 0 dl_b r dl_bw_of
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &dl_b->lock
HALF_LOCKED2 irq
TYPE_LOCK (struct dl_bw)->lock

kernel/sched/build_policy.c sched_dl_overflow() -> __dl_sub()

Type Parameter Key Value
PARAM_VALUE 0 dl_b 4096-ptr_max
PARAM_VALUE 0 dl_b->lock.dep_map->name 0-255
PARAM_VALUE 0 dl_b->lock.owner_cpu 0
PARAM_VALUE 0 dl_b->lock.raw_lock.val.counter 0-s32max
BUF_SIZE 0 dl_b 88
DATA_SOURCE 0 dl_b r dl_bw_of
DATA_SOURCE 2 cpus r dl_bw_cpus
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &dl_b->lock
HALF_LOCKED2 global &cpuset_mutex
HALF_LOCKED2 global &tasklist_lock
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct dl_bw)->lock

kernel/sched/build_policy.c sched_dl_overflow() -> __dl_sub()

Type Parameter Key Value
PARAM_VALUE 0 dl_b 4096-ptr_max
PARAM_VALUE 0 dl_b->lock.dep_map->name 0-255
PARAM_VALUE 0 dl_b->lock.owner_cpu 0
PARAM_VALUE 0 dl_b->lock.raw_lock.val.counter 0-s32max
BUF_SIZE 0 dl_b 88
DATA_SOURCE 0 dl_b r dl_bw_of
DATA_SOURCE 2 cpus r dl_bw_cpus
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &dl_b->lock
HALF_LOCKED2 global &cpuset_mutex
HALF_LOCKED2 global &tasklist_lock
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct dl_bw)->lock

kernel/sched/build_policy.c set_cpus_allowed_dl() -> __dl_sub()

Type Parameter Key Value
PARAM_VALUE 0 dl_b 4096-ptr_max
PARAM_VALUE 0 dl_b->lock.dep_map->name 0-255
PARAM_VALUE 0 dl_b->lock.owner_cpu 0
PARAM_VALUE 0 dl_b->lock.raw_lock.val.counter 0-s32max
BUF_SIZE 0 dl_b 88
DATA_SOURCE 0 dl_b r dl_bw_of
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &dl_b->lock
HALF_LOCKED2 &p->pi_lock
HALF_LOCKED2 &p->sighand->siglock
HALF_LOCKED2 irq
HALF_LOCKED2 rf.flags
TYPE_LOCK (struct dl_bw)->lock

kernel/sched/build_policy.c task_non_contending() -> __dl_sub()

Type Parameter Key Value
PARAM_VALUE 0 dl_b 4096-ptr_max
PARAM_VALUE 0 dl_b->lock.dep_map->name 0-255
PARAM_VALUE 0 dl_b->lock.owner_cpu 0
PARAM_VALUE 0 dl_b->lock.raw_lock.val.counter 0-s32max
BUF_SIZE 0 dl_b 88
DATA_SOURCE 0 dl_b r dl_bw_of
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &dl_b->lock
TYPE_LOCK (struct dl_bw)->lock