Documented in 1 files:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/net/thunderbolt/main.c, line 543
- drivers/thunderbolt/ctl.c, line 411
- drivers/thunderbolt/dma_test.c, line 296
- drivers/thunderbolt/stream.c
Smatch caller information:
drivers/net/thunderbolt/main.c tbnet_alloc_rx_buffers() -> tb_ring_rx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->nhi | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->nhi->dev->dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ring->nhi->dev->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->nhi->dev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->nhi->dev->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->nhi->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | ring->nhi->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | ring->nhi->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 1 | frame | 4096-ptr_max |
| PARAM_VALUE | 1 | frame->buffer_phy | 0-18446744073709551614 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/thunderbolt/ctl.c tb_ctl_rx_submit() -> tb_ring_rx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | frame | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/thunderbolt/stream.c tbstream_dev_alloc_rx_buffers() -> tb_ring_rx()
| 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->dev->dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ring->nhi->dev->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->nhi->dev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->nhi->dev->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->nhi->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | ring->nhi->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | ring->nhi->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | ring->nhi->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | frame | 4096-ptr_max |
| PARAM_VALUE | 1 | frame->buffer_phy | 0-18446744073709551614 |
| PARAM_VALUE | 1 | frame->callback | 3874639132346892288 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sdev->lock |
drivers/thunderbolt/stream.c tbstream_dev_consume_rx() -> tb_ring_rx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->nhi | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->nhi->dev->flags | 4096-ptr_max |
| PARAM_VALUE | 1 | frame | 4096-ptr_max |
| PARAM_VALUE | 1 | frame->size | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &sdev->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct tbstream_dev)->lock |
drivers/thunderbolt/dma_test.c dma_test_submit_rx() -> tb_ring_rx()
| 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 | 1 | frame | 4096-ptr_max |
| PARAM_VALUE | 1 | frame->buffer_phy | 0-18446744073709551614 |
| PARAM_VALUE | 1 | frame->callback | 4963808380726210560 |
| PARAM_VALUE | 1 | frame->list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | frame->list.prev | 4096-ptr_max |
| NOCHECK_CALL | |||
| LOCK2 | &attr->mutex | ||
| LOCK2 | &dt->lock | ||
| TYPE_LOCK | (struct dma_test)->lock | ||
| TYPE_LOCK | (struct simple_attr)->mutex |