Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 msg 4096-ptr_max
PARAM_VALUE 0 msg->ah 4096-ptr_max
PARAM_VALUE 0 msg->ah->device 4096-ptr_max
PARAM_VALUE 0 msg->ah->pd 4096-ptr_max
PARAM_VALUE 0 msg->ah->type 0-3
PARAM_VALUE 0 msg->context 4096-ptr_max
PARAM_VALUE 0 msg->hdr_len 40,56,64
PARAM_VALUE 0 msg->mad 4096-ptr_max
PARAM_VALUE 0 msg->mad_agent 4096-ptr_max
PARAM_VALUE 1 buf 4096-ptr_max
BUF_SIZE 0 msg 80
BUF_SIZE 0 msg->ah s32min-s32max
DATA_SOURCE 0 msg r ib_create_send_mad
DATA_SOURCE 1 buf $1 [m]
USER_DATA 0 msg->data_len (-36)-999999920
USER_DATA 1 buf 4096-ptr_max[c]
LOCK2 &file->mutex
TYPE_LOCK (struct ib_umad_file)->mutex