Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/infiniband/core/nldev.c, line 553
- drivers/infiniband/core/uverbs_cmd.c, line 1684
- drivers/infiniband/core/verbs.c
- drivers/infiniband/hw/mlx5/gsi.c, line 355
- drivers/infiniband/ulp/ipoib/ipoib_ib.c
- drivers/infiniband/ulp/iser/iser_verbs.c, line 630
- net/smc/smc_wr.c, line 530
Smatch caller information:
drivers/infiniband/core/verbs.c is_valid_mcast_lid() -> ib_query_qp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qp | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->device | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->qp_type | 4 |
| PARAM_VALUE | 1 | qp_attr | 4509923611156869120 |
| PARAM_VALUE | 1 | qp_attr->ah_attr.grh.sgid_attr | 0 |
| PARAM_VALUE | 1 | qp_attr->alt_ah_attr.grh.sgid_attr | 0 |
| PARAM_VALUE | 1 | qp_attr->path_mtu | 0 |
| PARAM_VALUE | 1 | qp_attr->port_num | 0 |
| PARAM_VALUE | 1 | qp_attr->qkey | 0 |
| PARAM_VALUE | 1 | qp_attr->qp_state | 0 |
| PARAM_VALUE | 1 | qp_attr->rq_psn | 0 |
| PARAM_VALUE | 1 | qp_attr->sq_psn | 0 |
| PARAM_VALUE | 1 | qp_attr->timeout | 0 |
| PARAM_VALUE | 2 | qp_attr_mask | 33 |
| PARAM_VALUE | 3 | qp_init_attr | 4069480771274997760 |
| PARAM_VALUE | 3 | qp_init_attr->port_num | 0 |
| PARAM_VALUE | 3 | qp_init_attr->qp_type | 0 |
| PARAM_VALUE | 3 | qp_init_attr->recv_cq | 0 |
| PARAM_VALUE | 3 | qp_init_attr->send_cq | 0 |
| PARAM_VALUE | 3 | qp_init_attr->srq | 0 |
| PARAM_VALUE | 3 | qp_init_attr->xrcd | 0 |
| BUF_SIZE | 0 | qp | (-1),1-s32max |
| BUF_SIZE | 0 | qp | (-1),1-s32max |
| DATA_SOURCE | 0 | qp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &obj->mcast_lock |
drivers/infiniband/ulp/iser/iser_verbs.c iser_connected_handler() -> ib_query_qp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | qp_attr | 5951819866781589504 |
| PARAM_VALUE | 2 | qp_attr_mask | (-1) |
| PARAM_VALUE | 3 | qp_init_attr | 1763301993470980096 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &iser_conn->state_mutex | ||
| HALF_LOCKED2 | &id_priv->handler_mutex | ||
| HALF_LOCKED2 | &listen_id->handler_mutex | ||
| TYPE_LOCK | (struct iser_conn)->state_mutex |
drivers/infiniband/core/nldev.c fill_res_qp_entry_query() -> ib_query_qp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qp | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->pd | 4096-ptr_max |
| PARAM_VALUE | 1 | qp_attr | 8240583619491979264 |
| PARAM_VALUE | 2 | qp_attr_mask | 0 |
| PARAM_VALUE | 3 | qp_init_attr | 5628056155599147008 |
| DATA_SOURCE | 0 | qp | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/infiniband/core/uverbs_cmd.c ib_uverbs_query_qp() -> ib_query_qp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qp | 0-ptr_max |
| PARAM_VALUE | 1 | qp_attr | 4096-ptr_max |
| PARAM_VALUE | 3 | qp_init_attr | 4096-ptr_max |
| BUF_SIZE | 0 | qp | 1-s32max |
| BUF_SIZE | 0 | qp | 1-s32max |
| BUF_SIZE | 1 | qp_attr | 216 |
| BUF_SIZE | 3 | qp_init_attr | 104 |
| DATA_SOURCE | 0 | qp | r _uobj_get_obj_read |
| DATA_SOURCE | 1 | qp_attr | r _kmalloc_noprof |
| DATA_SOURCE | 3 | qp_init_attr | r _kmalloc_noprof |
| USER_DATA | 2 | qp_attr_mask | s32min-s32max |
| HALF_LOCKED2 | &file->device->disassociate_srcu |
net/smc/smc_wr.c smc_wr_remember_qp_attr() -> ib_query_qp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qp | 4096-ptr_max |
| PARAM_VALUE | 1 | qp_attr | 4096-ptr_max |
| PARAM_VALUE | 1 | qp_attr->ah_attr.ah_flags | 0 |
| PARAM_VALUE | 1 | qp_attr->ah_attr.grh.flow_label | 0 |
| PARAM_VALUE | 1 | qp_attr->ah_attr.grh.hop_limit | 0 |
| PARAM_VALUE | 1 | qp_attr->ah_attr.grh.sgid_attr | 0 |
| PARAM_VALUE | 1 | qp_attr->ah_attr.grh.sgid_index | 0 |
| PARAM_VALUE | 1 | qp_attr->ah_attr.grh.traffic_class | 0 |
| PARAM_VALUE | 1 | qp_attr->ah_attr.ib.dlid | 0 |
| PARAM_VALUE | 1 | qp_attr->ah_attr.ib.src_path_bits | 0 |
| PARAM_VALUE | 1 | qp_attr->ah_attr.opa.dlid | 0 |
| PARAM_VALUE | 1 | qp_attr->ah_attr.opa.make_grd | 0 |
| PARAM_VALUE | 1 | qp_attr->ah_attr.opa.src_path_bits | 0 |
| PARAM_VALUE | 1 | qp_attr->ah_attr.port_num | 0 |
| PARAM_VALUE | 1 | qp_attr->ah_attr.sl | 0 |
| PARAM_VALUE | 1 | qp_attr->ah_attr.static_rate | 0 |
| PARAM_VALUE | 1 | qp_attr->ah_attr.type | 0 |
| PARAM_VALUE | 1 | qp_attr->alt_ah_attr.ah_flags | 0 |
| PARAM_VALUE | 1 | qp_attr->alt_ah_attr.grh.flow_label | 0 |
| PARAM_VALUE | 1 | qp_attr->alt_ah_attr.grh.hop_limit | 0 |
| PARAM_VALUE | 1 | qp_attr->alt_ah_attr.grh.sgid_attr | 0 |
| PARAM_VALUE | 1 | qp_attr->alt_ah_attr.grh.sgid_index | 0 |
| PARAM_VALUE | 1 | qp_attr->alt_ah_attr.ib.dlid | 0 |
| PARAM_VALUE | 1 | qp_attr->alt_ah_attr.opa.dlid | 0 |
| PARAM_VALUE | 1 | qp_attr->alt_ah_attr.opa.make_grd | 0 |
| PARAM_VALUE | 1 | qp_attr->alt_ah_attr.port_num | 0 |
| PARAM_VALUE | 1 | qp_attr->alt_ah_attr.sl | 0 |
| PARAM_VALUE | 1 | qp_attr->alt_ah_attr.static_rate | 0 |
| PARAM_VALUE | 1 | qp_attr->alt_ah_attr.type | 0 |
| PARAM_VALUE | 1 | qp_attr->alt_pkey_index | 0 |
| PARAM_VALUE | 1 | qp_attr->alt_port_num | 0 |
| PARAM_VALUE | 1 | qp_attr->alt_timeout | 0 |
| PARAM_VALUE | 1 | qp_attr->cap.max_inline_data | 0 |
| PARAM_VALUE | 1 | qp_attr->cap.max_rdma_ctxs | 0 |
| PARAM_VALUE | 1 | qp_attr->cap.max_recv_sge | 0 |
| PARAM_VALUE | 1 | qp_attr->cap.max_recv_wr | 0 |
| PARAM_VALUE | 1 | qp_attr->cap.max_send_sge | 0 |
| PARAM_VALUE | 1 | qp_attr->cap.max_send_wr | 0 |
| PARAM_VALUE | 1 | qp_attr->cur_qp_state | 0 |
| PARAM_VALUE | 1 | qp_attr->dest_qp_num | 0 |
| PARAM_VALUE | 1 | qp_attr->en_sqd_async_notify | 0 |
| PARAM_VALUE | 1 | qp_attr->max_dest_rd_atomic | 0 |
| PARAM_VALUE | 1 | qp_attr->max_rd_atomic | 0 |
| PARAM_VALUE | 1 | qp_attr->min_rnr_timer | 0 |
| PARAM_VALUE | 1 | qp_attr->path_mig_state | 0 |
| PARAM_VALUE | 1 | qp_attr->path_mtu | 0 |
| PARAM_VALUE | 1 | qp_attr->pkey_index | 0 |
| PARAM_VALUE | 1 | qp_attr->port_num | 0 |
| PARAM_VALUE | 1 | qp_attr->qkey | 0 |
| PARAM_VALUE | 1 | qp_attr->qp_access_flags | 0 |
| PARAM_VALUE | 1 | qp_attr->qp_state | 0 |
| PARAM_VALUE | 1 | qp_attr->rate_limit | 0 |
| PARAM_VALUE | 1 | qp_attr->retry_cnt | 0 |
| PARAM_VALUE | 1 | qp_attr->rnr_retry | 0 |
| PARAM_VALUE | 1 | qp_attr->rq_psn | 0 |
| PARAM_VALUE | 1 | qp_attr->sq_draining | 0 |
| PARAM_VALUE | 1 | qp_attr->sq_psn | 0 |
| PARAM_VALUE | 1 | qp_attr->timeout | 0 |
| PARAM_VALUE | 1 | qp_attr->xmit_slave | 0 |
| PARAM_VALUE | 2 | qp_attr_mask | 1957875 |
| PARAM_VALUE | 3 | qp_init_attr | 4108994045623873536 |
| BUF_SIZE | 1 | qp_attr | 216 |
| MEM_ZERO | 1 | qp_attr | |
| MEM_ZERO | 3 | qp_init_attr | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &smc_client_lgr_pending |
drivers/infiniband/hw/mlx5/gsi.c mlx5_ib_gsi_query_qp() -> ib_query_qp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | qp_attr | 4096-ptr_max |
| PARAM_VALUE | 1 | qp_attr->ah_attr.grh.sgid_attr | 0 |
| PARAM_VALUE | 1 | qp_attr->alt_ah_attr.grh.sgid_attr | 0 |
| DATA_SOURCE | 1 | qp_attr | $1 |
| DATA_SOURCE | 2 | qp_attr_mask | $2 |
| DATA_SOURCE | 3 | qp_init_attr | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | qp_attr_mask | s32min-s32max |
| HALF_LOCKED2 | &iser_conn->state_mutex |
drivers/infiniband/ulp/ipoib/ipoib_ib.c check_qp_movement_and_print() -> ib_query_qp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qp | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->real_qp | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->real_qp->counter->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | qp->real_qp->counter->mode.mode | 0-2 |
| PARAM_VALUE | 0 | qp->real_qp->device | 4096-ptr_max |
| PARAM_VALUE | 1 | qp_attr | 2381810997310394368 |
| PARAM_VALUE | 2 | qp_attr_mask | 1 |
| PARAM_VALUE | 3 | qp_init_attr | 4273304365271404544 |
| DATA_SOURCE | 0 | qp | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &rdev->wiphy.mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/infiniband/ulp/ipoib/ipoib_ib.c ipoib_qp_state_validate_work() -> ib_query_qp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | qp_attr | 177602383513214976 |
| PARAM_VALUE | 2 | qp_attr_mask | 1 |
| PARAM_VALUE | 3 | qp_init_attr | 3989201257552449536 |
| HALF_LOCKED2 | &pool->lock |