Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/crypto/cavium/cpt/cptvf_main.c alloc_command_queues() -> free_command_queues()

Type Parameter Key Value
PARAM_VALUE 0 cptvf 4096-ptr_max
PARAM_VALUE 0 cptvf->cqinfo.qchunksize 1023
PARAM_VALUE 0 cptvf->flags 4
PARAM_VALUE 0 cptvf->nr_queues 1
PARAM_VALUE 0 cptvf->pdev 4096-ptr_max
PARAM_VALUE 0 cptvf->pdev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 0 cptvf->pdev->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 cptvf->pdev->dev.driver_data 4096-ptr_max
PARAM_VALUE 0 cptvf->pdev->driver 4096-ptr_max
PARAM_VALUE 0 cptvf->pf_acked 0
PARAM_VALUE 0 cptvf->pf_nacked 0
PARAM_VALUE 0 cptvf->qsize 8185
PARAM_VALUE 0 cptvf->reg_base 4096-ptr_max
PARAM_VALUE 1 cqinfo 4096-ptr_max
PARAM_VALUE 1 cqinfo->cmd_size 64
PARAM_VALUE 1 cqinfo->qchunksize 1023
BUF_SIZE 0 cptvf->pdev (-1),1-s32max
DATA_SOURCE 0 cptvf $0
DATA_SOURCE 1 cqinfo $1
MEM_ZERO 0 cptvf
MEM_ZERO 0 cptvf->reg_base
MEM_ZERO 1 cqinfo
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 cptvf->pdev->current_state 0-3[c]
HALF_LOCKED2 &pool->lock

drivers/crypto/cavium/cpt/cptvf_main.c cleanup_command_queues() -> free_command_queues()

Type Parameter Key Value
PARAM_VALUE 0 cptvf 4096-ptr_max
PARAM_VALUE 0 cptvf->cqinfo.cmd_size 0,64
PARAM_VALUE 0 cptvf->cqinfo.qchunksize 0,1023
PARAM_VALUE 0 cptvf->flags 0,4,12
PARAM_VALUE 0 cptvf->nr_queues 1
PARAM_VALUE 0 cptvf->pdev 4096-ptr_max
PARAM_VALUE 0 cptvf->pdev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 0 cptvf->pf_nacked 0
PARAM_VALUE 0 cptvf->pqinfo.nr_queues 0-1
PARAM_VALUE 0 cptvf->pqinfo.qlen 0,2046
PARAM_VALUE 0 cptvf->qsize 0,8185
PARAM_VALUE 1 cqinfo 4096-ptr_max
PARAM_VALUE 1 cqinfo->cmd_size 0,64
PARAM_VALUE 1 cqinfo->qchunksize 0,1023
BUF_SIZE 0 cptvf s32min-(-2),1-s32max
BUF_SIZE 0 cptvf s32min-(-2),1-s32max
BUF_SIZE 0 cptvf->pdev (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064
CAPPED_DATA 0 cptvf 1
DATA_SOURCE 0 cptvf $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 cptvf->pdev->current_state 0[c]
UNITS 0 cptvf unit_byte

drivers/crypto/marvell/octeontx/otx_cptvf_main.c alloc_command_queues() -> free_command_queues()

Type Parameter Key Value
PARAM_VALUE 0 cptvf 4096-ptr_max
PARAM_VALUE 0 cptvf->cqinfo.qchunksize 1023
PARAM_VALUE 0 cptvf->num_queues 1
PARAM_VALUE 0 cptvf->pdev 4096-ptr_max
PARAM_VALUE 0 cptvf->pdev->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 cptvf->pdev->dev.class 0,4096-ptr_max
PARAM_VALUE 0 cptvf->pdev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 0 cptvf->pdev->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 cptvf->pdev->dev.driver 0,4096-ptr_max
PARAM_VALUE 0 cptvf->pdev->dev.driver_data 4096-ptr_max
PARAM_VALUE 0 cptvf->pdev->driver 4096-ptr_max
PARAM_VALUE 0 cptvf->pf_acked 0
PARAM_VALUE 0 cptvf->pf_nacked 0
PARAM_VALUE 0 cptvf->qsize 8185
PARAM_VALUE 0 cptvf->reg_base 4096-ptr_max
PARAM_VALUE 1 cqinfo 4096-ptr_max
PARAM_VALUE 1 cqinfo->qchunksize 1023
BUF_SIZE 0 cptvf->pdev (-1),1-s32max
DATA_SOURCE 0 cptvf $0
DATA_SOURCE 1 cqinfo $1
MEM_ZERO 0 cptvf
MEM_ZERO 1 cqinfo
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 cptvf->pdev->current_state 0-3[c]
HALF_LOCKED2 &pool->lock

drivers/crypto/marvell/octeontx/otx_cptvf_main.c cleanup_command_queues() -> free_command_queues()

Type Parameter Key Value
PARAM_VALUE 0 cptvf 4096-ptr_max
PARAM_VALUE 0 cptvf->num_queues 1-u32max
PARAM_VALUE 0 cptvf->pdev 4096-ptr_max
PARAM_VALUE 0 cptvf->pdev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 0 cptvf->pf_nacked 0
PARAM_VALUE 1 cqinfo 4096-ptr_max
BUF_SIZE 0 cptvf s32min-(-2),1-s32max
BUF_SIZE 0 cptvf s32min-(-2),1-s32max
BUF_SIZE 0 cptvf->pdev (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064
CAPPED_DATA 0 cptvf 1
DATA_SOURCE 0 cptvf $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 cptvf->pdev->current_state 0-3[c]
UNITS 0 cptvf unit_byte