hyperion.ng
Public Attributes | List of all members
ion_fd_data Struct Reference

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
 

Detailed Description

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.


The documentation for this struct was generated from the following file: