Documented in 1 files:
Defined in 1 files as a function:
Referenced in 10 files:
- drivers/infiniband/core/cm.c
- drivers/infiniband/core/cma.c, line 2962
- drivers/infiniband/core/sa_query.c, line 2138
- drivers/infiniband/core/ucma.c, line 1390
- drivers/infiniband/core/uverbs_cmd.c, line 1176
- drivers/infiniband/core/uverbs_std_types_device.c, line 156
- drivers/infiniband/sw/rdmavt/qp.c, line 1419
- drivers/infiniband/ulp/ipoib/ipoib_main.c, line 907
- drivers/infiniband/ulp/srp/ib_srp.c, line 318
- include/rdma/ib_verbs.h, line 4990
Smatch caller information:
drivers/infiniband/hw/mlx5/qp.c rdma_ah_find_type() -> rdma_cap_opa_ah()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->port_data | 4096-ptr_max |
| PARAM_VALUE | 1 | port_num | 1-255 |
| CAPPED_DATA | 1 | port_num | 1 |
| DATA_SOURCE | 0 | device | $0 |
| DATA_SOURCE | 1 | port_num | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | port_num | unit_array_size |
| LOCK2 | &qp->mutex | ||
| HALF_LOCKED2 | &iser_conn->state_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct mlx5_ib_qp)->mutex |
drivers/infiniband/core/verbs.c rdma_ah_find_type() -> rdma_cap_opa_ah()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->port_data | 4096-ptr_max |
| DATA_SOURCE | 0 | device | $0 |
| DATA_SOURCE | 1 | port_num | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | port_num | unit_array_size |
| HALF_LOCKED2 | &pool->lock |
drivers/infiniband/hw/mthca/mthca_mad.c rdma_ah_find_type() -> rdma_cap_opa_ah()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->port_data | 4096-ptr_max |
| DATA_SOURCE | 0 | device | $0 |
| DATA_SOURCE | 1 | port_num | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/infiniband/hw/mlx4/qp.c rdma_ah_find_type() -> rdma_cap_opa_ah()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->port_data | 4096-ptr_max |
| PARAM_VALUE | 1 | port_num | 1-2 |
| CAPPED_DATA | 1 | port_num | 1 |
| DATA_SOURCE | 0 | device | $0 |
| DATA_SOURCE | 1 | port_num | $1 |
| FUZZY_MAX | 1 | port_num | 2 |
| HARD_MAX | 1 | port_num | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | port_num | unit_array_size |
| LOCK2 | &qp->mutex | ||
| HALF_LOCKED2 | &iser_conn->state_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct mlx4_ib_qp)->mutex |
drivers/infiniband/sw/rdmavt/qp.c rvt_modify_qp() -> rdma_cap_opa_ah()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->port_data | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | port_num | unit_array_size |
| LOCK2 | &qp->r_lock | ||
| LOCK2 | &qp->s_hlock | ||
| LOCK2 | &qp->s_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &ibqp->qp_sec->mutex | ||
| TYPE_LOCK | (struct rvt_qp)->r_lock | ||
| TYPE_LOCK | (struct rvt_qp)->s_hlock | ||
| TYPE_LOCK | (struct rvt_qp)->s_lock |
drivers/infiniband/hw/mlx4/mad.c rdma_ah_find_type() -> rdma_cap_opa_ah()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->port_data | 4096-ptr_max |
| DATA_SOURCE | 0 | device | $0 |
| DATA_SOURCE | 1 | port_num | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/infiniband/core/cma.c cma_query_ib_route() -> rdma_cap_opa_ah()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ctx->mutex | ||
| HALF_LOCKED2 | &iser_conn->state_mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/infiniband/ulp/ipoib/ipoib_multicast.c rdma_ah_find_type() -> rdma_cap_opa_ah()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->port_data | 4096-ptr_max |
| DATA_SOURCE | 0 | device | $0 |
| DATA_SOURCE | 1 | port_num | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | port_num | unit_array_size |
drivers/infiniband/hw/hfi1/mad.c rdma_ah_find_type() -> rdma_cap_opa_ah()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->port_data | 4096-ptr_max |
| DATA_SOURCE | 0 | device | $0 |
| DATA_SOURCE | 1 | port_num | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ibp->rvp.lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct rvt_ibport)->lock |
drivers/infiniband/core/uverbs_std_types_device.c copy_port_attr_to_resp() -> rdma_cap_opa_ah()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->port_data | 4096-ptr_max |
| CAPPED_DATA | 1 | port_num | 1 |
| DATA_SOURCE | 0 | device | $2 |
| DATA_SOURCE | 1 | port_num | $3 |
| USER_DATA | 1 | port_num | 0-255[c] |
drivers/infiniband/ulp/ipoib/ipoib_main.c init_path_rec() -> rdma_cap_opa_ah()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | port_num | unit_array_size |
| HALF_LOCKED2 | &dev->tx_global_lock | ||
| HALF_LOCKED2 | &priv->lock | ||
| HALF_LOCKED2 | &priv->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct ipoib_dev_priv)->lock |
drivers/infiniband/core/sa_query.c ib_sa_classport_info_rec_query() -> rdma_cap_opa_ah()
| Type | Parameter | Key | Value |
|---|---|---|---|
| HALF_LOCKED2 | &pool->lock |
drivers/infiniband/core/sa_query.c rdma_ah_find_type() -> rdma_cap_opa_ah()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->port_data | 4096-ptr_max |
| DATA_SOURCE | 0 | device | $0 |
| DATA_SOURCE | 1 | port_num | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | port_num | unit_array_size |
drivers/infiniband/core/uverbs_cmd.c copy_wc_to_user() -> rdma_cap_opa_ah()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| DATA_SOURCE | 0 | device | $0 |
| UNITS | 1 | port_num | unit_array_size |
| HALF_LOCKED2 | &file->device->disassociate_srcu |
drivers/infiniband/core/uverbs_cmd.c rdma_ah_find_type() -> rdma_cap_opa_ah()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->port_data | 4096-ptr_max |
| DATA_SOURCE | 0 | device | $0 |
| DATA_SOURCE | 1 | port_num | $1 |
| USER_DATA | 1 | port_num | 0-255 |
| UNITS | 1 | port_num | unit_array_size |
| HALF_LOCKED2 | &file->device->disassociate_srcu |
drivers/infiniband/core/ucma.c ucma_set_ib_path() -> rdma_cap_opa_ah()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 1-u64max |
drivers/infiniband/core/cm.c cm_opa_to_ib_sgid() -> rdma_cap_opa_ah()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->port_data | 4096-ptr_max |
| CAPPED_DATA | 1 | port_num | 1 |
| HALF_LOCKED2 | &pool->lock |
drivers/infiniband/core/cm.c cm_path_set_rec_type() -> rdma_cap_opa_ah()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->port_data | 4096-ptr_max |
| DATA_SOURCE | 0 | device | $0 |
| DATA_SOURCE | 1 | port_num | $1 |
| HALF_LOCKED2 | &pool->lock |
drivers/infiniband/ulp/srp/ib_srp.c srp_new_ib_cm_id() -> rdma_cap_opa_ah()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| LOCK2 | &rport->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct srp_rport)->mutex |
drivers/infiniband/core/user_mad.c rdma_ah_find_type() -> rdma_cap_opa_ah()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->port_data | 4096-ptr_max |
| DATA_SOURCE | 0 | device | $0 |
| DATA_SOURCE | 1 | port_num | $1 |
| LOCK2 | &file->mutex | ||
| TYPE_LOCK | (struct ib_umad_file)->mutex |
drivers/infiniband/core/multicast.c rdma_ah_find_type() -> rdma_cap_opa_ah()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->port_data | 4096-ptr_max |
| CAPPED_DATA | 1 | port_num | 1 |
| DATA_SOURCE | 0 | device | $0 |
| DATA_SOURCE | 1 | port_num | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ctx->mutex | ||
| HALF_LOCKED2 | &id_priv->handler_mutex |
drivers/infiniband/hw/mthca/mthca_qp.c rdma_ah_find_type() -> rdma_cap_opa_ah()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->port_data | 4096-ptr_max |
| PARAM_VALUE | 1 | port_num | 1-3 |
| CAPPED_DATA | 1 | port_num | 1 |
| DATA_SOURCE | 0 | device | $0 |
| DATA_SOURCE | 1 | port_num | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &qp->mutex | ||
| HALF_LOCKED2 | &iser_conn->state_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct mthca_qp)->mutex |