Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/time/tick-broadcast.c ___tick_broadcast_oneshot_control() -> broadcast_needs_cpu()

Type Parameter Key Value
PARAM_VALUE 0 bc 0,4096-ptr_max
PARAM_VALUE 1 cpu 0
DATA_SOURCE 1 cpu $2
PREEMPT_ADD <- disables preempt
LOCK2 global &tick_broadcast_lock
LOCK2 irq

kernel/time/tick-broadcast.c ___tick_broadcast_oneshot_control() -> broadcast_needs_cpu()

Type Parameter Key Value
PARAM_VALUE 0 bc 4096-ptr_max
PARAM_VALUE 1 cpu 0
DATA_SOURCE 1 cpu $2
PREEMPT_ADD <- disables preempt
LOCK2 global &tick_broadcast_lock
LOCK2 irq

kernel/time/tick-broadcast.c broadcast_shutdown_local() -> broadcast_needs_cpu()

Type Parameter Key Value
PARAM_VALUE 0 bc 4096-ptr_max
PARAM_VALUE 0 bc->features 128-u32max
PARAM_VALUE 1 cpu 0
DATA_SOURCE 0 bc $0
BIT_INFO 0 bc->features 0x80,0xffffffff
PREEMPT_ADD
LOCK2 global &tick_broadcast_lock
LOCK2 irq

kernel/time/tick-broadcast.c hotplug_cpu__broadcast_tick_pull() -> broadcast_needs_cpu()

Type Parameter Key Value
PARAM_VALUE 0 bc 4096-ptr_max
PARAM_VALUE 1 cpu 0-s32max
DATA_SOURCE 1 cpu $0
STR_LEN 0 bc (-1),8-9,11-29,31-34,38
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags
LOCK2 global &tick_broadcast_lock
HALF_LOCKED2 global &cpuhp_state_mutex
HALF_LOCKED2 irq