Reference

eventfd_ctx_fileget(9)

Acquires a reference to the internal eventfd context.

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.

COPYRIGHT

History