Defined in 1 files as a function:

Referenced in 21 files:

Smatch caller information:

drivers/infiniband/hw/bnxt_re/ib_verbs.c bnxt_re_query_ah() -> rdma_ah_set_grh()

Type Parameter Key Value
PARAM_VALUE 0 attr 1429437888495177728,2695711303329021952,5077040712649068544,6427917392836628480,8015911828552966144
PARAM_VALUE 1 dgid 0
PARAM_VALUE 2 flow_label 0
PARAM_VALUE 4 hop_limit 0
DATA_SOURCE 0 attr $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 3 sgid_index 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/hw/bnxt_re/ib_verbs.c bnxt_re_query_qp() -> rdma_ah_set_grh()

Type Parameter Key Value
PARAM_VALUE 0 attr 4096-ptr_max
PARAM_VALUE 1 dgid 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 3 sgid_index unit_array_size
HALF_LOCKED2 &iser_conn->state_mutex

drivers/infiniband/hw/mlx5/qp.c to_rdma_ah_attr() -> rdma_ah_set_grh()

Type Parameter Key Value
PARAM_VALUE 0 attr 4096-ptr_max
PARAM_VALUE 1 dgid 0
PARAM_VALUE 2 flow_label 0-1048575
DATA_SOURCE 0 attr $1
MEM_ZERO 0 attr
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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_move_grh_sgid_attr() -> rdma_ah_set_grh()

Type Parameter Key Value
PARAM_VALUE 0 attr 4096-ptr_max
PARAM_VALUE 1 dgid 4096-ptr_max
DATA_SOURCE 0 attr $0
DATA_SOURCE 1 dgid $1
DATA_SOURCE 2 flow_label $2
DATA_SOURCE 4 hop_limit $3
DATA_SOURCE 5 traffic_class $4
MEM_ZERO 0 attr
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 3 sgid_index unit_array_size

drivers/infiniband/hw/erdma/erdma_verbs.c erdma_av_to_attr() -> rdma_ah_set_grh()

Type Parameter Key Value
PARAM_VALUE 0 attr 4096-ptr_max
PARAM_VALUE 0 attr->ah_flags 1
PARAM_VALUE 1 dgid 0
DATA_SOURCE 0 attr $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 3 sgid_index unit_array_size

drivers/infiniband/hw/mlx4/ah.c mlx4_ib_query_ah() -> rdma_ah_set_grh()

Type Parameter Key Value
PARAM_VALUE 0 attr 1333713899589808128,1429437888495177728,2329550830270103552,2695711303329021952,5077040712649068544,6427917392836628480,8015911828552966144
PARAM_VALUE 1 dgid 0
PARAM_VALUE 2 flow_label 0-1048575
DATA_SOURCE 0 attr $1
MEM_ZERO 0 attr
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 3 sgid_index unit_array_size
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_grh()

Type Parameter Key Value
PARAM_VALUE 0 attr 4096-ptr_max
PARAM_VALUE 1 dgid 0
PARAM_VALUE 2 flow_label 0-1048575
DATA_SOURCE 0 attr $1
MEM_ZERO 0 attr
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 3 sgid_index 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_grh()

Type Parameter Key Value
PARAM_VALUE 0 attr 8131430197823471616
PARAM_VALUE 1 dgid 7093679432811986944
PARAM_VALUE 2 flow_label 0
PARAM_VALUE 3 sgid_index 0
PARAM_VALUE 4 hop_limit 0
PARAM_VALUE 5 traffic_class 0
MEM_ZERO 0 attr
NOCHECK_CALL
HALF_LOCKED2 &group->lock
HALF_LOCKED2 &pool->lock

drivers/infiniband/ulp/ipoib/ipoib_multicast.c ipoib_mcast_join_finish() -> rdma_ah_set_grh()

Type Parameter Key Value
PARAM_VALUE 0 attr 2903683059894554624
PARAM_VALUE 1 dgid 4096-ptr_max
PARAM_VALUE 3 sgid_index 0
MEM_ZERO 0 attr
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/infiniband/hw/hns/hns_roce_ah.c hns_roce_query_ah() -> rdma_ah_set_grh()

Type Parameter Key Value
PARAM_VALUE 0 attr 1429437888495177728,2695711303329021952,5077040712649068544,6427917392836628480,8015911828552966144
PARAM_VALUE 1 dgid 0
DATA_SOURCE 0 attr $1
MEM_ZERO 0 attr
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 3 sgid_index 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/hw/ocrdma/ocrdma_ah.c ocrdma_query_ah() -> rdma_ah_set_grh()

Type Parameter Key Value
PARAM_VALUE 0 attr 1429437888495177728,2695711303329021952,5077040712649068544,6427917392836628480,8015911828552966144
PARAM_VALUE 1 dgid 0
DATA_SOURCE 0 attr $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 3 sgid_index 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/uverbs_marshall.c rdma_ah_conv_opa_to_ib() -> rdma_ah_set_grh()

Type Parameter Key Value
PARAM_VALUE 0 attr 5926689428294107136
PARAM_VALUE 1 dgid 0
PARAM_VALUE 2 flow_label 0
PARAM_VALUE 3 sgid_index 0
PARAM_VALUE 4 hop_limit 1
PARAM_VALUE 5 traffic_class 0
DATA_SOURCE 0 attr $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/infiniband/core/uverbs_cmd.c copy_ah_attr_from_uverbs() -> rdma_ah_set_grh()

Type Parameter Key Value
PARAM_VALUE 0 attr 4096-ptr_max
PARAM_VALUE 1 dgid 0
DATA_SOURCE 0 attr $1
NOCHECK_CALL
USER_DATA 2 flow_label 0-u32max
USER_DATA 3 sgid_index 0-255
USER_DATA 4 hop_limit 0-255
USER_DATA 5 traffic_class 0-255
UNITS 3 sgid_index unit_array_size
HALF_LOCKED2 &file->device->disassociate_srcu

drivers/infiniband/core/uverbs_cmd.c ib_uverbs_create_ah() -> rdma_ah_set_grh()

Type Parameter Key Value
PARAM_VALUE 0 attr 4497602210354266112
PARAM_VALUE 0 attr->ah_flags 0
PARAM_VALUE 1 dgid 0
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->port_num 0-255[c]
USER_DATA 0 attr->sl 0-255
USER_DATA 0 attr->static_rate 0-255
USER_DATA 2 flow_label 0-u32max
USER_DATA 3 sgid_index 0-255
USER_DATA 4 hop_limit 0-255
USER_DATA 5 traffic_class 0-255
UNITS 3 sgid_index unit_array_size
HALF_LOCKED2 &file->device->disassociate_srcu

drivers/infiniband/hw/mthca/mthca_av.c mthca_ah_query() -> rdma_ah_set_grh()

Type Parameter Key Value
PARAM_VALUE 0 attr 1429437888495177728,2695711303329021952,5077040712649068544,6427917392836628480,8015911828552966144
PARAM_VALUE 1 dgid 0
PARAM_VALUE 2 flow_label 0-1048575
CAPPED_DATA 3 sgid_index 1
DATA_SOURCE 0 attr $1
BIT_INFO 3 sgid_index 0x0,0xff
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_grh()

Type Parameter Key Value
PARAM_VALUE 0 attr 4096-ptr_max
PARAM_VALUE 1 dgid 0
PARAM_VALUE 2 flow_label 0
PARAM_VALUE 4 hop_limit 0
PARAM_VALUE 5 traffic_class 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 3 sgid_index unit_array_size
HALF_LOCKED2 &iser_conn->state_mutex

net/smc/smc_ib.c smc_ib_modify_qp_rtr() -> rdma_ah_set_grh()

Type Parameter Key Value
PARAM_VALUE 0 attr 4451487154140926016
PARAM_VALUE 1 dgid 0
PARAM_VALUE 2 flow_label 0
PARAM_VALUE 4 hop_limit 1,64
PARAM_VALUE 5 traffic_class 0
FUZZY_MAX 4 hop_limit 64
BIT_INFO 4 hop_limit 0x0,0x41
HARD_MAX 4 hop_limit 64
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/hw/mlx5/ah.c mlx5_ib_query_ah() -> rdma_ah_set_grh()

Type Parameter Key Value
PARAM_VALUE 0 attr 1429437888495177728,2695711303329021952,5077040712649068544,6427917392836628480,8015911828552966144
PARAM_VALUE 1 dgid 0
PARAM_VALUE 2 flow_label 0-1048575
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/core/user_mad.c ib_umad_write() -> rdma_ah_set_grh()

Type Parameter Key Value
PARAM_VALUE 0 attr 4708567135850668032
PARAM_VALUE 1 dgid 0
MEM_ZERO 0 attr
NOCHECK_CALL
UNITS 3 sgid_index unit_array_size
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_grh()

Type Parameter Key Value
PARAM_VALUE 0 attr 6440774372182777920
PARAM_VALUE 0 attr->ah_flags 0
PARAM_VALUE 1 dgid 0
PARAM_VALUE 2 flow_label 0
PARAM_VALUE 3 sgid_index 0
PARAM_VALUE 4 hop_limit 1
PARAM_VALUE 5 traffic_class 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/infiniband/hw/ionic/ionic_controlpath.c ionic_set_ah_attr() -> rdma_ah_set_grh()

Type Parameter Key Value
PARAM_VALUE 0 attr 4096-ptr_max
PARAM_VALUE 1 dgid 0
DATA_SOURCE 0 attr $1
DATA_SOURCE 3 sgid_index $3
MEM_ZERO 0 attr
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 3 sgid_index unit_array_size
HALF_LOCKED2 &pool->lock

drivers/infiniband/hw/qedr/verbs.c qedr_query_qp() -> rdma_ah_set_grh()

Type Parameter Key Value
PARAM_VALUE 0 attr 4096-ptr_max
PARAM_VALUE 1 dgid 0
MEM_ZERO 0 attr
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 3 sgid_index unit_array_size
HALF_LOCKED2 &iser_conn->state_mutex

drivers/infiniband/hw/mthca/mthca_qp.c to_rdma_ah_attr() -> rdma_ah_set_grh()

Type Parameter Key Value
PARAM_VALUE 0 attr 4096-ptr_max
PARAM_VALUE 1 dgid 0
PARAM_VALUE 2 flow_label 0-1048575
CAPPED_DATA 3 sgid_index 1
DATA_SOURCE 0 attr $1
BIT_INFO 3 sgid_index 0x0,0xff
MEM_ZERO 0 attr
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &qp->mutex
HALF_LOCKED2 &iser_conn->state_mutex
TYPE_LOCK (struct mthca_qp)->mutex