Defined in 1 files as a function:
Referenced in 13 files:
- drivers/infiniband/core/uverbs_cmd.c, line 1644
- drivers/infiniband/core/uverbs_marshall.c, line 79
- drivers/infiniband/hw/hfi1/ud.c, line 511
- drivers/infiniband/hw/hns/hns_roce_ah.c, line 74
- drivers/infiniband/hw/mlx4/ah.c
- drivers/infiniband/hw/mlx4/qp.c
- drivers/infiniband/hw/mlx5/ah.c, line 71
- drivers/infiniband/hw/mlx5/qp.c, line 3652
- drivers/infiniband/hw/mthca/mthca_av.c, line 204
- drivers/infiniband/hw/mthca/mthca_qp.c, line 527
- drivers/infiniband/hw/vmw_pvrdma/pvrdma_misc.c, line 293
- drivers/infiniband/sw/rdmavt/ah.c, line 28
- drivers/infiniband/sw/rdmavt/qp.c, line 1581
Smatch caller information:
drivers/infiniband/hw/mlx5/qp.c mlx5_set_path() -> rdma_ah_get_static_rate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| 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_static_rate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| DATA_SOURCE | 0 | attr | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/infiniband/hw/mlx4/ah.c create_ib_ah() -> rdma_ah_get_static_rate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| PARAM_VALUE | 0 | attr->static_rate | 1-255 |
| DATA_SOURCE | 0 | attr | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/infiniband/hw/mlx4/ah.c create_iboe_ah() -> rdma_ah_get_static_rate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| DATA_SOURCE | 0 | attr | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/infiniband/hw/mlx4/ah.c create_iboe_ah() -> rdma_ah_get_static_rate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| PARAM_VALUE | 0 | attr->static_rate | 1-255 |
| 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_static_rate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| DATA_SOURCE | 0 | attr | $1 |
drivers/infiniband/hw/mlx4/qp.c _mlx4_set_path() -> rdma_ah_get_static_rate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| PARAM_VALUE | 0 | attr->static_rate | 1-255 |
| DATA_SOURCE | 0 | attr | $1 |
drivers/infiniband/sw/rdmavt/qp.c rvt_modify_qp() -> rdma_ah_get_static_rate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| NOSPEC | 0 | attr->port_num | |
| PREEMPT_ADD | <- disables preempt | ||
| 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->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/vmw_pvrdma/pvrdma_misc.c rdma_ah_attr_to_pvrdma() -> rdma_ah_get_static_rate()
| 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() -> rdma_ah_get_static_rate()
| 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/hns/hns_roce_ah.c hns_roce_create_ah() -> rdma_ah_get_static_rate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/infiniband/sw/rdmavt/ah.c rvt_check_ah() -> rdma_ah_get_static_rate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| DATA_SOURCE | 0 | attr | $1 |
| NOSPEC | 0 | attr->port_num | |
| PREEMPT_ADD | |||
| 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 |
| HALF_LOCKED2 | &ibp->rvp.lock | ||
| HALF_LOCKED2 | &qp->r_lock | ||
| HALF_LOCKED2 | &qp->s_hlock | ||
| HALF_LOCKED2 | &qp->s_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | rcu_read |
drivers/infiniband/core/uverbs_marshall.c ib_copy_ah_attr_to_user() -> rdma_ah_get_static_rate()
| 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_static_rate()
| 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/mthca/mthca_av.c mthca_create_ah() -> rdma_ah_get_static_rate()
| 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_static_rate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/infiniband/hw/mthca/mthca_qp.c mthca_path_set() -> rdma_ah_get_static_rate()
| 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 |