Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/thunderbolt/dma_test.c dma_test_start_rings() -> dma_test_free_rings()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dt | 4096-ptr_max |
| PARAM_VALUE | 0 | dt->buffer_overflow_errors | 0 |
| PARAM_VALUE | 0 | dt->crc_errors | 0 |
| PARAM_VALUE | 0 | dt->error_code | 0 |
| PARAM_VALUE | 0 | dt->link_speed | 0,10,20,40 |
| PARAM_VALUE | 0 | dt->link_width | 0-2 |
| PARAM_VALUE | 0 | dt->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dt->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dt->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dt->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dt->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dt->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | dt->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | dt->packets_received | 0 |
| PARAM_VALUE | 0 | dt->packets_sent | 0 |
| PARAM_VALUE | 0 | dt->packets_to_receive | 0-1000 |
| PARAM_VALUE | 0 | dt->packets_to_send | 1-1000 |
| PARAM_VALUE | 0 | dt->result | 1 |
| PARAM_VALUE | 0 | dt->tx_ring | 4096-ptr_max |
| PARAM_VALUE | 0 | dt->xd | 4096-ptr_max |
| PARAM_VALUE | 0 | dt->xd->link_speed | 2-s32max |
| PARAM_VALUE | 0 | dt->xd->link_width | 0-s32max |
| PARAM_VALUE | 0 | dt->xd->tb | 4096-ptr_max |
| BUF_SIZE | 0 | dt | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dt | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | dt->packets_to_receive | 1 |
| CAPPED_DATA | 0 | dt->packets_to_send | 1 |
| DATA_SOURCE | 0 | dt | $0 |
| NOCHECK_CALL | |||
| UNITS | 0 | dt | unit_byte |
| LOCK2 | &attr->mutex | ||
| LOCK2 | 0 | &dt->lock | |
| TYPE_LOCK | (struct dma_test)->lock | ||
| TYPE_LOCK | (struct simple_attr)->mutex |
drivers/thunderbolt/dma_test.c dma_test_start_rings() -> dma_test_free_rings()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dt | 4096-ptr_max |
| PARAM_VALUE | 0 | dt->buffer_overflow_errors | 0 |
| PARAM_VALUE | 0 | dt->crc_errors | 0 |
| PARAM_VALUE | 0 | dt->error_code | 0 |
| PARAM_VALUE | 0 | dt->link_speed | 0,10,20,40 |
| PARAM_VALUE | 0 | dt->link_width | 0-2 |
| PARAM_VALUE | 0 | dt->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dt->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dt->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dt->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dt->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dt->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | dt->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | dt->packets_received | 0 |
| PARAM_VALUE | 0 | dt->packets_sent | 0 |
| PARAM_VALUE | 0 | dt->packets_to_receive | 1-1000 |
| PARAM_VALUE | 0 | dt->packets_to_send | 0-1000 |
| PARAM_VALUE | 0 | dt->result | 1 |
| PARAM_VALUE | 0 | dt->tx_hopid | 0-s32max |
| PARAM_VALUE | 0 | dt->xd | 4096-ptr_max |
| PARAM_VALUE | 0 | dt->xd->link_speed | 2-s32max |
| PARAM_VALUE | 0 | dt->xd->link_width | 0-s32max |
| PARAM_VALUE | 0 | dt->xd->tb | 4096-ptr_max |
| PARAM_VALUE | 0 | dt->xd->tb->nhi->lock.rlock.dep_map->name | 0-255 |
| BUF_SIZE | 0 | dt | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dt | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | dt->packets_to_receive | 1 |
| CAPPED_DATA | 0 | dt->packets_to_send | 1 |
| DATA_SOURCE | 0 | dt | $0 |
| NOCHECK_CALL | |||
| UNITS | 0 | dt | unit_byte |
| LOCK2 | &attr->mutex | ||
| LOCK2 | 0 | &dt->lock | |
| TYPE_LOCK | (struct dma_test)->lock | ||
| TYPE_LOCK | (struct simple_attr)->mutex |
drivers/thunderbolt/dma_test.c dma_test_start_rings() -> dma_test_free_rings()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dt | 4096-ptr_max |
| PARAM_VALUE | 0 | dt->buffer_overflow_errors | 0 |
| PARAM_VALUE | 0 | dt->crc_errors | 0 |
| PARAM_VALUE | 0 | dt->error_code | 0 |
| PARAM_VALUE | 0 | dt->link_speed | 0,10,20,40 |
| PARAM_VALUE | 0 | dt->link_width | 0-2 |
| PARAM_VALUE | 0 | dt->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dt->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dt->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dt->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dt->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dt->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | dt->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | dt->packets_received | 0 |
| PARAM_VALUE | 0 | dt->packets_sent | 0 |
| PARAM_VALUE | 0 | dt->packets_to_receive | 1-1000 |
| PARAM_VALUE | 0 | dt->packets_to_send | 0-1000 |
| PARAM_VALUE | 0 | dt->result | 1 |
| PARAM_VALUE | 0 | dt->tx_hopid | 0-s32max |
| PARAM_VALUE | 0 | dt->xd | 4096-ptr_max |
| PARAM_VALUE | 0 | dt->xd->link_speed | 2-s32max |
| PARAM_VALUE | 0 | dt->xd->link_width | 0-s32max |
| PARAM_VALUE | 0 | dt->xd->tb | 4096-ptr_max |
| PARAM_VALUE | 0 | dt->xd->tb->nhi->lock.rlock.dep_map->name | 0-255 |
| BUF_SIZE | 0 | dt | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dt | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | dt->packets_to_receive | 1 |
| CAPPED_DATA | 0 | dt->packets_to_send | 1 |
| DATA_SOURCE | 0 | dt | $0 |
| NOCHECK_CALL | |||
| UNITS | 0 | dt | unit_byte |
| LOCK2 | &attr->mutex | ||
| LOCK2 | 0 | &dt->lock | |
| TYPE_LOCK | (struct dma_test)->lock | ||
| TYPE_LOCK | (struct simple_attr)->mutex |
drivers/thunderbolt/dma_test.c dma_test_start_rings() -> dma_test_free_rings()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dt | 4096-ptr_max |
| PARAM_VALUE | 0 | dt->buffer_overflow_errors | 0 |
| PARAM_VALUE | 0 | dt->crc_errors | 0 |
| PARAM_VALUE | 0 | dt->error_code | 0 |
| PARAM_VALUE | 0 | dt->link_speed | 0,10,20,40 |
| PARAM_VALUE | 0 | dt->link_width | 0-2 |
| PARAM_VALUE | 0 | dt->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dt->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dt->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dt->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dt->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dt->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | dt->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | dt->packets_received | 0 |
| PARAM_VALUE | 0 | dt->packets_sent | 0 |
| PARAM_VALUE | 0 | dt->packets_to_receive | 0-1000 |
| PARAM_VALUE | 0 | dt->packets_to_send | 0-1000 |
| PARAM_VALUE | 0 | dt->result | 1 |
| PARAM_VALUE | 0 | dt->rx_hopid | 0-s32max |
| PARAM_VALUE | 0 | dt->rx_ring | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dt->tx_hopid | 0-s32max |
| PARAM_VALUE | 0 | dt->tx_ring | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dt->xd | 4096-ptr_max |
| PARAM_VALUE | 0 | dt->xd->link_speed | 2-s32max |
| PARAM_VALUE | 0 | dt->xd->link_width | 0-s32max |
| PARAM_VALUE | 0 | dt->xd->tb | 4096-ptr_max |
| PARAM_VALUE | 0 | dt->xd->tb->cm_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dt->xd->tb->ctl->frame_pool->dev->cma_area->alloc_mutex.osq.tail.counter | s32min-s32max |
| PARAM_VALUE | 0 | dt->xd->tb->ctl->frame_pool->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | dt->xd->tb->ctl->frame_pool->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | dt->xd->tb->ctl->frame_pool->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | dt->xd->tb->ctl->request_queue_lock->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | dt->xd->tb->ctl->request_queue_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dt->xd->tb->ctl->request_queue_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dt->xd->tb->ctl->request_queue_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dt->xd->tb->ctl->request_queue_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | dt->xd->tb->privdata->request_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dt->xd->tb->privdata->request_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dt->xd->tb->privdata->request_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dt->xd->tb->privdata->request_lock.osq.tail.counter | 0-s32max |
| BUF_SIZE | 0 | dt | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dt | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | dt->packets_to_receive | 1 |
| CAPPED_DATA | 0 | dt->packets_to_send | 1 |
| DATA_SOURCE | 0 | dt | $0 |
| NOCHECK_CALL | |||
| UNITS | 0 | dt | unit_byte |
| LOCK2 | &attr->mutex | ||
| LOCK2 | 0 | &dt->lock | |
| TYPE_LOCK | (struct dma_test)->lock | ||
| TYPE_LOCK | (struct simple_attr)->mutex |
drivers/thunderbolt/dma_test.c dma_test_stop_rings() -> dma_test_free_rings()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dt | 4096-ptr_max |
| PARAM_VALUE | 0 | dt->buffer_overflow_errors | 0 |
| PARAM_VALUE | 0 | dt->crc_errors | 0 |
| PARAM_VALUE | 0 | dt->error_code | 0-2 |
| PARAM_VALUE | 0 | dt->link_speed | 0,10,20,40 |
| PARAM_VALUE | 0 | dt->link_width | 0-2 |
| PARAM_VALUE | 0 | dt->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dt->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dt->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dt->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dt->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dt->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | dt->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | dt->packets_received | 0 |
| PARAM_VALUE | 0 | dt->packets_to_receive | 0-1000 |
| PARAM_VALUE | 0 | dt->packets_to_send | 0-1000 |
| PARAM_VALUE | 0 | dt->result | 1 |
| PARAM_VALUE | 0 | dt->rx_hopid | 0-s32max |
| PARAM_VALUE | 0 | dt->rx_ring | 4096-ptr_max |
| PARAM_VALUE | 0 | dt->rx_ring->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dt->rx_ring->nhi->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dt->tx_hopid | 0-s32max |
| PARAM_VALUE | 0 | dt->tx_ring | 4096-ptr_max |
| PARAM_VALUE | 0 | dt->tx_ring->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dt->tx_ring->nhi->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dt->xd | 4096-ptr_max |
| PARAM_VALUE | 0 | dt->xd->link_speed | 2-s32max |
| PARAM_VALUE | 0 | dt->xd->link_width | 0-s32max |
| PARAM_VALUE | 0 | dt->xd->tb | 4096-ptr_max |
| PARAM_VALUE | 0 | dt->xd->tb->cm_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dt->xd->tb->ctl->frame_pool->dev->cma_area->alloc_mutex.osq.tail.counter | s32min-s32max |
| PARAM_VALUE | 0 | dt->xd->tb->ctl->frame_pool->dev->dma_io_tlb_mem->dyn_alloc.flags | 0-4294967295 |
| PARAM_VALUE | 0 | dt->xd->tb->ctl->frame_pool->dev->dma_io_tlb_mem->dyn_alloc.is_hard | 0-1 |
| PARAM_VALUE | 0 | dt->xd->tb->ctl->frame_pool->dev->dma_io_tlb_mem->dyn_alloc.is_lazy | 0-1 |
| PARAM_VALUE | 0 | dt->xd->tb->ctl->frame_pool->dev->dma_io_tlb_mem->dyn_alloc.is_queued | 0-1 |
| PARAM_VALUE | 0 | dt->xd->tb->ctl->frame_pool->dev->dma_io_tlb_mem->dyn_alloc.is_soft | 0-1 |
| PARAM_VALUE | 0 | dt->xd->tb->ctl->frame_pool->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | dt->xd->tb->ctl->frame_pool->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | dt->xd->tb->ctl->request_queue_lock->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | dt->xd->tb->ctl->request_queue_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dt->xd->tb->ctl->request_queue_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dt->xd->tb->ctl->request_queue_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dt->xd->tb->ctl->request_queue_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dt->xd->tb->ctl->request_queue_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | dt->xd->tb->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dt->xd->tb->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dt->xd->tb->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dt->xd->tb->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dt->xd->tb->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dt->xd->tb->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | dt->xd->tb->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | dt->xd->tb->nhi->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dt->xd->tb->privdata->request_lock->wait_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | dt->xd->tb->privdata->request_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dt->xd->tb->privdata->request_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dt->xd->tb->privdata->request_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | *dt->xd->tb->ctl->request_queue_lock.first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *dt->xd->tb->nhi->rx_rings | 4096-ptr_max |
| PARAM_VALUE | 0 | *dt->xd->tb->nhi->tx_rings | 4096-ptr_max |
| BUF_SIZE | 0 | dt | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dt | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | dt->packets_to_receive | 1 |
| CAPPED_DATA | 0 | dt->packets_to_send | 1 |
| DATA_SOURCE | 0 | dt | $0 |
| FUZZY_MAX | 0 | dt->error_code | 2 |
| HARD_MAX | 0 | dt->error_code | 2 |
| NOCHECK_CALL | |||
| UNITS | 0 | dt | unit_byte |
| LOCK2 | &attr->mutex | ||
| LOCK2 | 0 | &dt->lock | |
| TYPE_LOCK | (struct dma_test)->lock | ||
| TYPE_LOCK | (struct simple_attr)->mutex |