summaryrefslogtreecommitdiff
path: root/arch/s390/include/uapi/asm/hypfs.h
blob: 37998b449531eda3d0a1b415428e7db3d81ab1ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
 * IOCTL interface for hypfs
 *
 * Copyright IBM Corp. 2013
 *
 * Author: Martin Schwidefsky <schwidefsky@de.ibm.com>
 */

#ifndef _ASM_HYPFS_CTL_H
#define _ASM_HYPFS_CTL_H

#include <linux/types.h>

struct hypfs_diag304 {
	__u32	args[2];
	__u64	data;
	__u64	rc;
} __attribute__((packed));

#define HYPFS_IOCTL_MAGIC 0x10

#define HYPFS_DIAG304 \
	_IOWR(HYPFS_IOCTL_MAGIC, 0x20, struct hypfs_diag304)

#endif