Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/crypto/hisilicon/sec2/sec_crypto.c sec_alg_resource_alloc() -> sec_free_aiv_resource()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->bus 0,4096-ptr_max
PARAM_VALUE 0 dev->class 0,4096-ptr_max
PARAM_VALUE 0 dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->cma_area->nranges s32min-s32max
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_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->dma_uses_io_tlb 1
PARAM_VALUE 0 dev->driver 0,4096-ptr_max
PARAM_VALUE 0 dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 dev->iommu->pci_32bit_workaround 0
PARAM_VALUE 1 res 4096-ptr_max
PARAM_VALUE 1 res->a_ivin 1-ptr_max
PARAM_VALUE 1 res->c_ivin 1-ptr_max
PARAM_VALUE 1 res->depth 1-u16max
PARAM_VALUE 1 res->out_mac 0-ptr_max
PARAM_VALUE 1 res->pbuf 0
BUF_SIZE 0 dev 1616
BUF_SIZE 1 res 0-4718520
BUF_SIZE 1 res 0-4718520
CAPPED_DATA 0 dev 1
CAPPED_DATA 1 res->depth 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 1 res->depth

drivers/crypto/hisilicon/sec2/sec_crypto.c sec_alg_resource_free() -> sec_free_aiv_resource()

Type Parameter Key Value
PARAM_VALUE 0 dev->cma_area->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 dev->dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 1 res 4096-ptr_max
PARAM_VALUE 1 res->c_ivin->_refcount.counter s32min-s32max
PARAM_VALUE 1 res->c_ivin->page_type 0-4294967295
PARAM_VALUE 1 res->out_mac->_refcount.counter s32min-s32max
PARAM_VALUE 1 res->out_mac->page_type 0-4294967295
BUF_SIZE 0 dev (-1),1616
BUF_SIZE 0 dev (-1),1616
CAPPED_DATA 1 res->c_ivin 1
CAPPED_DATA 1 res->out_mac 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL