Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/infiniband/core/mad.c ib_get_payload() -> ib_get_rmpp_segment()

Type Parameter Key Value
PARAM_VALUE 0 send_buf 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 1 seg_num unit_byte
HALF_LOCKED2 &mad_agent_priv->lock
HALF_LOCKED2 flags

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

Type Parameter Key Value
PARAM_VALUE 0 send_buf 4096-ptr_max
PARAM_VALUE 1 seg_num 1-s32max
BUF_SIZE 0 send_buf 80
DATA_SOURCE 0 send_buf $0
FUZZY_MAX 1 seg_num 1
USER_DATA 0 send_buf->data_len (-36)-999999920
LOCK2 &file->mutex
TYPE_LOCK (struct ib_umad_file)->mutex