1EVENTFD_CTX_FILEGET(9) Events based on file descripto EVENTFD_CTX_FILEGET(9)
23
4
NAME
6eventfd_ctx_fileget - Acquires a reference to the internal eventfd
7context.
8
SYNOPSIS
10struct eventfd_ctx * eventfd_ctx_fileget(struct file * file);
11
ARGUMENTS
13file
14[in] Eventfd file pointer.
15
DESCRIPTION
17Returns a pointer to the internal eventfd context, otherwise the error
18
POINTER
20-EINVAL : The fd file descriptor is not an eventfd file.
21
COPYRIGHT
23Kernel Hackers Manual 3.10 June 2019 EVENTFD_CTX_FILEGET(9)