Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

kernel/fork.c dup_task_struct() -> clear_tsk_need_resched()

Type Parameter Key Value
PARAM_VALUE 0 tsk 4096-ptr_max
DATA_SOURCE 0 tsk r alloc_task_struct_node
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

kernel/entry/common.c __rseq_grant_slice_extension() -> clear_tsk_need_resched()

Type Parameter Key Value
PARAM_VALUE 0 tsk 4096-ptr_max
DATA_SOURCE 0 tsk r get_current
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 irq

kernel/sched/core.c __schedule() -> clear_tsk_need_resched()

Type Parameter Key Value
PARAM_VALUE 0 tsk 4096-ptr_max
CAPPED_DATA 0 tsk 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 tsk unit_byte
LOCK2 irq