Documented in 1 files:

Defined in 1 files as a member:

Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/infiniband/sw/rdmavt/qp.c rvt_create_qp() -> alloc_qpn()

Type Parameter Key Value
PARAM_VALUE 0 hr_dev 4096-ptr_max
PARAM_VALUE 1 hr_qp 4096-ptr_max
PARAM_VALUE 2 init_attr 0-4
PARAM_VALUE 4 exclude_prefix 0,129
CAPPED_DATA 3 port_num 1
DATA_SOURCE 0 hr_dev r ib_to_rvt
FUZZY_MAX 4 exclude_prefix 129
BIT_INFO 4 exclude_prefix 0x0,0x81
HARD_MAX 4 exclude_prefix 129
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 init_attr 3-4
UNITS 3 port_num unit_array_size

drivers/infiniband/hw/hns/hns_roce_qp.c hns_roce_create_qp_common() -> alloc_qpn()

Type Parameter Key Value
PARAM_VALUE 0 hr_dev 4096-ptr_max
PARAM_VALUE 0 hr_dev->dev->cma_area->available_count 0-s64max
PARAM_VALUE 0 hr_dev->dev->dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 hr_dev->dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 hr_dev->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 hr_dev->ib_dev.dma_device->iommu->attach_deferred 0-1
PARAM_VALUE 0 hr_dev->ib_dev.dma_device->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 hr_dev->pci_dev 4096-ptr_max
PARAM_VALUE 1 hr_qp 4096-ptr_max
PARAM_VALUE 1 hr_qp->buff_size 1-u32max
PARAM_VALUE 1 hr_qp->en_flags 0,32-u64max
PARAM_VALUE 1 hr_qp->flush_flag 0
PARAM_VALUE 1 hr_qp->flush_work.hr_dev 4096-ptr_max
PARAM_VALUE 1 hr_qp->mtr.hem_cfg.ba_pg_shift 1-u32max
PARAM_VALUE 1 hr_qp->mtr.hem_cfg.buf_pg_shift 12-u32max
PARAM_VALUE 1 hr_qp->mtr.hem_cfg.region_count 1-3
PARAM_VALUE 1 hr_qp->mtr.hem_list.btm_bt.next 4096-ptr_max
PARAM_VALUE 1 hr_qp->mtr.hem_list.btm_bt.next->next 4096-ptr_max
PARAM_VALUE 1 hr_qp->mtr.hem_list.btm_bt.next->prev 4096-ptr_max
PARAM_VALUE 1 hr_qp->mtr.hem_list.btm_bt.prev 4096-ptr_max
PARAM_VALUE 1 hr_qp->mtr.hem_list.btm_bt.prev->next 4096-ptr_max
PARAM_VALUE 1 hr_qp->mtr.hem_list.btm_bt.prev->prev 4096-ptr_max
PARAM_VALUE 1 hr_qp->mtr.hem_list.root_bt.next 4096-ptr_max
PARAM_VALUE 1 hr_qp->mtr.hem_list.root_bt.next->next 4096-ptr_max
PARAM_VALUE 1 hr_qp->mtr.hem_list.root_bt.next->prev 4096-ptr_max
PARAM_VALUE 1 hr_qp->mtr.hem_list.root_bt.prev 4096-ptr_max
PARAM_VALUE 1 hr_qp->mtr.hem_list.root_bt.prev->next 4096-ptr_max
PARAM_VALUE 1 hr_qp->mtr.hem_list.root_bt.prev->prev 4096-ptr_max
PARAM_VALUE 1 hr_qp->mtr.kmem 0,4096-ptr_max
PARAM_VALUE 1 hr_qp->mtr.kmem->ntrunks 1-u32max
PARAM_VALUE 1 hr_qp->mtr.kmem->page_shift 12-u32max
PARAM_VALUE 1 hr_qp->mtr.kmem->trunk_list 16,4096-ptr_max
PARAM_VALUE 1 hr_qp->mtr.kmem->trunk_shift 0-64
PARAM_VALUE 1 hr_qp->mtr.umem 0,4096-ptr_max
PARAM_VALUE 1 hr_qp->mutex.dep_map->name 0-255
PARAM_VALUE 1 hr_qp->mutex.first_waiter 0
PARAM_VALUE 1 hr_qp->mutex.magic 4096-ptr_max
PARAM_VALUE 1 hr_qp->mutex.osq.tail.counter 0
PARAM_VALUE 1 hr_qp->mutex.owner.counter 0
PARAM_VALUE 1 hr_qp->rq.offset 0,4096-s32max
PARAM_VALUE 1 hr_qp->rq.rsv_sge 1
PARAM_VALUE 1 hr_qp->rq.wqe_shift 0-31,u32max
PARAM_VALUE 1 hr_qp->sge.offset 0,4096-s32max
PARAM_VALUE 1 hr_qp->sge.sge_cnt 256-u32max
PARAM_VALUE 1 hr_qp->sge.sge_shift 4
PARAM_VALUE 1 hr_qp->sq.offset 0
PARAM_VALUE 1 hr_qp->sq.wqe_shift 0-255,u32max
PARAM_VALUE 1 hr_qp->sq_signal_bits 0-1
PARAM_VALUE 1 hr_qp->state 0
PARAM_VALUE 2 init_attr 4096-ptr_max
PARAM_VALUE 2 init_attr->create_flags 0
PARAM_VALUE 2 init_attr->qp_type 1-2,4,9-10
BUF_SIZE 2 init_attr (-1)-0,4-s32max
BUF_SIZE 2 init_attr (-1)-0,4-s32max
BUF_SIZE 2 init_attr->qp_context s32min-(-1),1-s32max
BUF_SIZE 2 init_attr->recv_cq (-1)-s32max
BUF_SIZE 2 init_attr->rwq_ind_tbl (-1)-s32max
BUF_SIZE 2 init_attr->send_cq (-1)-s32max
BUF_SIZE 2 init_attr->srq (-1)-s32max
BUF_SIZE 2 init_attr->xrcd (-1)-s32max
CAPPED_DATA 0 hr_dev->dev->cma_area->nranges 1
CAPPED_DATA 2 init_attr->cap.max_send_sge 1
DATA_SOURCE 0 hr_dev $0
DATA_SOURCE 1 hr_qp $3
DATA_SOURCE 2 init_attr $1
STR_LEN 2 init_attr->recv_cq->res.kern_name (-1),7-8
STR_LEN 2 init_attr->send_cq->res.kern_name (-1),7-8
PARAM_COMPARE 0 hr_dev->caps.max_sq_sg >= $2->cap.max_send_sge
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 hr_qp->max_inline_data 0-u32max[c]
USER_DATA 1 hr_qp->mtr.umem->address 0-s32max[c]
USER_DATA 1 hr_qp->mtr.umem->iova 0-s32max[c]
USER_DATA 1 hr_qp->mtr.umem->length 0-u64max
USER_DATA 1 hr_qp->mtr.umem->sgt_append.prv->length 0-u32max[c]
USER_DATA 1 hr_qp->mtr.umem->sgt_append.prv->offset 0-4095[c]
USER_DATA 1 hr_qp->mtr.umem->writable 0-1[c]
USER_DATA 1 hr_qp->sq.ext_sge_cnt 1-s32max[c]
USER_DATA 1 hr_qp->sq.max_gs 1-s32max[c]
USER_DATA 1 hr_qp->sq.wqe_shift 6-255[c]
USER_DATA 2 init_attr->cap.max_inline_data 0-u32max[c]
USER_DATA 2 init_attr->cap.max_send_sge 0-u32max[c]
USER_DATA 2 init_attr->cap.max_send_wr 0-u32max
USER_DATA 2 init_attr->create_flags 0
USER_DATA 2 init_attr->qp_type 2,4
USER_DATA 2 init_attr->source_qpn 0-u32max
NO_OVERFLOW_SIMPLE 1 hr_qp->rq.wqe_cnt
NO_OVERFLOW_SIMPLE 1 hr_qp->sq.wqe_cnt
NO_OVERFLOW_SIMPLE 2 init_attr->cap.max_rdma_ctxs
NO_OVERFLOW_SIMPLE 2 init_attr->recv_cq->cqe_used
NO_OVERFLOW_SIMPLE 2 init_attr->send_cq->cqe_used