函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Returns waiting task that should be serviced first or NULL if none exists

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

返回类型:struct ext_wait_queue

参数:

类型参数名称
struct mqueue_inode_info *info
intsr
688  ptr等于链表前项
689  如果ptr恒等于list则返回:NULL
691  返回:list_entry - get the struct for this entry*@ptr: the &struct list_head pointer.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.(ptr, structext_wait_queue, list)
调用者
名称描述
pipelined_receivepipelined_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).
do_mq_timedsend