Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/thunderbolt/nhi.c __ring_interrupt() -> __ring_interrupt_mask()

Type Parameter Key Value
PARAM_VALUE 0 ring 4096-ptr_max
PARAM_VALUE 0 ring->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ring->running 1
PARAM_VALUE 0 ring->start_poll 1-u64max
PARAM_VALUE 1 mask 1
DATA_SOURCE 0 ring $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &ring->lock
HALF_LOCKED2 &nhi->lock
HALF_LOCKED2 irq
HALF_LOCKED2 0 &ring->nhi->lock
TYPE_LOCK (struct tb_nhi)->lock
TYPE_LOCK (struct tb_ring)->lock

drivers/thunderbolt/nhi.c tb_ring_poll_complete() -> __ring_interrupt_mask()

Type Parameter Key Value
PARAM_VALUE 0 ring 4096-ptr_max
PARAM_VALUE 0 ring->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ring->nhi 4096-ptr_max
PARAM_VALUE 0 ring->start_poll 1-u64max
PARAM_VALUE 1 mask 0
DATA_SOURCE 0 ring $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &ring->lock
LOCK2 0 &ring->nhi->lock
HALF_LOCKED2 &ni->dev_lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct tb_nhi)->lock
TYPE_LOCK (struct tb_ring)->lock