hyperion.ng
|
struct ion_fd_data - metadata passed to/from userspace for a handle/fd pair : a handle : a file descriptor representing that handle More...
#include <ion.h>
Public Attributes | |
ion_user_handle_t | handle |
int | fd |
struct ion_fd_data - metadata passed to/from userspace for a handle/fd pair : a handle : a file descriptor representing that handle
For ION_IOC_SHARE or ION_IOC_MAP userspace populates the handle field with the handle returned from ion alloc, and the kernel returns the file descriptor to share or map in the fd field. For ION_IOC_IMPORT, userspace provides the file descriptor and the kernel returns the handle.