函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ventfd_ctx_fdget - Acquires a reference to the internal eventfd context.*@fd: [in] Eventfd file descriptor.* Returns a pointer to the internal eventfd context, otherwise the error* pointers returned by the following functions:* eventfd_fget

函数原型:struct eventfd_ctx *eventfd_ctx_fdget(int fd)

返回类型:struct eventfd_ctx

参数:

类型参数名称
intfd
375  f等于fdget(fd)
376  如果非file则返回:错误号
378  ctx等于ventfd_ctx_fileget - Acquires a reference to the internal eventfd context.*@file: [in] Eventfd file pointer.* Returns a pointer to the internal eventfd context, otherwise the error* pointer:* -EINVAL : The @fd file descriptor is not an eventfd file.
379  fdput(f)
380  返回:ctx
调用者
名称描述
__io_submit_one
io_eventfd_register