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, line 938
- drivers/thunderbolt/ctl.c, line 674
- drivers/thunderbolt/dma_test.c, line 150
- drivers/thunderbolt/nhi.c, line 621
- drivers/thunderbolt/stream.c, line 593
Smatch caller information:
drivers/net/thunderbolt/main.c tbnet_open() -> tb_ring_alloc_tx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | hop | (-1) |
| PARAM_VALUE | 2 | size | 256 |
| PARAM_VALUE | 3 | flags | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/thunderbolt/ctl.c tb_ctl_alloc() -> tb_ring_alloc_tx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nhi | 4096-ptr_max |
| PARAM_VALUE | 0 | nhi->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | nhi->dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | nhi->dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | nhi->dev->dma_pools.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | nhi->dev->dma_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | nhi->dev->kobj.sd->attr.notify_next | 0,426918848001064960 |
| PARAM_VALUE | 0 | nhi->dev->kobj.sd->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | nhi->ops->init | 0,9109942058640949248 |
| PARAM_VALUE | 0 | nhi->ops->init_interrupts | 7423307087930736640 |
| PARAM_VALUE | 0 | nhi->ops->shutdown | 4096-ptr_max |
| PARAM_VALUE | 1 | hop | 0 |
| PARAM_VALUE | 2 | size | 10 |
| PARAM_VALUE | 3 | flags | 1 |
| BUF_SIZE | 0 | nhi->rx_rings | (-1)-8184 |
| BUF_SIZE | 0 | nhi->tx_rings | (-1)-8184 |
| DATA_SOURCE | 0 | nhi | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | nhi->hop_count | 0-1023 |
| NO_OVERFLOW_SIMPLE | 0 | nhi->hop_count |
drivers/thunderbolt/stream.c tbstream_dev_start() -> tb_ring_alloc_tx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | hop | (-1) |
| PARAM_VALUE | 3 | flags | 6,14 |
| FUZZY_MAX | 3 | flags | 6 |
| BIT_INFO | 3 | flags | 0x6,0xe |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &sdev->lock |
drivers/thunderbolt/dma_test.c dma_test_start_rings() -> tb_ring_alloc_tx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | hop | (-1) |
| PARAM_VALUE | 2 | size | 64 |
| PARAM_VALUE | 3 | flags | 2,6 |
| FUZZY_MAX | 3 | flags | 2 |
| BIT_INFO | 3 | flags | 0x2,0x6 |
| LOCK2 | &attr->mutex | ||
| LOCK2 | &dt->lock | ||
| TYPE_LOCK | (struct dma_test)->lock | ||
| TYPE_LOCK | (struct simple_attr)->mutex |