1. NAME▲

eventfd_ctx_fileget - Acquires a reference to the internal eventfd context.

2. SYNOPSIS ▲

struct eventfd_ctx * eventfd_ctx_fileget(struct file *  file );

3. ARGUMENTS ▲

file
    [in] Eventfd file pointer.

4. DESCRIPTION ▲

Returns a pointer to the internal eventfd context, otherwise the error

5. POINTER ▲

-EINVAL : The fd file descriptor is not an eventfd file.

6. COPYRIGHT ▲