Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/crypto/hisilicon/qm.c hisi_qm_reset_done() -> hisi_qm_dev_err_init()

Type Parameter Key Value
BUF_SIZE 0 qm s32min-(-2),1-s32max
BUF_SIZE 0 qm s32min-(-2),1-s32max
DATA_SOURCE 0 qm r pci_get_drvdata
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pdev->dev.mutex

drivers/crypto/hisilicon/qm.c qm_controller_reset_done() -> hisi_qm_dev_err_init()

Type Parameter Key Value
PARAM_VALUE 0 qm 4096-ptr_max
PARAM_VALUE 0 qm->err_ini 4096-ptr_max
PARAM_VALUE 0 qm->err_ini->hw_init 4096-ptr_max
PARAM_VALUE 0 qm->err_ini->show_last_dfx_regs 0,437623640788467712,493085659851923456,606964330034323456
PARAM_VALUE 0 qm->ifc_lock.dep_map->name 0-255
PARAM_VALUE 0 qm->ifc_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 qm->ifc_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 qm->ifc_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 qm->ifc_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 qm->ifc_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 qm->ifc_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 qm->ifc_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 qm->isolate_data.isolate_lock.dep_map->name 0-255
PARAM_VALUE 0 qm->isolate_data.isolate_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 qm->isolate_data.isolate_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 qm->isolate_data.isolate_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 qm->isolate_data.isolate_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 qm->isolate_data.isolate_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 qm->isolate_data.isolate_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 qm->isolate_data.isolate_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 qm->isolate_data.qm_hw_errs.next 4096-ptr_max
PARAM_VALUE 0 qm->isolate_data.qm_hw_errs.next->next 4096-ptr_max
PARAM_VALUE 0 qm->isolate_data.qm_hw_errs.next->prev 4096-ptr_max
PARAM_VALUE 0 qm->mailbox_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 qm->ops 4096-ptr_max
PARAM_VALUE 0 qm->pdev 4096-ptr_max
PARAM_VALUE 0 qm->pdev->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 qm->pdev->dev.class 0,4096-ptr_max
PARAM_VALUE 0 qm->pdev->dev.driver 0,4096-ptr_max
PARAM_VALUE 0 qm->pdev->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 qm->pdev->error_state 0-2,4-u32max
PARAM_VALUE 0 qm->pdev->is_virtfn 0
PARAM_VALUE 0 qm->qm_list->lock.dep_map->name 0-255
PARAM_VALUE 0 qm->qm_list->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 qm->qm_list->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 qm->qm_list->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 qm->qm_list->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 qm->qm_list->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 qm->qm_list->lock.first_waiter->task->blocked_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 qm->qm_list->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 qm->qps_lock.first_waiter->handoff_set 1
PARAM_VALUE 0 qm->qps_lock.first_waiter->type 0-1
PARAM_VALUE 0 qm->status.flags.counter 1
PARAM_VALUE 0 qm->status.stop_reason 0
BUF_SIZE 0 qm s32min-(-1),1-s32max
BUF_SIZE 0 qm s32min-(-1),1-s32max
CAPPED_DATA 0 qm->pdev 1
CAPPED_DATA 0 qm->vfs_num 1
DATA_SOURCE 0 qm $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 qm unit_byte
HALF_LOCKED2 &pool->lock

drivers/crypto/hisilicon/qm.c qm_rebuild_for_resume() -> hisi_qm_dev_err_init()

Type Parameter Key Value
PARAM_VALUE 0 qm 4096-ptr_max
PARAM_VALUE 0 qm->err_ini 4096-ptr_max
PARAM_VALUE 0 qm->err_ini->hw_init 4096-ptr_max
PARAM_VALUE 0 qm->ops 4096-ptr_max
PARAM_VALUE 0 qm->pdev 4096-ptr_max
PARAM_VALUE 0 qm->pdev->error_state 0-2,4-u32max
BUF_SIZE 0 qm s32min-(-2),1-s32max
BUF_SIZE 0 qm s32min-(-2),1-s32max
CAPPED_DATA 0 qm->pdev 1
DATA_SOURCE 0 qm $0
NOCHECK_CALL
UNITS 0 qm unit_byte

drivers/crypto/hisilicon/zip/zip_main.c hisi_zip_pf_probe_init() -> hisi_qm_dev_err_init()

Type Parameter Key Value
PARAM_VALUE 0 qm 4096-ptr_max
PARAM_VALUE 0 qm->aeqe 1-ptr_max
PARAM_VALUE 0 qm->cap_tables.dev_cap_size 15
PARAM_VALUE 0 qm->cap_tables.dev_cap_table 4096-ptr_max
PARAM_VALUE 0 qm->cap_tables.qm_cap_size 9
PARAM_VALUE 0 qm->cap_tables.qm_cap_table 4096-ptr_max
PARAM_VALUE 0 qm->cap_ver 0-1
PARAM_VALUE 0 qm->channel_data.channel_num 3
PARAM_VALUE 0 qm->cmd_process.data.counter 0
PARAM_VALUE 0 qm->cmd_process.entry.next 0
PARAM_VALUE 0 qm->cmd_process.entry.prev 0
PARAM_VALUE 0 qm->cqc 1-ptr_max
PARAM_VALUE 0 qm->db_interval 0,65536
PARAM_VALUE 0 qm->db_io_base 4096-ptr_max
PARAM_VALUE 0 qm->debug.curr_qm_qp_num 0-4294967294
PARAM_VALUE 0 qm->dev_name 8121057830644944896
PARAM_VALUE 0 qm->eqe 1-ptr_max
PARAM_VALUE 0 qm->err_info.acpi_rst 0,2423427586545496064,3844439765460242432,7365892954792124416
PARAM_VALUE 0 qm->err_info.dev_err.ce 0
PARAM_VALUE 0 qm->err_info.dev_err.fe 0
PARAM_VALUE 0 qm->err_info.dev_err.nfe 0
PARAM_VALUE 0 qm->err_info.msi_wr_port 0-1,4,2048
PARAM_VALUE 0 qm->err_info.qm_err.ce 0
PARAM_VALUE 0 qm->err_info.qm_err.fe 0
PARAM_VALUE 0 qm->err_info.qm_err.nfe 0
PARAM_VALUE 0 qm->err_info.qm_err.reset_mask 0
PARAM_VALUE 0 qm->err_ini 6362701260240531456
PARAM_VALUE 0 qm->factor 0,4096-ptr_max
PARAM_VALUE 0 qm->fun_type 0
PARAM_VALUE 0 qm->ifc_lock.first_waiter 0
PARAM_VALUE 0 qm->ifc_lock.magic 4096-ptr_max
PARAM_VALUE 0 qm->ifc_lock.osq.tail.counter 0
PARAM_VALUE 0 qm->ifc_lock.owner.counter 0
PARAM_VALUE 0 qm->io_base 4096-ptr_max
PARAM_VALUE 0 qm->isolate_data.isolate_lock.magic 4096-ptr_max
PARAM_VALUE 0 qm->isolate_data.qm_hw_errs.next 4096-ptr_max
PARAM_VALUE 0 qm->isolate_data.qm_hw_errs.prev 4096-ptr_max
PARAM_VALUE 0 qm->mailbox_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 qm->mailbox_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 qm->mode 0
PARAM_VALUE 0 qm->ops 1555703593536618496,3881563394031878144,4186449147077402624,5650313124063744000
PARAM_VALUE 0 qm->pdev->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 qm->pdev->dev.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 qm->pdev->dev.devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 qm->poll_data 16,4096-ptr_max
PARAM_VALUE 0 qm->qdma.size 0,32-274878431104
PARAM_VALUE 0 qm->qdma.va 1-ptr_max
PARAM_VALUE 0 qm->qm_list 4129969599177064448
PARAM_VALUE 0 qm->qp_array 16,4096-ptr_max
PARAM_VALUE 0 qm->qp_base 0-u16max
PARAM_VALUE 0 qm->qp_idr.idr_base 0
PARAM_VALUE 0 qm->qp_idr.idr_next 0
PARAM_VALUE 0 qm->qp_idr.idr_rt.xa_flags 33554436
PARAM_VALUE 0 qm->qp_idr.idr_rt.xa_head 0
PARAM_VALUE 0 qm->qp_in_used 0
PARAM_VALUE 0 qm->qp_num 0-4294967294
PARAM_VALUE 0 qm->qps_lock.count.counter 0
PARAM_VALUE 0 qm->qps_lock.first_waiter 0
PARAM_VALUE 0 qm->qps_lock.magic 4096-ptr_max
PARAM_VALUE 0 qm->qps_lock.osq.tail.counter 0
PARAM_VALUE 0 qm->qps_lock.owner.counter 0
PARAM_VALUE 0 qm->rst_work.data.counter 0
PARAM_VALUE 0 qm->rst_work.entry.next 0
PARAM_VALUE 0 qm->rst_work.entry.prev 0
PARAM_VALUE 0 qm->sqc 1-ptr_max
PARAM_VALUE 0 qm->sqe_size 128
PARAM_VALUE 0 qm->uacce 4096-ptr_max
PARAM_VALUE 0 qm->use_sva 1
PARAM_VALUE 0 qm->wq 4096-ptr_max
PARAM_VALUE 0 qm->xqc_buf.aeqc 4096-ptr_max
PARAM_VALUE 0 qm->xqc_buf.cqc 4096-ptr_max
PARAM_VALUE 0 qm->xqc_buf.eqc 0-ptr_max
PARAM_VALUE 0 qm->xqc_buf.qcdma.va 0
PARAM_VALUE 0 qm->xqc_buf.sqc 4096-ptr_max
BUF_SIZE 0 qm 2112
MEM_ZERO 0 qm
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/crypto/hisilicon/hpre/hpre_main.c hpre_pf_probe_init() -> hisi_qm_dev_err_init()

Type Parameter Key Value
PARAM_VALUE 0 qm 4096-ptr_max
PARAM_VALUE 0 qm->aeqe 1-ptr_max
PARAM_VALUE 0 qm->cap_tables.dev_cap_size 20
PARAM_VALUE 0 qm->cap_tables.dev_cap_table 4096-ptr_max
PARAM_VALUE 0 qm->cap_tables.qm_cap_size 9
PARAM_VALUE 0 qm->cap_tables.qm_cap_table 4096-ptr_max
PARAM_VALUE 0 qm->cap_ver 0-1
PARAM_VALUE 0 qm->channel_data.channel_num 2
PARAM_VALUE 0 qm->cmd_process.data.counter 0
PARAM_VALUE 0 qm->cmd_process.entry.next 0
PARAM_VALUE 0 qm->cmd_process.entry.prev 0
PARAM_VALUE 0 qm->cqc 1-ptr_max
PARAM_VALUE 0 qm->db_interval 0,65536
PARAM_VALUE 0 qm->db_io_base 4096-ptr_max
PARAM_VALUE 0 qm->debug.curr_qm_qp_num 0-4294967294
PARAM_VALUE 0 qm->debug.dfx.mb_err_cnt.counter 0
PARAM_VALUE 0 qm->dev_name 5674769305377685504
PARAM_VALUE 0 qm->eqe 1-ptr_max
PARAM_VALUE 0 qm->err_info.acpi_rst 0,2423427586545496064,3844439765460242432,7365892954792124416
PARAM_VALUE 0 qm->err_info.dev_err.ce 0
PARAM_VALUE 0 qm->err_info.dev_err.fe 0
PARAM_VALUE 0 qm->err_info.dev_err.nfe 0
PARAM_VALUE 0 qm->err_info.dev_err.reset_mask 0
PARAM_VALUE 0 qm->err_info.dev_err.shutdown_mask 0
PARAM_VALUE 0 qm->err_info.msi_wr_port 0-1,4,2048
PARAM_VALUE 0 qm->err_info.qm_err.ce 0
PARAM_VALUE 0 qm->err_info.qm_err.fe 0
PARAM_VALUE 0 qm->err_info.qm_err.nfe 0
PARAM_VALUE 0 qm->err_info.qm_err.reset_mask 0
PARAM_VALUE 0 qm->err_info.qm_err.shutdown_mask 0
PARAM_VALUE 0 qm->err_ini 4647043701913808896
PARAM_VALUE 0 qm->factor 0,4096-ptr_max
PARAM_VALUE 0 qm->fun_type 0
PARAM_VALUE 0 qm->ifc_lock.first_waiter 0
PARAM_VALUE 0 qm->ifc_lock.magic 4096-ptr_max
PARAM_VALUE 0 qm->ifc_lock.osq.tail.counter 0
PARAM_VALUE 0 qm->ifc_lock.owner.counter 0
PARAM_VALUE 0 qm->io_base 4096-ptr_max
PARAM_VALUE 0 qm->isolate_data.qm_hw_errs.next 4096-ptr_max
PARAM_VALUE 0 qm->isolate_data.qm_hw_errs.prev 4096-ptr_max
PARAM_VALUE 0 qm->mailbox_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 qm->mailbox_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 qm->mode 0
PARAM_VALUE 0 qm->ops 1555703593536618496,3881563394031878144,4186449147077402624,5650313124063744000
PARAM_VALUE 0 qm->poll_data 16,4096-ptr_max
PARAM_VALUE 0 qm->qdma.size 0,32-274878431104
PARAM_VALUE 0 qm->qdma.va 1-ptr_max
PARAM_VALUE 0 qm->qm_list 21121531734142976
PARAM_VALUE 0 qm->qp_array 16,4096-ptr_max
PARAM_VALUE 0 qm->qp_base 0-u16max
PARAM_VALUE 0 qm->qp_idr.idr_base 0
PARAM_VALUE 0 qm->qp_idr.idr_next 0
PARAM_VALUE 0 qm->qp_idr.idr_rt.xa_flags 0,33554432-u32max
PARAM_VALUE 0 qm->qp_idr.idr_rt.xa_head 0
PARAM_VALUE 0 qm->qp_in_used 0
PARAM_VALUE 0 qm->qp_num 0-4294967294
PARAM_VALUE 0 qm->qps_lock.count.counter 0
PARAM_VALUE 0 qm->qps_lock.first_waiter 0
PARAM_VALUE 0 qm->qps_lock.magic 0
PARAM_VALUE 0 qm->qps_lock.osq.tail.counter 0
PARAM_VALUE 0 qm->qps_lock.owner.counter 0
PARAM_VALUE 0 qm->rst_work.data.counter 0
PARAM_VALUE 0 qm->rst_work.entry.next 0
PARAM_VALUE 0 qm->rst_work.entry.prev 0
PARAM_VALUE 0 qm->sqc 1-ptr_max
PARAM_VALUE 0 qm->sqe_size 64
PARAM_VALUE 0 qm->use_sva 1
PARAM_VALUE 0 qm->ver 0
PARAM_VALUE 0 qm->wq 4096-ptr_max
PARAM_VALUE 0 qm->xqc_buf.aeqc 4096-ptr_max
PARAM_VALUE 0 qm->xqc_buf.cqc 4096-ptr_max
PARAM_VALUE 0 qm->xqc_buf.eqc 0-ptr_max
PARAM_VALUE 0 qm->xqc_buf.qcdma.va 0
PARAM_VALUE 0 qm->xqc_buf.sqc 4096-ptr_max
BUF_SIZE 0 qm 2112
MEM_ZERO 0 qm
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/crypto/hisilicon/sec2/sec_main.c sec_pf_probe_init() -> hisi_qm_dev_err_init()

Type Parameter Key Value
PARAM_VALUE 0 qm 4096-ptr_max
PARAM_VALUE 0 qm->aeqe 1-ptr_max
PARAM_VALUE 0 qm->cap_tables.dev_cap_size 20
PARAM_VALUE 0 qm->cap_tables.dev_cap_table 4096-ptr_max
PARAM_VALUE 0 qm->cap_tables.qm_cap_size 9
PARAM_VALUE 0 qm->cap_tables.qm_cap_table 4096-ptr_max
PARAM_VALUE 0 qm->cap_ver 0-1
PARAM_VALUE 0 qm->channel_data.channel_num 1
PARAM_VALUE 0 qm->cmd_process.data.counter 0
PARAM_VALUE 0 qm->cmd_process.entry.next 0
PARAM_VALUE 0 qm->cmd_process.entry.prev 0
PARAM_VALUE 0 qm->cqc 1-ptr_max
PARAM_VALUE 0 qm->db_interval 0,65536
PARAM_VALUE 0 qm->db_io_base 4096-ptr_max
PARAM_VALUE 0 qm->debug.curr_qm_qp_num 0-4294967294
PARAM_VALUE 0 qm->debug.dfx.mb_err_cnt.counter 0
PARAM_VALUE 0 qm->dev_name 1601238132478103552
PARAM_VALUE 0 qm->eqe 1-ptr_max
PARAM_VALUE 0 qm->err_info.acpi_rst 0,2423427586545496064,3844439765460242432,7365892954792124416
PARAM_VALUE 0 qm->err_info.dev_err.ce 0
PARAM_VALUE 0 qm->err_info.dev_err.fe 0
PARAM_VALUE 0 qm->err_info.dev_err.nfe 0
PARAM_VALUE 0 qm->err_info.dev_err.reset_mask 0
PARAM_VALUE 0 qm->err_info.dev_err.shutdown_mask 0
PARAM_VALUE 0 qm->err_info.msi_wr_port 0-1,4,2048
PARAM_VALUE 0 qm->err_info.qm_err.ce 0
PARAM_VALUE 0 qm->err_info.qm_err.fe 0
PARAM_VALUE 0 qm->err_info.qm_err.nfe 0
PARAM_VALUE 0 qm->err_info.qm_err.reset_mask 0
PARAM_VALUE 0 qm->err_info.qm_err.shutdown_mask 0
PARAM_VALUE 0 qm->err_ini 7543345101087232000
PARAM_VALUE 0 qm->factor 0,4096-ptr_max
PARAM_VALUE 0 qm->fun_type 0
PARAM_VALUE 0 qm->ifc_lock.first_waiter 0
PARAM_VALUE 0 qm->ifc_lock.magic 4096-ptr_max
PARAM_VALUE 0 qm->ifc_lock.osq.tail.counter 0
PARAM_VALUE 0 qm->ifc_lock.owner.counter 0
PARAM_VALUE 0 qm->io_base 4096-ptr_max
PARAM_VALUE 0 qm->isolate_data.qm_hw_errs.next 4096-ptr_max
PARAM_VALUE 0 qm->isolate_data.qm_hw_errs.prev 4096-ptr_max
PARAM_VALUE 0 qm->mailbox_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 qm->mailbox_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 qm->mode 0
PARAM_VALUE 0 qm->ops 1555703593536618496,3881563394031878144,4186449147077402624,5650313124063744000
PARAM_VALUE 0 qm->poll_data 16,4096-ptr_max
PARAM_VALUE 0 qm->qdma.size 0,32-274878431104
PARAM_VALUE 0 qm->qdma.va 1-ptr_max
PARAM_VALUE 0 qm->qm_list 9015044384869834752
PARAM_VALUE 0 qm->qp_array 16,4096-ptr_max
PARAM_VALUE 0 qm->qp_base 0-u16max
PARAM_VALUE 0 qm->qp_idr.idr_base 0
PARAM_VALUE 0 qm->qp_idr.idr_next 0
PARAM_VALUE 0 qm->qp_idr.idr_rt.xa_flags 0,33554432-u32max
PARAM_VALUE 0 qm->qp_idr.idr_rt.xa_head 0
PARAM_VALUE 0 qm->qp_in_used 0
PARAM_VALUE 0 qm->qp_num 0-4294967294
PARAM_VALUE 0 qm->qps_lock.count.counter 0
PARAM_VALUE 0 qm->qps_lock.first_waiter 0
PARAM_VALUE 0 qm->qps_lock.magic 0
PARAM_VALUE 0 qm->qps_lock.osq.tail.counter 0
PARAM_VALUE 0 qm->qps_lock.owner.counter 0
PARAM_VALUE 0 qm->rst_work.data.counter 0
PARAM_VALUE 0 qm->rst_work.entry.next 0
PARAM_VALUE 0 qm->rst_work.entry.prev 0
PARAM_VALUE 0 qm->sqc 1-ptr_max
PARAM_VALUE 0 qm->sqe_size 128
PARAM_VALUE 0 qm->use_sva 1
PARAM_VALUE 0 qm->wq 4096-ptr_max
PARAM_VALUE 0 qm->xqc_buf.aeqc 4096-ptr_max
PARAM_VALUE 0 qm->xqc_buf.cqc 4096-ptr_max
PARAM_VALUE 0 qm->xqc_buf.eqc 0-ptr_max
PARAM_VALUE 0 qm->xqc_buf.qcdma.va 0
PARAM_VALUE 0 qm->xqc_buf.sqc 4096-ptr_max
BUF_SIZE 0 qm 2112
MEM_ZERO 0 qm
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock