tc_sample.h revision 82d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0f
182d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris/****************************************************************************
282d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ****************************************************************************
382d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***
482d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   This header was automatically generated from a Linux kernel header
582d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   of the same name, to make information necessary for userspace to
682d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   call into the kernel available to libc.  It contains only constants,
782d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   structures, and macros generated from the original header, and thus,
882d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   contains no copyrightable information.
982d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***
1082d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   To edit the content of this header, modify the corresponding
1182d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   source file (e.g. under external/kernel-headers/original/) then
1282d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   run bionic/libc/kernel/tools/update_all.py
1382d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***
1482d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   Any manual change here will be lost the next time this script will
1582d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   be run. You've been warned!
1682d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***
1782d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ****************************************************************************
1882d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ****************************************************************************/
1982d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris#ifndef _UAPI_LINUX_ION_TEST_H
2082d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris#define _UAPI_LINUX_ION_TEST_H
2182d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris#include <linux/ioctl.h>
2282d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris#include <linux/types.h>
2382d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
2482d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferrisstruct ion_test_rw_data {
2582d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris __u64 ptr;
2682d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris __u64 offset;
2782d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris __u64 size;
2882d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
2982d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris int write;
3082d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris int __padding;
3182d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris};
3282d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris#define ION_IOC_MAGIC 'I'
3382d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
3482d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris#define ION_IOC_TEST_SET_FD   _IO(ION_IOC_MAGIC, 0xf0)
3582d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris#define ION_IOC_TEST_DMA_MAPPING   _IOW(ION_IOC_MAGIC, 0xf1, struct ion_test_rw_data)
3682d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris#define ION_IOC_TEST_KERNEL_MAPPING   _IOW(ION_IOC_MAGIC, 0xf2, struct ion_test_rw_data)
3782d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris#endif
3882d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39