Documented in 1 files:
Defined in 1 files as a function:
Referenced in 4 files:
- fs/smb/smbdirect/connection.c
- net/9p/trans_rdma.c, line 599
- net/sunrpc/xprtrdma/svc_rdma_transport.c
- net/sunrpc/xprtrdma/verbs.c
Smatch caller information:
net/sunrpc/xprtrdma/svc_rdma_transport.c svc_rdma_accept() -> ib_alloc_cq_any()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ops.size_ib_pd | 0-4000000 |
| PARAM_VALUE | 0 | dev->port_data | 4096-ptr_max |
| PARAM_VALUE | 1 | private | 4096-ptr_max |
| PARAM_VALUE | 3 | poll_ctx | 1 |
| CAPPED_DATA | 2 | nr_cqe | 1 |
| UNITS | 2 | nr_cqe | unit_byte |
net/sunrpc/xprtrdma/svc_rdma_transport.c svc_rdma_accept() -> ib_alloc_cq_any()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ops.size_ib_cq | 0-4000000 |
| PARAM_VALUE | 0 | dev->ops.size_ib_pd | 0-4000000 |
| PARAM_VALUE | 0 | dev->port_data | 4096-ptr_max |
| PARAM_VALUE | 1 | private | 4096-ptr_max |
| PARAM_VALUE | 2 | nr_cqe | 0-138 |
| PARAM_VALUE | 3 | poll_ctx | 1 |
| PARAM_COMPARE | 0 | dev->attrs.max_qp_wr | >= $2 |
| PARAM_COMPARE | 2 | nr_cqe | <= $0->attrs.max_qp_wr |
| PARAM_COMPARE | 2 | nr_cqe | <= $1->sc_sq_depth |
| UNITS | 2 | nr_cqe | unit_byte |
fs/smb/smbdirect/connection.c smbdirect_connection_create_qp() -> ib_alloc_cq_any()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->attrs.max_cqe | 1-u32max |
| PARAM_VALUE | 0 | dev->attrs.max_qp_wr | 1-u32max |
| PARAM_VALUE | 0 | dev->attrs.max_recv_sge | 1-u32max |
| PARAM_VALUE | 0 | dev->attrs.max_send_sge | 6-u32max |
| PARAM_VALUE | 0 | dev->ops.size_ib_pd | 0-4000000 |
| PARAM_VALUE | 0 | dev->port_data | 4096-ptr_max |
| PARAM_VALUE | 1 | private | 4096-ptr_max |
| PARAM_VALUE | 2 | nr_cqe | 1-66556 |
| BUF_SIZE | 1 | private | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | dev->attrs.max_cqe | 1 |
| CAPPED_DATA | 0 | dev->attrs.max_qp_wr | 1 |
| CAPPED_DATA | 2 | nr_cqe | 1 |
| DATA_SOURCE | 1 | private | $0 |
| FUZZY_MAX | 0 | dev->attrs.max_recv_sge | 1 |
| FUZZY_MAX | 0 | dev->attrs.max_send_sge | 6 |
| PARAM_COMPARE | 0 | dev->attrs.max_cqe | > $0->attrs.max_qp_wr |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | nr_cqe | unit_byte |
| HALF_LOCKED2 | &id_priv->handler_mutex | ||
| HALF_LOCKED2 | &listen_id->handler_mutex |
fs/smb/smbdirect/connection.c smbdirect_connection_create_qp() -> ib_alloc_cq_any()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->attrs.max_cqe | 1-u32max |
| PARAM_VALUE | 0 | dev->attrs.max_qp_wr | 1-u32max |
| PARAM_VALUE | 0 | dev->attrs.max_recv_sge | 1-u32max |
| PARAM_VALUE | 0 | dev->attrs.max_send_sge | 6-u32max |
| PARAM_VALUE | 0 | dev->ops.size_ib_cq | 0-4000000 |
| PARAM_VALUE | 0 | dev->ops.size_ib_pd | 0-4000000 |
| PARAM_VALUE | 0 | dev->port_data | 4096-ptr_max |
| PARAM_VALUE | 1 | private | 4096-ptr_max |
| PARAM_VALUE | 2 | nr_cqe | 1-65536 |
| PARAM_VALUE | 3 | poll_ctx | 0-3 |
| BUF_SIZE | 1 | private | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | dev->attrs.max_cqe | 1 |
| CAPPED_DATA | 0 | dev->attrs.max_qp_wr | 1 |
| CAPPED_DATA | 2 | nr_cqe | 1 |
| DATA_SOURCE | 1 | private | $0 |
| FUZZY_MAX | 0 | dev->attrs.max_recv_sge | 1 |
| FUZZY_MAX | 0 | dev->attrs.max_send_sge | 6 |
| PARAM_COMPARE | 0 | dev->attrs.max_cqe | > $0->attrs.max_qp_wr |
| PARAM_COMPARE | 2 | nr_cqe | < $0->attrs.max_cqe |
| PARAM_COMPARE | 2 | nr_cqe | <= $0->attrs.max_qp_wr |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | nr_cqe | unit_byte |
| HALF_LOCKED2 | &id_priv->handler_mutex | ||
| HALF_LOCKED2 | &listen_id->handler_mutex |
net/sunrpc/xprtrdma/verbs.c rpcrdma_ep_create() -> ib_alloc_cq_any()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->attrs.device_cap_flags | 2097152-u64max |
| PARAM_VALUE | 0 | dev->attrs.max_fast_reg_page_list_len | 1-u32max |
| PARAM_VALUE | 0 | dev->attrs.max_qp_wr | 37-u32max |
| PARAM_VALUE | 1 | private | 4096-ptr_max |
| PARAM_VALUE | 3 | poll_ctx | 1 |
| DATA_SOURCE | 1 | private | $0 |
| HALF_LOCKED2 | &pool->lock |
net/sunrpc/xprtrdma/verbs.c rpcrdma_ep_create() -> ib_alloc_cq_any()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->attrs.device_cap_flags | 2097152-u64max |
| PARAM_VALUE | 0 | dev->attrs.max_fast_reg_page_list_len | 1-u32max |
| PARAM_VALUE | 0 | dev->attrs.max_qp_wr | 37-u32max |
| PARAM_VALUE | 0 | dev->ops.size_ib_cq | 0-4000000 |
| PARAM_VALUE | 1 | private | 4096-ptr_max |
| PARAM_VALUE | 3 | poll_ctx | 1 |
| DATA_SOURCE | 1 | private | $0 |
| HALF_LOCKED2 | &pool->lock |
net/9p/trans_rdma.c rdma_create_trans() -> ib_alloc_cq_any()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | private | 4096-ptr_max |
| PARAM_VALUE | 3 | poll_ctx | 0 |
| BUF_SIZE | 1 | private | 384 |
| DATA_SOURCE | 1 | private | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fc->uapi_mutex |