aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-08-26 05:00:23 +0200
committerDmitry Vyukov <dvyukov@google.com>2018-08-26 05:01:08 +0200
commitce0eccdea6538570bf9d664824cca607012b2f5c (patch)
treedc9427552f0f7414b0ce5c636a18c5a4a5a76a84 /sys/linux
parent77e79ca08e54764a84a6f0dfa83bcfc9a7494d08 (diff)
sys/linux: add IOCB_CMD_POLL
Diffstat (limited to 'sys/linux')
-rw-r--r--sys/linux/aio.txt6
-rw-r--r--sys/linux/aio_386.const2
-rw-r--r--sys/linux/aio_amd64.const2
-rw-r--r--sys/linux/aio_arm.const2
-rw-r--r--sys/linux/aio_arm64.const2
-rw-r--r--sys/linux/aio_ppc64le.const2
-rw-r--r--sys/linux/gen/386.go10
-rw-r--r--sys/linux/gen/amd64.go10
-rw-r--r--sys/linux/gen/arm.go10
-rw-r--r--sys/linux/gen/arm64.go10
-rw-r--r--sys/linux/gen/ppc64le.go10
11 files changed, 43 insertions, 23 deletions
diff --git a/sys/linux/aio.txt b/sys/linux/aio.txt
index 1d194e7da..cc513b8dd 100644
--- a/sys/linux/aio.txt
+++ b/sys/linux/aio.txt
@@ -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]
}
diff --git a/sys/linux/aio_386.const b/sys/linux/aio_386.const
index b48b35458..074e61104 100644
--- a/sys/linux/aio_386.const
+++ b/sys/linux/aio_386.const
@@ -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
diff --git a/sys/linux/aio_amd64.const b/sys/linux/aio_amd64.const
index 9895dc5fc..fe3116ac9 100644
--- a/sys/linux/aio_amd64.const
+++ b/sys/linux/aio_amd64.const
@@ -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
diff --git a/sys/linux/aio_arm.const b/sys/linux/aio_arm.const
index b73dbb489..1bca789d0 100644
--- a/sys/linux/aio_arm.const
+++ b/sys/linux/aio_arm.const
@@ -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
diff --git a/sys/linux/aio_arm64.const b/sys/linux/aio_arm64.const
index 4033d311c..1d36d572b 100644
--- a/sys/linux/aio_arm64.const
+++ b/sys/linux/aio_arm64.const
@@ -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
diff --git a/sys/linux/aio_ppc64le.const b/sys/linux/aio_ppc64le.const
index 418aa9543..eb26b6d51 100644
--- a/sys/linux/aio_ppc64le.const
+++ b/sys/linux/aio_ppc64le.const
@@ -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
diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go
index 1a9560dc8..e43350be4 100644
--- a/sys/linux/gen/386.go
+++ b/sys/linux/gen/386.go
@@ -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"
diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go
index 3b00d42e4..e99c84bea 100644
--- a/sys/linux/gen/amd64.go
+++ b/sys/linux/gen/amd64.go
@@ -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"
diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go
index 616fde9bc..171341bf2 100644
--- a/sys/linux/gen/arm.go
+++ b/sys/linux/gen/arm.go
@@ -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"
diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go
index 77a25444d..90efb2243 100644
--- a/sys/linux/gen/arm64.go
+++ b/sys/linux/gen/arm64.go
@@ -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"
diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go
index b95a6f623..f7cd4ae4f 100644
--- a/sys/linux/gen/ppc64le.go
+++ b/sys/linux/gen/ppc64le.go
@@ -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"