Documented in 2 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/infiniband/core/cm.c, line 297
- drivers/infiniband/core/sa_query.c, line 2350
- drivers/infiniband/core/verbs.c
- drivers/infiniband/hw/hfi1/mad.c, line 265
- drivers/infiniband/hw/mlx4/mad.c
- drivers/infiniband/hw/mthca/mthca_mad.c, line 91
- drivers/infiniband/ulp/ipoib/ipoib_ib.c, line 70
Smatch caller information:
drivers/infiniband/core/verbs.c ib_create_ah_from_wc() -> rdma_create_ah()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pd | 4096-ptr_max |
| PARAM_VALUE | 0 | pd->device | 4096-ptr_max |
| PARAM_VALUE | 0 | pd->device->port_data | 4096-ptr_max |
| PARAM_VALUE | 1 | ah_attr | 1773781027852144640 |
| PARAM_VALUE | 1 | ah_attr->ah_flags | 0-1 |
| PARAM_VALUE | 1 | ah_attr->grh.flow_label | 0 |
| PARAM_VALUE | 1 | ah_attr->grh.sgid_index | 0 |
| PARAM_VALUE | 1 | ah_attr->type | 0-3 |
| PARAM_VALUE | 2 | flags | 1 |
| DATA_SOURCE | 0 | pd | $0 |
| MEM_ZERO | 1 | ah_attr | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/infiniband/hw/mthca/mthca_mad.c update_sm_ah() -> rdma_create_ah()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ah_attr | 5743990552164433920 |
| PARAM_VALUE | 1 | ah_attr->port_num | 0-255 |
| PARAM_VALUE | 1 | ah_attr->sl | 0-15 |
| PARAM_VALUE | 1 | ah_attr->type | 0-3 |
| PARAM_VALUE | 2 | flags | 0 |
| MEM_ZERO | 1 | ah_attr | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/infiniband/hw/mlx4/mad.c mlx4_ib_send_to_slave() -> rdma_create_ah()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ah_attr | 8131430197823471616 |
| PARAM_VALUE | 1 | ah_attr->ah_flags | 0-1 |
| PARAM_VALUE | 1 | ah_attr->type | 0-3 |
| PARAM_VALUE | 2 | flags | 0 |
| MEM_ZERO | 1 | ah_attr | |
| HALF_LOCKED2 | &group->lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/infiniband/hw/mlx4/mad.c update_sm_ah() -> rdma_create_ah()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ah_attr | 4087960399980539904 |
| PARAM_VALUE | 1 | ah_attr->sl | 0-15 |
| PARAM_VALUE | 1 | ah_attr->type | 0-3 |
| PARAM_VALUE | 2 | flags | 0 |
| MEM_ZERO | 1 | ah_attr | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/infiniband/hw/hfi1/mad.c hfi1_create_qp0_ah() -> rdma_create_ah()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ah_attr | 485300334867484672 |
| PARAM_VALUE | 1 | ah_attr->ah_flags | 1 |
| PARAM_VALUE | 1 | ah_attr->type | 0 |
| PARAM_VALUE | 2 | flags | 0 |
| MEM_ZERO | 1 | ah_attr | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ibp->rvp.lock | ||
| LOCK2 | flags | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct rvt_ibport)->lock |
drivers/infiniband/core/sa_query.c update_sm_ah() -> rdma_create_ah()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ah_attr | 6209853698671001600 |
| PARAM_VALUE | 1 | ah_attr->ah_flags | 0-1 |
| PARAM_VALUE | 1 | ah_attr->type | 0-3 |
| PARAM_VALUE | 2 | flags | 1 |
| MEM_ZERO | 1 | ah_attr | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &device->client_data_rwsem | ||
| HALF_LOCKED2 | global &clients_rwsem | ||
| HALF_LOCKED2 | global &devices_rwsem |
drivers/infiniband/core/cm.c cm_alloc_msg_agent() -> rdma_create_ah()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ah_attr | 4096-ptr_max |
| PARAM_VALUE | 2 | flags | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cm_id_priv->av.port->cm_dev->mad_agent_lock | ||
| LOCK2 | &cm_id_priv->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct cm_device)->mad_agent_lock | ||
| TYPE_LOCK | (struct cm_id_private)->lock |
drivers/infiniband/ulp/ipoib/ipoib_ib.c ipoib_create_ah() -> rdma_create_ah()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ah_attr | 114499736245547008,2903683059894554624 |
| PARAM_VALUE | 1 | ah_attr->ah_flags | 0-1 |
| PARAM_VALUE | 1 | ah_attr->grh.sgid_index | 0 |
| PARAM_VALUE | 1 | ah_attr->opa.dlid | 0-u16max |
| PARAM_VALUE | 1 | ah_attr->port_num | 0-255 |
| PARAM_VALUE | 1 | ah_attr->type | 0-3 |
| PARAM_VALUE | 2 | flags | 1 |
| DATA_SOURCE | 0 | pd | $1 |
| DATA_SOURCE | 1 | ah_attr | $2 |
| MEM_ZERO | 1 | ah_attr | |
| RX_PATH | |||
| TASK_NOT_RUNNING |