Name
eventfd_ctx_fileget —
Acquires a reference to the internal eventfd context.
Synopsis
struct eventfd_ctx * eventfd_ctx_fileget ( | struct file * file); |
Arguments
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.