table of contents
other versions
EVENTFD_CTX_FILEGET(9) | Events based on file descripto | EVENTFD_CTX_FILEGET(9) |
NAME¶
eventfd_ctx_fileget - Acquires a reference to the internal eventfd context.
SYNOPSIS¶
struct eventfd_ctx * eventfd_ctx_fileget(struct file * file);
ARGUMENTS¶
struct file * file
[in] Eventfd file pointer.
DESCRIPTION¶
Returns a pointer to the internal eventfd context, otherwise the error pointer:
-EINVAL : The fd file descriptor is not an eventfd file.
COPYRIGHT¶
September 2017 | Kernel Hackers Manual 4.12 |