Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:ipc\mqueue.c Create Date:2022-07-28 16:51:22
Last Modify:2020-03-17 23:00:47 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:pipelined_receive() - if there is task waiting in sys_mq_timedsend()* gets its message and put to the queue (we have one free place for sure).

Proto:static inline void pipelined_receive(struct wake_q_head *wake_q, struct mqueue_inode_info *info)

Type:void

Parameter:

TypeParameterName
struct wake_q_head *wake_q
struct mqueue_inode_info *info
948  sender = Returns waiting task that should be serviced first or NULL if none exists
950  If Not sender Then
952  wake_up_interruptible( & wait_q)
953  Return
955  If Auxiliary functions to manipulate messages' list Then Return
958  deletes entry from list
959  wake_q_add() - queue a wakeup for 'later' waking
960  one of STATE_* values = STATE_READY
Caller
NameDescribe
do_mq_timedreceive