Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/rpmsg/qcom_glink_smem.c glink_smem_tx_write() -> glink_smem_tx_write_one()

Type Parameter Key Value
PARAM_VALUE 0 pipe 4096-ptr_max
PARAM_VALUE 0 pipe->head 4096-ptr_max
PARAM_VALUE 2 data 4096-ptr_max
PARAM_VALUE 3 count 0-s32max,18446744071562067968-u64max
BUF_SIZE 2 data 8,16,40
BUF_SIZE 2 data 8,16,40
DATA_SOURCE 2 data $1
DATA_SOURCE 3 count $2
BIT_INFO 3 count 0x0,0x7ffffff8
BIT_INFO 3 count 0x0,0x7ffffff8
RX_PATH
TASK_NOT_RUNNING
LOCK2 &glink->tx_lock
LOCK2 flags
HALF_LOCKED2 &channel->intent_req_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct qcom_glink)->tx_lock

drivers/rpmsg/qcom_glink_smem.c glink_smem_tx_write() -> glink_smem_tx_write_one()

Type Parameter Key Value
PARAM_VALUE 0 pipe 4096-ptr_max
PARAM_VALUE 0 pipe->head 4096-ptr_max
PARAM_VALUE 2 data 0,4096-ptr_max
PARAM_VALUE 3 count 0-s32max,18446744071562067968-u64max
CAPPED_DATA 0 pipe->native.length 1
CAPPED_DATA 1 head 1
CAPPED_DATA 3 count 1
CAPPED_DATA 3 count 1
DATA_SOURCE 1 head r glink_smem_tx_write_one
DATA_SOURCE 2 data $3
DATA_SOURCE 3 count $4
PARAM_COMPARE 1 head == $1
NOSPEC 3 count
NOSPEC 3 count
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 3 count 2-2147483644[c]
USER_DATA 3 count 2-3999998[c]
USER_PTR 2 data
LOCK2 &glink->tx_lock
LOCK2 flags
HALF_LOCKED2 &channel->intent_req_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct qcom_glink)->tx_lock