mirror of
https://github.com/reactos/syzkaller.git
synced 2024-11-23 19:39:40 +00:00
sys/linux: minor fixes for aio
This commit is contained in:
parent
c5ca9ff98c
commit
9dbd63342f
@ -2,11 +2,11 @@
|
||||
|
||||
#if defined(__i386__) || 0
|
||||
#define GOARCH "386"
|
||||
#define SYZ_REVISION "4834cc8bb9a0059059dad5ea63d7c006feba5c7e"
|
||||
#define SYZ_REVISION "07d5b669a7a1a0b250afc0f8937adc4f2c039ca4"
|
||||
#define SYZ_PAGE_SIZE 4096
|
||||
#define SYZ_NUM_PAGES 4096
|
||||
#define SYZ_DATA_OFFSET 536870912
|
||||
#define SYZ_SYSCALL_COUNT 1949
|
||||
#define SYZ_SYSCALL_COUNT 1950
|
||||
const call_t syscalls[] = {
|
||||
{"accept4", 364},
|
||||
{"accept4$alg", 364},
|
||||
@ -398,6 +398,7 @@ const call_t syscalls[] = {
|
||||
{"io_cancel", 249},
|
||||
{"io_destroy", 246},
|
||||
{"io_getevents", 247},
|
||||
{"io_pgetevents", 385},
|
||||
{"io_setup", 245},
|
||||
{"io_submit", 248},
|
||||
{"ioctl", 54},
|
||||
@ -1963,11 +1964,11 @@ const call_t syscalls[] = {
|
||||
|
||||
#if defined(__x86_64__) || 0
|
||||
#define GOARCH "amd64"
|
||||
#define SYZ_REVISION "481aa31f07ad28350ffe63499cd5b08e2299dec2"
|
||||
#define SYZ_REVISION "7321a0fb512677313acc4f1ebeaa68b3f47a3442"
|
||||
#define SYZ_PAGE_SIZE 4096
|
||||
#define SYZ_NUM_PAGES 4096
|
||||
#define SYZ_DATA_OFFSET 536870912
|
||||
#define SYZ_SYSCALL_COUNT 2001
|
||||
#define SYZ_SYSCALL_COUNT 2002
|
||||
const call_t syscalls[] = {
|
||||
{"accept", 43},
|
||||
{"accept$alg", 43},
|
||||
@ -2369,6 +2370,7 @@ const call_t syscalls[] = {
|
||||
{"io_cancel", 210},
|
||||
{"io_destroy", 207},
|
||||
{"io_getevents", 208},
|
||||
{"io_pgetevents", 333},
|
||||
{"io_setup", 206},
|
||||
{"io_submit", 209},
|
||||
{"ioctl", 16},
|
||||
@ -3976,7 +3978,7 @@ const call_t syscalls[] = {
|
||||
|
||||
#if defined(__arm__) || 0
|
||||
#define GOARCH "arm"
|
||||
#define SYZ_REVISION "21c24d07a350f065369bf4db3606dfbbf0ecddd5"
|
||||
#define SYZ_REVISION "85339b6286a8309690620ef51e21fce96cfeaa12"
|
||||
#define SYZ_PAGE_SIZE 4096
|
||||
#define SYZ_NUM_PAGES 4096
|
||||
#define SYZ_DATA_OFFSET 536870912
|
||||
@ -5946,11 +5948,11 @@ const call_t syscalls[] = {
|
||||
|
||||
#if defined(__aarch64__) || 0
|
||||
#define GOARCH "arm64"
|
||||
#define SYZ_REVISION "e1500c432dd088ec7acbc4d5d596ce0966267779"
|
||||
#define SYZ_REVISION "477596f47c60bcb98a175c9c4df0982feff218d9"
|
||||
#define SYZ_PAGE_SIZE 4096
|
||||
#define SYZ_NUM_PAGES 4096
|
||||
#define SYZ_DATA_OFFSET 536870912
|
||||
#define SYZ_SYSCALL_COUNT 1930
|
||||
#define SYZ_SYSCALL_COUNT 1931
|
||||
const call_t syscalls[] = {
|
||||
{"accept", 202},
|
||||
{"accept$alg", 202},
|
||||
@ -6338,6 +6340,7 @@ const call_t syscalls[] = {
|
||||
{"io_cancel", 3},
|
||||
{"io_destroy", 1},
|
||||
{"io_getevents", 4},
|
||||
{"io_pgetevents", 292},
|
||||
{"io_setup", 0},
|
||||
{"io_submit", 2},
|
||||
{"ioctl", 29},
|
||||
@ -7888,7 +7891,7 @@ const call_t syscalls[] = {
|
||||
|
||||
#if defined(__ppc64__) || defined(__PPC64__) || defined(__powerpc64__) || 0
|
||||
#define GOARCH "ppc64le"
|
||||
#define SYZ_REVISION "258eb025835ee668ac6466001ffcc0fe051b377f"
|
||||
#define SYZ_REVISION "bf27af2c473538a5ad60c9aa42185834aa7fa451"
|
||||
#define SYZ_PAGE_SIZE 4096
|
||||
#define SYZ_NUM_PAGES 4096
|
||||
#define SYZ_DATA_OFFSET 536870912
|
||||
|
@ -1,40 +1,40 @@
|
||||
# Copyright 2018 syzkaller project authors. All rights reserved.
|
||||
# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
|
||||
|
||||
include <linux/aio_abi.h>
|
||||
include <uapi/linux/aio_abi.h>
|
||||
|
||||
resource io_ctx[intptr]
|
||||
|
||||
io_setup(n int32, ctx ptr[out, io_ctx])
|
||||
io_destroy(ctx io_ctx)
|
||||
io_getevents(ctx io_ctx, min_nr intptr, nr len[events], events ptr[out, array[io_event]], timeout ptr[in, timespec])
|
||||
io_getevents(ctx io_ctx, min_nr intptr, nr len[events], events ptr[out, array[io_event]], timeout ptr[in, timespec, opt])
|
||||
io_pgetevents(ctx io_ctx, min_nr intptr, nr len[events], events ptr[out, array[io_event]], timeout ptr[in, timespec, opt], usig ptr[in, sigset_size, opt])
|
||||
# TODO: kernel identifies requets by address, so pointers passed to io_submit
|
||||
# need to be forwarded to io_cancel somehow.
|
||||
io_submit(ctx io_ctx, nr len[iocbpp], iocbpp ptr[in, array[ptr[in, iocb]]])
|
||||
io_cancel(ctx io_ctx, iocb ptr[in, iocb], res ptr[out, io_event])
|
||||
|
||||
lio_opcode = IOCB_CMD_PREAD, IOCB_CMD_PWRITE, IOCB_CMD_FSYNC, IOCB_CMD_FDSYNC, IOCB_CMD_NOOP, IOCB_CMD_PREADV, IOCB_CMD_PWRITEV
|
||||
lio_opcode = IOCB_CMD_PREAD, IOCB_CMD_PWRITE, IOCB_CMD_FSYNC, IOCB_CMD_FDSYNC, IOCB_CMD_NOOP, IOCB_CMD_PREADV, IOCB_CMD_PWRITEV, IOCB_CMD_POLL
|
||||
iocb_flags = 0, IOCB_FLAG_RESFD
|
||||
iocb_key = 0
|
||||
|
||||
io_event {
|
||||
data int64
|
||||
obj int64
|
||||
res int64
|
||||
res2 int32
|
||||
res2 int64
|
||||
}
|
||||
|
||||
iocb {
|
||||
data const[0, int64]
|
||||
key flags[iocb_key, int32]
|
||||
pad const[0, int32]
|
||||
op flags[lio_opcode, int16]
|
||||
prio int16
|
||||
fd fd
|
||||
buf ptr64[inout, array[int8]]
|
||||
nbytes len[buf, int64]
|
||||
offset int64
|
||||
reserv const[0, int64]
|
||||
flags flags[iocb_flags, int32]
|
||||
resfd fd_event
|
||||
aio_data const[0, int64]
|
||||
aio_key const[0, int32]
|
||||
aio_rw_flags const[0, int32]
|
||||
aio_lio_opcode flags[lio_opcode, int16]
|
||||
aio_reqprio int16
|
||||
aio_fildes fd
|
||||
aio_buf ptr64[inout, array[int8]]
|
||||
aio_nbytes len[aio_buf, int64]
|
||||
aio_offset int64
|
||||
aio_reserved2 const[0, int64]
|
||||
aio_flags flags[iocb_flags, int32]
|
||||
aio_resfd fd_event
|
||||
}
|
||||
|
@ -2,6 +2,7 @@
|
||||
IOCB_CMD_FDSYNC = 3
|
||||
IOCB_CMD_FSYNC = 2
|
||||
IOCB_CMD_NOOP = 6
|
||||
IOCB_CMD_POLL = 5
|
||||
IOCB_CMD_PREAD = 0
|
||||
IOCB_CMD_PREADV = 7
|
||||
IOCB_CMD_PWRITE = 1
|
||||
@ -10,5 +11,6 @@ IOCB_FLAG_RESFD = 1
|
||||
__NR_io_cancel = 249
|
||||
__NR_io_destroy = 246
|
||||
__NR_io_getevents = 247
|
||||
__NR_io_pgetevents = 385
|
||||
__NR_io_setup = 245
|
||||
__NR_io_submit = 248
|
||||
|
@ -2,6 +2,7 @@
|
||||
IOCB_CMD_FDSYNC = 3
|
||||
IOCB_CMD_FSYNC = 2
|
||||
IOCB_CMD_NOOP = 6
|
||||
IOCB_CMD_POLL = 5
|
||||
IOCB_CMD_PREAD = 0
|
||||
IOCB_CMD_PREADV = 7
|
||||
IOCB_CMD_PWRITE = 1
|
||||
@ -10,5 +11,6 @@ IOCB_FLAG_RESFD = 1
|
||||
__NR_io_cancel = 210
|
||||
__NR_io_destroy = 207
|
||||
__NR_io_getevents = 208
|
||||
__NR_io_pgetevents = 333
|
||||
__NR_io_setup = 206
|
||||
__NR_io_submit = 209
|
||||
|
@ -2,6 +2,7 @@
|
||||
IOCB_CMD_FDSYNC = 3
|
||||
IOCB_CMD_FSYNC = 2
|
||||
IOCB_CMD_NOOP = 6
|
||||
IOCB_CMD_POLL = 5
|
||||
IOCB_CMD_PREAD = 0
|
||||
IOCB_CMD_PREADV = 7
|
||||
IOCB_CMD_PWRITE = 1
|
||||
@ -10,5 +11,6 @@ IOCB_FLAG_RESFD = 1
|
||||
__NR_io_cancel = 247
|
||||
__NR_io_destroy = 244
|
||||
__NR_io_getevents = 245
|
||||
# __NR_io_pgetevents is not set
|
||||
__NR_io_setup = 243
|
||||
__NR_io_submit = 246
|
||||
|
@ -2,6 +2,7 @@
|
||||
IOCB_CMD_FDSYNC = 3
|
||||
IOCB_CMD_FSYNC = 2
|
||||
IOCB_CMD_NOOP = 6
|
||||
IOCB_CMD_POLL = 5
|
||||
IOCB_CMD_PREAD = 0
|
||||
IOCB_CMD_PREADV = 7
|
||||
IOCB_CMD_PWRITE = 1
|
||||
@ -10,5 +11,6 @@ IOCB_FLAG_RESFD = 1
|
||||
__NR_io_cancel = 3
|
||||
__NR_io_destroy = 1
|
||||
__NR_io_getevents = 4
|
||||
__NR_io_pgetevents = 292
|
||||
__NR_io_setup = 0
|
||||
__NR_io_submit = 2
|
||||
|
@ -2,6 +2,7 @@
|
||||
IOCB_CMD_FDSYNC = 3
|
||||
IOCB_CMD_FSYNC = 2
|
||||
IOCB_CMD_NOOP = 6
|
||||
IOCB_CMD_POLL = 5
|
||||
IOCB_CMD_PREAD = 0
|
||||
IOCB_CMD_PREADV = 7
|
||||
IOCB_CMD_PWRITE = 1
|
||||
@ -10,5 +11,6 @@ IOCB_FLAG_RESFD = 1
|
||||
__NR_io_cancel = 231
|
||||
__NR_io_destroy = 228
|
||||
__NR_io_getevents = 229
|
||||
# __NR_io_pgetevents is not set
|
||||
__NR_io_setup = 227
|
||||
__NR_io_submit = 230
|
||||
|
@ -4983,22 +4983,21 @@ var structDescs_386 = []*KeyedStruct{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "data", TypeSize: 8, ArgDir: 1}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "obj", TypeSize: 8, ArgDir: 1}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "res", TypeSize: 8, ArgDir: 1}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "res2", TypeSize: 4, ArgDir: 1}}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "res2", TypeSize: 8, ArgDir: 1}}},
|
||||
}}},
|
||||
{Key: StructKey{Name: "iocb"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iocb", TypeSize: 64}, Fields: []Type{
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "data", TypeSize: 8}}},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "iocb_key", FldName: "key", TypeSize: 4}}, Vals: []uint64{0}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 4}}},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "lio_opcode", FldName: "op", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 3, 6, 7, 8}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "prio", TypeSize: 2}}},
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 2, IsVarlen: true}}},
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nbytes", TypeSize: 8}}, Buf: "buf"},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "offset", TypeSize: 8}}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserv", TypeSize: 8}}},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "iocb_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{0, 1}},
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_event", FldName: "resfd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "aio_data", TypeSize: 8}}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "aio_key", TypeSize: 4}}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "aio_rw_flags", TypeSize: 4}}},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "lio_opcode", FldName: "aio_lio_opcode", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 3, 6, 7, 8, 5}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "aio_reqprio", TypeSize: 2}}},
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "aio_fildes", TypeSize: 4}},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "aio_buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 2, IsVarlen: true}}},
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "aio_nbytes", TypeSize: 8}}, Buf: "aio_buf"},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "aio_offset", TypeSize: 8}}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "aio_reserved2", TypeSize: 8}}},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "iocb_flags", FldName: "aio_flags", TypeSize: 4}}, Vals: []uint64{0, 1}},
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_event", FldName: "aio_resfd", TypeSize: 4}},
|
||||
}}},
|
||||
{Key: StructKey{Name: "ion_allocation_data", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ion_allocation_data", TypeSize: 24, ArgDir: 2}, Fields: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "len", TypeSize: 8, ArgDir: 2}}},
|
||||
@ -21979,7 +21978,15 @@ var syscalls_386 = []*Syscall{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "min_nr", TypeSize: 4}}},
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nr", TypeSize: 4}}, Buf: "events"},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "events", TypeSize: 4}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "io_event", Dir: 1}}}},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "timeout", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "timespec"}}},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "timeout", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "timespec"}}},
|
||||
}},
|
||||
{NR: 385, Name: "io_pgetevents", CallName: "io_pgetevents", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "io_ctx", FldName: "ctx", TypeSize: 4}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "min_nr", TypeSize: 4}}},
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nr", TypeSize: 4}}, Buf: "events"},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "events", TypeSize: 4}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "io_event", Dir: 1}}}},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "timeout", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "timespec"}}},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "usig", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sigset_size"}}},
|
||||
}},
|
||||
{NR: 245, Name: "io_setup", CallName: "io_setup", Args: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "n", TypeSize: 4}}},
|
||||
@ -31889,6 +31896,7 @@ var consts_386 = []ConstValue{
|
||||
{Name: "IOCB_CMD_FDSYNC", Value: 3},
|
||||
{Name: "IOCB_CMD_FSYNC", Value: 2},
|
||||
{Name: "IOCB_CMD_NOOP", Value: 6},
|
||||
{Name: "IOCB_CMD_POLL", Value: 5},
|
||||
{Name: "IOCB_CMD_PREAD"},
|
||||
{Name: "IOCB_CMD_PREADV", Value: 7},
|
||||
{Name: "IOCB_CMD_PWRITE", Value: 1},
|
||||
@ -36291,6 +36299,7 @@ var consts_386 = []ConstValue{
|
||||
{Name: "__NR_io_cancel", Value: 249},
|
||||
{Name: "__NR_io_destroy", Value: 246},
|
||||
{Name: "__NR_io_getevents", Value: 247},
|
||||
{Name: "__NR_io_pgetevents", Value: 385},
|
||||
{Name: "__NR_io_setup", Value: 245},
|
||||
{Name: "__NR_io_submit", Value: 248},
|
||||
{Name: "__NR_ioctl", Value: 54},
|
||||
@ -36488,4 +36497,4 @@ var consts_386 = []ConstValue{
|
||||
{Name: "bpf_insn_load_imm_dw", Value: 24},
|
||||
}
|
||||
|
||||
const revision_386 = "4834cc8bb9a0059059dad5ea63d7c006feba5c7e"
|
||||
const revision_386 = "07d5b669a7a1a0b250afc0f8937adc4f2c039ca4"
|
||||
|
@ -5082,22 +5082,21 @@ var structDescs_amd64 = []*KeyedStruct{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "data", TypeSize: 8, ArgDir: 1}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "obj", TypeSize: 8, ArgDir: 1}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "res", TypeSize: 8, ArgDir: 1}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "res2", TypeSize: 4, ArgDir: 1}}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "res2", TypeSize: 8, ArgDir: 1}}},
|
||||
}}},
|
||||
{Key: StructKey{Name: "iocb"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iocb", TypeSize: 64}, Fields: []Type{
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "data", TypeSize: 8}}},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "iocb_key", FldName: "key", TypeSize: 4}}, Vals: []uint64{0}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 4}}},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "lio_opcode", FldName: "op", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 3, 6, 7, 8}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "prio", TypeSize: 2}}},
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 2, IsVarlen: true}}},
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nbytes", TypeSize: 8}}, Buf: "buf"},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "offset", TypeSize: 8}}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserv", TypeSize: 8}}},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "iocb_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{0, 1}},
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_event", FldName: "resfd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "aio_data", TypeSize: 8}}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "aio_key", TypeSize: 4}}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "aio_rw_flags", TypeSize: 4}}},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "lio_opcode", FldName: "aio_lio_opcode", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 3, 6, 7, 8, 5}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "aio_reqprio", TypeSize: 2}}},
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "aio_fildes", TypeSize: 4}},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "aio_buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 2, IsVarlen: true}}},
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "aio_nbytes", TypeSize: 8}}, Buf: "aio_buf"},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "aio_offset", TypeSize: 8}}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "aio_reserved2", TypeSize: 8}}},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "iocb_flags", FldName: "aio_flags", TypeSize: 4}}, Vals: []uint64{0, 1}},
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_event", FldName: "aio_resfd", TypeSize: 4}},
|
||||
}}},
|
||||
{Key: StructKey{Name: "ion_allocation_data", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ion_allocation_data", TypeSize: 24, ArgDir: 2}, Fields: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "len", TypeSize: 8, ArgDir: 2}}},
|
||||
@ -22420,7 +22419,15 @@ var syscalls_amd64 = []*Syscall{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "min_nr", TypeSize: 8}}},
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nr", TypeSize: 8}}, Buf: "events"},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "events", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "io_event", Dir: 1}}}},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "timeout", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "timespec"}}},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "timeout", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "timespec"}}},
|
||||
}},
|
||||
{NR: 333, Name: "io_pgetevents", CallName: "io_pgetevents", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "io_ctx", FldName: "ctx", TypeSize: 8}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "min_nr", TypeSize: 8}}},
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nr", TypeSize: 8}}, Buf: "events"},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "events", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "io_event", Dir: 1}}}},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "timeout", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "timespec"}}},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "usig", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sigset_size"}}},
|
||||
}},
|
||||
{NR: 206, Name: "io_setup", CallName: "io_setup", Args: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "n", TypeSize: 4}}},
|
||||
@ -32549,6 +32556,7 @@ var consts_amd64 = []ConstValue{
|
||||
{Name: "IOCB_CMD_FDSYNC", Value: 3},
|
||||
{Name: "IOCB_CMD_FSYNC", Value: 2},
|
||||
{Name: "IOCB_CMD_NOOP", Value: 6},
|
||||
{Name: "IOCB_CMD_POLL", Value: 5},
|
||||
{Name: "IOCB_CMD_PREAD"},
|
||||
{Name: "IOCB_CMD_PREADV", Value: 7},
|
||||
{Name: "IOCB_CMD_PWRITE", Value: 1},
|
||||
@ -36966,6 +36974,7 @@ var consts_amd64 = []ConstValue{
|
||||
{Name: "__NR_io_cancel", Value: 210},
|
||||
{Name: "__NR_io_destroy", Value: 207},
|
||||
{Name: "__NR_io_getevents", Value: 208},
|
||||
{Name: "__NR_io_pgetevents", Value: 333},
|
||||
{Name: "__NR_io_setup", Value: 206},
|
||||
{Name: "__NR_io_submit", Value: 209},
|
||||
{Name: "__NR_ioctl", Value: 16},
|
||||
@ -37173,4 +37182,4 @@ var consts_amd64 = []ConstValue{
|
||||
{Name: "bpf_insn_load_imm_dw", Value: 24},
|
||||
}
|
||||
|
||||
const revision_amd64 = "481aa31f07ad28350ffe63499cd5b08e2299dec2"
|
||||
const revision_amd64 = "7321a0fb512677313acc4f1ebeaa68b3f47a3442"
|
||||
|
@ -4988,22 +4988,21 @@ var structDescs_arm = []*KeyedStruct{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "data", TypeSize: 8, ArgDir: 1}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "obj", TypeSize: 8, ArgDir: 1}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "res", TypeSize: 8, ArgDir: 1}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "res2", TypeSize: 4, ArgDir: 1}}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "res2", TypeSize: 8, ArgDir: 1}}},
|
||||
}}},
|
||||
{Key: StructKey{Name: "iocb"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iocb", TypeSize: 64}, Fields: []Type{
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "data", TypeSize: 8}}},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "iocb_key", FldName: "key", TypeSize: 4}}, Vals: []uint64{0}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 4}}},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "lio_opcode", FldName: "op", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 3, 6, 7, 8}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "prio", TypeSize: 2}}},
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 2, IsVarlen: true}}},
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nbytes", TypeSize: 8}}, Buf: "buf"},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "offset", TypeSize: 8}}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserv", TypeSize: 8}}},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "iocb_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{0, 1}},
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_event", FldName: "resfd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "aio_data", TypeSize: 8}}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "aio_key", TypeSize: 4}}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "aio_rw_flags", TypeSize: 4}}},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "lio_opcode", FldName: "aio_lio_opcode", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 3, 6, 7, 8, 5}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "aio_reqprio", TypeSize: 2}}},
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "aio_fildes", TypeSize: 4}},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "aio_buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 2, IsVarlen: true}}},
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "aio_nbytes", TypeSize: 8}}, Buf: "aio_buf"},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "aio_offset", TypeSize: 8}}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "aio_reserved2", TypeSize: 8}}},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "iocb_flags", FldName: "aio_flags", TypeSize: 4}}, Vals: []uint64{0, 1}},
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_event", FldName: "aio_resfd", TypeSize: 4}},
|
||||
}}},
|
||||
{Key: StructKey{Name: "ion_allocation_data", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ion_allocation_data", TypeSize: 24, ArgDir: 2}, Fields: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "len", TypeSize: 8, ArgDir: 2}}},
|
||||
@ -21862,7 +21861,7 @@ var syscalls_arm = []*Syscall{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "min_nr", TypeSize: 4}}},
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nr", TypeSize: 4}}, Buf: "events"},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "events", TypeSize: 4}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "io_event", Dir: 1}}}},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "timeout", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "timespec"}}},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "timeout", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "timespec"}}},
|
||||
}},
|
||||
{NR: 243, Name: "io_setup", CallName: "io_setup", Args: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "n", TypeSize: 4}}},
|
||||
@ -31805,6 +31804,7 @@ var consts_arm = []ConstValue{
|
||||
{Name: "IOCB_CMD_FDSYNC", Value: 3},
|
||||
{Name: "IOCB_CMD_FSYNC", Value: 2},
|
||||
{Name: "IOCB_CMD_NOOP", Value: 6},
|
||||
{Name: "IOCB_CMD_POLL", Value: 5},
|
||||
{Name: "IOCB_CMD_PREAD"},
|
||||
{Name: "IOCB_CMD_PREADV", Value: 7},
|
||||
{Name: "IOCB_CMD_PWRITE", Value: 1},
|
||||
@ -36355,4 +36355,4 @@ var consts_arm = []ConstValue{
|
||||
{Name: "bpf_insn_load_imm_dw", Value: 24},
|
||||
}
|
||||
|
||||
const revision_arm = "21c24d07a350f065369bf4db3606dfbbf0ecddd5"
|
||||
const revision_arm = "85339b6286a8309690620ef51e21fce96cfeaa12"
|
||||
|
@ -5082,22 +5082,21 @@ var structDescs_arm64 = []*KeyedStruct{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "data", TypeSize: 8, ArgDir: 1}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "obj", TypeSize: 8, ArgDir: 1}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "res", TypeSize: 8, ArgDir: 1}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "res2", TypeSize: 4, ArgDir: 1}}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "res2", TypeSize: 8, ArgDir: 1}}},
|
||||
}}},
|
||||
{Key: StructKey{Name: "iocb"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iocb", TypeSize: 64}, Fields: []Type{
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "data", TypeSize: 8}}},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "iocb_key", FldName: "key", TypeSize: 4}}, Vals: []uint64{0}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 4}}},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "lio_opcode", FldName: "op", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 3, 6, 7, 8}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "prio", TypeSize: 2}}},
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 2, IsVarlen: true}}},
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nbytes", TypeSize: 8}}, Buf: "buf"},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "offset", TypeSize: 8}}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserv", TypeSize: 8}}},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "iocb_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{0, 1}},
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_event", FldName: "resfd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "aio_data", TypeSize: 8}}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "aio_key", TypeSize: 4}}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "aio_rw_flags", TypeSize: 4}}},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "lio_opcode", FldName: "aio_lio_opcode", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 3, 6, 7, 8, 5}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "aio_reqprio", TypeSize: 2}}},
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "aio_fildes", TypeSize: 4}},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "aio_buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 2, IsVarlen: true}}},
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "aio_nbytes", TypeSize: 8}}, Buf: "aio_buf"},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "aio_offset", TypeSize: 8}}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "aio_reserved2", TypeSize: 8}}},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "iocb_flags", FldName: "aio_flags", TypeSize: 4}}, Vals: []uint64{0, 1}},
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_event", FldName: "aio_resfd", TypeSize: 4}},
|
||||
}}},
|
||||
{Key: StructKey{Name: "ion_allocation_data", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ion_allocation_data", TypeSize: 24, ArgDir: 2}, Fields: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "len", TypeSize: 8, ArgDir: 2}}},
|
||||
@ -22147,7 +22146,15 @@ var syscalls_arm64 = []*Syscall{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "min_nr", TypeSize: 8}}},
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nr", TypeSize: 8}}, Buf: "events"},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "events", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "io_event", Dir: 1}}}},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "timeout", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "timespec"}}},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "timeout", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "timespec"}}},
|
||||
}},
|
||||
{NR: 292, Name: "io_pgetevents", CallName: "io_pgetevents", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "io_ctx", FldName: "ctx", TypeSize: 8}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "min_nr", TypeSize: 8}}},
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nr", TypeSize: 8}}, Buf: "events"},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "events", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "io_event", Dir: 1}}}},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "timeout", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "timespec"}}},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "usig", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sigset_size"}}},
|
||||
}},
|
||||
{Name: "io_setup", CallName: "io_setup", Args: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "n", TypeSize: 4}}},
|
||||
@ -32019,6 +32026,7 @@ var consts_arm64 = []ConstValue{
|
||||
{Name: "IOCB_CMD_FDSYNC", Value: 3},
|
||||
{Name: "IOCB_CMD_FSYNC", Value: 2},
|
||||
{Name: "IOCB_CMD_NOOP", Value: 6},
|
||||
{Name: "IOCB_CMD_POLL", Value: 5},
|
||||
{Name: "IOCB_CMD_PREAD"},
|
||||
{Name: "IOCB_CMD_PREADV", Value: 7},
|
||||
{Name: "IOCB_CMD_PWRITE", Value: 1},
|
||||
@ -36379,6 +36387,7 @@ var consts_arm64 = []ConstValue{
|
||||
{Name: "__NR_io_cancel", Value: 3},
|
||||
{Name: "__NR_io_destroy", Value: 1},
|
||||
{Name: "__NR_io_getevents", Value: 4},
|
||||
{Name: "__NR_io_pgetevents", Value: 292},
|
||||
{Name: "__NR_io_setup"},
|
||||
{Name: "__NR_io_submit", Value: 2},
|
||||
{Name: "__NR_ioctl", Value: 29},
|
||||
@ -36559,4 +36568,4 @@ var consts_arm64 = []ConstValue{
|
||||
{Name: "bpf_insn_load_imm_dw", Value: 24},
|
||||
}
|
||||
|
||||
const revision_arm64 = "e1500c432dd088ec7acbc4d5d596ce0966267779"
|
||||
const revision_arm64 = "477596f47c60bcb98a175c9c4df0982feff218d9"
|
||||
|
@ -5073,22 +5073,21 @@ var structDescs_ppc64le = []*KeyedStruct{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "data", TypeSize: 8, ArgDir: 1}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "obj", TypeSize: 8, ArgDir: 1}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "res", TypeSize: 8, ArgDir: 1}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "res2", TypeSize: 4, ArgDir: 1}}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "res2", TypeSize: 8, ArgDir: 1}}},
|
||||
}}},
|
||||
{Key: StructKey{Name: "iocb"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iocb", TypeSize: 64}, Fields: []Type{
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "data", TypeSize: 8}}},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "iocb_key", FldName: "key", TypeSize: 4}}, Vals: []uint64{0}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 4}}},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "lio_opcode", FldName: "op", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 3, 6, 7, 8}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "prio", TypeSize: 2}}},
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 2, IsVarlen: true}}},
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nbytes", TypeSize: 8}}, Buf: "buf"},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "offset", TypeSize: 8}}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserv", TypeSize: 8}}},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "iocb_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{0, 1}},
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_event", FldName: "resfd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "aio_data", TypeSize: 8}}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "aio_key", TypeSize: 4}}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "aio_rw_flags", TypeSize: 4}}},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "lio_opcode", FldName: "aio_lio_opcode", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 3, 6, 7, 8, 5}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "aio_reqprio", TypeSize: 2}}},
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "aio_fildes", TypeSize: 4}},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "aio_buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 2, IsVarlen: true}}},
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "aio_nbytes", TypeSize: 8}}, Buf: "aio_buf"},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "aio_offset", TypeSize: 8}}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "aio_reserved2", TypeSize: 8}}},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "iocb_flags", FldName: "aio_flags", TypeSize: 4}}, Vals: []uint64{0, 1}},
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_event", FldName: "aio_resfd", TypeSize: 4}},
|
||||
}}},
|
||||
{Key: StructKey{Name: "ion_allocation_data", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ion_allocation_data", TypeSize: 24, ArgDir: 2}, Fields: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "len", TypeSize: 8, ArgDir: 2}}},
|
||||
@ -21246,7 +21245,7 @@ var syscalls_ppc64le = []*Syscall{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "min_nr", TypeSize: 8}}},
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nr", TypeSize: 8}}, Buf: "events"},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "events", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "io_event", Dir: 1}}}},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "timeout", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "timespec"}}},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "timeout", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "timespec"}}},
|
||||
}},
|
||||
{NR: 227, Name: "io_setup", CallName: "io_setup", Args: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "n", TypeSize: 4}}},
|
||||
@ -30466,6 +30465,7 @@ var consts_ppc64le = []ConstValue{
|
||||
{Name: "IOCB_CMD_FDSYNC", Value: 3},
|
||||
{Name: "IOCB_CMD_FSYNC", Value: 2},
|
||||
{Name: "IOCB_CMD_NOOP", Value: 6},
|
||||
{Name: "IOCB_CMD_POLL", Value: 5},
|
||||
{Name: "IOCB_CMD_PREAD"},
|
||||
{Name: "IOCB_CMD_PREADV", Value: 7},
|
||||
{Name: "IOCB_CMD_PWRITE", Value: 1},
|
||||
@ -33969,4 +33969,4 @@ var consts_ppc64le = []ConstValue{
|
||||
{Name: "bpf_insn_load_imm_dw", Value: 24},
|
||||
}
|
||||
|
||||
const revision_ppc64le = "258eb025835ee668ac6466001ffcc0fe051b377f"
|
||||
const revision_ppc64le = "bf27af2c473538a5ad60c9aa42185834aa7fa451"
|
||||
|
Loading…
Reference in New Issue
Block a user