Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/rds/ib_cm.c rds_ib_setup_qp() -> __ib_create_cq()

Type Parameter Key Value
PARAM_VALUE 1 comp_handler 6821595928427311104
PARAM_VALUE 2 event_handler 2892904671980433408
PARAM_VALUE 3 cq_context 4096-ptr_max
PARAM_VALUE 4 cq_attr 3646361890424475648
PARAM_VALUE 4 cq_attr->cqe 513-769
PARAM_VALUE 4 cq_attr->flags 0
PARAM_VALUE 5 caller 721450307168702464
BUF_SIZE 3 cq_context s32min-(-1),1-s32max
BUF_SIZE 3 cq_context s32min-(-1),1-s32max
BUF_SIZE 5 caller 9
DATA_SOURCE 3 cq_context $0
STR_LEN 0 device 8
TERMINATED 5 caller 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &id_priv->handler_mutex
HALF_LOCKED2 &listen_id->handler_mutex

net/rds/ib_cm.c rds_ib_setup_qp() -> __ib_create_cq()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max
PARAM_VALUE 0 device->ops.size_ib_cq 0-4000000
PARAM_VALUE 1 comp_handler 5339094045573472256
PARAM_VALUE 2 event_handler 2892904671980433408
PARAM_VALUE 3 cq_context 4096-ptr_max
PARAM_VALUE 4 cq_attr 3646361890424475648
PARAM_VALUE 4 cq_attr->cqe 0-1024,u32max
PARAM_VALUE 4 cq_attr->flags 0
PARAM_VALUE 5 caller 721450307168702464
BUF_SIZE 3 cq_context s32min-(-1),1-s32max
BUF_SIZE 3 cq_context s32min-(-1),1-s32max
BUF_SIZE 5 caller 9
DATA_SOURCE 3 cq_context $0
STR_LEN 0 device 8
TERMINATED 5 caller 1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 4 cq_attr->cqe
HALF_LOCKED2 &id_priv->handler_mutex
HALF_LOCKED2 &listen_id->handler_mutex

drivers/infiniband/hw/mlx4/mad.c create_pv_resources() -> __ib_create_cq()

Type Parameter Key Value
PARAM_VALUE 1 comp_handler 6959967151526006784,8779741972702699520
PARAM_VALUE 2 event_handler 0
PARAM_VALUE 3 cq_context 4096-ptr_max
PARAM_VALUE 4 cq_attr 4132952118846418944
PARAM_VALUE 4 cq_attr->comp_vector 0
PARAM_VALUE 4 cq_attr->cqe 1024,2048,4096,8192
PARAM_VALUE 4 cq_attr->flags 0
PARAM_VALUE 5 caller 4864334747044499456
BUF_SIZE 5 caller 8
DATA_SOURCE 3 cq_context $4
STR_LEN 0 device 7
TERMINATED 5 caller 1
RX_PATH
TASK_NOT_RUNNING

drivers/infiniband/ulp/ipoib/ipoib_verbs.c ipoib_transport_dev_init() -> __ib_create_cq()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max
PARAM_VALUE 1 comp_handler 8237770934472265728
PARAM_VALUE 2 event_handler 0
PARAM_VALUE 3 cq_context 4096-ptr_max
PARAM_VALUE 4 cq_attr 5816837316165275648
PARAM_VALUE 4 cq_attr->flags 0
PARAM_VALUE 5 caller 3889380589504172032
BUF_SIZE 3 cq_context 9688
BUF_SIZE 3 cq_context 9688
BUF_SIZE 5 caller 9
DATA_SOURCE 3 cq_context r ipoib_priv
STR_LEN 0 device 8
TERMINATED 5 caller 1
RX_PATH
TASK_NOT_RUNNING

drivers/infiniband/ulp/ipoib/ipoib_verbs.c ipoib_transport_dev_init() -> __ib_create_cq()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max
PARAM_VALUE 0 device->ops.size_ib_cq 0-4000000
PARAM_VALUE 1 comp_handler 6258559940472328192
PARAM_VALUE 2 event_handler 0
PARAM_VALUE 3 cq_context 4096-ptr_max
PARAM_VALUE 4 cq_attr 5816837316165275648
PARAM_VALUE 4 cq_attr->flags 0
PARAM_VALUE 5 caller 3889380589504172032
BUF_SIZE 3 cq_context 9688
BUF_SIZE 3 cq_context 9688
BUF_SIZE 3 cq_context->recv_cq s32min-s32max
BUF_SIZE 3 cq_context->recv_cq->cq_context 9688
BUF_SIZE 3 cq_context->recv_cq->res.kern_name 9
BUF_SIZE 5 caller 9
DATA_SOURCE 3 cq_context r ipoib_priv
STR_LEN 0 device 8
STR_LEN 3 cq_context->recv_cq->res.kern_name 8
TERMINATED 5 caller 1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 4 cq_attr->cqe

drivers/infiniband/hw/mlx4/main.c mlx4_ib_alloc_xrcd() -> __ib_create_cq()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max
PARAM_VALUE 0 device->ops.alloc_xrcd 1-u64max
PARAM_VALUE 0 device->ops.size_ib_pd 0-4000000
PARAM_VALUE 0 device->ops.size_ib_xrcd 0-4000000
PARAM_VALUE 1 comp_handler 0
PARAM_VALUE 2 event_handler 0
PARAM_VALUE 3 cq_context 4096-ptr_max
PARAM_VALUE 4 cq_attr 8840897645594746880
PARAM_VALUE 4 cq_attr->comp_vector 0
PARAM_VALUE 4 cq_attr->cqe 1
PARAM_VALUE 4 cq_attr->flags 0
PARAM_VALUE 5 caller 4864334747044499456
BUF_SIZE 3 cq_context->pd s32min-s32max
BUF_SIZE 3 cq_context->pd->res.kern_name 8
BUF_SIZE 5 caller 8
DATA_SOURCE 3 cq_context r to_mxrcd
STR_LEN 0 device 7
STR_LEN 3 cq_context->pd->res.kern_name 7
TERMINATED 5 caller 1
LOCK2 &ibudev->xrcd_tree_mutex
HALF_LOCKED2 &file->device->disassociate_srcu
TYPE_LOCK (struct ib_uverbs_device)->xrcd_tree_mutex

drivers/infiniband/hw/mlx5/main.c mlx5_ib_dev_res_cq_init() -> __ib_create_cq()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max
PARAM_VALUE 0 device->ops.size_ib_pd 0-4000000
PARAM_VALUE 1 comp_handler 0
PARAM_VALUE 2 event_handler 0
PARAM_VALUE 3 cq_context 0
PARAM_VALUE 4 cq_attr 362127052930199552
PARAM_VALUE 4 cq_attr->comp_vector 0
PARAM_VALUE 4 cq_attr->cqe 1
PARAM_VALUE 4 cq_attr->flags 0
PARAM_VALUE 5 caller 4985377764606808064
BUF_SIZE 0 device 5000
BUF_SIZE 5 caller 8
STR_LEN 0 device 7
TERMINATED 5 caller 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &devr->cq_lock
HALF_LOCKED2 &devr->srq_lock
TYPE_LOCK (struct mlx5_ib_resources)->cq_lock

net/smc/smc_ib.c smc_ib_setup_per_ibdev() -> __ib_create_cq()

Type Parameter Key Value
PARAM_VALUE 1 comp_handler 2501384249698336768
PARAM_VALUE 2 event_handler 0
PARAM_VALUE 3 cq_context 4096-ptr_max
PARAM_VALUE 4 cq_attr 5867244666071650304
PARAM_VALUE 4 cq_attr->comp_vector 0
PARAM_VALUE 4 cq_attr->cqe 0-28670,32766,4294967294-u32max
PARAM_VALUE 4 cq_attr->flags 0
PARAM_VALUE 5 caller 4070348433790021632
BUF_SIZE 5 caller 4
CAPPED_DATA 3 &cq_context->mutex 1
DATA_SOURCE 3 cq_context $0
STR_LEN 0 device 3
TERMINATED 5 caller 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &smcibdev->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct smc_ib_device)->mutex

net/smc/smc_ib.c smc_ib_setup_per_ibdev() -> __ib_create_cq()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max
PARAM_VALUE 0 device->ops.size_ib_cq 0-4000000
PARAM_VALUE 1 comp_handler 7971478310721540096
PARAM_VALUE 2 event_handler 0
PARAM_VALUE 3 cq_context 4096-ptr_max
PARAM_VALUE 4 cq_attr 5867244666071650304
PARAM_VALUE 4 cq_attr->comp_vector 0
PARAM_VALUE 4 cq_attr->cqe 1-28670,32766,4294967294-u32max
PARAM_VALUE 4 cq_attr->flags 0
PARAM_VALUE 5 caller 4070348433790021632
BUF_SIZE 3 cq_context->roce_cq_send s32min-s32max
BUF_SIZE 3 cq_context->roce_cq_send->res.kern_name 4
BUF_SIZE 5 caller 4
CAPPED_DATA 3 &cq_context->mutex 1
DATA_SOURCE 3 cq_context $0
STR_LEN 0 device 3
STR_LEN 3 cq_context->roce_cq_send->res.kern_name 3
TERMINATED 5 caller 1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 4 cq_attr->cqe
LOCK2 &smcibdev->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct smc_ib_device)->mutex