diff options
author | orivej <orivej@yandex-team.ru> | 2022-02-10 16:44:49 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:44:49 +0300 |
commit | 718c552901d703c502ccbefdfc3c9028d608b947 (patch) | |
tree | 46534a98bbefcd7b1f3faa5b52c138ab27db75b7 /contrib/libs/linux-headers/linux/udmabuf.h | |
parent | e9656aae26e0358d5378e5b63dcac5c8dbe0e4d0 (diff) | |
download | ydb-718c552901d703c502ccbefdfc3c9028d608b947.tar.gz |
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/linux-headers/linux/udmabuf.h')
-rw-r--r-- | contrib/libs/linux-headers/linux/udmabuf.h | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/contrib/libs/linux-headers/linux/udmabuf.h b/contrib/libs/linux-headers/linux/udmabuf.h index 76cc7de930..955598c875 100644 --- a/contrib/libs/linux-headers/linux/udmabuf.h +++ b/contrib/libs/linux-headers/linux/udmabuf.h @@ -1,33 +1,33 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _LINUX_UDMABUF_H -#define _LINUX_UDMABUF_H - -#include <linux/types.h> -#include <linux/ioctl.h> - -#define UDMABUF_FLAGS_CLOEXEC 0x01 - -struct udmabuf_create { - __u32 memfd; - __u32 flags; - __u64 offset; - __u64 size; -}; - -struct udmabuf_create_item { - __u32 memfd; - __u32 __pad; - __u64 offset; - __u64 size; -}; - -struct udmabuf_create_list { - __u32 flags; - __u32 count; - struct udmabuf_create_item list[]; -}; - -#define UDMABUF_CREATE _IOW('u', 0x42, struct udmabuf_create) -#define UDMABUF_CREATE_LIST _IOW('u', 0x43, struct udmabuf_create_list) - -#endif /* _LINUX_UDMABUF_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _LINUX_UDMABUF_H +#define _LINUX_UDMABUF_H + +#include <linux/types.h> +#include <linux/ioctl.h> + +#define UDMABUF_FLAGS_CLOEXEC 0x01 + +struct udmabuf_create { + __u32 memfd; + __u32 flags; + __u64 offset; + __u64 size; +}; + +struct udmabuf_create_item { + __u32 memfd; + __u32 __pad; + __u64 offset; + __u64 size; +}; + +struct udmabuf_create_list { + __u32 flags; + __u32 count; + struct udmabuf_create_item list[]; +}; + +#define UDMABUF_CREATE _IOW('u', 0x42, struct udmabuf_create) +#define UDMABUF_CREATE_LIST _IOW('u', 0x43, struct udmabuf_create_list) + +#endif /* _LINUX_UDMABUF_H */ |