Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

ipc/msg.c do_msgsnd() -> pipelined_send()

Type Parameter Key Value
PARAM_VALUE 0 msq 4096-ptr_max
PARAM_VALUE 0 msq->q_lspid 0,4096-ptr_max
PARAM_VALUE 0 msq->q_perm.deleted 0
PARAM_VALUE 0 msq->q_perm.lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->m_ts 0-u32max
PARAM_VALUE 1 msg->m_type 1-s64max
PARAM_VALUE 2 wake_q 5908050885003661312
PARAM_VALUE 2 wake_q->first 1
PARAM_VALUE 2 wake_q->lastp 5908050885003661312
PARAM_VALUE 2 *wake_q->lastp 1
BUF_SIZE 1 msg 48-4096
BUF_SIZE 1 msg 48-4096
CAPPED_DATA 1 msg->m_ts 1
DATA_SOURCE 0 msq r msq_obtain_object_check
DATA_SOURCE 1 msg r load_msg
NOSPEC 1 msg->m_ts
PREEMPT_ADD <- disables preempt
USER_DATA 1 msg->m_ts 0-s32max[c]
USER_DATA 1 msg->m_type 1-s64max
LOCK2 rcu_read
LOCK2 0 &msq->q_perm.lock
TYPE_LOCK (struct kern_ipc_perm)->lock

ipc/mqueue.c do_mq_timedsend() -> pipelined_send()

Type Parameter Key Value
PARAM_VALUE 0 msq 6894712080272523264
PARAM_VALUE 0 msq->first 1
PARAM_VALUE 0 msq->lastp 6894712080272523264
PARAM_VALUE 0 *msq->lastp 1
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 wake_q 4096-ptr_max
PARAM_VALUE 2 wake_q->m_type 0-s16max
PARAM_VALUE 3 receiver 4096-ptr_max
BUF_SIZE 1 msg->node_cache 48,u64max
BUF_SIZE 2 wake_q 48-4096
BUF_SIZE 2 wake_q 48-4096
CAPPED_DATA 2 wake_q->m_ts 1
DATA_SOURCE 1 msg r MQUEUE_I
DATA_SOURCE 2 wake_q r load_msg
DATA_SOURCE 3 receiver r wq_get_first_waiter
PARAM_COMPARE 1 msg->attr.mq_curmsgs != $1->attr.mq_maxmsg
NOSPEC 2 wake_q->m_ts
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
USER_DATA 2 wake_q->m_ts 0-s32max[c]
USER_DATA 2 wake_q->m_type 0-s16max
LOCK2 1 &msg->lock
TYPE_LOCK (struct mqueue_inode_info)->lock