Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/thunderbolt/switch.c nvm_authenticate_device_dma_port() -> dma_port_flash_update_auth_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dma | 4096-ptr_max |
| PARAM_VALUE | 0 | dma->sw | 4096-ptr_max |
| PARAM_VALUE | 0 | dma->sw->tb | 4096-ptr_max |
| PARAM_VALUE | 0 | dma->sw->tb->ctl->frame_pool->dev->cma_area->alloc_mutex.osq.tail.counter | s32min-s32max |
| PARAM_VALUE | 0 | dma->sw->tb->ctl->frame_pool->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | dma->sw->tb->ctl->frame_pool->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | dma->sw->tb->ctl->frame_pool->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | dma->sw->tb->ctl->frame_pool->next_block->next_block | 0 |
| PARAM_VALUE | 0 | dma->sw->tb->ctl->request_queue_lock->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | dma->sw->tb->ctl->request_queue_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dma->sw->tb->ctl->request_queue_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dma->sw->tb->ctl->request_queue_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dma->sw->tb->ctl->request_queue_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dma->sw->tb->ctl->request_queue_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dma->sw->tb->ctl->request_queue_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | dma->sw->tb->ctl->request_queue_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | dma->sw->tb->ctl->request_queue_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | status | 4979045500714356736 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | &sw->tb->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/switch.c nvm_authenticate_host_dma_port() -> dma_port_flash_update_auth_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dma | 4096-ptr_max |
| PARAM_VALUE | 0 | dma->sw | 4096-ptr_max |
| PARAM_VALUE | 0 | dma->sw->tb | 4096-ptr_max |
| PARAM_VALUE | 0 | dma->sw->tb->ctl->frame_pool->dev->cma_area->alloc_mutex.osq.tail.counter | s32min-s32max |
| PARAM_VALUE | 0 | dma->sw->tb->ctl->frame_pool->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | dma->sw->tb->ctl->frame_pool->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | dma->sw->tb->ctl->frame_pool->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | dma->sw->tb->ctl->frame_pool->next_block->next_block | 0 |
| PARAM_VALUE | 0 | dma->sw->tb->ctl->request_queue_lock->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | dma->sw->tb->ctl->request_queue_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dma->sw->tb->ctl->request_queue_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dma->sw->tb->ctl->request_queue_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dma->sw->tb->ctl->request_queue_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dma->sw->tb->ctl->request_queue_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dma->sw->tb->ctl->request_queue_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | dma->sw->tb->ctl->request_queue_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | dma->sw->tb->ctl->request_queue_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | status | 5549560665254227968 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | &sw->tb->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/switch.c tb_switch_add_dma_port() -> dma_port_flash_update_auth_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dma | 4096-ptr_max |
| PARAM_VALUE | 0 | dma->base | 62 |
| PARAM_VALUE | 0 | dma->sw | 4096-ptr_max |
| PARAM_VALUE | 0 | dma->sw->dev.bus | 2619088533168070656 |
| PARAM_VALUE | 0 | dma->sw->dev.devres_head.next | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | dma->sw->dev.devres_head.prev | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | dma->sw->dev.dma_io_tlb_mem | 1473117533515866112 |
| PARAM_VALUE | 0 | dma->sw->dev.dma_io_tlb_pools.next | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | dma->sw->dev.dma_io_tlb_pools.prev | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | dma->sw->dev.dma_pools.next | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | dma->sw->dev.dma_pools.prev | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | dma->sw->dev.groups | 8342772333944647680 |
| PARAM_VALUE | 0 | dma->sw->dev.kobj.kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | dma->sw->dev.kobj.ktype | 5399513539053756416 |
| PARAM_VALUE | 0 | dma->sw->dev.kobj.state_initialized | 1 |
| PARAM_VALUE | 0 | dma->sw->dev.links.consumers.next | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | dma->sw->dev.links.consumers.prev | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | dma->sw->dev.links.defer_sync.next | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | dma->sw->dev.links.defer_sync.prev | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | dma->sw->dev.links.suppliers.next | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | dma->sw->dev.links.suppliers.prev | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | dma->sw->dev.numa_node | (-1) |
| PARAM_VALUE | 0 | dma->sw->dev.parent | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | dma->sw->dev.power.disable_depth | 1 |
| PARAM_VALUE | 0 | dma->sw->dev.power.early_init | 1 |
| PARAM_VALUE | 0 | dma->sw->dev.power.entry.next | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | dma->sw->dev.power.entry.prev | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | dma->sw->dev.power.last_status | (-1) |
| PARAM_VALUE | 0 | dma->sw->dev.power.runtime_auto | 1 |
| PARAM_VALUE | 0 | dma->sw->dev.power.runtime_status | 2 |
| PARAM_VALUE | 0 | dma->sw->dev.power.wait_queue.head.next | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | dma->sw->dev.power.wait_queue.head.prev | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | dma->sw->dev.type | 3070551060236075008 |
| PARAM_VALUE | 0 | dma->sw->generation | 1-4 |
| PARAM_VALUE | 0 | dma->sw->ports | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | dma->sw->safe_mode | 1 |
| PARAM_VALUE | 0 | dma->sw->tb | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 1 | status | 3053239386355793920 |
| PARAM_VALUE | 1 | *status | 0 |
| BUF_SIZE | 0 | dma | 32 |
| BUF_SIZE | 0 | dma | 32 |
| DATA_SOURCE | 0 | dma | r dma_port_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tb->lock |