Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/cpu.c __cpuhp_kick_ap() -> wait_for_ap_thread()

Type Parameter Key Value
PARAM_VALUE 0 st 4096-ptr_max
PARAM_VALUE 0 st->cb_state 0,84-141,143-s32max
PARAM_VALUE 0 st->result 0
PARAM_VALUE 0 st->should_run 1
PARAM_VALUE 0 st->thread 4096-ptr_max
PARAM_VALUE 0 st->thread->blocked_on 0
PARAM_VALUE 0 st->thread->cpus_ptr 4096-ptr_max
PARAM_VALUE 0 st->thread->migration_disabled 0-1
PARAM_VALUE 0 st->thread->mm->mm_cid.irq_work.node.a_flags.counter 0-s32max
PARAM_VALUE 0 st->thread->mm->mm_cid.max_cids 0-s32max
PARAM_VALUE 0 st->thread->mm->mm_cid.pcpu_thrs 1-1073741823
PARAM_VALUE 0 st->thread->mm->mm_cid.update_deferred 1
PARAM_VALUE 0 st->thread->on_rq 0-1,3-255
PARAM_VALUE 0 st->thread->pushable_dl_tasks.__rb_parent_color 1
PARAM_VALUE 0 st->thread->pushable_tasks.prio_list.next->prev 4096-ptr_max
PARAM_VALUE 0 st->thread->saved_state 0
PARAM_VALUE 0 st->thread->se.cfs_rq->rq->curr->mm->sc_stat.cpu (-1)
PARAM_VALUE 0 st->thread->se.cfs_rq->rq->curr->pref_llc_queued 0-1
PARAM_VALUE 0 st->thread->se.cfs_rq->rq->donor->__state 0,512
PARAM_VALUE 0 st->thread->se.cfs_rq->rq->donor->core_node.__rb_parent_color 1
PARAM_VALUE 0 st->thread->se.cfs_rq->rq->donor->dl.dl_timer.base->cpu_base->expires_next 0-s64max
PARAM_VALUE 0 st->thread->se.cfs_rq->rq->donor->mm->mm_cid.irq_work.node.a_flags.counter 0-s32max
PARAM_VALUE 0 st->thread->se.cfs_rq->rq->donor->pushable_dl_tasks.__rb_parent_color 1
PARAM_VALUE 0 st->thread->se.cfs_rq->rq->donor->rseq.event.ids_changed 1
PARAM_VALUE 0 st->thread->se.cfs_rq->rq->donor->sched_migrated 1
PARAM_VALUE 0 st->thread->se.cfs_rq->rq->fair_server.dl_timer.base->cpu_base->expires_next 0-s64max
PARAM_VALUE 0 st->thread->se.cfs_rq->rq->fair_server.inactive_timer.flags 0-4294967295
PARAM_VALUE 0 st->thread->se.cfs_rq->rq->fair_server.rb_node.__rb_parent_color 1
PARAM_VALUE 0 st->thread->wake_cpu 0-s32max
CAPPED_DATA 0 st->thread 1
DATA_SOURCE 0 st $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 st->bringup 0-1
USER_DATA 1 bringup 0-1
HALF_LOCKED2 global &cpu_add_remove_lock
HALF_LOCKED2 global &cpuhp_state_mutex

kernel/cpu.c bringup_wait_for_ap_online() -> wait_for_ap_thread()

Type Parameter Key Value
PARAM_VALUE 1 bringup 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &sparse_irq_lock
HALF_LOCKED2 global &cpuhp_state_mutex
HALF_LOCKED2 irq

kernel/cpu.c takedown_cpu() -> wait_for_ap_thread()

Type Parameter Key Value
PARAM_VALUE 0 st 4096-ptr_max
PARAM_VALUE 0 st->thread 4096-ptr_max
PARAM_VALUE 1 bringup 0
CAPPED_DATA 0 st->thread 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &sparse_irq_lock
HALF_LOCKED2 global &cpuhp_state_mutex
HALF_LOCKED2 irq