Documented in 1 files:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/net/thunderbolt/main.c tbnet_start_xmit() -> tb_ring_tx()

Type Parameter Key Value
PARAM_VALUE 0 ring 4096-ptr_max
PARAM_VALUE 0 ring->nhi 4096-ptr_max
PARAM_VALUE 1 frame 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->tx_global_lock
HALF_LOCKED2 &txq->_xmit_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

drivers/thunderbolt/ctl.c tb_ctl_tx() -> tb_ring_tx()

Type Parameter Key Value
PARAM_VALUE 1 frame 4096-ptr_max
PARAM_VALUE 1 frame->callback 496140806440374272
PARAM_VALUE 1 frame->eof 1-4,6-7,9,11
PARAM_VALUE 1 frame->size 4-256
PARAM_VALUE 1 frame->sof 1-4,6-7,9,11
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/thunderbolt/stream.c tbstream_dev_send_close() -> tb_ring_tx()

Type Parameter Key Value
PARAM_VALUE 0 ring 4096-ptr_max
PARAM_VALUE 0 ring->nhi 4096-ptr_max
PARAM_VALUE 1 frame 4096-ptr_max
PARAM_VALUE 1 frame->eof 3
RX_PATH
TASK_NOT_RUNNING
LOCK2 &sdev->lock
TYPE_LOCK (struct tbstream_dev)->lock

drivers/thunderbolt/stream.c tbstream_dev_send_data() -> tb_ring_tx()

Type Parameter Key Value
PARAM_VALUE 0 ring 4096-ptr_max
PARAM_VALUE 0 ring->nhi 4096-ptr_max
PARAM_VALUE 1 frame 4096-ptr_max
PARAM_VALUE 1 frame->eof 2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 frame->size 0-4095[c]
LOCK2 &sdev->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct tbstream_dev)->lock

drivers/thunderbolt/dma_test.c dma_test_submit_tx() -> tb_ring_tx()

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->nhi->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ring->running 1
PARAM_VALUE 1 frame 4096-ptr_max
PARAM_VALUE 1 frame->buffer_phy 0-18446744073709551614
PARAM_VALUE 1 frame->callback 7333389187423313920
PARAM_VALUE 1 frame->eof 2
PARAM_VALUE 1 frame->list.next 4096-ptr_max
PARAM_VALUE 1 frame->list.prev 4096-ptr_max
PARAM_VALUE 1 frame->size 0
PARAM_VALUE 1 frame->sof 1
NOCHECK_CALL
LOCK2 &attr->mutex
LOCK2 &dt->lock
TYPE_LOCK (struct dma_test)->lock
TYPE_LOCK (struct simple_attr)->mutex