Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/nvme/host/fc.c __nvme_fc_init_request() -> fc_dma_mapping_error()

Type Parameter Key Value
PARAM_VALUE 0 dev->dma_io_tlb_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 dev->dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 dev->dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->dma_uses_io_tlb 1
PARAM_VALUE 0 dev->iommu->pci_32bit_workaround 0-1
DATA_SOURCE 1 dma_addr r fc_dma_map_single
RX_PATH
TASK_NOT_RUNNING

drivers/nvme/host/fc.c __nvme_fc_init_request() -> fc_dma_mapping_error()

Type Parameter Key Value
PARAM_VALUE 0 dev->dma_io_tlb_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 dev->dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 dev->dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->dma_uses_io_tlb 1
PARAM_VALUE 0 dev->iommu->pci_32bit_workaround 0-1
DATA_SOURCE 1 dma_addr r fc_dma_map_single
RX_PATH
TASK_NOT_RUNNING

drivers/nvme/host/fc.c __nvme_fc_send_ls_req() -> fc_dma_mapping_error()

Type Parameter Key Value
PARAM_VALUE 0 dev->dma_io_tlb_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->dma_io_tlb_mem->can_grow 0-1
PARAM_VALUE 0 dev->dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 dev->dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 dev->dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->dma_uses_io_tlb 1
DATA_SOURCE 1 dma_addr r fc_dma_map_single
RX_PATH
TASK_NOT_RUNNING
UNITS 1 dma_addr unit_byte
HALF_LOCKED2 &pool->lock

drivers/nvme/host/fc.c nvme_fc_rcv_ls_req() -> fc_dma_mapping_error()

Type Parameter Key Value
PARAM_VALUE 0 dev->dma_io_tlb_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 dev->dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 dev->dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->dma_uses_io_tlb 1
PARAM_VALUE 0 dev->iommu->pci_32bit_workaround 0-1
DATA_SOURCE 1 dma_addr r fc_dma_map_single
RX_PATH
TASK_NOT_RUNNING

drivers/nvme/target/fc.c __nvmet_fc_send_ls_req() -> fc_dma_mapping_error()

Type Parameter Key Value
PARAM_VALUE 0 dev->dma_io_tlb_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 dev->dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 dev->dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->dma_uses_io_tlb 1
PARAM_VALUE 0 dev->iommu->pci_32bit_workaround 0-1
DATA_SOURCE 1 dma_addr r fc_dma_map_single
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 1 dma_addr unit_byte
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &tgtport->lock
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

drivers/nvme/target/fc.c nvmet_fc_alloc_ls_iodlist() -> fc_dma_mapping_error()

Type Parameter Key Value
PARAM_VALUE 0 dev 0,4096-ptr_max
DATA_SOURCE 1 dma_addr r fc_dma_map_single
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex

drivers/nvme/target/fc.c nvmet_fc_prep_fcp_iodlist() -> fc_dma_mapping_error()

Type Parameter Key Value
DATA_SOURCE 1 dma_addr r fc_dma_map_single
LOCK2 &pool->lock