Defined in 1 files as a function:
Referenced in 15 files:
- drivers/infiniband/core/mad.c, line 1906
- drivers/infiniband/core/uverbs_cmd.c, line 1643
- drivers/infiniband/core/uverbs_marshall.c, line 78
- drivers/infiniband/hw/hfi1/ipoib_tx.c, line 310
- drivers/infiniband/hw/hfi1/rc.c
- drivers/infiniband/hw/hfi1/ruc.c
- drivers/infiniband/hw/hfi1/ud.c
- drivers/infiniband/hw/mlx4/ah.c, line 50
- drivers/infiniband/hw/mlx4/qp.c, line 1765
- drivers/infiniband/hw/mlx5/ah.c, line 92
- drivers/infiniband/hw/mlx5/qp.c, line 3638
- drivers/infiniband/hw/mthca/mthca_av.c, line 201
- drivers/infiniband/hw/mthca/mthca_qp.c, line 525
- drivers/infiniband/hw/vmw_pvrdma/pvrdma_misc.c, line 292
- drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c, line 506
Smatch caller information:
drivers/infiniband/hw/mlx5/qp.c mlx5_set_path() -> rdma_ah_get_path_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| PARAM_VALUE | 0 | attr->type | 0-1,3-u32max |
| DATA_SOURCE | 0 | attr | $2 |
| NOSPEC | 0 | attr->port_num | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | attr->ib.dlid | 0-u16max |
| USER_DATA | 0 | attr->ib.src_path_bits | 0-255 |
| USER_DATA | 0 | attr->opa.dlid | 0-u16max |
| USER_DATA | 0 | attr->opa.src_path_bits | 0-255 |
| USER_DATA | 0 | attr->port_num | 0-255 |
| USER_DATA | 0 | attr->sl | 0-255 |
| USER_DATA | 0 | attr->static_rate | 0-255 |
| LOCK2 | &qp->mutex | ||
| HALF_LOCKED2 | &ibqp->qp_sec->mutex | ||
| TYPE_LOCK | (struct mlx5_ib_qp)->mutex |
drivers/infiniband/hw/mlx4/ah.c create_ib_ah() -> rdma_ah_get_path_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| PARAM_VALUE | 0 | attr->type | 0-1,3-u32max |
| DATA_SOURCE | 0 | attr | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/infiniband/hw/mlx4/qp.c _mlx4_set_path() -> rdma_ah_get_path_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| DATA_SOURCE | 0 | attr | $1 |
drivers/infiniband/core/mad.c rcv_has_same_gid() -> rdma_ah_get_path_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 6427917392836628480 |
| PARAM_VALUE | 0 | attr->ib.src_path_bits | 0 |
| PARAM_VALUE | 0 | attr->opa.src_path_bits | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &mad_agent_priv->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct ib_mad_agent_private)->lock |
drivers/infiniband/hw/hfi1/ipoib_tx.c hfi1_ipoib_build_ib_tx_headers() -> rdma_ah_get_path_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| BUF_SIZE | 0 | attr | 56 |
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->tx_global_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags |
drivers/infiniband/hw/vmw_pvrdma/pvrdma_misc.c rdma_ah_attr_to_pvrdma() -> rdma_ah_get_path_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| DATA_SOURCE | 0 | attr | $1 |
| NOSPEC | 0 | attr->port_num | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | attr->ib.dlid | 0-u16max |
| USER_DATA | 0 | attr->ib.src_path_bits | 0-255 |
| USER_DATA | 0 | attr->opa.dlid | 0-u16max |
| USER_DATA | 0 | attr->opa.src_path_bits | 0-255 |
| USER_DATA | 0 | attr->port_num | 0-255 |
| USER_DATA | 0 | attr->sl | 0-255 |
| USER_DATA | 0 | attr->static_rate | 0-255 |
| LOCK2 | &qp->mutex | ||
| HALF_LOCKED2 | &ibqp->qp_sec->mutex | ||
| TYPE_LOCK | (struct pvrdma_qp)->mutex |
drivers/infiniband/hw/hfi1/ud.c hfi1_make_ud_req_16B() -> rdma_ah_get_path_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| DATA_SOURCE | 0 | attr | r rvt_get_swqe_ah_attr |
| TASK_NOT_RUNNING | |||
| LOCK2 | &qp->s_lock | ||
| LOCK2 | ps.flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct rvt_qp)->s_lock |
drivers/infiniband/hw/hfi1/ud.c hfi1_make_ud_req_9B() -> rdma_ah_get_path_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| DATA_SOURCE | 0 | attr | r rvt_get_swqe_ah_attr |
| TASK_NOT_RUNNING | |||
| LOCK2 | &qp->s_lock | ||
| LOCK2 | ps.flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct rvt_qp)->s_lock |
drivers/infiniband/hw/hfi1/ud.c ud_loopback() -> rdma_ah_get_path_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| DATA_SOURCE | 0 | attr | r rvt_get_swqe_ah_attr |
| TASK_NOT_RUNNING | |||
| LOCK2 | ps.flags | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &pool->lock |
drivers/infiniband/hw/hfi1/ud.c ud_loopback() -> rdma_ah_get_path_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| DATA_SOURCE | 0 | attr | r rvt_get_swqe_ah_attr |
| PREEMPT_ADD | <- disables preempt | ||
| TASK_NOT_RUNNING | |||
| LOCK2 | &qp->r_lock | ||
| LOCK2 | flags | ||
| LOCK2 | ps.flags | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct rvt_qp)->r_lock |
drivers/infiniband/hw/hfi1/rc.c hfi1_make_rc_ack_16B() -> rdma_ah_get_path_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &packet->qp->r_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read |
drivers/infiniband/hw/hfi1/rc.c hfi1_make_rc_ack_9B() -> rdma_ah_get_path_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &packet->qp->r_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read |
drivers/infiniband/core/uverbs_marshall.c ib_copy_ah_attr_to_user() -> rdma_ah_get_path_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| BUF_SIZE | 0 | attr | (-1),56 |
| BUF_SIZE | 0 | attr | (-1),56 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/infiniband/core/uverbs_cmd.c copy_ah_attr_to_uverbs() -> rdma_ah_get_path_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| DATA_SOURCE | 0 | attr | $1 |
| HALF_LOCKED2 | &file->device->disassociate_srcu |
drivers/infiniband/hw/hfi1/ruc.c hfi1_make_ruc_header_16B() -> rdma_ah_get_path_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| TASK_NOT_RUNNING | |||
| LOCK2 | &qp->s_lock | ||
| LOCK2 | ps.flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct rvt_qp)->s_lock |
drivers/infiniband/hw/hfi1/ruc.c hfi1_make_ruc_header_9B() -> rdma_ah_get_path_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| TASK_NOT_RUNNING | |||
| LOCK2 | &qp->s_lock | ||
| LOCK2 | ps.flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct rvt_qp)->s_lock |
drivers/infiniband/hw/mthca/mthca_av.c mthca_create_ah() -> rdma_ah_get_path_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| DATA_SOURCE | 0 | attr | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/infiniband/hw/mlx5/ah.c create_ib_ah() -> rdma_ah_get_path_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| PARAM_VALUE | 0 | attr->type | 0-1,3-u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c pvrdma_create_ah() -> rdma_ah_get_path_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| PARAM_VALUE | 0 | attr->type | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/infiniband/hw/mthca/mthca_qp.c mthca_path_set() -> rdma_ah_get_path_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| DATA_SOURCE | 0 | attr | $1 |
| NOSPEC | 0 | attr->port_num | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | attr->ib.dlid | 0-u16max |
| USER_DATA | 0 | attr->ib.src_path_bits | 0-255 |
| USER_DATA | 0 | attr->opa.dlid | 0-u16max |
| USER_DATA | 0 | attr->opa.src_path_bits | 0-255 |
| USER_DATA | 0 | attr->port_num | 0-255 |
| USER_DATA | 0 | attr->sl | 0-255 |
| USER_DATA | 0 | attr->static_rate | 0-255 |
| LOCK2 | &qp->mutex | ||
| HALF_LOCKED2 | &ibqp->qp_sec->mutex | ||
| TYPE_LOCK | (struct mthca_qp)->mutex |