Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/crypto/hisilicon/sec2/sec_crypto.c sec_cipher_unmap() -> sec_cipher_pbuf_unmap()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->req_op 4096-ptr_max
PARAM_VALUE 0 ctx->req_op->buf_map 4096-ptr_max
PARAM_VALUE 1 req 4096-ptr_max
PARAM_VALUE 1 req->buf.data_buf.in.sge_entries->len 0-4294967295
PARAM_VALUE 1 req->buf.data_buf.out.sge_entries->len 0-4294967295
PARAM_VALUE 1 req->c_req.c_out->entry_length_in_sgl 0-u16max
PARAM_VALUE 1 req->c_req.c_out->entry_sum_in_chain 0-u16max
PARAM_VALUE 1 req->c_req.c_out->entry_sum_in_sgl 0-u16max
PARAM_VALUE 1 req->in->entry_length_in_sgl 0-u16max
PARAM_VALUE 1 req->in->entry_sum_in_chain 0-u16max
PARAM_VALUE 1 req->in->entry_sum_in_sgl 0-u16max
PARAM_VALUE 1 req->req_id 0-s32max
PARAM_VALUE 1 req->use_pbuf 1
BUF_SIZE 1 req->aead_req.aead_req (-1)-s32max
BUF_SIZE 1 req->base (-1),48
BUF_SIZE 1 req->c_req.sk_req (-1)-s32max
DATA_SOURCE 0 ctx $0
DATA_SOURCE 1 req $1
DATA_SOURCE 2 dst $3
FUZZY_MAX 1 req->req_id 0
NOSPEC 1 req->aead_req.aead_req->cryptlen
NOSPEC 1 req->c_req.c_len
NOSPEC 1 req->c_req.sk_req->cryptlen
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 req->aead_req.aead_req->cryptlen 0-u32max
USER_DATA 1 req->c_req.c_len 0-u32max
USER_DATA 1 req->c_req.sk_req->cryptlen 1-u32max
USER_DATA 1 req->sec_sqe.type2.alen_ivllen 0-u32max[u]
USER_DATA 1 req->sec_sqe.type2.clen_ivhlen 0-u32max[u]
USER_DATA 1 req->sec_sqe3.a_len_key 0-u32max[u]
USER_DATA 1 req->sec_sqe3.c_len_ivin 0-u32max[u]
USER_DATA 1 *req->aead_req->a_ivin 0-255
USER_DATA 1 *req->c_req->c_ivin 0-255
UNITS 2 dst unit_byte
USER_PTR 1 req->aead_req.aead_req->iv
USER_PTR 1 req->c_req.sk_req->iv
HALF_LOCKED2 &qp->backlog.lock
HALF_LOCKED2 bh

drivers/crypto/hisilicon/sec2/sec_crypto.c sec_cipher_unmap() -> sec_cipher_pbuf_unmap()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->req_op 4096-ptr_max
PARAM_VALUE 0 ctx->req_op->buf_map 4096-ptr_max
PARAM_VALUE 1 req 4096-ptr_max
PARAM_VALUE 1 req->buf.data_buf.in.sge_entries->len 0-4294967295
PARAM_VALUE 1 req->buf.data_buf.out.sge_entries->len 0-4294967295
PARAM_VALUE 1 req->c_req.c_out->entry_length_in_sgl 0-u16max
PARAM_VALUE 1 req->c_req.c_out->entry_sum_in_chain 0-u16max
PARAM_VALUE 1 req->c_req.c_out->entry_sum_in_sgl 0-u16max
PARAM_VALUE 1 req->in->entry_length_in_sgl 0-u16max
PARAM_VALUE 1 req->in->entry_sum_in_chain 0-u16max
PARAM_VALUE 1 req->in->entry_sum_in_sgl 0-u16max
PARAM_VALUE 1 req->req_id s32min-(-1)
PARAM_VALUE 1 req->use_pbuf 1
BUF_SIZE 1 req->aead_req.aead_req (-1)-s32max
BUF_SIZE 1 req->base (-1),48
BUF_SIZE 1 req->c_req.sk_req (-1)-s32max
DATA_SOURCE 0 ctx $0
DATA_SOURCE 1 req $1
DATA_SOURCE 2 dst $3
NOSPEC 1 req->aead_req.aead_req->cryptlen
NOSPEC 1 req->c_req.c_len
NOSPEC 1 req->c_req.sk_req->cryptlen
HARD_MAX 1 req->req_id (-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 req->aead_req.aead_req->cryptlen 0-u32max
USER_DATA 1 req->c_req.c_len 0-u32max
USER_DATA 1 req->c_req.sk_req->cryptlen 1-u32max
USER_DATA 1 req->sec_sqe.type2.alen_ivllen 0-u32max[u]
USER_DATA 1 req->sec_sqe.type2.clen_ivhlen 0-u32max[u]
USER_DATA 1 req->sec_sqe3.a_len_key 0-u32max[u]
USER_DATA 1 req->sec_sqe3.c_len_ivin 0-u32max[u]
USER_DATA 1 *req->aead_req->a_ivin 0-255
USER_DATA 1 *req->c_req->c_ivin 0-255
UNITS 2 dst unit_byte
USER_PTR 1 req->aead_req.aead_req->iv
USER_PTR 1 req->c_req.sk_req->iv
HALF_LOCKED2 &qp->backlog.lock
HALF_LOCKED2 bh