函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:ipc\mqueue.c Create Date:2022-07-27 18:26:07
Last Modify:2020-03-17 23:00:47 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Adds current to info->e_wait_q[sr] before element with smaller prio

函数原型:static void wq_add(struct mqueue_inode_info *info, int sr, struct ext_wait_queue *ewp)

返回类型:void

参数:

类型参数名称
struct mqueue_inode_info *info
intsr
struct ext_wait_queue *ewp
626  如果prio小于等于prio
627  添加链表项
628  返回
631  添加链表项
调用者
名称描述
wq_sleepPuts current task to sleep. Caller must hold queue lock. After return* lock isn't held.