Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/sched/core.c proxy_deactivate() -> block_task()

Type Parameter Key Value
PARAM_VALUE 0 rq 4096-ptr_max
PARAM_VALUE 0 rq->__lock.dep_map->name 0-255
PARAM_VALUE 0 rq->avg_dl.util_avg 0-u32max
PARAM_VALUE 0 rq->avg_rt.util_avg 0-u32max
PARAM_VALUE 0 rq->balance_callback->next 0-8420675918325051391,8420675918325051393-u64max
PARAM_VALUE 0 rq->cfs.curr 0
PARAM_VALUE 0 rq->cfs.tasks_timeline.rb_leftmost 4096-ptr_max
PARAM_VALUE 0 rq->cfs.tasks_timeline.rb_root.rb_node 4096-ptr_max
PARAM_VALUE 0 rq->curr->mm->sc_stat.cpu (-1)
PARAM_VALUE 0 rq->curr->pref_llc_queued 0-1
PARAM_VALUE 0 rq->dl.curr 0
PARAM_VALUE 0 rq->dl_server 0
PARAM_VALUE 0 rq->donor 4096-ptr_max
PARAM_VALUE 0 rq->donor->dl.dl_bw 0
PARAM_VALUE 0 rq->donor->dl.dl_deadline 0
PARAM_VALUE 0 rq->donor->dl.dl_density 0
PARAM_VALUE 0 rq->donor->dl.dl_period 0
PARAM_VALUE 0 rq->donor->dl.dl_timer.base->active.rb_root.rb_leftmost->node.__rb_parent_color 1
PARAM_VALUE 0 rq->donor->dl.dl_timer.base->active.rb_root.rb_leftmost->prev 0
PARAM_VALUE 0 rq->donor->dl.dl_timer.base->cpu_base->expires_next 0-s64max
PARAM_VALUE 0 rq->donor->dl.dl_timer.base->cpu_base->softirq_expires_next 0-s64max
PARAM_VALUE 0 rq->donor->dl.dl_timer.base->index 0-7
PARAM_VALUE 0 rq->donor->dl.dl_timer.node.expires 0-s64max
PARAM_VALUE 0 rq->donor->dl.inactive_timer.base 4096-ptr_max
PARAM_VALUE 0 rq->donor->dl.inactive_timer.node.expires 0-s64max
PARAM_VALUE 0 rq->donor->dl.inactive_timer.node.node.node.__rb_parent_color 1
PARAM_VALUE 0 rq->donor->dl.inactive_timer.node.node.node.rb_left 4096-ptr_max
PARAM_VALUE 0 rq->donor->dl.inactive_timer.node.node.node.rb_right 4096-ptr_max
PARAM_VALUE 0 rq->donor->dl.pi_se 4096-ptr_max
PARAM_VALUE 0 rq->donor->dl.pi_se->pi_se 4096-ptr_max
PARAM_VALUE 0 rq->donor->dl.rb_node.__rb_parent_color 1
PARAM_VALUE 0 rq->donor->dl.rb_node.rb_left 4096-ptr_max
PARAM_VALUE 0 rq->donor->dl.rb_node.rb_right 0,4096-ptr_max
PARAM_VALUE 0 rq->donor->dl_server 0
PARAM_VALUE 0 rq->donor->pushable_dl_tasks.__rb_parent_color 1
PARAM_VALUE 0 rq->donor->pushable_dl_tasks.rb_left 4096-ptr_max
PARAM_VALUE 0 rq->donor->pushable_dl_tasks.rb_right 4096-ptr_max
PARAM_VALUE 0 rq->donor->pushable_tasks.node_list.next->next 4096-ptr_max
PARAM_VALUE 0 rq->donor->pushable_tasks.node_list.next->prev 4096-ptr_max
PARAM_VALUE 0 rq->donor->pushable_tasks.node_list.prev->next 4096-ptr_max
PARAM_VALUE 0 rq->donor->pushable_tasks.node_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 rq->donor->pushable_tasks.prio_list.next->next 4096-ptr_max
PARAM_VALUE 0 rq->donor->pushable_tasks.prio_list.prev->next 4096-ptr_max
PARAM_VALUE 0 rq->donor->pushable_tasks.prio_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 rq->donor->se.cfs_rq->propagate 1
PARAM_VALUE 0 rq->donor->se.cfs_rq->removed.lock.dep_map->name 0-255
PARAM_VALUE 0 rq->donor->se.cfs_rq->removed.lock.owner (-1)
PARAM_VALUE 0 rq->donor->se.cfs_rq->removed.lock.owner_cpu u32max
PARAM_VALUE 0 rq->donor->se.cfs_rq->rq->curr->mm->sc_stat.cpu (-1)
PARAM_VALUE 0 rq->donor->se.cfs_rq->rq->curr->pref_llc_queued 0-1
PARAM_VALUE 0 rq->donor->se.cfs_rq->rq->fair_server.dl_timer.base->cpu_base->expires_next 0-s64max
PARAM_VALUE 0 rq->donor->se.cfs_rq->rq->fair_server.dl_timer.base->index 0-7
PARAM_VALUE 0 rq->donor->se.cfs_rq->rq->fair_server.inactive_timer.base 4096-ptr_max
PARAM_VALUE 0 rq->donor->se.cfs_rq->rq->fair_server.inactive_timer.flags 0-4294967295
PARAM_VALUE 0 rq->donor->se.cfs_rq->rq->fair_server.inactive_timer.node.expires 0-s64max
PARAM_VALUE 0 rq->donor->se.cfs_rq->rq->fair_server.inactive_timer.node.node.node.rb_left 4096-ptr_max
PARAM_VALUE 0 rq->donor->se.cfs_rq->rq->fair_server.inactive_timer.node.node.node.rb_right 4096-ptr_max
PARAM_VALUE 0 rq->donor->se.cfs_rq->rq->fair_server.pi_se 4096-ptr_max
PARAM_VALUE 0 rq->donor->se.cfs_rq->rq->fair_server.pi_se->pi_se 4096-ptr_max
PARAM_VALUE 0 rq->donor->se.cfs_rq->rq->fair_server.rb_node.__rb_parent_color 1
PARAM_VALUE 0 rq->donor->se.cfs_rq->tg->cfs_bandwidth.idle 0-1
PARAM_VALUE 0 rq->donor->se.cfs_rq->tg->cfs_bandwidth.period 0-1000000000
PARAM_VALUE 0 rq->donor->se.cfs_rq->tg->cfs_bandwidth.period_active 0-1
PARAM_VALUE 0 rq->donor->se.cfs_rq->tg->cfs_bandwidth.slack_started 0-1
PARAM_VALUE 0 rq->donor->se.cfs_rq->tg->rt_bandwidth.rt_period_active 0-1
PARAM_VALUE 0 rq->donor->se.cfs_rq->throttled_list.next 4096-ptr_max
PARAM_VALUE 0 rq->fair_server.dl_bw 0
PARAM_VALUE 0 rq->fair_server.dl_deadline 0
PARAM_VALUE 0 rq->fair_server.dl_density 0
PARAM_VALUE 0 rq->fair_server.dl_period 0
PARAM_VALUE 0 rq->fair_server.dl_timer.base->cpu_base->expires_next 0-s64max
PARAM_VALUE 0 rq->fair_server.dl_timer.base->cpu_base->softirq_expires_next 0-s64max
PARAM_VALUE 0 rq->fair_server.dl_timer.base->index 0-7
PARAM_VALUE 0 rq->fair_server.inactive_timer.base 4096-ptr_max
PARAM_VALUE 0 rq->fair_server.inactive_timer.flags 0-4294967295
PARAM_VALUE 0 rq->fair_server.inactive_timer.node.expires 0-s64max
PARAM_VALUE 0 rq->fair_server.inactive_timer.node.node.node.__rb_parent_color 1
PARAM_VALUE 0 rq->fair_server.inactive_timer.node.node.node.rb_left 4096-ptr_max
PARAM_VALUE 0 rq->fair_server.inactive_timer.node.node.node.rb_right 4096-ptr_max
PARAM_VALUE 0 rq->fair_server.pi_se 4096-ptr_max
PARAM_VALUE 0 rq->fair_server.pi_se->dl_bw 0
PARAM_VALUE 0 rq->fair_server.pi_se->dl_deadline 0
PARAM_VALUE 0 rq->fair_server.pi_se->dl_defer 0
PARAM_VALUE 0 rq->fair_server.pi_se->dl_defer_armed 0
PARAM_VALUE 0 rq->fair_server.pi_se->dl_defer_running 0
PARAM_VALUE 0 rq->fair_server.pi_se->dl_density 0
PARAM_VALUE 0 rq->fair_server.pi_se->dl_overrun 0
PARAM_VALUE 0 rq->fair_server.pi_se->dl_period 0
PARAM_VALUE 0 rq->fair_server.pi_se->dl_runtime 0
PARAM_VALUE 0 rq->fair_server.pi_se->dl_server 0
PARAM_VALUE 0 rq->fair_server.pi_se->dl_throttled 0
PARAM_VALUE 0 rq->fair_server.pi_se->dl_yielded 0
PARAM_VALUE 0 rq->fair_server.pi_se->flags 0
PARAM_VALUE 0 rq->fair_server.pi_se->pi_se 4096-ptr_max
PARAM_VALUE 0 rq->fair_server.rb_node.__rb_parent_color 1
PARAM_VALUE 0 rq->fair_server.rb_node.rb_left 0,4096-ptr_max
PARAM_VALUE 0 rq->fair_server.rb_node.rb_right 0,4096-ptr_max
PARAM_VALUE 0 rq->fair_server.rq->rt.rt_runtime_lock.dep_map->name 0-255
PARAM_VALUE 0 rq->fair_server.rq->rt.rt_runtime_lock.owner (-1)
PARAM_VALUE 0 rq->fair_server.rq->rt.rt_runtime_lock.owner_cpu u32max
PARAM_VALUE 0 rq->fair_server.rq->rt.rt_runtime_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 rq->idle 4096-ptr_max
PARAM_VALUE 0 rq->idle_stamp 0
PARAM_VALUE 0 rq->next_class 4324740454212079616
PARAM_VALUE 0 rq->next_class->balance 8638459336928428032
PARAM_VALUE 0 rq->next_class->dequeue_task 144070366336110592
PARAM_VALUE 0 rq->next_class->enqueue_task 0
PARAM_VALUE 0 rq->next_class->find_lock_rq 0
PARAM_VALUE 0 rq->next_class->get_prio 0
PARAM_VALUE 0 rq->next_class->get_rr_interval 0
PARAM_VALUE 0 rq->next_class->migrate_task_rq 0
PARAM_VALUE 0 rq->next_class->pick_task 431140902756892672
PARAM_VALUE 0 rq->next_class->prio_changed 6494577740674654208
PARAM_VALUE 0 rq->next_class->put_prev_task 3309484659987406848
PARAM_VALUE 0 rq->next_class->reweight_task 0
PARAM_VALUE 0 rq->next_class->rq_offline 0
PARAM_VALUE 0 rq->next_class->rq_online 0
PARAM_VALUE 0 rq->next_class->select_task_rq 8680431057181843456
PARAM_VALUE 0 rq->next_class->set_cpus_allowed 7127180339355369472
PARAM_VALUE 0 rq->next_class->set_next_task 4361835877848195072
PARAM_VALUE 0 rq->next_class->switched_from 0
PARAM_VALUE 0 rq->next_class->switched_to 0
PARAM_VALUE 0 rq->next_class->switching_from 0
PARAM_VALUE 0 rq->next_class->switching_to 1207858565835722752
PARAM_VALUE 0 rq->next_class->task_change_group 0
PARAM_VALUE 0 rq->next_class->task_dead 0
PARAM_VALUE 0 rq->next_class->task_fork 0
PARAM_VALUE 0 rq->next_class->task_is_throttled 0
PARAM_VALUE 0 rq->next_class->task_tick 5021036204559331328
PARAM_VALUE 0 rq->next_class->task_woken 0
PARAM_VALUE 0 rq->next_class->uclamp_enabled 0
PARAM_VALUE 0 rq->next_class->update_curr 8139140255186919424
PARAM_VALUE 0 rq->next_class->wakeup_preempt 6679893776262037504
PARAM_VALUE 0 rq->next_class->yield_task 0
PARAM_VALUE 0 rq->next_class->yield_to_task 0
PARAM_VALUE 0 rq->rt.highest_prio.next s32min-2147483646
PARAM_VALUE 0 rq->rt.overloaded 1
PARAM_VALUE 0 rq->rt.pushable_tasks.node_list.next 4096-ptr_max
PARAM_VALUE 0 rq->rt.rt_runtime_lock.dep_map->name 0-255
PARAM_VALUE 0 rq->rt.rt_runtime_lock.owner (-1)
PARAM_VALUE 0 rq->rt.rt_runtime_lock.owner_cpu u32max
PARAM_VALUE 1 p 4096-ptr_max
PARAM_VALUE 1 p->blocked_donor 0,4096-ptr_max
PARAM_VALUE 1 p->blocked_on 0
PARAM_VALUE 1 p->is_blocked 1-255
PARAM_VALUE 2 task_state 0-u32max
CAPPED_DATA 0 rq 1
CAPPED_DATA 0 rq->idle 1
CAPPED_DATA 1 p 1
DATA_SOURCE 0 rq $0
DATA_SOURCE 1 p $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 irq

kernel/sched/core.c proxy_needs_return() -> block_task()

Type Parameter Key Value
PARAM_VALUE 0 rq 4096-ptr_max
PARAM_VALUE 0 rq->balance_callback->next 0-8420675918325051391,8420675918325051393-u64max
PARAM_VALUE 0 rq->clock_update_flags 0,2-u32max
PARAM_VALUE 1 p 4096-ptr_max
PARAM_VALUE 1 p->blocked_on 0
PARAM_VALUE 1 p->is_blocked 1-255
PARAM_VALUE 1 p->kcov->mode 0-4294967295
PARAM_VALUE 1 p->kcov->remote 0-1
PARAM_VALUE 1 p->kcov->remote_size 0-4294967295
PARAM_VALUE 1 p->kcov_remote->mode 0-4294967295
PARAM_VALUE 1 p->kcov_remote->remote 0-1
PARAM_VALUE 1 p->kcov_remote->remote_size 0-4294967295
PARAM_VALUE 1 p->latency_record->count 0-4294967295
PARAM_VALUE 1 p->latency_record->max 0-s32max
PARAM_VALUE 1 p->latency_record->time 0-s32max
PARAM_VALUE 1 p->mm->mmap_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 1 p->mm->mmap_lock.first_waiter->type 0-1
PARAM_VALUE 1 p->on_rq 1
PARAM_VALUE 1 p->ptracer_cred->process_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 1 p->ptracer_cred->process_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 1 p->ptracer_cred->request_key_auth->user->qnbytes s32min-s32max
PARAM_VALUE 1 p->ptracer_cred->request_key_auth->user->qnkeys s32min-s32max
PARAM_VALUE 1 p->ptracer_cred->session_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 1 p->ptracer_cred->session_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 1 p->ptracer_cred->thread_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 1 p->ptracer_cred->thread_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 1 p->sched_class->balance 0,4895810773273071616,6490409225490120704,7260575883162300416,8638459336928428032
PARAM_VALUE 1 p->sched_class->dequeue_task 0,144070366336110592,1947835499009560576,6189267449403002880,6455432424639717376,6899636822736904192
PARAM_VALUE 1 p->sched_class->enqueue_task 0,126196709549080576,1834828045319467008,6555940243012698112,7779016139136778240
PARAM_VALUE 1 p->sched_class->find_lock_rq 0,7,1273389266380275712,1330506845949976576,2186316422496772096,3746302679399247872,7992910395761221632
PARAM_VALUE 1 p->sched_class->get_prio 0,7,5165838827171962880,5589494719909007360,5857971317054578688,7142770315824652288
PARAM_VALUE 1 p->sched_class->get_rr_interval 0,160577115725877248,5264859755264851968,8566262156424376320
PARAM_VALUE 1 p->sched_class->migrate_task_rq 0,20,4096-ptr_max
PARAM_VALUE 1 p->sched_class->pick_task 0,71,4096-ptr_max
PARAM_VALUE 1 p->sched_class->prio_changed 0,6,4096-ptr_max
PARAM_VALUE 1 p->sched_class->put_prev_task 0,45,4096-ptr_max
PARAM_VALUE 1 p->sched_class->reweight_task 0,1146300274019463168,2737281516638617600,4228469244769832960,5264859755264851968,6494577740674654208,7383617159121645568
PARAM_VALUE 1 p->sched_class->rq_offline 0,6,4096-ptr_max
PARAM_VALUE 1 p->sched_class->rq_online 0,5,4096-ptr_max
PARAM_VALUE 1 p->sched_class->select_task_rq 0,43,84,4096-ptr_max
PARAM_VALUE 1 p->sched_class->set_cpus_allowed 0,7,1927640468783054848,4090974917235912704,4284209241675612160,5094656021401329664,7127180339355369472
PARAM_VALUE 1 p->sched_class->set_next_task 0,6,33,4096-ptr_max
PARAM_VALUE 1 p->sched_class->switched_from 0,8,2762873923526262784,6932178706407411712,8530452231382753280,8897597262779232256
PARAM_VALUE 1 p->sched_class->switched_to 0,6,1207858565835722752,5165838827171962880,5857971317054578688,6355784522873475072,7142770315824652288
PARAM_VALUE 1 p->sched_class->switching_from 0,2762873923526262784,6742757381008068608
PARAM_VALUE 1 p->sched_class->switching_to 0,8,1207858565835722752,6355784522873475072,6932178706407411712,8530452231382753280,8897597262779232256
PARAM_VALUE 1 p->sched_class->task_change_group 0,2420086066110373888,2446272091500916736,2561397482238263296,2943871782664327168,7251702690162270208,8139140255186919424
PARAM_VALUE 1 p->sched_class->task_dead 0,1181151505743122432,6092562452304658432,6742757381008068608
PARAM_VALUE 1 p->sched_class->task_fork 0,5,4096-ptr_max
PARAM_VALUE 1 p->sched_class->task_is_throttled 0,72,626302238049026048,4879098428662644736,6508522699847725056,7251702690162270208
PARAM_VALUE 1 p->sched_class->task_tick 0,6,4096-ptr_max
PARAM_VALUE 1 p->sched_class->task_woken 0,4,1111187247153754112,4090974917235912704,4284209241675612160,4715741308934107136
PARAM_VALUE 1 p->sched_class->uclamp_enabled 0-1
PARAM_VALUE 1 p->sched_class->update_curr 0,2,85,4096-ptr_max
PARAM_VALUE 1 p->sched_class->wakeup_preempt 0,1077039320164851712,1147033115188453376,2990157993661198336,6476960569952718848,6679893776262037504
PARAM_VALUE 1 p->sched_class->yield_task 0,2190573298372911104,3192817945493614592,3256919456170586112,7456815790656131072
PARAM_VALUE 1 p->sched_class->yield_to_task 0,3940359203731251200
PARAM_VALUE 1 p->stack_vm_area->nr_pages 0-4294967295
PARAM_VALUE 1 p->thread_pid->attr->exit_code s32min-s32max
PARAM_VALUE 1 p->utask->autask.saved_tf 0-1
PARAM_VALUE 2 task_state 512
BUF_SIZE 1 p (-1),112
BUF_SIZE 1 p (-1),112
CAPPED_DATA 1 p 1
DATA_SOURCE 0 rq $0
DATA_SOURCE 1 p $1
PARAM_COMPARE 1 p != $0->curr
PARAM_COMPARE 1 p != $0->curr
NOSPEC 1 p->thread.fsbase
NOSPEC 1 p->thread.gsbase
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 p->exit_code 0-64
USER_DATA 1 p->exit_signal 1-64[c]
USER_DATA 1 p->group_leader->thread.fsbase 0-s32max[c]
USER_DATA 1 p->group_leader->thread.gsbase 0-s32max[c]
USER_DATA 1 p->ptrace 0-u32max[c]
USER_DATA 1 p->syscall_dispatch.len 0-u64max
USER_DATA 1 p->syscall_dispatch.offset 0-s32max[c]
USER_DATA 1 p->thread.ds 0-u16max
USER_DATA 1 p->thread.es 0-u16max
USER_DATA 1 p->thread.features_locked 0-u64max[c][u]
USER_DATA 1 p->thread.fsbase 0-s32max[c]
USER_DATA 1 p->thread.fsindex 0-u16max
USER_DATA 1 p->thread.gsbase 0-s32max[c]
USER_DATA 1 p->thread.gsindex 0-u16max
USER_DATA 1 p->thread.ptrace_dr7 0-u64max
USER_DATA 1 p->thread.virtual_dr6 0-u64max
NO_OVERFLOW_SIMPLE 1 p->dl.pi_se->dl_runtime
NO_OVERFLOW_SIMPLE 1 p->nsproxy->pid_ns_for_children->pid_cachep->sheaf_capacity
UNITS 1 p unit_byte
LOCK2 irq
LOCK2 1 &p->pi_lock
HALF_LOCKED2 flags
HALF_LOCKED2 1 &p->sighand->siglock
TYPE_LOCK (struct task_struct)->pi_lock

kernel/sched/core.c try_to_block_task() -> block_task()

Type Parameter Key Value
PARAM_VALUE 0 rq 4096-ptr_max
PARAM_VALUE 0 rq->__lock.dep_map->name 0-255
PARAM_VALUE 0 rq->__lock.owner_cpu 0
PARAM_VALUE 0 rq->__lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 rq->clock_update_flags 4
PARAM_VALUE 0 rq->curr 4096-ptr_max
PARAM_VALUE 0 rq->hrtick_sched 2,10
PARAM_VALUE 1 p 4096-ptr_max
PARAM_VALUE 1 p->__state 1-u32max
PARAM_VALUE 1 p->is_blocked 1
PARAM_VALUE 2 task_state 1-u32max
CAPPED_DATA 1 p 1
DATA_SOURCE 0 rq $0
DATA_SOURCE 1 p $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 p unit_byte
LOCK2 irq