Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/infiniband/core/cm.c ib_send_cm_dreq() -> cm_alloc_priv_msg()

Type Parameter Key Value
PARAM_VALUE 0 cm_id_priv 4096-ptr_max
PARAM_VALUE 0 cm_id_priv->id.state 10
PARAM_VALUE 1 state 11
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags
LOCK2 0 &cm_id_priv->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct cm_id_private)->lock

drivers/infiniband/core/cm.c ib_send_cm_req() -> cm_alloc_priv_msg()

Type Parameter Key Value
PARAM_VALUE 0 cm_id_priv 4096-ptr_max
PARAM_VALUE 0 cm_id_priv->av.port 0,4096-ptr_max
PARAM_VALUE 0 cm_id_priv->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 cm_id_priv->max_cm_retries 15
PARAM_VALUE 0 cm_id_priv->path_mtu 0-255
PARAM_VALUE 0 cm_id_priv->qp_type 2-3,9
PARAM_VALUE 0 cm_id_priv->timewait_info 4096-ptr_max
PARAM_VALUE 0 cm_id_priv->timewait_info->work.cm_event.event 9
PARAM_VALUE 1 state 2
BUF_SIZE 0 cm_id_priv->timewait_info 400
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 cm_id_priv->initiator_depth 0-255
USER_DATA 0 cm_id_priv->responder_resources 0-255
USER_DATA 0 cm_id_priv->retry_count 0-7[c]
LOCK2 flags
LOCK2 0 &cm_id_priv->lock
TYPE_LOCK (struct cm_id_private)->lock

drivers/infiniband/core/cm.c ib_send_cm_sidr_req() -> cm_alloc_priv_msg()

Type Parameter Key Value
PARAM_VALUE 0 cm_id_priv 4096-ptr_max
PARAM_VALUE 0 cm_id_priv->av.port 0,4096-ptr_max
PARAM_VALUE 0 cm_id_priv->max_cm_retries 15
PARAM_VALUE 0 cm_id_priv->timeout_ms 4096
PARAM_VALUE 1 state 14
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags
LOCK2 0 &cm_id_priv->lock
HALF_LOCKED2 &id_priv->handler_mutex
HALF_LOCKED2 &iser_conn->state_mutex
TYPE_LOCK (struct cm_id_private)->lock