Documented in 1 files:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/ntb/msi.c ntb_msi_setup_mws() -> ntb_mw_set_trans()

Type Parameter Key Value
PARAM_VALUE 0 ntb 4096-ptr_max
PARAM_VALUE 0 ntb->msi 1-u64max
PARAM_VALUE 0 ntb->ops 4096-ptr_max
PARAM_VALUE 0 ntb->ops->link_is_up 4096-ptr_max
PARAM_VALUE 0 ntb->ops->mw_set_trans 0,842518136555724800,3085076618938568704,3660088755932938240,5572014855872364544,6157707328061571072,6317455383581306880,9128674569704988672
PARAM_VALUE 0 ntb->ops->peer_port_count 0,3302194409103257600
PARAM_VALUE 0 ntb->ops->port_number 0,4096-ptr_max
PARAM_VALUE 0 ntb->ops->spad_read 0,4096-ptr_max
PARAM_VALUE 0 ntb->pdev 4096-ptr_max
PARAM_VALUE 0 ntb->pdev->dev.msi.data 0,4096-ptr_max
PARAM_VALUE 0 ntb->pdev->dev.msi.data->__iter_idx 0-s64max
PARAM_VALUE 1 pidx 0-254
PARAM_VALUE 2 widx 0-s32max
CAPPED_DATA 1 pidx 1
CAPPED_DATA 2 widx 1
DATA_SOURCE 0 ntb $0
DATA_SOURCE 2 widx r ntb_peer_highest_mw_idx
CONSTRAINT 1 pidx <1889
LOCK2 &_T->lock->msi.data->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 _T->lock

drivers/ntb/msi.c ntb_mw_clear_trans() -> ntb_mw_set_trans()

Type Parameter Key Value
PARAM_VALUE 0 ntb 4096-ptr_max
PARAM_VALUE 0 ntb->ops 4096-ptr_max
PARAM_VALUE 0 ntb->ops->db_set_mask 0,4096-ptr_max
PARAM_VALUE 0 ntb->ops->db_valid_mask 0,4096-ptr_max
PARAM_VALUE 0 ntb->ops->link_disable 0,4096-ptr_max
PARAM_VALUE 0 ntb->ops->link_is_up 0,4096-ptr_max
PARAM_VALUE 0 ntb->ops->mw_clear_trans 0
PARAM_VALUE 0 ntb->ops->mw_set_trans 0,842518136555724800,3085076618938568704,3660088755932938240,5572014855872364544,6157707328061571072,6317455383581306880,9128674569704988672
PARAM_VALUE 0 ntb->ops->peer_port_count 0,3302194409103257600
PARAM_VALUE 0 ntb->ops->port_number 0,4096-ptr_max
PARAM_VALUE 0 ntb->ops->spad_read 0,4096-ptr_max
PARAM_VALUE 0 ntb->pdev->dev.msi.data->__iter_idx 0-s64max
PARAM_VALUE 1 pidx 0-s32max
PARAM_VALUE 2 widx 0-s32max
PARAM_VALUE 3 addr 0
PARAM_VALUE 4 size 0
CAPPED_DATA 1 pidx 1
DATA_SOURCE 0 ntb $0
DATA_SOURCE 1 pidx $1
DATA_SOURCE 2 widx $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &_T->lock->msi.data->mutex

drivers/ntb/ntb_transport.c ntb_mw_clear_trans() -> ntb_mw_set_trans()

Type Parameter Key Value
PARAM_VALUE 0 ntb 4096-ptr_max
PARAM_VALUE 0 ntb->ops 4096-ptr_max
PARAM_VALUE 0 ntb->ops->mw_clear_trans 0
PARAM_VALUE 0 ntb->ops->mw_set_trans 0,842518136555724800,3085076618938568704,3660088755932938240,5572014855872364544,6157707328061571072,6317455383581306880,9128674569704988672
PARAM_VALUE 0 ntb->ops->peer_spad_write 0,4079965994737197056,4209643071653740544,4854236880108380160,6883140719573549056,8335059707764551680
PARAM_VALUE 0 ntb->pdev->dev.msi.data->__iter_idx 0-s64max
PARAM_VALUE 1 pidx 0
PARAM_VALUE 3 addr 0
PARAM_VALUE 4 size 0
DATA_SOURCE 0 ntb $0
DATA_SOURCE 1 pidx $1
DATA_SOURCE 2 widx $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock

drivers/ntb/ntb_transport.c ntb_set_mw() -> ntb_mw_set_trans()

Type Parameter Key Value
PARAM_VALUE 0 ntb 4096-ptr_max
PARAM_VALUE 0 ntb->ops 4096-ptr_max
PARAM_VALUE 0 ntb->ops->link_is_up 4096-ptr_max
PARAM_VALUE 0 ntb->ops->peer_spad_write 0,4079965994737197056,4209643071653740544,4854236880108380160,6883140719573549056,8335059707764551680
PARAM_VALUE 0 ntb->ops->spad_read 4096-ptr_max
PARAM_VALUE 0 ntb->pdev->dev.msi.data->__iter_idx 0-s64max
PARAM_VALUE 1 pidx 0
PARAM_VALUE 2 widx 0-2147483646
CAPPED_DATA 2 widx 1
DATA_SOURCE 2 widx $1
LOCK2 _T->lock
HALF_LOCKED2 &pool->lock

drivers/ntb/test/ntb_perf.c ntb_mw_clear_trans() -> ntb_mw_set_trans()

Type Parameter Key Value
PARAM_VALUE 0 ntb 4096-ptr_max
PARAM_VALUE 0 ntb->ops 4096-ptr_max
PARAM_VALUE 0 ntb->ops->mw_clear_trans 0
PARAM_VALUE 0 ntb->ops->mw_set_trans 0,842518136555724800,3085076618938568704,3660088755932938240,5572014855872364544,6157707328061571072,6317455383581306880,9128674569704988672
PARAM_VALUE 0 ntb->pdev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 1 pidx 0-254
PARAM_VALUE 2 widx 0-255
PARAM_VALUE 3 addr 0
PARAM_VALUE 4 size 0
CAPPED_DATA 1 pidx 1
DATA_SOURCE 0 ntb $0
DATA_SOURCE 1 pidx $1
DATA_SOURCE 2 widx $2
UNITS 1 pidx unit_array_size
UNITS 2 widx unit_array_size
HALF_LOCKED2 &pool->lock

drivers/ntb/test/ntb_perf.c perf_setup_inbuf() -> ntb_mw_set_trans()

Type Parameter Key Value
PARAM_VALUE 0 ntb 4096-ptr_max
PARAM_VALUE 0 ntb->ops 4096-ptr_max
PARAM_VALUE 0 ntb->ops->link_is_up 4096-ptr_max
PARAM_VALUE 0 ntb->pdev 4096-ptr_max
PARAM_VALUE 0 ntb->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ntb->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ntb->pdev->dev.cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ntb->pdev->dev.cma_area->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ntb->pdev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 0 ntb->pdev->dev.dma_io_tlb_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ntb->pdev->dev.dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 ntb->pdev->dev.dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 ntb->pdev->dev.dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 ntb->pdev->dev.dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ntb->pdev->dev.dma_uses_io_tlb 1
PARAM_VALUE 0 ntb->pdev->dev.iommu->attach_deferred 0-1
PARAM_VALUE 1 pidx 0-254
CAPPED_DATA 0 &ntb->pdev->dev 1
CAPPED_DATA 1 pidx 1
UNITS 1 pidx unit_array_size
UNITS 2 widx unit_array_size
HALF_LOCKED2 &pool->lock

drivers/ntb/test/ntb_tool.c ntb_mw_clear_trans() -> ntb_mw_set_trans()

Type Parameter Key Value
PARAM_VALUE 0 ntb 4096-ptr_max
PARAM_VALUE 0 ntb->ctx_ops->db_event 0,868702929300471808,2075627810892173312,4181182437596090368,5741736033489731584,6480358351476830208
PARAM_VALUE 0 ntb->ctx_ops->link_event 0,602355539050242048,2562276202271940608,5234194995259924480,6800371433181839360,7485608792049762304
PARAM_VALUE 0 ntb->ctx_ops->msg_event 0,167457229910126592,2424244236432859136
PARAM_VALUE 0 ntb->ops 4096-ptr_max
PARAM_VALUE 0 ntb->ops->mw_clear_trans 0
PARAM_VALUE 0 ntb->pdev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 3 addr 0
PARAM_VALUE 4 size 0
DATA_SOURCE 0 ntb $0
DATA_SOURCE 1 pidx $1
DATA_SOURCE 2 widx $2
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 pidx
NO_OVERFLOW_SIMPLE 2 widx
UNITS 1 pidx unit_array_size
UNITS 2 widx unit_array_size

drivers/ntb/test/ntb_tool.c tool_setup_mw() -> ntb_mw_set_trans()

Type Parameter Key Value
PARAM_VALUE 0 ntb 4096-ptr_max
PARAM_VALUE 0 ntb->ops 4096-ptr_max
PARAM_VALUE 0 ntb->ops->link_is_up 4096-ptr_max
PARAM_VALUE 0 ntb->pdev 4096-ptr_max
PARAM_VALUE 0 ntb->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ntb->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ntb->pdev->dev.cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ntb->pdev->dev.cma_area->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ntb->pdev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 0 ntb->pdev->dev.dma_io_tlb_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ntb->pdev->dev.dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 ntb->pdev->dev.dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 ntb->pdev->dev.dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 ntb->pdev->dev.dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ntb->pdev->dev.dma_uses_io_tlb 1
PARAM_VALUE 0 ntb->pdev->dev.iommu->attach_deferred 0-1
CAPPED_DATA 0 &ntb->pdev->dev 1
DATA_SOURCE 1 pidx $1
DATA_SOURCE 2 widx $2
UNITS 1 pidx unit_array_size
UNITS 2 widx unit_array_size