blob: 33843097075e68ce15257453afeecde58662f60b [file] [log] [blame]
Elliott Hughes180edef2023-11-02 00:08:05 +00001/*
2 * This file is auto-generated. Modifications will be lost.
3 *
4 * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
5 * for more information.
6 */
Ben Cheng655a7c02013-10-16 16:09:24 -07007#ifndef _UAPI__LINUX_UIO_H
8#define _UAPI__LINUX_UIO_H
9#include <linux/compiler.h>
10#include <linux/types.h>
Tao Baod7db5942015-01-28 10:07:51 -080011struct iovec {
Elliott Hughes0f0c18f2023-03-29 15:53:31 -070012 void * iov_base;
Tao Baod7db5942015-01-28 10:07:51 -080013 __kernel_size_t iov_len;
Ben Cheng655a7c02013-10-16 16:09:24 -070014};
Christopher Ferris65552ba2024-11-20 17:55:06 +000015struct dmabuf_cmsg {
16 __u64 frag_offset;
17 __u32 frag_size;
18 __u32 frag_token;
19 __u32 dmabuf_id;
20 __u32 flags;
21};
22struct dmabuf_token {
23 __u32 token_start;
24 __u32 token_count;
25};
Ben Cheng655a7c02013-10-16 16:09:24 -070026#define UIO_FASTIOV 8
27#define UIO_MAXIOV 1024
Nick Kralevicha67e4de2013-01-14 11:28:26 -080028#endif