Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/scsi/smartpqi/smartpqi_init.c pqi_big_passthru_ioctl() -> pqi_map_single()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | buffer | 4096-ptr_max |
| PARAM_VALUE | 3 | buffer_length | 1-4000000 |
| PARAM_VALUE | 4 | data_direction | 0 |
| BUF_SIZE | 1 | sg_descriptor | 64 |
| BUF_SIZE | 2 | buffer | 1-u32max |
| CAPPED_DATA | 3 | buffer_length | 1 |
| DATA_SOURCE | 2 | buffer | r _kmalloc_noprof |
| FUZZY_MAX | 3 | buffer_length | 1 |
| CAPABLE | 0 | 17 | |
| USER_DATA | 3 | buffer_length | 1-4000000[c] |
| USER_PTR | 2 | buffer | |
| HALF_LOCKED2 | &cd->lock |
drivers/scsi/smartpqi/smartpqi_init.c pqi_build_raid_path_request() -> pqi_map_single()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pci_dev->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pci_dev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | pci_dev->dev.dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | pci_dev->dev.driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pci_dev->dev.msi.data->__iter_idx | 0-s64max |
| PARAM_VALUE | 0 | *pci_dev->saved_config_space | 0-4294967295 |
| PARAM_VALUE | 2 | buffer | 0,4096-ptr_max |
| PARAM_VALUE | 3 | buffer_length | 4,8-4000000 |
| PARAM_VALUE | 4 | data_direction | 0-3 |
| BUF_SIZE | 0 | pci_dev | (-1),1-s32max |
| BUF_SIZE | 0 | pci_dev | (-1),1-s32max |
| BUF_SIZE | 1 | sg_descriptor | 64 |
| BUF_SIZE | 2 | buffer | (-1)-0,4,8-s32max |
| BUF_SIZE | 2 | buffer | (-1)-0,4,8-s32max |
| CAPPED_DATA | 3 | buffer_length | 1 |
| CAPPED_DATA | 3 | buffer_length | 1 |
| DATA_SOURCE | 2 | buffer | $4 |
| DATA_SOURCE | 3 | buffer_length | $5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | pci_dev->current_state | 0-3[c] |
| UNITS | 3 | buffer_length | unit_byte |
| BYTE_COUNT | 2 | ==buffer3 | 8050 |
| HALF_LOCKED2 | &ctrl_info->lun_reset_mutex | ||
| HALF_LOCKED2 | &ctrl_info->scan_mutex |
drivers/scsi/smartpqi/smartpqi_init.c pqi_configure_events() -> pqi_map_single()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pci_dev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | pci_dev->dev.dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pci_dev->dev.dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pci_dev->dev.dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | pci_dev->dev.iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | *pci_dev->saved_config_space | 0-4294967295 |
| PARAM_VALUE | 1 | sg_descriptor | 0 |
| PARAM_VALUE | 2 | buffer | 4096-ptr_max |
| PARAM_VALUE | 3 | buffer_length | 1024 |
| PARAM_VALUE | 4 | data_direction | 2 |
| BUF_SIZE | 0 | pci_dev | (-1),1-s32max |
| BUF_SIZE | 0 | pci_dev | (-1),1-s32max |
| BUF_SIZE | 1 | sg_descriptor | 48 |
| BUF_SIZE | 2 | buffer | 1024 |
| DATA_SOURCE | 2 | buffer | r _kmalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | pci_dev->current_state | 0-3[c] |
| UNITS | 3 | buffer_length | unit_byte |
| HALF_LOCKED2 | &ctrl_info->lun_reset_mutex | ||
| HALF_LOCKED2 | &ctrl_info->scan_mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/scsi/smartpqi/smartpqi_init.c pqi_configure_events() -> pqi_map_single()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pci_dev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | pci_dev->dev.dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pci_dev->dev.dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pci_dev->dev.dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pci_dev->dev.dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pci_dev->dev.dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | pci_dev->dev.iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | pci_dev->is_virtfn | 0 |
| PARAM_VALUE | 0 | *pci_dev->saved_config_space | 0-4294967295 |
| PARAM_VALUE | 1 | sg_descriptor | 0 |
| PARAM_VALUE | 2 | buffer | 4096-ptr_max |
| PARAM_VALUE | 3 | buffer_length | 1024 |
| PARAM_VALUE | 4 | data_direction | 1 |
| BUF_SIZE | 0 | pci_dev | (-1),1-s32max |
| BUF_SIZE | 0 | pci_dev | (-1),1-s32max |
| BUF_SIZE | 1 | sg_descriptor | 48 |
| BUF_SIZE | 2 | buffer | 1024 |
| DATA_SOURCE | 2 | buffer | r _kmalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | pci_dev->current_state | 0-3[c] |
| UNITS | 3 | buffer_length | unit_byte |
| HALF_LOCKED2 | &ctrl_info->lun_reset_mutex | ||
| HALF_LOCKED2 | &ctrl_info->scan_mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/scsi/smartpqi/smartpqi_init.c pqi_passthru_ioctl() -> pqi_map_single()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | buffer | 1-ptr_max |
| PARAM_VALUE | 3 | buffer_length | 1-u16max |
| PARAM_VALUE | 4 | data_direction | 0 |
| BUF_SIZE | 1 | sg_descriptor | 64 |
| BUF_SIZE | 2 | buffer | 1-u16max |
| CAPPED_DATA | 3 | buffer_length | 1 |
| FUZZY_MAX | 3 | buffer_length | 1 |
| CAPABLE | 0 | 17 | |
| USER_DATA | 3 | buffer_length | 1-u16max[c] |
| USER_PTR | 2 | buffer | |
| HALF_LOCKED2 | &cd->lock |
drivers/scsi/smartpqi/smartpqi_init.c pqi_report_device_capability() -> pqi_map_single()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pci_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | pci_dev->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pci_dev->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pci_dev->dev.cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | pci_dev->dev.cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | pci_dev->dev.cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | pci_dev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | pci_dev->dev.dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pci_dev->dev.dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pci_dev->dev.dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pci_dev->dev.dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pci_dev->dev.dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | pci_dev->dev.driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pci_dev->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | pci_dev->dev.iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | pci_dev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | pci_dev->error_state | 0-2,4-u32max |
| PARAM_VALUE | 0 | pci_dev->is_busmaster | 1 |
| PARAM_VALUE | 0 | pci_dev->is_virtfn | 0 |
| PARAM_VALUE | 0 | pci_dev->npem->supported_indications | 0-4294967295 |
| PARAM_VALUE | 0 | pci_dev->pcie_cap | 0-1 |
| PARAM_VALUE | 0 | *pci_dev->saved_config_space | 0-4294967295 |
| PARAM_VALUE | 2 | buffer | 4096-ptr_max |
| PARAM_VALUE | 3 | buffer_length | 576 |
| PARAM_VALUE | 4 | data_direction | 2 |
| BUF_SIZE | 0 | pci_dev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064 |
| BUF_SIZE | 0 | pci_dev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064 |
| BUF_SIZE | 2 | buffer | 576 |
| CAPPED_DATA | 0 | pci_dev | 1 |
| DATA_SOURCE | 2 | buffer | r _kmalloc_noprof |
| MEM_ZERO | 1 | sg_descriptor | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | pci_dev->current_state | 0-3[c] |
| UNITS | 3 | buffer_length | unit_byte |
| HALF_LOCKED2 | &pool->lock |