sys/linux: add IOCB_CMD_POLL

This commit is contained in:
Dmitry Vyukov 2018-08-26 05:00:23 +02:00
parent 77e79ca08e
commit ce0eccdea6
12 changed files with 48 additions and 28 deletions

View File

@ -60,7 +60,7 @@
#if GOARCH_386
#define GOARCH "386"
#define SYZ_REVISION "653420e40f1229688e81b83af5d94ec00d3f8b36"
#define SYZ_REVISION "5982ba714be578b0e48d6812f6ca86b2b3e5319f"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@ -70,7 +70,7 @@
#if GOARCH_amd64
#define GOARCH "amd64"
#define SYZ_REVISION "05f2fe589c5c3436257454e091f72e966610d5db"
#define SYZ_REVISION "2862500fc252bb9eab587624daf26f14249e4ef7"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@ -80,7 +80,7 @@
#if GOARCH_arm
#define GOARCH "arm"
#define SYZ_REVISION "fbdcb749741366eb0ddae36e107d657053bc3ddb"
#define SYZ_REVISION "667206c7f1c12ec281d7f28425b426832e25f0d1"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@ -90,7 +90,7 @@
#if GOARCH_arm64
#define GOARCH "arm64"
#define SYZ_REVISION "08c218976280776c081377a76ece94c9005958ec"
#define SYZ_REVISION "f11cfc21c24ab7735603db724db6796fae349d21"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@ -100,7 +100,7 @@
#if GOARCH_ppc64le
#define GOARCH "ppc64le"
#define SYZ_REVISION "f48d04238b4a7847cf4e24a8548d31c6650a3f3e"
#define SYZ_REVISION "6833133f78873e7293546a201de446f354b741bc"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096

View File

@ -14,8 +14,8 @@ io_pgetevents(ctx io_ctx, min_nr intptr, nr len[events], events ptr[out, array[i
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
iocb_flags = 0, IOCB_FLAG_RESFD
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_FLAG_IOPRIO
io_event {
data int64
@ -36,5 +36,5 @@ iocb {
aio_offset int64
aio_reserved2 const[0, int64]
aio_flags flags[iocb_flags, int32]
aio_resfd fd_event
aio_resfd fd_event[opt]
}

View File

@ -2,10 +2,12 @@
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
IOCB_CMD_PWRITEV = 8
IOCB_FLAG_IOPRIO = 2
IOCB_FLAG_RESFD = 1
__NR_io_cancel = 249
__NR_io_destroy = 246

View File

@ -2,10 +2,12 @@
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
IOCB_CMD_PWRITEV = 8
IOCB_FLAG_IOPRIO = 2
IOCB_FLAG_RESFD = 1
__NR_io_cancel = 210
__NR_io_destroy = 207

View File

@ -2,10 +2,12 @@
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
IOCB_CMD_PWRITEV = 8
IOCB_FLAG_IOPRIO = 2
IOCB_FLAG_RESFD = 1
__NR_io_cancel = 247
__NR_io_destroy = 244

View File

@ -2,10 +2,12 @@
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
IOCB_CMD_PWRITEV = 8
IOCB_FLAG_IOPRIO = 2
IOCB_FLAG_RESFD = 1
__NR_io_cancel = 3
__NR_io_destroy = 1

View File

@ -2,10 +2,12 @@
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
IOCB_CMD_PWRITEV = 8
IOCB_FLAG_IOPRIO = 2
IOCB_FLAG_RESFD = 1
__NR_io_cancel = 231
__NR_io_destroy = 228

View File

@ -5605,15 +5605,15 @@ var structDescs_386 = []*KeyedStruct{
&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}},
&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}, BitMask: true},
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_event", FldName: "aio_resfd", TypeSize: 4}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "iocb_flags", FldName: "aio_flags", TypeSize: 4}}, Vals: []uint64{0, 1, 2}, BitMask: true},
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_event", FldName: "aio_resfd", TypeSize: 4, IsOptional: true}},
}}},
{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}}},
@ -35070,10 +35070,12 @@ 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},
{Name: "IOCB_CMD_PWRITEV", Value: 8},
{Name: "IOCB_FLAG_IOPRIO", Value: 2},
{Name: "IOCB_FLAG_RESFD", Value: 1},
{Name: "IOC_PR_CLEAR", Value: 1074819277},
{Name: "IOC_PR_PREEMPT", Value: 1075343563},
@ -39836,4 +39838,4 @@ var consts_386 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
const revision_386 = "653420e40f1229688e81b83af5d94ec00d3f8b36"
const revision_386 = "5982ba714be578b0e48d6812f6ca86b2b3e5319f"

View File

@ -5706,15 +5706,15 @@ var structDescs_amd64 = []*KeyedStruct{
&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}},
&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}, BitMask: true},
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_event", FldName: "aio_resfd", TypeSize: 4}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "iocb_flags", FldName: "aio_flags", TypeSize: 4}}, Vals: []uint64{0, 1, 2}, BitMask: true},
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_event", FldName: "aio_resfd", TypeSize: 4, IsOptional: true}},
}}},
{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}}},
@ -35732,10 +35732,12 @@ 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},
{Name: "IOCB_CMD_PWRITEV", Value: 8},
{Name: "IOCB_FLAG_IOPRIO", Value: 2},
{Name: "IOCB_FLAG_RESFD", Value: 1},
{Name: "IOC_PR_CLEAR", Value: 1074819277},
{Name: "IOC_PR_PREEMPT", Value: 1075343563},
@ -40523,4 +40525,4 @@ var consts_amd64 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
const revision_amd64 = "05f2fe589c5c3436257454e091f72e966610d5db"
const revision_amd64 = "2862500fc252bb9eab587624daf26f14249e4ef7"

View File

@ -5610,15 +5610,15 @@ var structDescs_arm = []*KeyedStruct{
&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}},
&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}, BitMask: true},
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_event", FldName: "aio_resfd", TypeSize: 4}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "iocb_flags", FldName: "aio_flags", TypeSize: 4}}, Vals: []uint64{0, 1, 2}, BitMask: true},
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_event", FldName: "aio_resfd", TypeSize: 4, IsOptional: true}},
}}},
{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}}},
@ -34978,10 +34978,12 @@ 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},
{Name: "IOCB_CMD_PWRITEV", Value: 8},
{Name: "IOCB_FLAG_IOPRIO", Value: 2},
{Name: "IOCB_FLAG_RESFD", Value: 1},
{Name: "IOC_PR_CLEAR", Value: 1074819277},
{Name: "IOC_PR_PREEMPT", Value: 1075343563},
@ -39694,4 +39696,4 @@ var consts_arm = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
const revision_arm = "fbdcb749741366eb0ddae36e107d657053bc3ddb"
const revision_arm = "667206c7f1c12ec281d7f28425b426832e25f0d1"

View File

@ -5706,15 +5706,15 @@ var structDescs_arm64 = []*KeyedStruct{
&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}},
&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}, BitMask: true},
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_event", FldName: "aio_resfd", TypeSize: 4}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "iocb_flags", FldName: "aio_flags", TypeSize: 4}}, Vals: []uint64{0, 1, 2}, BitMask: true},
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_event", FldName: "aio_resfd", TypeSize: 4, IsOptional: true}},
}}},
{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}}},
@ -35182,10 +35182,12 @@ 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},
{Name: "IOCB_CMD_PWRITEV", Value: 8},
{Name: "IOCB_FLAG_IOPRIO", Value: 2},
{Name: "IOCB_FLAG_RESFD", Value: 1},
{Name: "IOC_PR_CLEAR", Value: 1074819277},
{Name: "IOC_PR_PREEMPT", Value: 1075343563},
@ -39888,4 +39890,4 @@ var consts_arm64 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
const revision_arm64 = "08c218976280776c081377a76ece94c9005958ec"
const revision_arm64 = "f11cfc21c24ab7735603db724db6796fae349d21"

View File

@ -5697,15 +5697,15 @@ var structDescs_ppc64le = []*KeyedStruct{
&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}},
&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}, BitMask: true},
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_event", FldName: "aio_resfd", TypeSize: 4}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "iocb_flags", FldName: "aio_flags", TypeSize: 4}}, Vals: []uint64{0, 1, 2}, BitMask: true},
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_event", FldName: "aio_resfd", TypeSize: 4, IsOptional: true}},
}}},
{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}}},
@ -33649,10 +33649,12 @@ 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},
{Name: "IOCB_CMD_PWRITEV", Value: 8},
{Name: "IOCB_FLAG_IOPRIO", Value: 2},
{Name: "IOCB_FLAG_RESFD", Value: 1},
{Name: "IOC_PR_CLEAR", Value: 2148561101},
{Name: "IOC_PR_PREEMPT", Value: 2149085387},
@ -37319,4 +37321,4 @@ var consts_ppc64le = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
const revision_ppc64le = "f48d04238b4a7847cf4e24a8548d31c6650a3f3e"
const revision_ppc64le = "6833133f78873e7293546a201de446f354b741bc"