Defined in 1 files as a function:
Referenced in 24 files:
- drivers/infiniband/core/multicast.c, line 761
- drivers/infiniband/core/sa_query.c
- drivers/infiniband/core/user_mad.c, line 562
- drivers/infiniband/core/uverbs_cmd.c
- drivers/infiniband/core/verbs.c, line 880
- drivers/infiniband/hw/bnxt_re/ib_verbs.c, line 917
- drivers/infiniband/hw/erdma/erdma_verbs.c, line 1651
- drivers/infiniband/hw/hfi1/mad.c, line 219
- drivers/infiniband/hw/hns/hns_roce_ah.c, line 133
- drivers/infiniband/hw/hns/hns_roce_hw_v2.c
- drivers/infiniband/hw/ionic/ionic_controlpath.c, line 657
- drivers/infiniband/hw/mlx4/ah.c, line 217
- drivers/infiniband/hw/mlx4/mad.c
- drivers/infiniband/hw/mlx4/qp.c, line 3977
- drivers/infiniband/hw/mlx5/qp.c, line 4982
- drivers/infiniband/hw/mthca/mthca_av.c, line 306
- drivers/infiniband/hw/mthca/mthca_mad.c, line 89
- drivers/infiniband/hw/mthca/mthca_qp.c, line 408
- drivers/infiniband/hw/ocrdma/ocrdma_verbs.c, line 1500
- drivers/infiniband/hw/qedr/verbs.c, line 2743
- drivers/infiniband/hw/vmw_pvrdma/pvrdma_misc.c, line 282
- drivers/infiniband/sw/rxe/rxe_av.c, line 100
- drivers/infiniband/ulp/ipoib/ipoib_multicast.c, line 279
- net/smc/smc_ib.c, line 74
Smatch caller information:
drivers/infiniband/hw/bnxt_re/ib_verbs.c bnxt_re_query_ah() -> rdma_ah_set_port_num()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 1429437888495177728,2695711303329021952,5077040712649068544,6427917392836628480,8015911828552966144 |
| PARAM_VALUE | 1 | port_num | 1 |
| DATA_SOURCE | 0 | attr | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &agent->lock | ||
| HALF_LOCKED2 | &group->lock | ||
| HALF_LOCKED2 | &mad_agent_priv->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | flags |
drivers/infiniband/hw/mlx5/qp.c to_rdma_ah_attr() -> rdma_ah_set_port_num()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| PARAM_VALUE | 1 | port_num | 1-255 |
| CAPPED_DATA | 1 | port_num | 1 |
| DATA_SOURCE | 0 | attr | $1 |
| MEM_ZERO | 0 | attr | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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 ib_init_ah_attr_from_wc() -> rdma_ah_set_port_num()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| DATA_SOURCE | 0 | attr | $4 |
| DATA_SOURCE | 1 | port_num | $1 |
| MEM_ZERO | 0 | attr | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | port_num | unit_array_size |
| HALF_LOCKED2 | &pool->lock |
drivers/infiniband/hw/mthca/mthca_mad.c update_sm_ah() -> rdma_ah_set_port_num()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 5743990552164433920 |
| DATA_SOURCE | 1 | port_num | $1 |
| MEM_ZERO | 0 | attr | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/hw/erdma/erdma_verbs.c erdma_av_to_attr() -> rdma_ah_set_port_num()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| DATA_SOURCE | 0 | attr | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | port_num | unit_array_size |
drivers/infiniband/sw/rxe/rxe_av.c rxe_av_to_attr() -> rdma_ah_set_port_num()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| DATA_SOURCE | 0 | attr | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/infiniband/hw/mlx4/ah.c mlx4_ib_query_ah() -> rdma_ah_set_port_num()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 1333713899589808128,1429437888495177728,2329550830270103552,2695711303329021952,5077040712649068544,6427917392836628480,8015911828552966144 |
| PARAM_VALUE | 1 | port_num | 0-255 |
| DATA_SOURCE | 0 | attr | $1 |
| MEM_ZERO | 0 | attr | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->sm_lock | ||
| HALF_LOCKED2 | &group->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | flags |
drivers/infiniband/hw/mlx4/qp.c to_rdma_ah_attr() -> rdma_ah_set_port_num()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| PARAM_VALUE | 1 | port_num | 1-2 |
| CAPPED_DATA | 1 | port_num | 1 |
| DATA_SOURCE | 0 | attr | $1 |
| FUZZY_MAX | 1 | port_num | 2 |
| HARD_MAX | 1 | port_num | 2 |
| MEM_ZERO | 0 | attr | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | port_num | unit_array_size |
| LOCK2 | &qp->mutex | ||
| HALF_LOCKED2 | &iser_conn->state_mutex | ||
| TYPE_LOCK | (struct mlx4_ib_qp)->mutex |
drivers/infiniband/hw/mlx4/mad.c mlx4_ib_send_to_slave() -> rdma_ah_set_port_num()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 8131430197823471616 |
| DATA_SOURCE | 1 | port_num | $2 |
| MEM_ZERO | 0 | attr | |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &group->lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/infiniband/hw/mlx4/mad.c update_sm_ah() -> rdma_ah_set_port_num()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4087960399980539904 |
| DATA_SOURCE | 1 | port_num | $1 |
| MEM_ZERO | 0 | attr | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/ulp/ipoib/ipoib_multicast.c ipoib_mcast_join_finish() -> rdma_ah_set_port_num()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 2903683059894554624 |
| MEM_ZERO | 0 | attr | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | port_num | unit_array_size |
drivers/infiniband/hw/hfi1/mad.c hfi1_update_sm_ah_attr() -> rdma_ah_set_port_num()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 485300334867484672,6597007380989095936 |
| DATA_SOURCE | 0 | attr | $1 |
| MEM_ZERO | 0 | attr | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | port_num | unit_array_size |
| LOCK2 | &ibp->rvp.lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct rvt_ibport)->lock |
drivers/infiniband/hw/vmw_pvrdma/pvrdma_misc.c pvrdma_ah_attr_to_rdma() -> rdma_ah_set_port_num()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| DATA_SOURCE | 0 | attr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | port_num | unit_array_size |
| LOCK2 | &qp->mutex | ||
| HALF_LOCKED2 | &iser_conn->state_mutex | ||
| TYPE_LOCK | (struct pvrdma_qp)->mutex |
drivers/infiniband/hw/hns/hns_roce_ah.c hns_roce_query_ah() -> rdma_ah_set_port_num()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 1429437888495177728,2695711303329021952,5077040712649068544,6427917392836628480,8015911828552966144 |
| DATA_SOURCE | 0 | attr | $1 |
| MEM_ZERO | 0 | attr | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | port_num | unit_array_size |
| HALF_LOCKED2 | &agent->lock | ||
| HALF_LOCKED2 | &group->lock | ||
| HALF_LOCKED2 | &mad_agent_priv->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | flags |
drivers/infiniband/core/sa_query.c ib_init_ah_attr_from_path() -> rdma_ah_set_port_num()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| PARAM_VALUE | 0 | attr->port_num | 0 |
| DATA_SOURCE | 0 | attr | $3 |
| DATA_SOURCE | 1 | port_num | $1 |
| MEM_ZERO | 0 | attr | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | port_num | unit_array_size |
| HALF_LOCKED2 | &id_priv->handler_mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/infiniband/core/sa_query.c update_sm_ah() -> rdma_ah_set_port_num()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 6209853698671001600 |
| CAPPED_DATA | 1 | port_num | 1 |
| MEM_ZERO | 0 | attr | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &device->client_data_rwsem | ||
| HALF_LOCKED2 | global &clients_rwsem | ||
| HALF_LOCKED2 | global &devices_rwsem |
drivers/infiniband/core/uverbs_cmd.c copy_ah_attr_from_uverbs() -> rdma_ah_set_port_num()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| DATA_SOURCE | 0 | attr | $1 |
| NOCHECK_CALL | |||
| 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->sl | 0-255 |
| USER_DATA | 0 | attr->static_rate | 0-255 |
| USER_DATA | 1 | port_num | 0-255 |
| UNITS | 1 | port_num | unit_array_size |
| HALF_LOCKED2 | &file->device->disassociate_srcu |
drivers/infiniband/core/uverbs_cmd.c ib_uverbs_create_ah() -> rdma_ah_set_port_num()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4497602210354266112 |
| PARAM_VALUE | 0 | attr->port_num | 0 |
| CAPPED_DATA | 1 | port_num | 1 |
| NOCHECK_CALL | |||
| 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->sl | 0-255 |
| USER_DATA | 0 | attr->static_rate | 0-255 |
| USER_DATA | 1 | port_num | 0-255[c] |
| UNITS | 1 | port_num | unit_array_size |
| HALF_LOCKED2 | &file->device->disassociate_srcu |
drivers/infiniband/hw/mthca/mthca_av.c mthca_ah_query() -> rdma_ah_set_port_num()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 1429437888495177728,2695711303329021952,5077040712649068544,6427917392836628480,8015911828552966144 |
| PARAM_VALUE | 1 | port_num | 0-255 |
| DATA_SOURCE | 0 | attr | $1 |
| MEM_ZERO | 0 | attr | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &agent->lock | ||
| HALF_LOCKED2 | &group->lock | ||
| HALF_LOCKED2 | &mad_agent_priv->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | flags |
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c ocrdma_query_qp() -> rdma_ah_set_port_num()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| PARAM_VALUE | 1 | port_num | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &iser_conn->state_mutex |
net/smc/smc_ib.c smc_ib_modify_qp_rtr() -> rdma_ah_set_port_num()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4451487154140926016 |
| MEM_ZERO | 0 | attr | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &new_smc->sk | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &smc_client_lgr_pending | ||
| HALF_LOCKED2 | global &smc_server_lgr_pending |
drivers/infiniband/core/user_mad.c ib_umad_write() -> rdma_ah_set_port_num()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4708567135850668032 |
| MEM_ZERO | 0 | attr | |
| NOCHECK_CALL | |||
| LOCK2 | &file->mutex | ||
| TYPE_LOCK | (struct ib_umad_file)->mutex |
drivers/infiniband/hw/hns/hns_roce_hw_v2.c free_mr_modify_qp() -> rdma_ah_set_port_num()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 6440774372182777920 |
| PARAM_VALUE | 0 | attr->port_num | 0 |
| PARAM_VALUE | 1 | port_num | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/hw/ionic/ionic_controlpath.c ionic_set_ah_attr() -> rdma_ah_set_port_num()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| PARAM_VALUE | 1 | port_num | 1 |
| DATA_SOURCE | 0 | attr | $1 |
| MEM_ZERO | 0 | attr | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/infiniband/hw/qedr/verbs.c qedr_query_qp() -> rdma_ah_set_port_num()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| PARAM_VALUE | 1 | port_num | 1 |
| MEM_ZERO | 0 | attr | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &iser_conn->state_mutex |
drivers/infiniband/core/multicast.c ib_init_ah_from_mcmember() -> rdma_ah_set_port_num()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| CAPPED_DATA | 1 | port_num | 1 |
| DATA_SOURCE | 0 | attr | $5 |
| DATA_SOURCE | 1 | port_num | $1 |
| MEM_ZERO | 0 | attr | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ctx->mutex | ||
| HALF_LOCKED2 | &id_priv->handler_mutex |
drivers/infiniband/hw/mthca/mthca_qp.c to_rdma_ah_attr() -> rdma_ah_set_port_num()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| PARAM_VALUE | 1 | port_num | 1-3 |
| CAPPED_DATA | 1 | port_num | 1 |
| DATA_SOURCE | 0 | attr | $1 |
| MEM_ZERO | 0 | attr | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | port_num | unit_array_size |
| LOCK2 | &qp->mutex | ||
| HALF_LOCKED2 | &iser_conn->state_mutex | ||
| TYPE_LOCK | (struct mthca_qp)->mutex |