Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->alg_type 0-1
PARAM_VALUE 0 ctx->c_ctx.ivsize 0-24
PARAM_VALUE 0 ctx->dev 4096-ptr_max
PARAM_VALUE 0 ctx->qp_ctx 4096-ptr_max
PARAM_VALUE 0 ctx->qps 4096-ptr_max
PARAM_VALUE 0 ctx->sec 4096-ptr_max
PARAM_VALUE 0 ctx->type_supported 2-3
PARAM_VALUE 1 qp_ctx 4096-ptr_max
PARAM_VALUE 1 qp_ctx->c_in_pool 4096-ptr_max
PARAM_VALUE 1 qp_ctx->c_in_pool->block_num 0-6
PARAM_VALUE 1 qp_ctx->c_in_pool->count 1-u16max
PARAM_VALUE 1 qp_ctx->c_in_pool->sge_nr 128
PARAM_VALUE 1 qp_ctx->c_in_pool->sgl_num_per_block 508-32768
PARAM_VALUE 1 qp_ctx->c_in_pool->sgl_size 0,128-8256
PARAM_VALUE 1 qp_ctx->c_out_pool 4096-ptr_max
PARAM_VALUE 1 qp_ctx->c_out_pool->block_num 0-6
PARAM_VALUE 1 qp_ctx->c_out_pool->count 1-u16max
PARAM_VALUE 1 qp_ctx->c_out_pool->sge_nr 128
PARAM_VALUE 1 qp_ctx->c_out_pool->sgl_num_per_block 508-32768
PARAM_VALUE 1 qp_ctx->c_out_pool->sgl_size 0,128-8256
PARAM_VALUE 1 qp_ctx->ctx 4096-ptr_max
PARAM_VALUE 1 qp_ctx->ctx->alg_type 0-1
PARAM_VALUE 1 qp_ctx->ctx->c_ctx.ivsize 0-24
PARAM_VALUE 1 qp_ctx->ctx->dev 4096-ptr_max
PARAM_VALUE 1 qp_ctx->ctx->qp_ctx 4096-ptr_max
PARAM_VALUE 1 qp_ctx->ctx->qps 4096-ptr_max
PARAM_VALUE 1 qp_ctx->ctx->sec 4096-ptr_max
PARAM_VALUE 1 qp_ctx->ctx->type_supported 2-3
PARAM_VALUE 1 qp_ctx->qp 4096-ptr_max
PARAM_VALUE 1 qp_ctx->qp->sq_depth 1-u16max
PARAM_VALUE 1 qp_ctx->req_idr.idr_base 0
PARAM_VALUE 1 qp_ctx->req_idr.idr_next 0
PARAM_VALUE 1 qp_ctx->req_idr.idr_rt.xa_flags 33554436
PARAM_VALUE 1 qp_ctx->req_idr.idr_rt.xa_head 0
PARAM_VALUE 1 qp_ctx->req_list 16,4096-ptr_max
PARAM_VALUE 1 qp_ctx->res 4096-ptr_max
PARAM_VALUE 1 qp_ctx->res->depth 1-u16max
PARAM_VALUE 1 qp_ctx->send_head 0
BUF_SIZE 0 ctx->dev 1616
BUF_SIZE 0 ctx->qp_ctx 0-s32max
BUF_SIZE 0 ctx->qps 0-s32max
BUF_SIZE 1 qp_ctx->c_in_pool 144
BUF_SIZE 1 qp_ctx->c_out_pool 144
BUF_SIZE 1 qp_ctx->req_list 0-524280
BUF_SIZE 1 qp_ctx->res 0-4718520
CAPPED_DATA 1 qp_ctx->c_in_pool->block_num 1
CAPPED_DATA 1 qp_ctx->c_out_pool->block_num 1
DATA_SOURCE 0 ctx $0
DATA_SOURCE 1 qp_ctx $1
FUZZY_MAX 0 ctx->c_ctx.ivsize 24
BIT_INFO 0 ctx->type_supported 0x2,0x3
HARD_MAX 0 ctx->alg_type 1
HARD_MAX 0 ctx->c_ctx.ivsize 24
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 qp_ctx->c_in_pool->count
NO_OVERFLOW_SIMPLE 1 qp_ctx->c_out_pool->count
NO_OVERFLOW_SIMPLE 1 qp_ctx->res->depth