函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:io_eventfd_register

函数原型:static int io_eventfd_register(struct io_ring_ctx *ctx, void __user *arg)

返回类型:int

参数:

类型参数名称
struct io_ring_ctx *ctx
void __user *arg
4906  __userfds等于arg
4909  如果cq_ev_fd则返回:负EBUSY
4912  如果copy_from_user( & fd, fds, fds的长度)则返回:负EFAULT
4915  cq_ev_fd等于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
4916  如果是错误
4917  ret等于错误
4918  cq_ev_fd = NULL
4919  返回:ret
4922  返回:0
调用者
名称描述
__io_uring_register