Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/sched/fair.c select_idle_sibling() -> cpus_share_resources()

Type Parameter Key Value
DATA_SOURCE 0 this_cpu $1
DATA_SOURCE 1 that_cpu $2
PARAM_COMPARE 0 this_cpu != $1
PARAM_COMPARE 1 that_cpu != $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &p->pi_lock
HALF_LOCKED2 &p->sighand->siglock
HALF_LOCKED2 irq
TYPE_LOCK (struct task_struct)->pi_lock

kernel/sched/fair.c select_idle_sibling() -> cpus_share_resources()

Type Parameter Key Value
PARAM_VALUE 0 this_cpu 0-s32max
DATA_SOURCE 1 that_cpu $2
PARAM_COMPARE 0 this_cpu != $1
PARAM_COMPARE 1 that_cpu != $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &p->pi_lock
HALF_LOCKED2 &p->sighand->siglock
HALF_LOCKED2 irq
TYPE_LOCK (struct task_struct)->pi_lock