aura
0.1
|
#include <ion.h>
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.