/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * Structures for hypfs interface * * Copyright IBM Corp. 2013 * * Author: Martin Schwidefsky <schwidefsky@de.ibm.com> */ #ifndef _ASM_HYPFS_H #define _ASM_HYPFS_H #include <linux/types.h> /* * IOCTL for binary interface /sys/kernel/debug/diag_304 */ 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) /* * Structures for binary interface /sys/kernel/debug/diag_0c */ struct hypfs_diag0c_hdr { __u64 len; /* Length of diag0c buffer without header */ __u16 version; /* Version of header */ char reserved1[6]; /* Reserved */ char tod_ext[16]; /* TOD clock for diag0c */ __u64 count; /* Number of entries (CPUs) in diag0c array */ char reserved2[24]; /* Reserved */ }; struct hypfs_diag0c_entry { char date[8]; /* MM/DD/YY in EBCDIC */ char time[8]; /* HH:MM:SS in EBCDIC */ __u64 virtcpu; /* Virtual time consumed by the virt CPU (us) */ __u64 totalproc; /* Total of virtual and simulation time (us) */ __u32 cpu; /* Linux logical CPU number */ __u32 reserved; /* Align to 8 byte */ }; struct hypfs_diag0c_data { struct hypfs_diag0c_hdr hdr; /* 64 byte header */ struct hypfs_diag0c_entry entry[]; /* diag0c entry array */ }; #endif
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
Kbuild | File | 321 B | 0644 |
|
auxvec.h | File | 214 B | 0644 |
|
bitsperlong.h | File | 293 B | 0644 |
|
bpf_perf_event.h | File | 226 B | 0644 |
|
byteorder.h | File | 188 B | 0644 |
|
chpid.h | File | 456 B | 0644 |
|
chsc.h | File | 2.96 KB | 0644 |
|
clp.h | File | 549 B | 0644 |
|
cmb.h | File | 1.87 KB | 0644 |
|
dasd.h | File | 12.4 KB | 0644 |
|
debug.h | File | 857 B | 0644 |
|
guarded_storage.h | File | 1.18 KB | 0644 |
|
hypfs.h | File | 1.35 KB | 0644 |
|
ioctls.h | File | 191 B | 0644 |
|
ipcbuf.h | File | 738 B | 0644 |
|
kvm.h | File | 7.73 KB | 0644 |
|
kvm_para.h | File | 224 B | 0644 |
|
kvm_perf.h | File | 474 B | 0644 |
|
monwriter.h | File | 939 B | 0644 |
|
msgbuf.h | File | 1.14 KB | 0644 |
|
perf_regs.h | File | 887 B | 0644 |
|
pkey.h | File | 4.35 KB | 0644 |
|
posix_types.h | File | 1.4 KB | 0644 |
|
ptrace.h | File | 11.39 KB | 0644 |
|
qeth.h | File | 3.05 KB | 0644 |
|
schid.h | File | 332 B | 0644 |
|
sclp_ctl.h | File | 465 B | 0644 |
|
sembuf.h | File | 864 B | 0644 |
|
setup.h | File | 292 B | 0644 |
|
shmbuf.h | File | 1.34 KB | 0644 |
|
sie.h | File | 9.25 KB | 0644 |
|
sigcontext.h | File | 1.73 KB | 0644 |
|
siginfo.h | File | 302 B | 0644 |
|
signal.h | File | 3.26 KB | 0644 |
|
socket.h | File | 2.24 KB | 0644 |
|
stat.h | File | 2.9 KB | 0644 |
|
statfs.h | File | 1.03 KB | 0644 |
|
sthyi.h | File | 178 B | 0644 |
|
tape390.h | File | 2.76 KB | 0644 |
|
termios.h | File | 1.14 KB | 0644 |
|
types.h | File | 525 B | 0644 |
|
ucontext.h | File | 1.18 KB | 0644 |
|
unistd.h | File | 12.32 KB | 0644 |
|
virtio-ccw.h | File | 444 B | 0644 |
|
vmcp.h | File | 737 B | 0644 |
|
vtoc.h | File | 7.36 KB | 0644 |
|
zcrypt.h | File | 10.94 KB | 0644 |
|