Defined in 2 files as a prototype:

Defined in 2 files as a function:

Referenced in 3 files:

Smatch caller information:

kernel/rcu/tree.c rcu_cleanup_dead_rnp() -> rcu_preempt_has_tasks()

Type Parameter Key Value
PARAM_VALUE 0 rnp 4096-18446744073709547519
PARAM_VALUE 0 rnp->blkd_tasks.next 4096-ptr_max
CAPPED_DATA 0 rnp 1
DATA_SOURCE 0 rnp $0
PREEMPT_ADD
LOCK2 irq
LOCK2 0 &rnp->lock
TYPE_LOCK (struct rcu_node)->lock

kernel/rcu/tree.c rcu_gp_init() -> rcu_preempt_has_tasks()

Type Parameter Key Value
PARAM_VALUE 0 rnp 4096-18446744073709547519
CAPPED_DATA 0 rnp 1
PREEMPT_ADD <- disables preempt
LOCK2 irq
LOCK2 0 &rnp->lock
TYPE_LOCK (struct rcu_node)->lock

kernel/rcu/tree.c rcu_gp_init() -> rcu_preempt_has_tasks()

Type Parameter Key Value
PARAM_VALUE 0 rnp 4096-18446744073709547519
CAPPED_DATA 0 rnp 1
PREEMPT_ADD <- disables preempt
LOCK2 irq
LOCK2 0 &rnp->lock
TYPE_LOCK (struct rcu_node)->lock

kernel/rcu/tree.c rcu_preempt_check_blocked_tasks() -> rcu_preempt_has_tasks()

Type Parameter Key Value
PARAM_VALUE 0 rnp 4096-18446744073709547519
BUF_SIZE 0 rnp (-1),6402048
BUF_SIZE 0 rnp (-1),6402048
CAPPED_DATA 0 rnp 1
DATA_SOURCE 0 rnp $0
LOCK2 flags
LOCK2 0 &rnp->lock
TYPE_LOCK (struct rcu_node)->lock

kernel/rcu/tree.c sync_exp_reset_tree() -> rcu_preempt_has_tasks()

Type Parameter Key Value
PARAM_VALUE 0 rnp 4096-18446744073709547519
BUF_SIZE 0 rnp (-1),6402048
BUF_SIZE 0 rnp (-1),6402048
CAPPED_DATA 0 rnp 1
CAPPED_DATA 0 rnp->level 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags
LOCK2 0 &rnp->lock
HALF_LOCKED2 global &rcu_state.exp_mutex
TYPE_LOCK (struct rcu_node)->lock