Defined in 1 files as a function:

Referenced in 12 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 attr 4096-ptr_max
PARAM_VALUE 0 attr->type 0-3
PARAM_VALUE 1 src_path_bits 0-127
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 ib_init_ah_attr_from_wc() -> rdma_ah_set_path_bits()

Type Parameter Key Value
PARAM_VALUE 0 attr 4096-ptr_max
PARAM_VALUE 0 attr->type 0-3
DATA_SOURCE 0 attr $4
MEM_ZERO 0 attr
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

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

Type Parameter Key Value
PARAM_VALUE 0 attr 1333713899589808128,1429437888495177728,2329550830270103552,2695711303329021952,5077040712649068544,6427917392836628480,8015911828552966144
PARAM_VALUE 1 src_path_bits 0-127
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_path_bits()

Type Parameter Key Value
PARAM_VALUE 0 attr 4096-ptr_max
PARAM_VALUE 0 attr->type 0-3
PARAM_VALUE 1 src_path_bits 0-127
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
TYPE_LOCK (struct mlx4_ib_qp)->mutex

drivers/infiniband/hw/vmw_pvrdma/pvrdma_misc.c pvrdma_ah_attr_to_rdma() -> rdma_ah_set_path_bits()

Type Parameter Key Value
PARAM_VALUE 0 attr 4096-ptr_max
PARAM_VALUE 0 attr->type 2
DATA_SOURCE 0 attr $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &qp->mutex
HALF_LOCKED2 &iser_conn->state_mutex
TYPE_LOCK (struct pvrdma_qp)->mutex

drivers/infiniband/core/sa_query.c ib_init_ah_attr_from_path() -> rdma_ah_set_path_bits()

Type Parameter Key Value
PARAM_VALUE 0 attr 4096-ptr_max
PARAM_VALUE 0 attr->type 0-3
CAPPED_DATA 1 src_path_bits 1
DATA_SOURCE 0 attr $3
MEM_ZERO 0 attr
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &id_priv->handler_mutex
HALF_LOCKED2 &pool->lock

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

Type Parameter Key Value
PARAM_VALUE 0 attr 4096-ptr_max
PARAM_VALUE 0 attr->type 0-3
DATA_SOURCE 0 attr $1
NOCHECK_CALL
USER_DATA 0 attr->ib.dlid 0-u16max
USER_DATA 0 attr->opa.dlid 0-u16max
USER_DATA 0 attr->sl 0-255
USER_DATA 1 src_path_bits 0-255
HALF_LOCKED2 &file->device->disassociate_srcu

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

Type Parameter Key Value
PARAM_VALUE 0 attr 4497602210354266112
PARAM_VALUE 0 attr->ib.src_path_bits 0
PARAM_VALUE 0 attr->opa.src_path_bits 0
PARAM_VALUE 0 attr->type 0-3
NOCHECK_CALL
USER_DATA 0 attr->ib.dlid 0-u16max
USER_DATA 0 attr->opa.dlid 0-u16max
USER_DATA 0 attr->sl 0-255
USER_DATA 1 src_path_bits 0-255
HALF_LOCKED2 &file->device->disassociate_srcu

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

Type Parameter Key Value
PARAM_VALUE 0 attr 1429437888495177728,2695711303329021952,5077040712649068544,6427917392836628480,8015911828552966144
PARAM_VALUE 0 attr->type 0
PARAM_VALUE 1 src_path_bits 0-127
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_path_bits()

Type Parameter Key Value
PARAM_VALUE 0 attr 4096-ptr_max
PARAM_VALUE 0 attr->type 2
PARAM_VALUE 1 src_path_bits 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &iser_conn->state_mutex

drivers/infiniband/core/user_mad.c ib_umad_write() -> rdma_ah_set_path_bits()

Type Parameter Key Value
PARAM_VALUE 0 attr 4708567135850668032
PARAM_VALUE 0 attr->type 0-3
MEM_ZERO 0 attr
NOCHECK_CALL
LOCK2 &file->mutex
TYPE_LOCK (struct ib_umad_file)->mutex

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

Type Parameter Key Value
PARAM_VALUE 0 attr 4096-ptr_max
PARAM_VALUE 0 attr->type 2
PARAM_VALUE 1 src_path_bits 0
MEM_ZERO 0 attr
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &iser_conn->state_mutex

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

Type Parameter Key Value
PARAM_VALUE 0 attr 4096-ptr_max
PARAM_VALUE 0 attr->type 0-3
PARAM_VALUE 1 src_path_bits 0-127
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
TYPE_LOCK (struct mthca_qp)->mutex