Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/infiniband/ulp/ipoib/ipoib_cm.c ipoib_cm_nonsrq_init_rx() -> ib_send_cm_rej()

Type Parameter Key Value
PARAM_VALUE 0 cm_id 4096-ptr_max
PARAM_VALUE 0 cm_id->context 4096-ptr_max
PARAM_VALUE 1 reason 1
PARAM_VALUE 2 ari 0
PARAM_VALUE 3 ari_length 0
PARAM_VALUE 4 private_data 0
PARAM_VALUE 5 private_data_len 0
BUF_SIZE 0 cm_id->context 64
DATA_SOURCE 0 cm_id $1
RX_PATH
NOCHECK_CALL
LOCK2 &pool->lock

drivers/infiniband/ulp/ipoib/ipoib_cm.c ipoib_cm_tx_handler() -> ib_send_cm_rej()

Type Parameter Key Value
PARAM_VALUE 0 cm_id 8024153635201077248
PARAM_VALUE 0 cm_id->cm_handler 4416922711019692032
PARAM_VALUE 0 cm_id->context 4096-ptr_max
PARAM_VALUE 0 cm_id->context->mtu 0-4294967295
PARAM_VALUE 0 cm_id->state 0,2-13
PARAM_VALUE 1 reason 28
PARAM_VALUE 2 ari 0
PARAM_VALUE 3 ari_length 0
PARAM_VALUE 4 private_data 0
PARAM_VALUE 5 private_data_len 0
DATA_SOURCE 0 cm_id $0
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/infiniband/core/cma.c cma_rep_recv() -> ib_send_cm_rej()

Type Parameter Key Value
PARAM_VALUE 1 reason 28
PARAM_VALUE 2 ari 0
PARAM_VALUE 3 ari_length 0
PARAM_VALUE 4 private_data 0
PARAM_VALUE 5 private_data_len 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &id_priv->handler_mutex
HALF_LOCKED2 &pool->lock

drivers/infiniband/core/cma.c rdma_reject() -> ib_send_cm_rej()

Type Parameter Key Value
PARAM_VALUE 0 cm_id 1-u64max
PARAM_VALUE 1 reason 28,35
PARAM_VALUE 2 ari 0
PARAM_VALUE 3 ari_length 0
BUF_SIZE 4 private_data (-1),4,32,56,256
BUF_SIZE 4 private_data (-1),4,32,56,256
DATA_SOURCE 1 reason $3
DATA_SOURCE 4 private_data $1
DATA_SOURCE 5 private_data_len $2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 reason 28,35
USER_DATA 5 private_data_len 0-255
UNITS 5 private_data_len unit_byte
USER_PTR 4 private_data
HALF_LOCKED2 &ctx->mutex

drivers/infiniband/core/cm.c cm_req_handler() -> ib_send_cm_rej()

Type Parameter Key Value
PARAM_VALUE 0 cm_id 4096-ptr_max
PARAM_VALUE 0 cm_id->cm_handler 0
PARAM_VALUE 0 cm_id->context 0
PARAM_VALUE 0 cm_id->remote_cm_qpn 1
PARAM_VALUE 0 cm_id->state 3
PARAM_VALUE 1 reason 12
PARAM_VALUE 2 ari 0
PARAM_VALUE 3 ari_length 0
PARAM_VALUE 4 private_data 0
PARAM_VALUE 5 private_data_len 0
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/infiniband/core/cm.c cm_req_handler() -> ib_send_cm_rej()

Type Parameter Key Value
PARAM_VALUE 0 cm_id 4096-ptr_max
PARAM_VALUE 0 cm_id->cm_handler 0
PARAM_VALUE 0 cm_id->context 0
PARAM_VALUE 0 cm_id->remote_cm_qpn 1
PARAM_VALUE 0 cm_id->state 3
PARAM_VALUE 1 reason 12
PARAM_VALUE 2 ari 4096-ptr_max
PARAM_VALUE 3 ari_length 16
PARAM_VALUE 4 private_data 0
PARAM_VALUE 5 private_data_len 0
BUF_SIZE 2 ari 16
NOCHECK_CALL
UNITS 3 ari_length unit_byte
HALF_LOCKED2 &pool->lock

drivers/infiniband/core/cm.c cm_req_handler() -> ib_send_cm_rej()

Type Parameter Key Value
PARAM_VALUE 0 cm_id 4096-ptr_max
PARAM_VALUE 0 cm_id->cm_handler 0
PARAM_VALUE 0 cm_id->context 0
PARAM_VALUE 0 cm_id->remote_cm_qpn 1
PARAM_VALUE 0 cm_id->state 3
PARAM_VALUE 1 reason 18
PARAM_VALUE 2 ari 4096-ptr_max
PARAM_VALUE 3 ari_length 16
PARAM_VALUE 4 private_data 0
PARAM_VALUE 5 private_data_len 0
BUF_SIZE 2 ari 16
NOCHECK_CALL
UNITS 3 ari_length unit_byte
HALF_LOCKED2 &pool->lock

drivers/infiniband/ulp/srpt/ib_srpt.c srpt_cm_req_recv() -> ib_send_cm_rej()

Type Parameter Key Value
PARAM_VALUE 0 cm_id 0,4096-ptr_max
PARAM_VALUE 1 reason 28
PARAM_VALUE 2 ari 0
PARAM_VALUE 3 ari_length 0
PARAM_VALUE 4 private_data 4096-ptr_max
PARAM_VALUE 5 private_data_len 32
BUF_SIZE 0 cm_id->context 0,400,u64max
BUF_SIZE 4 private_data 32
DATA_SOURCE 0 cm_id $1
DATA_SOURCE 4 private_data r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 5 private_data_len unit_byte
HALF_LOCKED2 &pool->lock