Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/net/thunderbolt/main.c
- drivers/thunderbolt/ctl.c
- drivers/thunderbolt/dma_test.c
- drivers/thunderbolt/nhi.c, line 799
- drivers/thunderbolt/stream.c
Smatch caller information:
drivers/net/thunderbolt/main.c tbnet_connected_work() -> tb_ring_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->in_flight.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->in_flight.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->in_flight.prev->next->next | 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->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | ring->nhi->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ring->queue.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->queue.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->queue.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->running | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/net/thunderbolt/main.c tbnet_connected_work() -> tb_ring_stop()
| 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->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | ring->nhi->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ring->running | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/net/thunderbolt/main.c tbnet_tear_down() -> tb_ring_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &net->connection_lock | ||
| HALF_LOCKED2 | &dev->mutex | ||
| TYPE_LOCK | (struct tbnet)->connection_lock |
drivers/net/thunderbolt/main.c tbnet_tear_down() -> tb_ring_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &net->connection_lock | ||
| HALF_LOCKED2 | &dev->mutex | ||
| TYPE_LOCK | (struct tbnet)->connection_lock |
drivers/thunderbolt/ctl.c tb_ctl_stop() -> tb_ring_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &tb->lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/thunderbolt/ctl.c tb_ctl_stop() -> tb_ring_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &tb->lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/thunderbolt/stream.c tbstream_dev_start() -> tb_ring_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ring->nhi->lock.rlock.dep_map->name | 0-255 |
| CAPPED_DATA | 0 | ring->size | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sdev->lock |
drivers/thunderbolt/stream.c tbstream_dev_start() -> tb_ring_stop()
| 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->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | ring->nhi->lock.rlock.dep_map->name | 0-255 |
| CAPPED_DATA | 0 | ring->size | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sdev->lock |
drivers/thunderbolt/stream.c tbstream_dev_stop() -> tb_ring_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sdev->lock |
drivers/thunderbolt/stream.c tbstream_dev_stop() -> tb_ring_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sdev->lock |
drivers/thunderbolt/stream.c tbstream_dev_stop() -> tb_ring_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sdev->lock |
drivers/thunderbolt/stream.c tbstream_dev_stop() -> tb_ring_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sdev->lock |
drivers/thunderbolt/dma_test.c dma_test_stop_rings() -> tb_ring_stop()
| 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->lock.rlock.dep_map->name | 0-255 |
| NOCHECK_CALL | |||
| LOCK2 | &attr->mutex | ||
| LOCK2 | &dt->lock | ||
| TYPE_LOCK | (struct dma_test)->lock | ||
| TYPE_LOCK | (struct simple_attr)->mutex |
drivers/thunderbolt/dma_test.c dma_test_stop_rings() -> tb_ring_stop()
| 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->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ring->running | 1 |
| NOCHECK_CALL | |||
| LOCK2 | &attr->mutex | ||
| LOCK2 | &dt->lock | ||
| TYPE_LOCK | (struct dma_test)->lock | ||
| TYPE_LOCK | (struct simple_attr)->mutex |