函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\io_uring.c Create Date:2022-07-29 10:54:52
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:io_poll_queue_proc

函数原型:static void io_poll_queue_proc(struct file *file, struct wait_queue_head *head, struct poll_table_struct *p)

返回类型:void

参数:

类型参数名称
struct file *file
struct wait_queue_head *head
struct poll_table_struct *p
2700  pt等于container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(p, structio_poll_table, pt)
2702  如果此条件成立可能性小(为编译器优化)(head)则
2703  error等于负EINVAL
2704  返回
2707  error等于0
2708  head等于head
2709  add_wait_queue(head, & wait)