Defined in 2 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/crypto/hisilicon/debugfs.c qm_cq_dump() -> dump_show()

Type Parameter Key Value
PARAM_VALUE 0 qm 4096-ptr_max
PARAM_VALUE 0 qm->pdev->dev.power.request 0-4
PARAM_VALUE 0 qm->pdev->dev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 qm->pdev->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 qm->qp_array 4096-ptr_max
PARAM_VALUE 0 qm->qp_array->cq_depth 1-u16max
PARAM_VALUE 0 qm->qp_num 1-u32max
PARAM_VALUE 0 qm->status.flags.counter s32min-0,2-s32max
PARAM_VALUE 1 info 4096-ptr_max
PARAM_VALUE 2 info_size 16
BUF_SIZE 0 qm s32min-(-2),1-s32max
BUF_SIZE 0 qm s32min-(-2),1-s32max
DATA_SOURCE 0 qm $0
DATA_SOURCE 3 info_name $2
NOCHECK_CALL
UNITS 2 info_size unit_byte

drivers/crypto/hisilicon/debugfs.c qm_cqc_dump() -> dump_show()

Type Parameter Key Value
PARAM_VALUE 0 qm 4096-ptr_max
PARAM_VALUE 0 qm->mailbox_lock.dep_map->name 0-255
PARAM_VALUE 0 qm->mailbox_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 qm->mailbox_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 qm->mailbox_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 qm->mailbox_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 qm->pdev->dev.power.request 0-4
PARAM_VALUE 0 qm->pdev->dev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 qm->pdev->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 qm->pdev->is_virtfn 0
PARAM_VALUE 0 qm->qp_num 1-u32max
PARAM_VALUE 0 qm->status.flags.counter s32min-0,2-s32max
PARAM_VALUE 1 info 936384328617164800
PARAM_VALUE 2 info_size 32
BUF_SIZE 0 qm s32min-(-2),1-s32max
BUF_SIZE 0 qm s32min-(-2),1-s32max
BUF_SIZE 1 info 32
DATA_SOURCE 0 qm $0
DATA_SOURCE 3 info_name $2
NOCHECK_CALL
UNITS 2 info_size unit_byte

drivers/crypto/hisilicon/debugfs.c qm_cqc_dump() -> dump_show()

Type Parameter Key Value
PARAM_VALUE 0 qm 4096-ptr_max
PARAM_VALUE 0 qm->cqc 1-u64max
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.request 0-4
PARAM_VALUE 0 qm->pdev->dev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 qm->pdev->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 qm->pdev->is_virtfn 0
PARAM_VALUE 0 qm->qp_num 1-u32max
PARAM_VALUE 0 qm->qps_lock.dep_map->name 0-255
PARAM_VALUE 0 qm->qps_lock.first_waiter->list.next 2212933610777083904
PARAM_VALUE 0 qm->qps_lock.first_waiter->list.prev 2212933610777083904
PARAM_VALUE 0 qm->qps_lock.first_waiter->type 0-1
PARAM_VALUE 0 qm->qps_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 qm->qps_lock.wait_lock.owner (-1)
PARAM_VALUE 0 qm->qps_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 qm->status.flags.counter s32min-0,2-s32max
PARAM_VALUE 1 info 936384328617164800
PARAM_VALUE 2 info_size 32
PARAM_VALUE 3 info_name 669928843199479808
BUF_SIZE 0 qm s32min-(-2),1-s32max
BUF_SIZE 0 qm s32min-(-2),1-s32max
BUF_SIZE 1 info 32
BUF_SIZE 3 info_name 9
CAPPED_DATA 0 &qm->qps_lock 1
DATA_SOURCE 0 qm $0
STR_LEN 0 qm 8
TERMINATED 3 info_name 1
NOCHECK_CALL
UNITS 2 info_size unit_byte
LOCK2 0 &qm->qps_lock
TYPE_LOCK (struct hisi_qm)->qps_lock

drivers/crypto/hisilicon/debugfs.c qm_eq_aeq_dump() -> dump_show()

Type Parameter Key Value
PARAM_VALUE 0 qm 4096-ptr_max
PARAM_VALUE 0 qm->aeqe 1-u64max
PARAM_VALUE 0 qm->pdev->dev.power.request 0-4
PARAM_VALUE 0 qm->pdev->dev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 qm->pdev->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 qm->qps_lock.dep_map->name 0-255
PARAM_VALUE 0 qm->qps_lock.first_waiter->list.next 2212933610777083904
PARAM_VALUE 0 qm->qps_lock.first_waiter->list.prev 2212933610777083904
PARAM_VALUE 0 qm->qps_lock.first_waiter->type 0-1
PARAM_VALUE 0 qm->qps_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 qm->qps_lock.wait_lock.owner (-1)
PARAM_VALUE 0 qm->qps_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 qm->status.flags.counter s32min-0,2-s32max
PARAM_VALUE 1 info 4096-ptr_max
PARAM_VALUE 2 info_size 4
BUF_SIZE 0 qm s32min-(-2),1-s32max
BUF_SIZE 0 qm s32min-(-2),1-s32max
CAPPED_DATA 0 &qm->qps_lock 1
DATA_SOURCE 0 qm $0
DATA_SOURCE 3 info_name $2
NOCHECK_CALL
UNITS 2 info_size unit_byte
LOCK2 0 &qm->qps_lock
TYPE_LOCK (struct hisi_qm)->qps_lock

drivers/crypto/hisilicon/debugfs.c qm_eqc_aeqc_dump() -> dump_show()

Type Parameter Key Value
PARAM_VALUE 0 qm 4096-ptr_max
PARAM_VALUE 0 qm->mailbox_lock.dep_map->name 0-255
PARAM_VALUE 0 qm->mailbox_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 qm->mailbox_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 qm->mailbox_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 qm->mailbox_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 qm->pdev->dev.power.request 0-4
PARAM_VALUE 0 qm->pdev->dev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 qm->pdev->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 qm->pdev->is_virtfn 0
PARAM_VALUE 0 qm->status.flags.counter s32min-0,2-s32max
PARAM_VALUE 1 info 96592315267088384,5158117010785677312
PARAM_VALUE 2 info_size 28
BUF_SIZE 0 qm s32min-(-2),1-s32max
BUF_SIZE 0 qm s32min-(-2),1-s32max
BUF_SIZE 1 info 28
BUF_SIZE 1 info 28
DATA_SOURCE 0 qm $0
DATA_SOURCE 3 info_name $2
BIT_INFO 1 info 0x1150012a9870000,0x47d77a37efc7b000
BIT_INFO 1 info 0x1150012a9870000,0x47d77a37efc7b000
NOCHECK_CALL
UNITS 2 info_size unit_byte

drivers/crypto/hisilicon/debugfs.c qm_sq_dump() -> dump_show()

Type Parameter Key Value
PARAM_VALUE 0 qm 4096-ptr_max
PARAM_VALUE 0 qm->debug.sqe_mask_len 0-u32max
PARAM_VALUE 0 qm->pdev->dev.power.request 0-4
PARAM_VALUE 0 qm->pdev->dev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 qm->pdev->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 qm->qp_array 4096-ptr_max
PARAM_VALUE 0 qm->qp_array->sq_depth 1-u16max
PARAM_VALUE 0 qm->qp_num 1-u32max
PARAM_VALUE 0 qm->sqe_size 0-4000000
PARAM_VALUE 0 qm->status.flags.counter s32min-0,2-s32max
PARAM_VALUE 1 info 16,4096-ptr_max
PARAM_VALUE 2 info_size 0-4000000
BUF_SIZE 0 qm s32min-(-2),1-s32max
BUF_SIZE 0 qm s32min-(-2),1-s32max
BUF_SIZE 1 info 0-u32max
BUF_SIZE 1 info 0-u32max
DATA_SOURCE 0 qm $0
DATA_SOURCE 1 info r _kzalloc_noprof
DATA_SOURCE 3 info_name $2
NOCHECK_CALL
UNITS 2 info_size unit_byte

drivers/crypto/hisilicon/debugfs.c qm_sqc_dump() -> dump_show()

Type Parameter Key Value
PARAM_VALUE 0 qm 4096-ptr_max
PARAM_VALUE 0 qm->mailbox_lock.dep_map->name 0-255
PARAM_VALUE 0 qm->mailbox_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 qm->mailbox_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 qm->mailbox_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 qm->mailbox_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 qm->pdev->dev.power.request 0-4
PARAM_VALUE 0 qm->pdev->dev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 qm->pdev->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 qm->pdev->is_virtfn 0
PARAM_VALUE 0 qm->qp_num 1-u32max
PARAM_VALUE 0 qm->status.flags.counter s32min-0,2-s32max
PARAM_VALUE 1 info 6441352351568838656
PARAM_VALUE 2 info_size 32
BUF_SIZE 0 qm s32min-(-2),1-s32max
BUF_SIZE 0 qm s32min-(-2),1-s32max
BUF_SIZE 1 info 32
DATA_SOURCE 0 qm $0
DATA_SOURCE 3 info_name $2
NOCHECK_CALL
UNITS 2 info_size unit_byte

drivers/crypto/hisilicon/debugfs.c qm_sqc_dump() -> dump_show()

Type Parameter Key Value
PARAM_VALUE 0 qm 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.request 0-4
PARAM_VALUE 0 qm->pdev->dev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 qm->pdev->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 qm->pdev->is_virtfn 0
PARAM_VALUE 0 qm->qp_num 1-u32max
PARAM_VALUE 0 qm->qps_lock.dep_map->name 0-255
PARAM_VALUE 0 qm->qps_lock.first_waiter->list.next 2212933610777083904
PARAM_VALUE 0 qm->qps_lock.first_waiter->list.prev 2212933610777083904
PARAM_VALUE 0 qm->qps_lock.first_waiter->type 0-1
PARAM_VALUE 0 qm->qps_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 qm->qps_lock.wait_lock.owner (-1)
PARAM_VALUE 0 qm->qps_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 qm->sqc 1-u64max
PARAM_VALUE 0 qm->status.flags.counter s32min-0,2-s32max
PARAM_VALUE 1 info 6441352351568838656
PARAM_VALUE 2 info_size 32
PARAM_VALUE 3 info_name 3915891418642661376
BUF_SIZE 0 qm s32min-(-2),1-s32max
BUF_SIZE 0 qm s32min-(-2),1-s32max
BUF_SIZE 1 info 32
BUF_SIZE 3 info_name 9
CAPPED_DATA 0 &qm->qps_lock 1
DATA_SOURCE 0 qm $0
STR_LEN 0 qm 8
TERMINATED 3 info_name 1
NOCHECK_CALL
UNITS 2 info_size unit_byte
LOCK2 0 &qm->qps_lock
TYPE_LOCK (struct hisi_qm)->qps_lock

kernel/bpf/bpf_iter.c bpf_seq_read() -> (struct seq_operations)->show()

Type Parameter Key Value
PARAM_VALUE 0 qm 4096-ptr_max
PARAM_VALUE 0 qm->buf 1-u64max
PARAM_VALUE 0 qm->count 0
PARAM_VALUE 0 qm->from 0
PARAM_VALUE 0 qm->lock.dep_map->name 0-255
PARAM_VALUE 0 qm->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 qm->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 qm->lock.first_waiter->task->blocked_on 0
PARAM_VALUE 0 qm->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 qm->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 qm->lock.wait_lock.owner (-1)
PARAM_VALUE 0 qm->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 qm->op 4096-ptr_max
PARAM_VALUE 1 info 1-ptr_max
BUF_SIZE 0 qm s32min-(-2),1-s32max
BUF_SIZE 0 qm s32min-(-2),1-s32max
BUF_SIZE 0 qm->buf 32768,u64max
CAPPED_DATA 0 &qm->lock 1
CONTAINER 0 -24-208+0 $(-1)
LOCK2 0 &qm->lock
TYPE_LOCK (struct seq_file)->lock

kernel/bpf/bpf_iter.c bpf_seq_read() -> (struct seq_operations)->show()

Type Parameter Key Value
PARAM_VALUE 0 qm 4096-ptr_max
PARAM_VALUE 0 qm->buf 1-u64max
PARAM_VALUE 0 qm->count 0
PARAM_VALUE 0 qm->from 0
PARAM_VALUE 0 qm->lock.dep_map->name 0-255
PARAM_VALUE 0 qm->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 qm->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 qm->lock.first_waiter->task->blocked_on 0
PARAM_VALUE 0 qm->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 qm->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 qm->lock.wait_lock.owner (-1)
PARAM_VALUE 0 qm->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 qm->op 4096-ptr_max
PARAM_VALUE 1 info 1-ptr_max
BUF_SIZE 0 qm s32min-(-2),1-s32max
BUF_SIZE 0 qm s32min-(-2),1-s32max
BUF_SIZE 0 qm->buf 32768,u64max
CAPPED_DATA 0 &qm->lock 1
CONTAINER 0 -24-208+0 $(-1)
PARAM_COMPARE 0 qm->count <= $0->size
LOCK2 0 &qm->lock
TYPE_LOCK (struct seq_file)->lock

fs/seq_file.c seq_read_iter() -> (struct seq_operations)->show()

Type Parameter Key Value
PARAM_VALUE 0 qm 4096-ptr_max
PARAM_VALUE 0 qm->buf 1-u64max
PARAM_VALUE 0 qm->count 0
PARAM_VALUE 0 qm->from 0
PARAM_VALUE 0 qm->lock.dep_map->name 0-255
PARAM_VALUE 0 qm->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 qm->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 qm->lock.first_waiter->task->blocked_on 0
PARAM_VALUE 0 qm->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 qm->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 qm->lock.wait_lock.owner (-1)
PARAM_VALUE 0 qm->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 qm->op 4096-ptr_max
PARAM_VALUE 1 info 1-ptr_max
BUF_SIZE 0 qm s32min-(-2),1-s32max
BUF_SIZE 0 qm s32min-(-2),1-s32max
BUF_SIZE 0 qm->buf (-1)-2147479552
CAPPED_DATA 0 &qm->lock 1
CONTAINER 0 -24-208+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 qm->read_pos 0-13442450941[c]
LOCK2 0 &qm->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct seq_file)->lock

fs/seq_file.c seq_read_iter() -> (struct seq_operations)->show()

Type Parameter Key Value
PARAM_VALUE 0 qm 4096-ptr_max
PARAM_VALUE 0 qm->buf 1-u64max
PARAM_VALUE 0 qm->count 0-999999999
PARAM_VALUE 0 qm->from 0
PARAM_VALUE 0 qm->lock.dep_map->name 0-255
PARAM_VALUE 0 qm->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 qm->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 qm->lock.first_waiter->task->blocked_on 0
PARAM_VALUE 0 qm->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 qm->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 qm->lock.wait_lock.owner (-1)
PARAM_VALUE 0 qm->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 qm->op 4096-ptr_max
PARAM_VALUE 1 info 1-ptr_max
BUF_SIZE 0 qm s32min-(-2),1-s32max
BUF_SIZE 0 qm s32min-(-2),1-s32max
BUF_SIZE 0 qm->buf (-1)-2147479552
CAPPED_DATA 0 qm->count 1
CAPPED_DATA 0 &qm->lock 1
CONTAINER 0 -24-208+0 $(-1)
PARAM_COMPARE 0 qm->count != $0->size
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 qm->read_pos 0-13442450941[c]
LOCK2 0 &qm->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct seq_file)->lock

fs/seq_file.c traverse() -> (struct seq_operations)->show()

Type Parameter Key Value
PARAM_VALUE 0 qm 4096-ptr_max
PARAM_VALUE 0 qm->buf 1-u64max
PARAM_VALUE 0 qm->count 0
PARAM_VALUE 0 qm->from 0
PARAM_VALUE 0 qm->index 0
PARAM_VALUE 0 qm->lock.dep_map->name 0-255
PARAM_VALUE 0 qm->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 qm->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 qm->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 qm->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 qm->lock.wait_lock.owner (-1)
PARAM_VALUE 0 qm->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 qm->op 4096-ptr_max
PARAM_VALUE 1 info 1-ptr_max
BUF_SIZE 0 qm s32min-(-2),1-s32max
BUF_SIZE 0 qm s32min-(-2),1-s32max
BUF_SIZE 0 qm->buf (-1)-2147479552
DATA_SOURCE 0 qm $0
CONTAINER 0 -24-208+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &qm->lock
TYPE_LOCK (struct seq_file)->lock