mirror of
https://github.com/torvalds/linux.git
synced 2026-07-31 19:47:08 +02:00
Merge "virtio/virtio_mem: Port qti_virtio_mem UAPI header from msm-5.15"
This commit is contained in:
commit
476790dd14
28
include/uapi/linux/qti_virtio_mem.h
Normal file
28
include/uapi/linux/qti_virtio_mem.h
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */
|
||||
/*
|
||||
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef _UAPI_LINUX_QTI_VIRTIO_MEM_H
|
||||
#define _UAPI_LINUX_QTI_VIRTIO_MEM_H
|
||||
|
||||
#include <linux/ioctl.h>
|
||||
#include <linux/types.h>
|
||||
|
||||
#define QTI_VIRTIO_MEM_IOC_MAGIC 'M'
|
||||
|
||||
#define QTI_VIRTIO_MEM_IOC_MAX_NAME_LEN 128
|
||||
struct qti_virtio_mem_ioc_hint_create_arg {
|
||||
char name[QTI_VIRTIO_MEM_IOC_MAX_NAME_LEN];
|
||||
__s64 size;
|
||||
__u32 fd;
|
||||
__u32 reserved0;
|
||||
__u64 reserved1;
|
||||
};
|
||||
|
||||
#define QTI_VIRTIO_MEM_IOC_HINT_CREATE \
|
||||
_IOWR(QTI_VIRTIO_MEM_IOC_MAGIC, 0, \
|
||||
struct qti_virtio_mem_ioc_hint_create_arg)
|
||||
|
||||
|
||||
#endif /* _UAPI_LINUX_QTI_VIRTIO_MEM_H */
|
||||
Loading…
Reference in New Issue
Block a user