Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/scsi/leapraid/leapraid_func.c leapraid_sas_volume_add() -> leapraid_raid_volume_remove()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->dev_topo.raid_volume_list.prev 4096-ptr_max
PARAM_VALUE 0 adapter->dev_topo.raid_volume_list.prev->next 4096-ptr_max
PARAM_VALUE 0 adapter->dev_topo.raid_volume_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 adapter->dev_topo.raid_volume_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 adapter->driver_cmds.cfg_op_cmd.mutex.dep_map->name 0-255
PARAM_VALUE 0 adapter->driver_cmds.cfg_op_cmd.mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 adapter->driver_cmds.cfg_op_cmd.mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 adapter->driver_cmds.cfg_op_cmd.mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 adapter->driver_cmds.cfg_op_cmd.mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 adapter->driver_cmds.cfg_op_cmd.mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 adapter->driver_cmds.cfg_op_cmd.mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 adapter->driver_cmds.cfg_op_cmd.mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 adapter->driver_cmds.cfg_op_cmd.status 32768
PARAM_VALUE 0 adapter->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 adapter->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 adapter->pdev->dev.cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 adapter->pdev->dev.cma_area->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 adapter->pdev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 0 adapter->pdev->dev.dma_io_tlb_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 adapter->pdev->dev.dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 adapter->pdev->dev.dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 adapter->pdev->dev.dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 adapter->pdev->dev.dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 adapter->pdev->dev.dma_uses_io_tlb 1
PARAM_VALUE 0 adapter->pdev->dev.iommu->attach_deferred 0-1
PARAM_VALUE 0 adapter->shost->scan_mutex.dep_map->name 0-255
PARAM_VALUE 0 adapter->shost->scan_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 adapter->shost->scan_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 adapter->shost->scan_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 adapter->shost->scan_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 adapter->shost->scan_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 adapter->shost->shost_gendev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 raid_volume 4096-ptr_max
PARAM_VALUE 1 raid_volume->channel 1
PARAM_VALUE 1 raid_volume->list.next 4096-ptr_max
PARAM_VALUE 1 raid_volume->list.next->next 4096-ptr_max
PARAM_VALUE 1 raid_volume->list.prev->next 4096-ptr_max
PARAM_VALUE 1 raid_volume->list.prev->prev 4096-ptr_max
PARAM_VALUE 1 raid_volume->refcnt.refcount.refs.counter (-1073741824)
PARAM_VALUE 1 raid_volume->wwid 1-u64max
BUF_SIZE 1 raid_volume 72
CAPPED_DATA 1 raid_volume->wwid 1
DATA_SOURCE 0 adapter $0
DATA_SOURCE 1 raid_volume r _kzalloc_noprof
NOCHECK_CALL

drivers/scsi/leapraid/leapraid_func.c leapraid_sas_volume_delete_by_ptr() -> leapraid_raid_volume_remove()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->dev_topo.raid_volume_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 adapter->pdev->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 adapter->pdev->dev.class 0,4096-ptr_max
PARAM_VALUE 0 adapter->pdev->dev.driver 0,4096-ptr_max
PARAM_VALUE 1 raid_volume 4096-ptr_max
PARAM_VALUE 1 raid_volume->starget 0,4096-ptr_max
CAPPED_DATA 1 &raid_volume->list 1
DATA_SOURCE 0 adapter $0
DATA_SOURCE 1 raid_volume $1
PARAM_COMPARE 1 &raid_volume->list != $1->list.next
NOCHECK_CALL

drivers/scsi/leapraid/leapraid_os.c leapraid_cleanup_lists() -> leapraid_raid_volume_remove()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->access_ctrl.host_removing 1
PARAM_VALUE 0 adapter->fw_evt_s.fw_evt_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 adapter->fw_evt_s.fw_evt_thread 0
PARAM_VALUE 0 adapter->pdev 4096-ptr_max
PARAM_VALUE 0 adapter->pdev->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 adapter->pdev->dev.class 0,4096-ptr_max
PARAM_VALUE 0 adapter->pdev->dev.driver 0,4096-ptr_max
PARAM_VALUE 0 adapter->scan_dev_desc.driver_loading 0
PARAM_VALUE 0 adapter->scan_dev_desc.wait_driver_loading.lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 raid_volume 4096-ptr_max
PARAM_VALUE 1 raid_volume->starget 0,4096-ptr_max
CAPPED_DATA 0 &adapter->dev_topo.raid_volume_list 1
CAPPED_DATA 1 &raid_volume->list 1
DATA_SOURCE 0 adapter $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/scsi/leapraid/leapraid_os.c leapraid_probe_boot_dev() -> leapraid_raid_volume_remove()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->shost->scan_mutex.dep_map->name 0-255
PARAM_VALUE 0 adapter->shost->scan_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 adapter->shost->scan_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 adapter->shost->scan_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 adapter->shost->scan_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 adapter->shost->scan_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 adapter->shost->shost_gendev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 raid_volume 4096-ptr_max
PARAM_VALUE 1 raid_volume->starget 0
DATA_SOURCE 0 adapter $0
NOCHECK_CALL

drivers/scsi/leapraid/leapraid_os.c leapraid_probe_raid() -> leapraid_raid_volume_remove()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->adapter_attr.raid_support 1-255
PARAM_VALUE 0 adapter->dev_topo.raid_volume_list.prev 4096-ptr_max
PARAM_VALUE 0 adapter->dev_topo.raid_volume_list.prev->next 4096-ptr_max
PARAM_VALUE 0 adapter->dev_topo.raid_volume_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 adapter->dev_topo.raid_volume_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 adapter->shost->shost_gendev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 raid_volume 4096-ptr_max
PARAM_VALUE 1 raid_volume->list.next 4096-ptr_max
PARAM_VALUE 1 raid_volume->refcnt.refcount.refs.counter (-1073741824)
PARAM_VALUE 1 raid_volume->starget 0
CAPPED_DATA 0 &adapter->dev_topo.raid_volume_list 1
DATA_SOURCE 0 adapter $0
NOCHECK_CALL