Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/net/thunderbolt/main.c
- drivers/thunderbolt/dma_test.c
- drivers/thunderbolt/nhi.c, line 873
- drivers/thunderbolt/stream.c
Smatch caller information:
drivers/net/thunderbolt/main.c tbnet_open() -> tb_ring_throttling()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 1 | interval_nsec | 128000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/thunderbolt/main.c tbnet_open() -> tb_ring_throttling()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | interval_nsec | 128000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/thunderbolt/stream.c tbstream_dev_start() -> tb_ring_throttling()
| 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->iommu->pci_32bit_workaround | 0-1 |
| 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_throttling()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sdev->lock |
drivers/thunderbolt/dma_test.c dma_test_start_rings() -> tb_ring_throttling()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 1 | interval_nsec | 128000 |
| DATA_SOURCE | 0 | ring | r tb_ring_alloc_tx |
| 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_start_rings() -> tb_ring_throttling()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | interval_nsec | 128000 |
| DATA_SOURCE | 0 | ring | r tb_ring_alloc_rx |
| NOCHECK_CALL | |||
| LOCK2 | &attr->mutex | ||
| LOCK2 | &dt->lock | ||
| TYPE_LOCK | (struct dma_test)->lock | ||
| TYPE_LOCK | (struct simple_attr)->mutex |