Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Adds current to info->e_wait_q[sr] before element with smaller prio

Proto:static void wq_add(struct mqueue_inode_info *info, int sr, struct ext_wait_queue *ewp)

Type:void

Parameter:

TypeParameterName
struct mqueue_inode_info *info
intsr
struct ext_wait_queue *ewp
626  If prio <= prio Then
627  list_add_tail - add a new entry*@new: new entry to be added*@head: list head to add it before* Insert a new entry before the specified head.* This is useful for implementing queues.
628  Return
631  list_add_tail - add a new entry*@new: new entry to be added*@head: list head to add it before* Insert a new entry before the specified head.* This is useful for implementing queues.
Caller
NameDescribe
wq_sleepPuts current task to sleep. Caller must hold queue lock. After return* lock isn't held.