Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/crypto/intel/qat/qat_common/qat_uclo.c qat_uclo_broadcast_load_fw() -> qat_hal_check_ae_active()

Type Parameter Key Value
PARAM_VALUE 0 handle 4096-ptr_max
PARAM_VALUE 0 handle->chip_info 4096-ptr_max
PARAM_VALUE 0 handle->chip_info->fw_auth 1
PARAM_VALUE 0 handle->chip_info->tgroup_share_ustore 1
PARAM_VALUE 0 handle->hal_handle 4096-ptr_max
PARAM_VALUE 0 handle->hal_handle->ae_max_num 1-u32max
PARAM_VALUE 0 handle->pci_dev 4096-ptr_max
PARAM_VALUE 0 handle->pci_dev->dev.cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 handle->pci_dev->dev.cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 handle->pci_dev->dev.cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 handle->pci_dev->dev.dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 handle->pci_dev->dev.dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 handle->pci_dev->dev.dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 handle->pci_dev->dev.dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 handle->pci_dev->dev.dma_uses_io_tlb 1
PARAM_VALUE 0 handle->pci_dev->dev.iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 handle->sobj_handle 4096-ptr_max
PARAM_VALUE 1 ae 0-64
CAPPED_DATA 0 handle->hal_handle->ae_max_num 1
CAPPED_DATA 0 handle->pci_dev 1
CAPPED_DATA 1 ae 1
DATA_SOURCE 0 handle $0
DATA_SOURCE 1 ae r find_next_bit
PARAM_COMPARE 1 ae < $0->hal_handle->ae_max_num
RX_PATH
TASK_NOT_RUNNING
LOCK2 &accel_dev->state_lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pdev->dev.mutex
HALF_LOCKED2 global &pci_rescan_remove_lock
TYPE_LOCK (struct adf_accel_dev)->state_lock

drivers/crypto/intel/qat/qat_common/qat_uclo.c qat_uclo_load_fw() -> qat_hal_check_ae_active()

Type Parameter Key Value
PARAM_VALUE 0 handle 4096-ptr_max
PARAM_VALUE 0 handle->chip_info 4096-ptr_max
PARAM_VALUE 0 handle->chip_info->fw_auth 1
PARAM_VALUE 0 handle->hal_handle 4096-ptr_max
PARAM_VALUE 0 handle->hal_handle->ae_max_num 1-u32max
PARAM_VALUE 0 handle->pci_dev 4096-ptr_max
PARAM_VALUE 0 handle->pci_dev->dev.cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 handle->pci_dev->dev.cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 handle->pci_dev->dev.cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 handle->pci_dev->dev.dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 handle->pci_dev->dev.dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 handle->pci_dev->dev.dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 handle->pci_dev->dev.dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 handle->pci_dev->dev.dma_uses_io_tlb 1
PARAM_VALUE 0 handle->pci_dev->dev.iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 handle->sobj_handle 4096-ptr_max
PARAM_VALUE 1 ae 0-64
CAPPED_DATA 0 handle->hal_handle->ae_max_num 1
CAPPED_DATA 0 handle->pci_dev 1
CAPPED_DATA 1 ae 1
DATA_SOURCE 0 handle $0
DATA_SOURCE 1 ae r find_next_bit
PARAM_COMPARE 0 handle->hal_handle->ae_max_num > $1
PARAM_COMPARE 1 ae < $0->hal_handle->ae_max_num
RX_PATH
TASK_NOT_RUNNING
LOCK2 &accel_dev->state_lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pdev->dev.mutex
HALF_LOCKED2 global &pci_rescan_remove_lock
TYPE_LOCK (struct adf_accel_dev)->state_lock