diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-06-30 19:34:41 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-06-30 19:34:41 +0200 |
| commit | 664ef9a3e1016e80fc1fcbbef6e9f66a2ededfe6 (patch) | |
| tree | 3f5829d9ad2ada25336f3bf98b85a65ec517c22e /sys/linux/gen | |
| parent | 9054fae0162950c1fd961819f64b1ac90e5930b3 (diff) | |
pkg/compiler: check for unused declarations
Error on unused structs/unions/resources/flags.
Finds tons of bugs.
Diffstat (limited to 'sys/linux/gen')
| -rw-r--r-- | sys/linux/gen/386.go | 168 | ||||
| -rw-r--r-- | sys/linux/gen/amd64.go | 170 | ||||
| -rw-r--r-- | sys/linux/gen/arm.go | 168 | ||||
| -rw-r--r-- | sys/linux/gen/arm64.go | 170 | ||||
| -rw-r--r-- | sys/linux/gen/ppc64le.go | 179 |
5 files changed, 760 insertions, 95 deletions
diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go index d9dbf2d3a..0822c50e7 100644 --- a/sys/linux/gen/386.go +++ b/sys/linux/gen/386.go @@ -851,6 +851,11 @@ var structDescs_386 = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "prog_cnt", TypeSize: 4}}, Buf: "prog_ids"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, }, AlignAttr: 8}}, + {Key: StructKey{Name: "bpf_raw_tracepoint"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bpf_raw_tracepoint", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "name", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf_prog", FldName: "prog_fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }, AlignAttr: 8}}, {Key: StructKey{Name: "bpf_test_prog_arg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bpf_test_prog_arg", TypeSize: 40}, Fields: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf_prog", FldName: "prog", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "retval", TypeSize: 4}}}, @@ -873,7 +878,7 @@ var structDescs_386 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "pad", TypeSize: 8, ArgDir: 2}}}, }}}, {Key: StructKey{Name: "brctl_arg_generic", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "brctl_arg_generic", TypeSize: 24, ArgDir: 2}, Fields: []Type{ - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "a0", TypeSize: 8, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "brctl_cmds", FldName: "a0", TypeSize: 8, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "a1", TypeSize: 8, ArgDir: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "a2", TypeSize: 8, ArgDir: 2}}}, }}}, @@ -1801,7 +1806,7 @@ var structDescs_386 = []*KeyedStruct{ {Key: StructKey{Name: "ebt_among_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ebt_among_info", IsVarlen: true}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wh_dst_ofs", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wh_src_ofs", TypeSize: 4}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "bitmask", TypeSize: 4}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ebt_among_flags", FldName: "bitmask", TypeSize: 4}}, Vals: []uint64{1, 2}, BitMask: true}, &StructType{Key: StructKey{Name: "ebt_mac_wormhash"}, FldName: "dst"}, &StructType{Key: StructKey{Name: "ebt_mac_wormhash"}, FldName: "src"}, }}}, @@ -1830,6 +1835,17 @@ var structDescs_386 = []*KeyedStruct{ {Key: StructKey{Name: "ebt_broute_targets"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ebt_broute_targets", IsVarlen: true}, Fields: []Type{ &UnionType{Key: StructKey{Name: "ebt_targets"}, FldName: "common"}, }}}, + {Key: StructKey{Name: "ebt_counters_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ebt_counters_info", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 32}, Kind: 2, SubKind: "ebt_tables", Values: []string{"filter\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nat\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "broute\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "valid_hooks", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nentries", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "entries_size", TypeSize: 4}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "hook_entry", TypeSize: 24}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4}}}, Kind: 1, RangeBegin: 6, RangeEnd: 6}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "num_counters", TypeSize: 4}}, Buf: "counters1"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "counters", TypeSize: 4}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "xt_counters", Dir: 1}}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "entries", TypeSize: 4}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "counters1", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "xt_counters"}}}, + }}}, {Key: StructKey{Name: "ebt_entries[ebt_broute_targets]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ebt_entries[ebt_broute_targets]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "distinguisher", TypeSize: 4}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 32}, Kind: 2, Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}}, @@ -4335,6 +4351,16 @@ var structDescs_386 = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xt_hashlimit_mask", FldName: "dstmask", TypeSize: 1}}, Vals: []uint64{0, 8, 24, 32, 64, 120, 128}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 6}}, IsPad: true}, }}}, + {Key: StructKey{Name: "hci_inquiry_req"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "hci_inquiry_req", TypeSize: 12}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "dev", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "flags", TypeSize: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "lap0", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "lap1", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "lap2", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "len", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rsp", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + }}}, {Key: StructKey{Name: "hci_ufilter"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "hci_ufilter", TypeSize: 16}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "type", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "event0", TypeSize: 4}}}, @@ -4447,6 +4473,11 @@ var structDescs_386 = []*KeyedStruct{ {Key: StructKey{Name: "ib_addr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_addr", TypeSize: 16}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, }, AlignAttr: 8}}, + {Key: StructKey{Name: "ib_path_rec_data"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_path_rec_data", TypeSize: 72}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_path_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 32}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "path_rec", TypeSize: 64}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + }}}, {Key: StructKey{Name: "icmp6_pair", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "icmp6_pair", TypeSize: 8, ArgDir: 1}, Fields: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_icmp6", FldName: "f0", TypeSize: 4, ArgDir: 1}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_icmp6", FldName: "f1", TypeSize: 4, ArgDir: 1}}, @@ -4640,6 +4671,15 @@ var structDescs_386 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "unused", TypeSize: 2}}}, &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "addr"}, }}}, + {Key: StructKey{Name: "icmpv6_ni_packet"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "icmpv6_ni_packet", IsVarlen: true}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "icmpv6_ni_types", FldName: "type", TypeSize: 1}}, Vals: []uint64{139, 140}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 1}}}, + &CsumType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "csum", FldName: "csum", TypeSize: 2}, BigEndian: true}, Kind: 1, Buf: "parent", Protocol: 58}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "qtype", TypeSize: 2}, BigEndian: true}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "flags", TypeSize: 2}, BigEndian: true}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64be", FldName: "nonce", TypeSize: 8}, BigEndian: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}}, + }}}, {Key: StructKey{Name: "icmpv6_packet"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "icmpv6_packet", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "icmpv6_dest_unreach_packet"}, FldName: "dest_unreach"}, &StructType{Key: StructKey{Name: "icmpv6_pkt_toobig_packet"}, FldName: "pkt_toobig"}, @@ -4648,6 +4688,7 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "icmpv6_echo_request_packet"}, FldName: "echo_request"}, &StructType{Key: StructKey{Name: "icmpv6_echo_reply_packet"}, FldName: "echo_reply"}, &StructType{Key: StructKey{Name: "icmpv6_mld_packet"}, FldName: "mld"}, + &StructType{Key: StructKey{Name: "icmpv6_ni_packet"}, FldName: "ni"}, }}}, {Key: StructKey{Name: "icmpv6_param_prob_packet"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "icmpv6_param_prob_packet", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 4}, @@ -5008,7 +5049,7 @@ 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, 5}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "lio_opcode", FldName: "aio_lio_opcode", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 3, 6, 7, 8}}, &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}}}, @@ -5025,6 +5066,21 @@ var structDescs_386 = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dma_buf", FldName: "fd", TypeSize: 4, ArgDir: 2, IsOptional: true}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "unused", TypeSize: 4, ArgDir: 2}}}, }}}, + {Key: StructKey{Name: "ion_heap_data", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ion_heap_data", TypeSize: 52, ArgDir: 1}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 32, ArgDir: 1}, Kind: 2, Values: []string{"name\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "type", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "heap_id", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "reserved0", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "reserved1", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "reserved2", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "ion_heap_query", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ion_heap_query", TypeSize: 24, ArgDir: 2}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cnt", TypeSize: 4, ArgDir: 2}}, Buf: "heaps"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 4, ArgDir: 2}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "heaps", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ion_heap_data", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 4, ArgDir: 2}}}, + }}}, {Key: StructKey{Name: "iovec[in, array[int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, array[int8]]", TypeSize: 8}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "addr"}, @@ -6434,7 +6490,7 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 4}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "segments_left", TypeSize: 1}}, Buf: "segments"}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "first_segment", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "flags", TypeSize: 1}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ipv6_sr_flags", FldName: "flags", TypeSize: 1}}, Vals: []uint64{64, 32, 16, 8}, BitMask: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "tag", TypeSize: 2}}}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "segments", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ipv6_addr"}}}, }, AlignAttr: 8}}, @@ -6902,6 +6958,16 @@ var structDescs_386 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "soff", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "aid", TypeSize: 4}}}, }}}, + {Key: StructKey{Name: "kvm_irqchip"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kvm_irqchip", TypeSize: 224}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_chip_id", FldName: "chipid", TypeSize: 4}}, Vals: []uint64{0, 1, 2}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 4}}}, + &UnionType{Key: StructKey{Name: "kvm_irq_chip"}, FldName: "chip"}, + }}}, + {Key: StructKey{Name: "kvm_irqchip", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kvm_irqchip", TypeSize: 224, ArgDir: 1}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_chip_id", FldName: "chipid", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{0, 1, 2}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 4, ArgDir: 1}}}, + &UnionType{Key: StructKey{Name: "kvm_irq_chip", Dir: 1}, FldName: "chip"}, + }}}, {Key: StructKey{Name: "kvm_irqfd"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kvm_irqfd", TypeSize: 32}, Fields: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_event", FldName: "fd", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "gsi", TypeSize: 4}}}, @@ -13024,6 +13090,12 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, &StructType{Key: StructKey{Name: "rdma_ucm_resolve_route"}, FldName: "msg"}, }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_SET_OPTION, rdma_ucm_set_option]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_SET_OPTION, rdma_ucm_set_option]", TypeSize: 32}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 14}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &UnionType{Key: StructKey{Name: "rdma_ucm_set_option"}, FldName: "msg"}, + }}}, {Key: StructKey{Name: "rdma_ucm_conn_param"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_conn_param", TypeSize: 272}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qp_num", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qkey", TypeSize: 4}}}, @@ -13144,6 +13216,40 @@ var structDescs_386 = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "timeout_ms", TypeSize: 4}}}, }}}, + {Key: StructKey{Name: "rdma_ucm_set_option"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_set_option", TypeSize: 24}, Fields: []Type{ + &StructType{Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_TOS, int8]"}, FldName: "id_tos"}, + &StructType{Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_REUSEADDR, bool32]"}, FldName: "id_resuseaddr"}, + &StructType{Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_AFONLY, bool32]"}, FldName: "id_afonly"}, + &StructType{Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_IB, RDMA_OPTION_IB_PATH, array[ib_path_rec_data]]"}, FldName: "ib_path"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_IB, RDMA_OPTION_IB_PATH, array[ib_path_rec_data]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_set_option_t[RDMA_OPTION_IB, RDMA_OPTION_IB_PATH, array[ib_path_rec_data]]", TypeSize: 24}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "optval", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "ib_path_rec_data"}}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Buf: "optval"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_AFONLY, bool32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_AFONLY, bool32]", TypeSize: 24}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "optval", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}, Kind: 2, RangeEnd: 1}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 2}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Buf: "optval"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_REUSEADDR, bool32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_REUSEADDR, bool32]", TypeSize: 24}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "optval", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}, Kind: 2, RangeEnd: 1}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Buf: "optval"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_TOS, int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_TOS, int8]", TypeSize: 24}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "optval", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Buf: "optval"}, + }}}, {Key: StructKey{Name: "rds_atomic_args"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rds_atomic_args", TypeSize: 72}, Fields: []Type{ &StructType{Key: StructKey{Name: "rds_rdma_cookie_t"}, FldName: "cookie"}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "local_addr", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, @@ -13623,6 +13729,11 @@ var structDescs_386 = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_sctp6", FldName: "f0", TypeSize: 4, ArgDir: 1}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_sctp6", FldName: "f1", TypeSize: 4, ArgDir: 1}}, }}}, + {Key: StructKey{Name: "sctp_add_streams"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sctp_add_streams", TypeSize: 8}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "assoc_id", FldName: "sas_assoc_id", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "sas_instrms", TypeSize: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "sas_outstrms", TypeSize: 2}}}, + }}}, {Key: StructKey{Name: "sctp_assoc_ids", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sctp_assoc_ids", ArgDir: 1, IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "gaids_number_of_ids", TypeSize: 4, ArgDir: 1}}, Buf: "gaids_assoc_id"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "gaids_assoc_id", ArgDir: 1, IsVarlen: true}, Type: &ResourceType{TypeCommon: TypeCommon{TypeName: "assoc_id", TypeSize: 4, ArgDir: 1}}}, @@ -16499,6 +16610,13 @@ var structDescs_386 = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "uffdio_features", FldName: "featur", TypeSize: 8}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64}, BitMask: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ioctls", TypeSize: 8}}}, }}}, + {Key: StructKey{Name: "uffdio_copy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "uffdio_copy", TypeSize: 32}, Fields: []Type{ + &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "dst", TypeSize: 4}}, + &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "src", TypeSize: 4}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "dst"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "uffdio_copy_mode", FldName: "mode", TypeSize: 8}}, Vals: []uint64{1}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "copy", TypeSize: 8}}}, + }}}, {Key: StructKey{Name: "uffdio_range"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "uffdio_range", TypeSize: 16}, Fields: []Type{ &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "start", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, @@ -16509,6 +16627,11 @@ var structDescs_386 = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "uffdio_register_mode", FldName: "mode", TypeSize: 8}}, Vals: []uint64{1, 2}, BitMask: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ioctls", TypeSize: 8}}}, }}}, + {Key: StructKey{Name: "uffdio_zeropage"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "uffdio_zeropage", TypeSize: 32}, Fields: []Type{ + &StructType{Key: StructKey{Name: "uffdio_range"}, FldName: "range"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "uffdio_zero_mode", FldName: "mode", TypeSize: 8}}, Vals: []uint64{1}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "zeropg", TypeSize: 8}}}, + }}}, {Key: StructKey{Name: "unimapdesc_in"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "unimapdesc_in", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cnt", TypeSize: 2}}, Buf: "entries"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, @@ -20000,7 +20123,7 @@ var syscalls_386 = []*Syscall{ }}, {NR: 357, Name: "bpf$BPF_RAW_TRACEPOINT_OPEN", CallName: "bpf", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 17}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "bpf_prog_query"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "bpf_raw_tracepoint"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 4}}, Buf: "arg"}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 357, Name: "bpf$MAP_CREATE", CallName: "bpf", Args: []Type{ @@ -22976,6 +23099,11 @@ var syscalls_386 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 19305}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}}, }}, + {NR: 54, Name: "ioctl$HCIINQUIRY", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_bt_hci", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2147764464}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "hci_inquiry_req"}}}, + }}, {NR: 54, Name: "ioctl$HDIO_GETGEO", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_block", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 769}, @@ -23069,7 +23197,7 @@ var syscalls_386 = []*Syscall{ {NR: 54, Name: "ioctl$ION_IOC_HEAP_QUERY", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ion", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3222817032}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "ion_allocation_data", Dir: 2}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "ion_heap_query", Dir: 2}}}, }}, {NR: 54, Name: "ioctl$KDADDIO", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, @@ -23316,7 +23444,7 @@ var syscalls_386 = []*Syscall{ {NR: 54, Name: "ioctl$KVM_GET_IRQCHIP", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_kvmvm", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3255348834}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "kvm_irq_chip", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "kvm_irqchip", Dir: 1}}}, }}, {NR: 54, Name: "ioctl$KVM_GET_LAPIC", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_kvmcpu", FldName: "fd", TypeSize: 4}}, @@ -23547,7 +23675,7 @@ var syscalls_386 = []*Syscall{ {NR: 54, Name: "ioctl$KVM_SET_IRQCHIP", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_kvmvm", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2181607011}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "kvm_irq_chip"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "kvm_irqchip"}}}, }}, {NR: 54, Name: "ioctl$KVM_SET_LAPIC", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_kvmcpu", FldName: "fd", TypeSize: 4}}, @@ -24796,7 +24924,7 @@ var syscalls_386 = []*Syscall{ {NR: 54, Name: "ioctl$UFFDIO_COPY", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_uffd", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3223890435}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "uffdio_range"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "uffdio_copy"}}}, }}, {NR: 54, Name: "ioctl$UFFDIO_REGISTER", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_uffd", FldName: "fd", TypeSize: 4}}, @@ -24816,7 +24944,7 @@ var syscalls_386 = []*Syscall{ {NR: 54, Name: "ioctl$UFFDIO_ZEROPAGE", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_uffd", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3223366148}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "uffdio_range"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "uffdio_zeropage"}}}, }}, {NR: 54, Name: "ioctl$VHOST_GET_FEATURES", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_vhost", FldName: "fd", TypeSize: 4}}, @@ -26843,7 +26971,7 @@ var syscalls_386 = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_cgroup", FldName: "fd", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "cpu", TypeSize: 4}}, Kind: 2, RangeEnd: 16}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_perf", FldName: "group", TypeSize: 4, IsOptional: true}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "perf_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2, 8}, BitMask: true}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "perf_flags_cgroup", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8}, BitMask: true}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_perf", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 136, Name: "personality", CallName: "personality", Args: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "personality_flags", FldName: "persona", TypeSize: 4}}, Vals: []uint64{0, 68157441, 83886082, 100663299, 83886084, 67108869, 6, 83886087, 8, 67108873, 67108874, 67108875, 12, 67108877, 68157454, 15, 16, 262144, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 67108864, 134217728}}, @@ -27759,7 +27887,7 @@ var syscalls_386 = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 129}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "ipt_counters_info"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "ebt_counters_info"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "val"}, }}, {NR: 366, Name: "setsockopt$EBT_SO_SET_ENTRIES", CallName: "setsockopt", Args: []Type{ @@ -28508,7 +28636,7 @@ var syscalls_386 = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_sctp6", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 132}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 121}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sctp_add_streams"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "val"}, }}, {NR: 366, Name: "setsockopt$inet_sctp6_SCTP_ASSOCINFO", CallName: "setsockopt", Args: []Type{ @@ -28809,7 +28937,7 @@ var syscalls_386 = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_sctp", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 132}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 121}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sctp_add_streams"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "val"}, }}, {NR: 366, Name: "setsockopt$inet_sctp_SCTP_ASSOCINFO", CallName: "setsockopt", Args: []Type{ @@ -30597,6 +30725,11 @@ var syscalls_386 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_ROUTE, rdma_ucm_resolve_route]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Buf: "data"}, }}, + {NR: 4, Name: "write$RDMA_USER_CM_CMD_SET_OPTION", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma_cm", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_SET_OPTION, rdma_ucm_set_option]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Buf: "data"}, + }}, {NR: 4, Name: "write$binfmt_aout", CallName: "write", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "binfmt_aout"}}}, @@ -30733,9 +30866,7 @@ var consts_386 = []ConstValue{ {Name: "AF_NETROM", Value: 6}, {Name: "AF_NFC", Value: 39}, {Name: "AF_PACKET", Value: 17}, - {Name: "AF_PHONET", Value: 35}, {Name: "AF_PPPOX", Value: 24}, - {Name: "AF_QIPCRTR", Value: 42}, {Name: "AF_RDS", Value: 21}, {Name: "AF_SMC", Value: 43}, {Name: "AF_UNIX", Value: 1}, @@ -32160,7 +32291,6 @@ 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}, @@ -33755,6 +33885,7 @@ var consts_386 = []ConstValue{ {Name: "RDMA_USER_CM_CMD_RESOLVE_ADDR", Value: 21}, {Name: "RDMA_USER_CM_CMD_RESOLVE_IP", Value: 3}, {Name: "RDMA_USER_CM_CMD_RESOLVE_ROUTE", Value: 4}, + {Name: "RDMA_USER_CM_CMD_SET_OPTION", Value: 14}, {Name: "RDMA_USER_CM_QUERY_ADDR"}, {Name: "RDMA_USER_CM_QUERY_GID", Value: 2}, {Name: "RDMA_USER_CM_QUERY_PATH", Value: 1}, @@ -33892,7 +34023,6 @@ var consts_386 = []ConstValue{ {Name: "RTM_NEWTFILTER", Value: 44}, {Name: "RTM_SETLINK", Value: 19}, {Name: "RTM_SETNEIGHTBL", Value: 67}, - {Name: "RTNL_FAMILY_IP6MR", Value: 129}, {Name: "RTNL_FAMILY_IPMR", Value: 128}, {Name: "RTN_ANYCAST", Value: 4}, {Name: "RTN_BLACKHOLE", Value: 6}, @@ -36783,4 +36913,4 @@ var consts_386 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_386 = "31de49700d92081b29f19299f9436f0571d256dc" +const revision_386 = "b4050c8ea56e0fa6d944c424b5e03399e929745e" diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go index 9ee1a911a..4a78d547d 100644 --- a/sys/linux/gen/amd64.go +++ b/sys/linux/gen/amd64.go @@ -859,6 +859,11 @@ var structDescs_amd64 = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "prog_cnt", TypeSize: 4}}, Buf: "prog_ids"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, }, AlignAttr: 8}}, + {Key: StructKey{Name: "bpf_raw_tracepoint"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bpf_raw_tracepoint", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "name", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf_prog", FldName: "prog_fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }, AlignAttr: 8}}, {Key: StructKey{Name: "bpf_test_prog_arg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bpf_test_prog_arg", TypeSize: 40}, Fields: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf_prog", FldName: "prog", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "retval", TypeSize: 4}}}, @@ -880,7 +885,7 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "pad", TypeSize: 8, ArgDir: 2}}}, }}}, {Key: StructKey{Name: "brctl_arg_generic", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "brctl_arg_generic", TypeSize: 24, ArgDir: 2}, Fields: []Type{ - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "a0", TypeSize: 8, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "brctl_cmds", FldName: "a0", TypeSize: 8, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "a1", TypeSize: 8, ArgDir: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "a2", TypeSize: 8, ArgDir: 2}}}, }}}, @@ -1822,7 +1827,7 @@ var structDescs_amd64 = []*KeyedStruct{ {Key: StructKey{Name: "ebt_among_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ebt_among_info", IsVarlen: true}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wh_dst_ofs", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wh_src_ofs", TypeSize: 4}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "bitmask", TypeSize: 4}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ebt_among_flags", FldName: "bitmask", TypeSize: 4}}, Vals: []uint64{1, 2}, BitMask: true}, &StructType{Key: StructKey{Name: "ebt_mac_wormhash"}, FldName: "dst"}, &StructType{Key: StructKey{Name: "ebt_mac_wormhash"}, FldName: "src"}, }}}, @@ -1851,6 +1856,19 @@ var structDescs_amd64 = []*KeyedStruct{ {Key: StructKey{Name: "ebt_broute_targets"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ebt_broute_targets", IsVarlen: true}, Fields: []Type{ &UnionType{Key: StructKey{Name: "ebt_targets"}, FldName: "common"}, }}}, + {Key: StructKey{Name: "ebt_counters_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ebt_counters_info", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 32}, Kind: 2, SubKind: "ebt_tables", Values: []string{"filter\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nat\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "broute\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "valid_hooks", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nentries", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "entries_size", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "hook_entry", TypeSize: 48}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 8}}}, Kind: 1, RangeBegin: 6, RangeEnd: 6}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "num_counters", TypeSize: 4}}, Buf: "counters1"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "counters", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "xt_counters", Dir: 1}}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "entries", TypeSize: 8}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "counters1", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "xt_counters"}}}, + }}}, {Key: StructKey{Name: "ebt_entries[ebt_broute_targets]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ebt_entries[ebt_broute_targets]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "distinguisher", TypeSize: 4}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 32}, Kind: 2, Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}}, @@ -4425,6 +4443,16 @@ var structDescs_amd64 = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xt_hashlimit_mask", FldName: "dstmask", TypeSize: 1}}, Vals: []uint64{0, 8, 24, 32, 64, 120, 128}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 6}}, IsPad: true}, }}}, + {Key: StructKey{Name: "hci_inquiry_req"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "hci_inquiry_req", TypeSize: 12}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "dev", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "flags", TypeSize: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "lap0", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "lap1", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "lap2", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "len", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rsp", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + }}}, {Key: StructKey{Name: "hci_ufilter"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "hci_ufilter", TypeSize: 16}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "type", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "event0", TypeSize: 4}}}, @@ -4541,6 +4569,11 @@ var structDescs_amd64 = []*KeyedStruct{ {Key: StructKey{Name: "ib_addr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_addr", TypeSize: 16}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, }, AlignAttr: 8}}, + {Key: StructKey{Name: "ib_path_rec_data"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_path_rec_data", TypeSize: 72}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_path_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 32}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "path_rec", TypeSize: 64}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + }}}, {Key: StructKey{Name: "icmp6_pair", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "icmp6_pair", TypeSize: 8, ArgDir: 1}, Fields: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_icmp6", FldName: "f0", TypeSize: 4, ArgDir: 1}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_icmp6", FldName: "f1", TypeSize: 4, ArgDir: 1}}, @@ -4734,6 +4767,15 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "unused", TypeSize: 2}}}, &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "addr"}, }}}, + {Key: StructKey{Name: "icmpv6_ni_packet"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "icmpv6_ni_packet", IsVarlen: true}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "icmpv6_ni_types", FldName: "type", TypeSize: 1}}, Vals: []uint64{139, 140}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 1}}}, + &CsumType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "csum", FldName: "csum", TypeSize: 2}, BigEndian: true}, Kind: 1, Buf: "parent", Protocol: 58}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "qtype", TypeSize: 2}, BigEndian: true}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "flags", TypeSize: 2}, BigEndian: true}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64be", FldName: "nonce", TypeSize: 8}, BigEndian: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}}, + }}}, {Key: StructKey{Name: "icmpv6_packet"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "icmpv6_packet", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "icmpv6_dest_unreach_packet"}, FldName: "dest_unreach"}, &StructType{Key: StructKey{Name: "icmpv6_pkt_toobig_packet"}, FldName: "pkt_toobig"}, @@ -4742,6 +4784,7 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "icmpv6_echo_request_packet"}, FldName: "echo_request"}, &StructType{Key: StructKey{Name: "icmpv6_echo_reply_packet"}, FldName: "echo_reply"}, &StructType{Key: StructKey{Name: "icmpv6_mld_packet"}, FldName: "mld"}, + &StructType{Key: StructKey{Name: "icmpv6_ni_packet"}, FldName: "ni"}, }}}, {Key: StructKey{Name: "icmpv6_param_prob_packet"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "icmpv6_param_prob_packet", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 4}, @@ -5107,7 +5150,7 @@ 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, 5}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "lio_opcode", FldName: "aio_lio_opcode", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 3, 6, 7, 8}}, &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}}}, @@ -5124,6 +5167,21 @@ var structDescs_amd64 = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dma_buf", FldName: "fd", TypeSize: 4, ArgDir: 2, IsOptional: true}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "unused", TypeSize: 4, ArgDir: 2}}}, }}}, + {Key: StructKey{Name: "ion_heap_data", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ion_heap_data", TypeSize: 52, ArgDir: 1}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 32, ArgDir: 1}, Kind: 2, Values: []string{"name\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "type", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "heap_id", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "reserved0", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "reserved1", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "reserved2", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "ion_heap_query", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ion_heap_query", TypeSize: 24, ArgDir: 2}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cnt", TypeSize: 4, ArgDir: 2}}, Buf: "heaps"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 4, ArgDir: 2}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "heaps", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ion_heap_data", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 4, ArgDir: 2}}}, + }}}, {Key: StructKey{Name: "iovec[in, array[int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, array[int8]]", TypeSize: 16}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "addr"}, @@ -6546,7 +6604,7 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 4}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "segments_left", TypeSize: 1}}, Buf: "segments"}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "first_segment", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "flags", TypeSize: 1}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ipv6_sr_flags", FldName: "flags", TypeSize: 1}}, Vals: []uint64{64, 32, 16, 8}, BitMask: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "tag", TypeSize: 2}}}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "segments", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ipv6_addr"}}}, }, AlignAttr: 8}}, @@ -7016,6 +7074,16 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "soff", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "aid", TypeSize: 4}}}, }}}, + {Key: StructKey{Name: "kvm_irqchip"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kvm_irqchip", TypeSize: 224}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_chip_id", FldName: "chipid", TypeSize: 4}}, Vals: []uint64{0, 1, 2}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 4}}}, + &UnionType{Key: StructKey{Name: "kvm_irq_chip"}, FldName: "chip"}, + }}}, + {Key: StructKey{Name: "kvm_irqchip", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kvm_irqchip", TypeSize: 224, ArgDir: 1}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_chip_id", FldName: "chipid", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{0, 1, 2}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 4, ArgDir: 1}}}, + &UnionType{Key: StructKey{Name: "kvm_irq_chip", Dir: 1}, FldName: "chip"}, + }}}, {Key: StructKey{Name: "kvm_irqfd"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kvm_irqfd", TypeSize: 32}, Fields: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_event", FldName: "fd", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "gsi", TypeSize: 4}}}, @@ -13240,6 +13308,12 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, &StructType{Key: StructKey{Name: "rdma_ucm_resolve_route"}, FldName: "msg"}, }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_SET_OPTION, rdma_ucm_set_option]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_SET_OPTION, rdma_ucm_set_option]", TypeSize: 32}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 14}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &UnionType{Key: StructKey{Name: "rdma_ucm_set_option"}, FldName: "msg"}, + }}}, {Key: StructKey{Name: "rdma_ucm_conn_param"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_conn_param", TypeSize: 272}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qp_num", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qkey", TypeSize: 4}}}, @@ -13360,6 +13434,40 @@ var structDescs_amd64 = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "timeout_ms", TypeSize: 4}}}, }}}, + {Key: StructKey{Name: "rdma_ucm_set_option"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_set_option", TypeSize: 24}, Fields: []Type{ + &StructType{Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_TOS, int8]"}, FldName: "id_tos"}, + &StructType{Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_REUSEADDR, bool32]"}, FldName: "id_resuseaddr"}, + &StructType{Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_AFONLY, bool32]"}, FldName: "id_afonly"}, + &StructType{Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_IB, RDMA_OPTION_IB_PATH, array[ib_path_rec_data]]"}, FldName: "ib_path"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_IB, RDMA_OPTION_IB_PATH, array[ib_path_rec_data]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_set_option_t[RDMA_OPTION_IB, RDMA_OPTION_IB_PATH, array[ib_path_rec_data]]", TypeSize: 24}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "optval", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "ib_path_rec_data"}}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Buf: "optval"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_AFONLY, bool32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_AFONLY, bool32]", TypeSize: 24}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "optval", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}, Kind: 2, RangeEnd: 1}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 2}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Buf: "optval"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_REUSEADDR, bool32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_REUSEADDR, bool32]", TypeSize: 24}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "optval", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}, Kind: 2, RangeEnd: 1}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Buf: "optval"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_TOS, int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_TOS, int8]", TypeSize: 24}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "optval", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Buf: "optval"}, + }}}, {Key: StructKey{Name: "rds_atomic_args"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rds_atomic_args", TypeSize: 72}, Fields: []Type{ &StructType{Key: StructKey{Name: "rds_rdma_cookie_t"}, FldName: "cookie"}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "local_addr", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, @@ -13839,6 +13947,11 @@ var structDescs_amd64 = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_sctp6", FldName: "f0", TypeSize: 4, ArgDir: 1}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_sctp6", FldName: "f1", TypeSize: 4, ArgDir: 1}}, }}}, + {Key: StructKey{Name: "sctp_add_streams"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sctp_add_streams", TypeSize: 8}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "assoc_id", FldName: "sas_assoc_id", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "sas_instrms", TypeSize: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "sas_outstrms", TypeSize: 2}}}, + }}}, {Key: StructKey{Name: "sctp_assoc_ids", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sctp_assoc_ids", ArgDir: 1, IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "gaids_number_of_ids", TypeSize: 4, ArgDir: 1}}, Buf: "gaids_assoc_id"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "gaids_assoc_id", ArgDir: 1, IsVarlen: true}, Type: &ResourceType{TypeCommon: TypeCommon{TypeName: "assoc_id", TypeSize: 4, ArgDir: 1}}}, @@ -16816,6 +16929,13 @@ var structDescs_amd64 = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "uffdio_features", FldName: "featur", TypeSize: 8}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64}, BitMask: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ioctls", TypeSize: 8}}}, }}}, + {Key: StructKey{Name: "uffdio_copy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "uffdio_copy", TypeSize: 40}, Fields: []Type{ + &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "dst", TypeSize: 8}}, + &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "src", TypeSize: 8}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "dst"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "uffdio_copy_mode", FldName: "mode", TypeSize: 8}}, Vals: []uint64{1}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "copy", TypeSize: 8}}}, + }}}, {Key: StructKey{Name: "uffdio_range"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "uffdio_range", TypeSize: 16}, Fields: []Type{ &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "start", TypeSize: 8}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "start"}, @@ -16825,6 +16945,11 @@ var structDescs_amd64 = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "uffdio_register_mode", FldName: "mode", TypeSize: 8}}, Vals: []uint64{1, 2}, BitMask: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ioctls", TypeSize: 8}}}, }}}, + {Key: StructKey{Name: "uffdio_zeropage"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "uffdio_zeropage", TypeSize: 32}, Fields: []Type{ + &StructType{Key: StructKey{Name: "uffdio_range"}, FldName: "range"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "uffdio_zero_mode", FldName: "mode", TypeSize: 8}}, Vals: []uint64{1}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "zeropg", TypeSize: 8}}}, + }}}, {Key: StructKey{Name: "unimapdesc_in"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "unimapdesc_in", TypeSize: 16}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cnt", TypeSize: 2}}, Buf: "entries"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 6}}, IsPad: true}, @@ -20441,7 +20566,7 @@ var syscalls_amd64 = []*Syscall{ }}, {NR: 321, Name: "bpf$BPF_RAW_TRACEPOINT_OPEN", CallName: "bpf", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 17}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "bpf_prog_query"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "bpf_raw_tracepoint"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 8}}, Buf: "arg"}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 321, Name: "bpf$MAP_CREATE", CallName: "bpf", Args: []Type{ @@ -23417,6 +23542,11 @@ var syscalls_amd64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 19305}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}}, }}, + {NR: 16, Name: "ioctl$HCIINQUIRY", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_bt_hci", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147764464}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "hci_inquiry_req"}}}, + }}, {NR: 16, Name: "ioctl$HDIO_GETGEO", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_block", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 769}, @@ -23510,7 +23640,7 @@ var syscalls_amd64 = []*Syscall{ {NR: 16, Name: "ioctl$ION_IOC_HEAP_QUERY", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ion", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3222817032}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ion_allocation_data", Dir: 2}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ion_heap_query", Dir: 2}}}, }}, {NR: 16, Name: "ioctl$KDADDIO", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, @@ -23757,7 +23887,7 @@ var syscalls_amd64 = []*Syscall{ {NR: 16, Name: "ioctl$KVM_GET_IRQCHIP", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_kvmvm", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3255348834}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "kvm_irq_chip", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "kvm_irqchip", Dir: 1}}}, }}, {NR: 16, Name: "ioctl$KVM_GET_LAPIC", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_kvmcpu", FldName: "fd", TypeSize: 4}}, @@ -23988,7 +24118,7 @@ var syscalls_amd64 = []*Syscall{ {NR: 16, Name: "ioctl$KVM_SET_IRQCHIP", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_kvmvm", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2181607011}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "kvm_irq_chip"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "kvm_irqchip"}}}, }}, {NR: 16, Name: "ioctl$KVM_SET_LAPIC", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_kvmcpu", FldName: "fd", TypeSize: 4}}, @@ -25257,7 +25387,7 @@ var syscalls_amd64 = []*Syscall{ {NR: 16, Name: "ioctl$UFFDIO_COPY", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_uffd", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3223890435}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "uffdio_range"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "uffdio_copy"}}}, }}, {NR: 16, Name: "ioctl$UFFDIO_REGISTER", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_uffd", FldName: "fd", TypeSize: 4}}, @@ -25277,7 +25407,7 @@ var syscalls_amd64 = []*Syscall{ {NR: 16, Name: "ioctl$UFFDIO_ZEROPAGE", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_uffd", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3223366148}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "uffdio_range"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "uffdio_zeropage"}}}, }}, {NR: 16, Name: "ioctl$VHOST_GET_FEATURES", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_vhost", FldName: "fd", TypeSize: 4}}, @@ -27354,7 +27484,7 @@ var syscalls_amd64 = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_cgroup", FldName: "fd", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "cpu", TypeSize: 8}}, Kind: 2, RangeEnd: 16}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_perf", FldName: "group", TypeSize: 4, IsOptional: true}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "perf_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{1, 2, 8}, BitMask: true}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "perf_flags_cgroup", FldName: "flags", TypeSize: 8}}, Vals: []uint64{1, 2, 4, 8}, BitMask: true}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_perf", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 135, Name: "personality", CallName: "personality", Args: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "personality_flags", FldName: "persona", TypeSize: 8}}, Vals: []uint64{0, 68157441, 83886082, 100663299, 83886084, 67108869, 6, 83886087, 8, 67108873, 67108874, 67108875, 12, 67108877, 68157454, 15, 16, 262144, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 67108864, 134217728}}, @@ -28362,7 +28492,7 @@ var syscalls_amd64 = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 129}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ipt_counters_info"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ebt_counters_info"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "val"}, }}, {NR: 54, Name: "setsockopt$EBT_SO_SET_ENTRIES", CallName: "setsockopt", Args: []Type{ @@ -29111,7 +29241,7 @@ var syscalls_amd64 = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_sctp6", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 132}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 121}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sctp_add_streams"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "val"}, }}, {NR: 54, Name: "setsockopt$inet_sctp6_SCTP_ASSOCINFO", CallName: "setsockopt", Args: []Type{ @@ -29412,7 +29542,7 @@ var syscalls_amd64 = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_sctp", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 132}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 121}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sctp_add_streams"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "val"}, }}, {NR: 54, Name: "setsockopt$inet_sctp_SCTP_ASSOCINFO", CallName: "setsockopt", Args: []Type{ @@ -31257,6 +31387,11 @@ var syscalls_amd64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_ROUTE, rdma_ucm_resolve_route]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "data"}, }}, + {NR: 1, Name: "write$RDMA_USER_CM_CMD_SET_OPTION", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma_cm", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_SET_OPTION, rdma_ucm_set_option]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "data"}, + }}, {NR: 1, Name: "write$binfmt_aout", CallName: "write", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "binfmt_aout"}}}, @@ -31393,9 +31528,7 @@ var consts_amd64 = []ConstValue{ {Name: "AF_NETROM", Value: 6}, {Name: "AF_NFC", Value: 39}, {Name: "AF_PACKET", Value: 17}, - {Name: "AF_PHONET", Value: 35}, {Name: "AF_PPPOX", Value: 24}, - {Name: "AF_QIPCRTR", Value: 42}, {Name: "AF_RDS", Value: 21}, {Name: "AF_SMC", Value: 43}, {Name: "AF_UNIX", Value: 1}, @@ -32820,7 +32953,6 @@ 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}, @@ -34415,6 +34547,7 @@ var consts_amd64 = []ConstValue{ {Name: "RDMA_USER_CM_CMD_RESOLVE_ADDR", Value: 21}, {Name: "RDMA_USER_CM_CMD_RESOLVE_IP", Value: 3}, {Name: "RDMA_USER_CM_CMD_RESOLVE_ROUTE", Value: 4}, + {Name: "RDMA_USER_CM_CMD_SET_OPTION", Value: 14}, {Name: "RDMA_USER_CM_QUERY_ADDR"}, {Name: "RDMA_USER_CM_QUERY_GID", Value: 2}, {Name: "RDMA_USER_CM_QUERY_PATH", Value: 1}, @@ -34552,7 +34685,6 @@ var consts_amd64 = []ConstValue{ {Name: "RTM_NEWTFILTER", Value: 44}, {Name: "RTM_SETLINK", Value: 19}, {Name: "RTM_SETNEIGHTBL", Value: 67}, - {Name: "RTNL_FAMILY_IP6MR", Value: 129}, {Name: "RTNL_FAMILY_IPMR", Value: 128}, {Name: "RTN_ANYCAST", Value: 4}, {Name: "RTN_BLACKHOLE", Value: 6}, @@ -37468,4 +37600,4 @@ var consts_amd64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_amd64 = "d09a70511a6f3ffcd31382007c4d84e55ad90efb" +const revision_amd64 = "fc69ece5307d371a63232a03bac964a9ede3c7d2" diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go index 20cd86a64..ace90ecc0 100644 --- a/sys/linux/gen/arm.go +++ b/sys/linux/gen/arm.go @@ -856,6 +856,11 @@ var structDescs_arm = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "prog_cnt", TypeSize: 4}}, Buf: "prog_ids"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, }, AlignAttr: 8}}, + {Key: StructKey{Name: "bpf_raw_tracepoint"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bpf_raw_tracepoint", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "name", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf_prog", FldName: "prog_fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }, AlignAttr: 8}}, {Key: StructKey{Name: "bpf_test_prog_arg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bpf_test_prog_arg", TypeSize: 40}, Fields: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf_prog", FldName: "prog", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "retval", TypeSize: 4}}}, @@ -878,7 +883,7 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "pad", TypeSize: 8, ArgDir: 2}}}, }}}, {Key: StructKey{Name: "brctl_arg_generic", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "brctl_arg_generic", TypeSize: 24, ArgDir: 2}, Fields: []Type{ - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "a0", TypeSize: 8, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "brctl_cmds", FldName: "a0", TypeSize: 8, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "a1", TypeSize: 8, ArgDir: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "a2", TypeSize: 8, ArgDir: 2}}}, }}}, @@ -1806,7 +1811,7 @@ var structDescs_arm = []*KeyedStruct{ {Key: StructKey{Name: "ebt_among_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ebt_among_info", IsVarlen: true}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wh_dst_ofs", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wh_src_ofs", TypeSize: 4}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "bitmask", TypeSize: 4}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ebt_among_flags", FldName: "bitmask", TypeSize: 4}}, Vals: []uint64{1, 2}, BitMask: true}, &StructType{Key: StructKey{Name: "ebt_mac_wormhash"}, FldName: "dst"}, &StructType{Key: StructKey{Name: "ebt_mac_wormhash"}, FldName: "src"}, }}}, @@ -1835,6 +1840,17 @@ var structDescs_arm = []*KeyedStruct{ {Key: StructKey{Name: "ebt_broute_targets"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ebt_broute_targets", IsVarlen: true}, Fields: []Type{ &UnionType{Key: StructKey{Name: "ebt_targets"}, FldName: "common"}, }}}, + {Key: StructKey{Name: "ebt_counters_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ebt_counters_info", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 32}, Kind: 2, SubKind: "ebt_tables", Values: []string{"filter\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nat\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "broute\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "valid_hooks", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nentries", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "entries_size", TypeSize: 4}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "hook_entry", TypeSize: 24}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4}}}, Kind: 1, RangeBegin: 6, RangeEnd: 6}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "num_counters", TypeSize: 4}}, Buf: "counters1"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "counters", TypeSize: 4}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "xt_counters", Dir: 1}}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "entries", TypeSize: 4}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "counters1", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "xt_counters"}}}, + }}}, {Key: StructKey{Name: "ebt_entries[ebt_broute_targets]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ebt_entries[ebt_broute_targets]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "distinguisher", TypeSize: 4}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 32}, Kind: 2, Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}}, @@ -4340,6 +4356,16 @@ var structDescs_arm = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xt_hashlimit_mask", FldName: "dstmask", TypeSize: 1}}, Vals: []uint64{0, 8, 24, 32, 64, 120, 128}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 6}}, IsPad: true}, }}}, + {Key: StructKey{Name: "hci_inquiry_req"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "hci_inquiry_req", TypeSize: 12}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "dev", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "flags", TypeSize: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "lap0", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "lap1", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "lap2", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "len", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rsp", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + }}}, {Key: StructKey{Name: "hci_ufilter"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "hci_ufilter", TypeSize: 16}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "type", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "event0", TypeSize: 4}}}, @@ -4452,6 +4478,11 @@ var structDescs_arm = []*KeyedStruct{ {Key: StructKey{Name: "ib_addr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_addr", TypeSize: 16}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, }, AlignAttr: 8}}, + {Key: StructKey{Name: "ib_path_rec_data"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_path_rec_data", TypeSize: 72}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_path_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 32}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "path_rec", TypeSize: 64}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + }}}, {Key: StructKey{Name: "icmp6_pair", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "icmp6_pair", TypeSize: 8, ArgDir: 1}, Fields: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_icmp6", FldName: "f0", TypeSize: 4, ArgDir: 1}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_icmp6", FldName: "f1", TypeSize: 4, ArgDir: 1}}, @@ -4645,6 +4676,15 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "unused", TypeSize: 2}}}, &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "addr"}, }}}, + {Key: StructKey{Name: "icmpv6_ni_packet"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "icmpv6_ni_packet", IsVarlen: true}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "icmpv6_ni_types", FldName: "type", TypeSize: 1}}, Vals: []uint64{139, 140}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 1}}}, + &CsumType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "csum", FldName: "csum", TypeSize: 2}, BigEndian: true}, Kind: 1, Buf: "parent", Protocol: 58}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "qtype", TypeSize: 2}, BigEndian: true}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "flags", TypeSize: 2}, BigEndian: true}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64be", FldName: "nonce", TypeSize: 8}, BigEndian: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}}, + }}}, {Key: StructKey{Name: "icmpv6_packet"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "icmpv6_packet", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "icmpv6_dest_unreach_packet"}, FldName: "dest_unreach"}, &StructType{Key: StructKey{Name: "icmpv6_pkt_toobig_packet"}, FldName: "pkt_toobig"}, @@ -4653,6 +4693,7 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "icmpv6_echo_request_packet"}, FldName: "echo_request"}, &StructType{Key: StructKey{Name: "icmpv6_echo_reply_packet"}, FldName: "echo_reply"}, &StructType{Key: StructKey{Name: "icmpv6_mld_packet"}, FldName: "mld"}, + &StructType{Key: StructKey{Name: "icmpv6_ni_packet"}, FldName: "ni"}, }}}, {Key: StructKey{Name: "icmpv6_param_prob_packet"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "icmpv6_param_prob_packet", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 4}, @@ -5013,7 +5054,7 @@ 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, 5}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "lio_opcode", FldName: "aio_lio_opcode", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 3, 6, 7, 8}}, &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}}}, @@ -5030,6 +5071,21 @@ var structDescs_arm = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dma_buf", FldName: "fd", TypeSize: 4, ArgDir: 2, IsOptional: true}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "unused", TypeSize: 4, ArgDir: 2}}}, }}}, + {Key: StructKey{Name: "ion_heap_data", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ion_heap_data", TypeSize: 52, ArgDir: 1}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 32, ArgDir: 1}, Kind: 2, Values: []string{"name\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "type", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "heap_id", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "reserved0", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "reserved1", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "reserved2", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "ion_heap_query", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ion_heap_query", TypeSize: 24, ArgDir: 2}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cnt", TypeSize: 4, ArgDir: 2}}, Buf: "heaps"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 4, ArgDir: 2}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "heaps", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ion_heap_data", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 4, ArgDir: 2}}}, + }}}, {Key: StructKey{Name: "iovec[in, array[int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, array[int8]]", TypeSize: 8}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "addr"}, @@ -6451,7 +6507,7 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 4}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "segments_left", TypeSize: 1}}, Buf: "segments"}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "first_segment", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "flags", TypeSize: 1}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ipv6_sr_flags", FldName: "flags", TypeSize: 1}}, Vals: []uint64{64, 32, 16, 8}, BitMask: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "tag", TypeSize: 2}}}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "segments", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ipv6_addr"}}}, }, AlignAttr: 8}}, @@ -6862,6 +6918,16 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "soff", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "aid", TypeSize: 4}}}, }}}, + {Key: StructKey{Name: "kvm_irqchip"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kvm_irqchip", TypeSize: 224}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_chip_id", FldName: "chipid", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 4}}}, + &UnionType{Key: StructKey{Name: "kvm_irq_chip"}, FldName: "chip"}, + }}}, + {Key: StructKey{Name: "kvm_irqchip", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kvm_irqchip", TypeSize: 224, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_chip_id", FldName: "chipid", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 4, ArgDir: 1}}}, + &UnionType{Key: StructKey{Name: "kvm_irq_chip", Dir: 1}, FldName: "chip"}, + }}}, {Key: StructKey{Name: "kvm_irqfd"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kvm_irqfd", TypeSize: 32}, Fields: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_event", FldName: "fd", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "gsi", TypeSize: 4}}}, @@ -12867,6 +12933,12 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, &StructType{Key: StructKey{Name: "rdma_ucm_resolve_route"}, FldName: "msg"}, }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_SET_OPTION, rdma_ucm_set_option]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_SET_OPTION, rdma_ucm_set_option]", TypeSize: 32}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 14}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &UnionType{Key: StructKey{Name: "rdma_ucm_set_option"}, FldName: "msg"}, + }}}, {Key: StructKey{Name: "rdma_ucm_conn_param"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_conn_param", TypeSize: 272}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qp_num", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qkey", TypeSize: 4}}}, @@ -12987,6 +13059,40 @@ var structDescs_arm = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "timeout_ms", TypeSize: 4}}}, }}}, + {Key: StructKey{Name: "rdma_ucm_set_option"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_set_option", TypeSize: 24}, Fields: []Type{ + &StructType{Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_TOS, int8]"}, FldName: "id_tos"}, + &StructType{Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_REUSEADDR, bool32]"}, FldName: "id_resuseaddr"}, + &StructType{Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_AFONLY, bool32]"}, FldName: "id_afonly"}, + &StructType{Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_IB, RDMA_OPTION_IB_PATH, array[ib_path_rec_data]]"}, FldName: "ib_path"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_IB, RDMA_OPTION_IB_PATH, array[ib_path_rec_data]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_set_option_t[RDMA_OPTION_IB, RDMA_OPTION_IB_PATH, array[ib_path_rec_data]]", TypeSize: 24}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "optval", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "ib_path_rec_data"}}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Buf: "optval"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_AFONLY, bool32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_AFONLY, bool32]", TypeSize: 24}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "optval", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}, Kind: 2, RangeEnd: 1}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 2}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Buf: "optval"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_REUSEADDR, bool32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_REUSEADDR, bool32]", TypeSize: 24}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "optval", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}, Kind: 2, RangeEnd: 1}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Buf: "optval"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_TOS, int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_TOS, int8]", TypeSize: 24}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "optval", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Buf: "optval"}, + }}}, {Key: StructKey{Name: "rds_atomic_args"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rds_atomic_args", TypeSize: 72}, Fields: []Type{ &StructType{Key: StructKey{Name: "rds_rdma_cookie_t"}, FldName: "cookie"}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "local_addr", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, @@ -13466,6 +13572,11 @@ var structDescs_arm = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_sctp6", FldName: "f0", TypeSize: 4, ArgDir: 1}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_sctp6", FldName: "f1", TypeSize: 4, ArgDir: 1}}, }}}, + {Key: StructKey{Name: "sctp_add_streams"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sctp_add_streams", TypeSize: 8}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "assoc_id", FldName: "sas_assoc_id", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "sas_instrms", TypeSize: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "sas_outstrms", TypeSize: 2}}}, + }}}, {Key: StructKey{Name: "sctp_assoc_ids", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sctp_assoc_ids", ArgDir: 1, IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "gaids_number_of_ids", TypeSize: 4, ArgDir: 1}}, Buf: "gaids_assoc_id"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "gaids_assoc_id", ArgDir: 1, IsVarlen: true}, Type: &ResourceType{TypeCommon: TypeCommon{TypeName: "assoc_id", TypeSize: 4, ArgDir: 1}}}, @@ -16368,6 +16479,13 @@ var structDescs_arm = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "uffdio_features", FldName: "featur", TypeSize: 8}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64}, BitMask: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ioctls", TypeSize: 8}}}, }}}, + {Key: StructKey{Name: "uffdio_copy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "uffdio_copy", TypeSize: 32}, Fields: []Type{ + &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "dst", TypeSize: 4}}, + &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "src", TypeSize: 4}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "dst"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "uffdio_copy_mode", FldName: "mode", TypeSize: 8}}, Vals: []uint64{1}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "copy", TypeSize: 8}}}, + }}}, {Key: StructKey{Name: "uffdio_range"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "uffdio_range", TypeSize: 16}, Fields: []Type{ &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "start", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, @@ -16378,6 +16496,11 @@ var structDescs_arm = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "uffdio_register_mode", FldName: "mode", TypeSize: 8}}, Vals: []uint64{1, 2}, BitMask: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ioctls", TypeSize: 8}}}, }}}, + {Key: StructKey{Name: "uffdio_zeropage"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "uffdio_zeropage", TypeSize: 32}, Fields: []Type{ + &StructType{Key: StructKey{Name: "uffdio_range"}, FldName: "range"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "uffdio_zero_mode", FldName: "mode", TypeSize: 8}}, Vals: []uint64{1}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "zeropg", TypeSize: 8}}}, + }}}, {Key: StructKey{Name: "unimapdesc_in"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "unimapdesc_in", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cnt", TypeSize: 2}}, Buf: "entries"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, @@ -19896,7 +20019,7 @@ var syscalls_arm = []*Syscall{ }}, {NR: 386, Name: "bpf$BPF_RAW_TRACEPOINT_OPEN", CallName: "bpf", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 17}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "bpf_prog_query"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "bpf_raw_tracepoint"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 4}}, Buf: "arg"}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 386, Name: "bpf$MAP_CREATE", CallName: "bpf", Args: []Type{ @@ -22851,6 +22974,11 @@ var syscalls_arm = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 19305}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}}, }}, + {NR: 54, Name: "ioctl$HCIINQUIRY", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_bt_hci", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2147764464}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "hci_inquiry_req"}}}, + }}, {NR: 54, Name: "ioctl$HDIO_GETGEO", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_block", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 769}, @@ -22944,7 +23072,7 @@ var syscalls_arm = []*Syscall{ {NR: 54, Name: "ioctl$ION_IOC_HEAP_QUERY", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ion", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3222817032}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "ion_allocation_data", Dir: 2}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "ion_heap_query", Dir: 2}}}, }}, {NR: 54, Name: "ioctl$KDADDIO", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, @@ -23181,7 +23309,7 @@ var syscalls_arm = []*Syscall{ {NR: 54, Name: "ioctl$KVM_GET_IRQCHIP", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_kvmvm", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3255348834}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "kvm_irq_chip", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "kvm_irqchip", Dir: 1}}}, }}, {NR: 54, Name: "ioctl$KVM_GET_MP_STATE", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_kvmcpu", FldName: "fd", TypeSize: 4}}, @@ -23352,7 +23480,7 @@ var syscalls_arm = []*Syscall{ {NR: 54, Name: "ioctl$KVM_SET_IRQCHIP", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_kvmvm", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2181607011}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "kvm_irq_chip"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "kvm_irqchip"}}}, }}, {NR: 54, Name: "ioctl$KVM_SET_MP_STATE", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_kvmcpu", FldName: "fd", TypeSize: 4}}, @@ -24556,7 +24684,7 @@ var syscalls_arm = []*Syscall{ {NR: 54, Name: "ioctl$UFFDIO_COPY", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_uffd", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3223890435}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "uffdio_range"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "uffdio_copy"}}}, }}, {NR: 54, Name: "ioctl$UFFDIO_REGISTER", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_uffd", FldName: "fd", TypeSize: 4}}, @@ -24576,7 +24704,7 @@ var syscalls_arm = []*Syscall{ {NR: 54, Name: "ioctl$UFFDIO_ZEROPAGE", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_uffd", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3223366148}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "uffdio_range"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "uffdio_zeropage"}}}, }}, {NR: 54, Name: "ioctl$VHOST_GET_FEATURES", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_vhost", FldName: "fd", TypeSize: 4}}, @@ -26619,7 +26747,7 @@ var syscalls_arm = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_cgroup", FldName: "fd", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "cpu", TypeSize: 4}}, Kind: 2, RangeEnd: 16}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_perf", FldName: "group", TypeSize: 4, IsOptional: true}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "perf_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2, 8}, BitMask: true}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "perf_flags_cgroup", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8}, BitMask: true}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_perf", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 136, Name: "personality", CallName: "personality", Args: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "personality_flags", FldName: "persona", TypeSize: 4}}, Vals: []uint64{0, 68157441, 83886082, 100663299, 83886084, 67108869, 6, 83886087, 8, 67108873, 67108874, 67108875, 12, 67108877, 68157454, 15, 16, 262144, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 67108864, 134217728}}, @@ -27623,7 +27751,7 @@ var syscalls_arm = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 129}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "ipt_counters_info"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "ebt_counters_info"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "val"}, }}, {NR: 294, Name: "setsockopt$EBT_SO_SET_ENTRIES", CallName: "setsockopt", Args: []Type{ @@ -28372,7 +28500,7 @@ var syscalls_arm = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_sctp6", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 132}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 121}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sctp_add_streams"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "val"}, }}, {NR: 294, Name: "setsockopt$inet_sctp6_SCTP_ASSOCINFO", CallName: "setsockopt", Args: []Type{ @@ -28673,7 +28801,7 @@ var syscalls_arm = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_sctp", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 132}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 121}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sctp_add_streams"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "val"}, }}, {NR: 294, Name: "setsockopt$inet_sctp_SCTP_ASSOCINFO", CallName: "setsockopt", Args: []Type{ @@ -30505,6 +30633,11 @@ var syscalls_arm = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_ROUTE, rdma_ucm_resolve_route]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Buf: "data"}, }}, + {NR: 4, Name: "write$RDMA_USER_CM_CMD_SET_OPTION", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma_cm", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_SET_OPTION, rdma_ucm_set_option]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Buf: "data"}, + }}, {NR: 4, Name: "write$binfmt_aout", CallName: "write", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "binfmt_aout"}}}, @@ -30641,9 +30774,7 @@ var consts_arm = []ConstValue{ {Name: "AF_NETROM", Value: 6}, {Name: "AF_NFC", Value: 39}, {Name: "AF_PACKET", Value: 17}, - {Name: "AF_PHONET", Value: 35}, {Name: "AF_PPPOX", Value: 24}, - {Name: "AF_QIPCRTR", Value: 42}, {Name: "AF_RDS", Value: 21}, {Name: "AF_SMC", Value: 43}, {Name: "AF_UNIX", Value: 1}, @@ -32068,7 +32199,6 @@ 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}, @@ -33615,6 +33745,7 @@ var consts_arm = []ConstValue{ {Name: "RDMA_USER_CM_CMD_RESOLVE_ADDR", Value: 21}, {Name: "RDMA_USER_CM_CMD_RESOLVE_IP", Value: 3}, {Name: "RDMA_USER_CM_CMD_RESOLVE_ROUTE", Value: 4}, + {Name: "RDMA_USER_CM_CMD_SET_OPTION", Value: 14}, {Name: "RDMA_USER_CM_QUERY_ADDR"}, {Name: "RDMA_USER_CM_QUERY_GID", Value: 2}, {Name: "RDMA_USER_CM_QUERY_PATH", Value: 1}, @@ -33752,7 +33883,6 @@ var consts_arm = []ConstValue{ {Name: "RTM_NEWTFILTER", Value: 44}, {Name: "RTM_SETLINK", Value: 19}, {Name: "RTM_SETNEIGHTBL", Value: 67}, - {Name: "RTNL_FAMILY_IP6MR", Value: 129}, {Name: "RTNL_FAMILY_IPMR", Value: 128}, {Name: "RTN_ANYCAST", Value: 4}, {Name: "RTN_BLACKHOLE", Value: 6}, @@ -36641,4 +36771,4 @@ var consts_arm = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm = "7685391c83d55a4f98fddef408b43e62eaf32746" +const revision_arm = "dd5ad897499c0d9a2e3cbc471197a813b506d043" diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go index 8b7742aeb..53d2d3142 100644 --- a/sys/linux/gen/arm64.go +++ b/sys/linux/gen/arm64.go @@ -859,6 +859,11 @@ var structDescs_arm64 = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "prog_cnt", TypeSize: 4}}, Buf: "prog_ids"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, }, AlignAttr: 8}}, + {Key: StructKey{Name: "bpf_raw_tracepoint"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bpf_raw_tracepoint", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "name", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf_prog", FldName: "prog_fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }, AlignAttr: 8}}, {Key: StructKey{Name: "bpf_test_prog_arg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bpf_test_prog_arg", TypeSize: 40}, Fields: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf_prog", FldName: "prog", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "retval", TypeSize: 4}}}, @@ -880,7 +885,7 @@ var structDescs_arm64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "pad", TypeSize: 8, ArgDir: 2}}}, }}}, {Key: StructKey{Name: "brctl_arg_generic", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "brctl_arg_generic", TypeSize: 24, ArgDir: 2}, Fields: []Type{ - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "a0", TypeSize: 8, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "brctl_cmds", FldName: "a0", TypeSize: 8, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "a1", TypeSize: 8, ArgDir: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "a2", TypeSize: 8, ArgDir: 2}}}, }}}, @@ -1822,7 +1827,7 @@ var structDescs_arm64 = []*KeyedStruct{ {Key: StructKey{Name: "ebt_among_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ebt_among_info", IsVarlen: true}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wh_dst_ofs", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wh_src_ofs", TypeSize: 4}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "bitmask", TypeSize: 4}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ebt_among_flags", FldName: "bitmask", TypeSize: 4}}, Vals: []uint64{1, 2}, BitMask: true}, &StructType{Key: StructKey{Name: "ebt_mac_wormhash"}, FldName: "dst"}, &StructType{Key: StructKey{Name: "ebt_mac_wormhash"}, FldName: "src"}, }}}, @@ -1851,6 +1856,19 @@ var structDescs_arm64 = []*KeyedStruct{ {Key: StructKey{Name: "ebt_broute_targets"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ebt_broute_targets", IsVarlen: true}, Fields: []Type{ &UnionType{Key: StructKey{Name: "ebt_targets"}, FldName: "common"}, }}}, + {Key: StructKey{Name: "ebt_counters_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ebt_counters_info", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 32}, Kind: 2, SubKind: "ebt_tables", Values: []string{"filter\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nat\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "broute\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "valid_hooks", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nentries", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "entries_size", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "hook_entry", TypeSize: 48}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 8}}}, Kind: 1, RangeBegin: 6, RangeEnd: 6}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "num_counters", TypeSize: 4}}, Buf: "counters1"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "counters", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "xt_counters", Dir: 1}}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "entries", TypeSize: 8}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "counters1", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "xt_counters"}}}, + }}}, {Key: StructKey{Name: "ebt_entries[ebt_broute_targets]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ebt_entries[ebt_broute_targets]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "distinguisher", TypeSize: 4}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 32}, Kind: 2, Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}}, @@ -4425,6 +4443,16 @@ var structDescs_arm64 = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xt_hashlimit_mask", FldName: "dstmask", TypeSize: 1}}, Vals: []uint64{0, 8, 24, 32, 64, 120, 128}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 6}}, IsPad: true}, }}}, + {Key: StructKey{Name: "hci_inquiry_req"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "hci_inquiry_req", TypeSize: 12}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "dev", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "flags", TypeSize: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "lap0", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "lap1", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "lap2", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "len", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rsp", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + }}}, {Key: StructKey{Name: "hci_ufilter"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "hci_ufilter", TypeSize: 16}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "type", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "event0", TypeSize: 4}}}, @@ -4541,6 +4569,11 @@ var structDescs_arm64 = []*KeyedStruct{ {Key: StructKey{Name: "ib_addr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_addr", TypeSize: 16}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, }, AlignAttr: 8}}, + {Key: StructKey{Name: "ib_path_rec_data"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_path_rec_data", TypeSize: 72}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_path_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 32}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "path_rec", TypeSize: 64}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + }}}, {Key: StructKey{Name: "icmp6_pair", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "icmp6_pair", TypeSize: 8, ArgDir: 1}, Fields: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_icmp6", FldName: "f0", TypeSize: 4, ArgDir: 1}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_icmp6", FldName: "f1", TypeSize: 4, ArgDir: 1}}, @@ -4734,6 +4767,15 @@ var structDescs_arm64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "unused", TypeSize: 2}}}, &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "addr"}, }}}, + {Key: StructKey{Name: "icmpv6_ni_packet"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "icmpv6_ni_packet", IsVarlen: true}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "icmpv6_ni_types", FldName: "type", TypeSize: 1}}, Vals: []uint64{139, 140}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 1}}}, + &CsumType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "csum", FldName: "csum", TypeSize: 2}, BigEndian: true}, Kind: 1, Buf: "parent", Protocol: 58}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "qtype", TypeSize: 2}, BigEndian: true}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "flags", TypeSize: 2}, BigEndian: true}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64be", FldName: "nonce", TypeSize: 8}, BigEndian: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}}, + }}}, {Key: StructKey{Name: "icmpv6_packet"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "icmpv6_packet", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "icmpv6_dest_unreach_packet"}, FldName: "dest_unreach"}, &StructType{Key: StructKey{Name: "icmpv6_pkt_toobig_packet"}, FldName: "pkt_toobig"}, @@ -4742,6 +4784,7 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "icmpv6_echo_request_packet"}, FldName: "echo_request"}, &StructType{Key: StructKey{Name: "icmpv6_echo_reply_packet"}, FldName: "echo_reply"}, &StructType{Key: StructKey{Name: "icmpv6_mld_packet"}, FldName: "mld"}, + &StructType{Key: StructKey{Name: "icmpv6_ni_packet"}, FldName: "ni"}, }}}, {Key: StructKey{Name: "icmpv6_param_prob_packet"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "icmpv6_param_prob_packet", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 4}, @@ -5107,7 +5150,7 @@ 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, 5}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "lio_opcode", FldName: "aio_lio_opcode", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 3, 6, 7, 8}}, &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}}}, @@ -5124,6 +5167,21 @@ var structDescs_arm64 = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dma_buf", FldName: "fd", TypeSize: 4, ArgDir: 2, IsOptional: true}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "unused", TypeSize: 4, ArgDir: 2}}}, }}}, + {Key: StructKey{Name: "ion_heap_data", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ion_heap_data", TypeSize: 52, ArgDir: 1}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 32, ArgDir: 1}, Kind: 2, Values: []string{"name\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "type", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "heap_id", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "reserved0", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "reserved1", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "reserved2", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "ion_heap_query", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ion_heap_query", TypeSize: 24, ArgDir: 2}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cnt", TypeSize: 4, ArgDir: 2}}, Buf: "heaps"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 4, ArgDir: 2}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "heaps", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ion_heap_data", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 4, ArgDir: 2}}}, + }}}, {Key: StructKey{Name: "iovec[in, array[int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, array[int8]]", TypeSize: 16}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "addr"}, @@ -6546,7 +6604,7 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 4}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "segments_left", TypeSize: 1}}, Buf: "segments"}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "first_segment", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "flags", TypeSize: 1}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ipv6_sr_flags", FldName: "flags", TypeSize: 1}}, Vals: []uint64{64, 32, 16, 8}, BitMask: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "tag", TypeSize: 2}}}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "segments", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ipv6_addr"}}}, }, AlignAttr: 8}}, @@ -6959,6 +7017,16 @@ var structDescs_arm64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "soff", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "aid", TypeSize: 4}}}, }}}, + {Key: StructKey{Name: "kvm_irqchip"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kvm_irqchip", TypeSize: 224}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_chip_id", FldName: "chipid", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 4}}}, + &UnionType{Key: StructKey{Name: "kvm_irq_chip"}, FldName: "chip"}, + }}}, + {Key: StructKey{Name: "kvm_irqchip", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kvm_irqchip", TypeSize: 224, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_chip_id", FldName: "chipid", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 4, ArgDir: 1}}}, + &UnionType{Key: StructKey{Name: "kvm_irq_chip", Dir: 1}, FldName: "chip"}, + }}}, {Key: StructKey{Name: "kvm_irqfd"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kvm_irqfd", TypeSize: 32}, Fields: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_event", FldName: "fd", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "gsi", TypeSize: 4}}}, @@ -13045,6 +13113,12 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, &StructType{Key: StructKey{Name: "rdma_ucm_resolve_route"}, FldName: "msg"}, }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_SET_OPTION, rdma_ucm_set_option]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_SET_OPTION, rdma_ucm_set_option]", TypeSize: 32}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 14}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &UnionType{Key: StructKey{Name: "rdma_ucm_set_option"}, FldName: "msg"}, + }}}, {Key: StructKey{Name: "rdma_ucm_conn_param"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_conn_param", TypeSize: 272}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qp_num", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qkey", TypeSize: 4}}}, @@ -13165,6 +13239,40 @@ var structDescs_arm64 = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "timeout_ms", TypeSize: 4}}}, }}}, + {Key: StructKey{Name: "rdma_ucm_set_option"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_set_option", TypeSize: 24}, Fields: []Type{ + &StructType{Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_TOS, int8]"}, FldName: "id_tos"}, + &StructType{Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_REUSEADDR, bool32]"}, FldName: "id_resuseaddr"}, + &StructType{Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_AFONLY, bool32]"}, FldName: "id_afonly"}, + &StructType{Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_IB, RDMA_OPTION_IB_PATH, array[ib_path_rec_data]]"}, FldName: "ib_path"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_IB, RDMA_OPTION_IB_PATH, array[ib_path_rec_data]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_set_option_t[RDMA_OPTION_IB, RDMA_OPTION_IB_PATH, array[ib_path_rec_data]]", TypeSize: 24}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "optval", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "ib_path_rec_data"}}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Buf: "optval"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_AFONLY, bool32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_AFONLY, bool32]", TypeSize: 24}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "optval", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}, Kind: 2, RangeEnd: 1}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 2}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Buf: "optval"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_REUSEADDR, bool32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_REUSEADDR, bool32]", TypeSize: 24}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "optval", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}, Kind: 2, RangeEnd: 1}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Buf: "optval"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_TOS, int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_TOS, int8]", TypeSize: 24}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "optval", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Buf: "optval"}, + }}}, {Key: StructKey{Name: "rds_atomic_args"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rds_atomic_args", TypeSize: 72}, Fields: []Type{ &StructType{Key: StructKey{Name: "rds_rdma_cookie_t"}, FldName: "cookie"}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "local_addr", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, @@ -13630,6 +13738,11 @@ var structDescs_arm64 = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_sctp6", FldName: "f0", TypeSize: 4, ArgDir: 1}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_sctp6", FldName: "f1", TypeSize: 4, ArgDir: 1}}, }}}, + {Key: StructKey{Name: "sctp_add_streams"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sctp_add_streams", TypeSize: 8}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "assoc_id", FldName: "sas_assoc_id", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "sas_instrms", TypeSize: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "sas_outstrms", TypeSize: 2}}}, + }}}, {Key: StructKey{Name: "sctp_assoc_ids", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sctp_assoc_ids", ArgDir: 1, IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "gaids_number_of_ids", TypeSize: 4, ArgDir: 1}}, Buf: "gaids_assoc_id"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "gaids_assoc_id", ArgDir: 1, IsVarlen: true}, Type: &ResourceType{TypeCommon: TypeCommon{TypeName: "assoc_id", TypeSize: 4, ArgDir: 1}}}, @@ -16607,6 +16720,13 @@ var structDescs_arm64 = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "uffdio_features", FldName: "featur", TypeSize: 8}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64}, BitMask: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ioctls", TypeSize: 8}}}, }}}, + {Key: StructKey{Name: "uffdio_copy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "uffdio_copy", TypeSize: 40}, Fields: []Type{ + &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "dst", TypeSize: 8}}, + &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "src", TypeSize: 8}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "dst"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "uffdio_copy_mode", FldName: "mode", TypeSize: 8}}, Vals: []uint64{1}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "copy", TypeSize: 8}}}, + }}}, {Key: StructKey{Name: "uffdio_range"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "uffdio_range", TypeSize: 16}, Fields: []Type{ &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "start", TypeSize: 8}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "start"}, @@ -16616,6 +16736,11 @@ var structDescs_arm64 = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "uffdio_register_mode", FldName: "mode", TypeSize: 8}}, Vals: []uint64{1, 2}, BitMask: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ioctls", TypeSize: 8}}}, }}}, + {Key: StructKey{Name: "uffdio_zeropage"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "uffdio_zeropage", TypeSize: 32}, Fields: []Type{ + &StructType{Key: StructKey{Name: "uffdio_range"}, FldName: "range"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "uffdio_zero_mode", FldName: "mode", TypeSize: 8}}, Vals: []uint64{1}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "zeropg", TypeSize: 8}}}, + }}}, {Key: StructKey{Name: "unimapdesc_in"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "unimapdesc_in", TypeSize: 16}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cnt", TypeSize: 2}}, Buf: "entries"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 6}}, IsPad: true}, @@ -20200,7 +20325,7 @@ var syscalls_arm64 = []*Syscall{ }}, {NR: 280, Name: "bpf$BPF_RAW_TRACEPOINT_OPEN", CallName: "bpf", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 17}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "bpf_prog_query"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "bpf_raw_tracepoint"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 8}}, Buf: "arg"}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 280, Name: "bpf$MAP_CREATE", CallName: "bpf", Args: []Type{ @@ -23130,6 +23255,11 @@ var syscalls_arm64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 19305}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}}, }}, + {NR: 29, Name: "ioctl$HCIINQUIRY", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_bt_hci", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147764464}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "hci_inquiry_req"}}}, + }}, {NR: 29, Name: "ioctl$HDIO_GETGEO", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_block", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 769}, @@ -23223,7 +23353,7 @@ var syscalls_arm64 = []*Syscall{ {NR: 29, Name: "ioctl$ION_IOC_HEAP_QUERY", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ion", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3222817032}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ion_allocation_data", Dir: 2}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ion_heap_query", Dir: 2}}}, }}, {NR: 29, Name: "ioctl$KDADDIO", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, @@ -23460,7 +23590,7 @@ var syscalls_arm64 = []*Syscall{ {NR: 29, Name: "ioctl$KVM_GET_IRQCHIP", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_kvmvm", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3255348834}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "kvm_irq_chip", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "kvm_irqchip", Dir: 1}}}, }}, {NR: 29, Name: "ioctl$KVM_GET_MP_STATE", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_kvmcpu", FldName: "fd", TypeSize: 4}}, @@ -23631,7 +23761,7 @@ var syscalls_arm64 = []*Syscall{ {NR: 29, Name: "ioctl$KVM_SET_IRQCHIP", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_kvmvm", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2181607011}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "kvm_irq_chip"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "kvm_irqchip"}}}, }}, {NR: 29, Name: "ioctl$KVM_SET_MP_STATE", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_kvmcpu", FldName: "fd", TypeSize: 4}}, @@ -24855,7 +24985,7 @@ var syscalls_arm64 = []*Syscall{ {NR: 29, Name: "ioctl$UFFDIO_COPY", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_uffd", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3223890435}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "uffdio_range"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "uffdio_copy"}}}, }}, {NR: 29, Name: "ioctl$UFFDIO_REGISTER", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_uffd", FldName: "fd", TypeSize: 4}}, @@ -24875,7 +25005,7 @@ var syscalls_arm64 = []*Syscall{ {NR: 29, Name: "ioctl$UFFDIO_ZEROPAGE", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_uffd", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3223366148}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "uffdio_range"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "uffdio_zeropage"}}}, }}, {NR: 29, Name: "ioctl$VHOST_GET_FEATURES", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_vhost", FldName: "fd", TypeSize: 4}}, @@ -26886,7 +27016,7 @@ var syscalls_arm64 = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_cgroup", FldName: "fd", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "cpu", TypeSize: 8}}, Kind: 2, RangeEnd: 16}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_perf", FldName: "group", TypeSize: 4, IsOptional: true}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "perf_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{1, 2, 8}, BitMask: true}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "perf_flags_cgroup", FldName: "flags", TypeSize: 8}}, Vals: []uint64{1, 2, 4, 8}, BitMask: true}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_perf", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 92, Name: "personality", CallName: "personality", Args: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "personality_flags", FldName: "persona", TypeSize: 8}}, Vals: []uint64{0, 68157441, 83886082, 100663299, 83886084, 67108869, 6, 83886087, 8, 67108873, 67108874, 67108875, 12, 67108877, 68157454, 15, 16, 262144, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 67108864, 134217728}}, @@ -27858,7 +27988,7 @@ var syscalls_arm64 = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 129}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ipt_counters_info"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ebt_counters_info"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "val"}, }}, {NR: 208, Name: "setsockopt$EBT_SO_SET_ENTRIES", CallName: "setsockopt", Args: []Type{ @@ -28607,7 +28737,7 @@ var syscalls_arm64 = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_sctp6", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 132}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 121}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sctp_add_streams"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "val"}, }}, {NR: 208, Name: "setsockopt$inet_sctp6_SCTP_ASSOCINFO", CallName: "setsockopt", Args: []Type{ @@ -28908,7 +29038,7 @@ var syscalls_arm64 = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_sctp", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 132}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 121}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sctp_add_streams"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "val"}, }}, {NR: 208, Name: "setsockopt$inet_sctp_SCTP_ASSOCINFO", CallName: "setsockopt", Args: []Type{ @@ -30707,6 +30837,11 @@ var syscalls_arm64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_ROUTE, rdma_ucm_resolve_route]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "data"}, }}, + {NR: 64, Name: "write$RDMA_USER_CM_CMD_SET_OPTION", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma_cm", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_SET_OPTION, rdma_ucm_set_option]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "data"}, + }}, {NR: 64, Name: "write$binfmt_aout", CallName: "write", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "binfmt_aout"}}}, @@ -30843,9 +30978,7 @@ var consts_arm64 = []ConstValue{ {Name: "AF_NETROM", Value: 6}, {Name: "AF_NFC", Value: 39}, {Name: "AF_PACKET", Value: 17}, - {Name: "AF_PHONET", Value: 35}, {Name: "AF_PPPOX", Value: 24}, - {Name: "AF_QIPCRTR", Value: 42}, {Name: "AF_RDS", Value: 21}, {Name: "AF_SMC", Value: 43}, {Name: "AF_UNIX", Value: 1}, @@ -32270,7 +32403,6 @@ 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}, @@ -33822,6 +33954,7 @@ var consts_arm64 = []ConstValue{ {Name: "RDMA_USER_CM_CMD_RESOLVE_ADDR", Value: 21}, {Name: "RDMA_USER_CM_CMD_RESOLVE_IP", Value: 3}, {Name: "RDMA_USER_CM_CMD_RESOLVE_ROUTE", Value: 4}, + {Name: "RDMA_USER_CM_CMD_SET_OPTION", Value: 14}, {Name: "RDMA_USER_CM_QUERY_ADDR"}, {Name: "RDMA_USER_CM_QUERY_GID", Value: 2}, {Name: "RDMA_USER_CM_QUERY_PATH", Value: 1}, @@ -33959,7 +34092,6 @@ var consts_arm64 = []ConstValue{ {Name: "RTM_NEWTFILTER", Value: 44}, {Name: "RTM_SETLINK", Value: 19}, {Name: "RTM_SETNEIGHTBL", Value: 67}, - {Name: "RTNL_FAMILY_IP6MR", Value: 129}, {Name: "RTNL_FAMILY_IPMR", Value: 128}, {Name: "RTN_ANYCAST", Value: 4}, {Name: "RTN_BLACKHOLE", Value: 6}, @@ -36833,4 +36965,4 @@ var consts_arm64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm64 = "490cd226cdc33533cddaab7834be0768dcfad0d9" +const revision_arm64 = "45ca78852b7500e7612287085dee2292ff1d6a8e" diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go index 9128ebbfc..022eaf03b 100644 --- a/sys/linux/gen/ppc64le.go +++ b/sys/linux/gen/ppc64le.go @@ -850,6 +850,11 @@ var structDescs_ppc64le = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "prog_cnt", TypeSize: 4}}, Buf: "prog_ids"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, }, AlignAttr: 8}}, + {Key: StructKey{Name: "bpf_raw_tracepoint"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bpf_raw_tracepoint", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "name", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf_prog", FldName: "prog_fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }, AlignAttr: 8}}, {Key: StructKey{Name: "bpf_test_prog_arg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bpf_test_prog_arg", TypeSize: 40}, Fields: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf_prog", FldName: "prog", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "retval", TypeSize: 4}}}, @@ -871,7 +876,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "pad", TypeSize: 8, ArgDir: 2}}}, }}}, {Key: StructKey{Name: "brctl_arg_generic", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "brctl_arg_generic", TypeSize: 24, ArgDir: 2}, Fields: []Type{ - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "a0", TypeSize: 8, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "brctl_cmds", FldName: "a0", TypeSize: 8, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "a1", TypeSize: 8, ArgDir: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "a2", TypeSize: 8, ArgDir: 2}}}, }}}, @@ -1813,7 +1818,7 @@ var structDescs_ppc64le = []*KeyedStruct{ {Key: StructKey{Name: "ebt_among_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ebt_among_info", IsVarlen: true}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wh_dst_ofs", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wh_src_ofs", TypeSize: 4}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "bitmask", TypeSize: 4}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ebt_among_flags", FldName: "bitmask", TypeSize: 4}}, Vals: []uint64{1, 2}, BitMask: true}, &StructType{Key: StructKey{Name: "ebt_mac_wormhash"}, FldName: "dst"}, &StructType{Key: StructKey{Name: "ebt_mac_wormhash"}, FldName: "src"}, }}}, @@ -1842,6 +1847,19 @@ var structDescs_ppc64le = []*KeyedStruct{ {Key: StructKey{Name: "ebt_broute_targets"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ebt_broute_targets", IsVarlen: true}, Fields: []Type{ &UnionType{Key: StructKey{Name: "ebt_targets"}, FldName: "common"}, }}}, + {Key: StructKey{Name: "ebt_counters_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ebt_counters_info", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 32}, Kind: 2, SubKind: "ebt_tables", Values: []string{"filter\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nat\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "broute\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "valid_hooks", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nentries", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "entries_size", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "hook_entry", TypeSize: 48}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 8}}}, Kind: 1, RangeBegin: 6, RangeEnd: 6}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "num_counters", TypeSize: 4}}, Buf: "counters1"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "counters", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "xt_counters", Dir: 1}}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "entries", TypeSize: 8}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "counters1", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "xt_counters"}}}, + }}}, {Key: StructKey{Name: "ebt_entries[ebt_broute_targets]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ebt_entries[ebt_broute_targets]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "distinguisher", TypeSize: 4}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 32}, Kind: 2, Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}}, @@ -4416,6 +4434,16 @@ var structDescs_ppc64le = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xt_hashlimit_mask", FldName: "dstmask", TypeSize: 1}}, Vals: []uint64{0, 8, 24, 32, 64, 120, 128}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 6}}, IsPad: true}, }}}, + {Key: StructKey{Name: "hci_inquiry_req"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "hci_inquiry_req", TypeSize: 12}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "dev", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "flags", TypeSize: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "lap0", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "lap1", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "lap2", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "len", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rsp", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + }}}, {Key: StructKey{Name: "hci_ufilter"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "hci_ufilter", TypeSize: 16}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "type", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "event0", TypeSize: 4}}}, @@ -4532,6 +4560,11 @@ var structDescs_ppc64le = []*KeyedStruct{ {Key: StructKey{Name: "ib_addr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_addr", TypeSize: 16}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, }, AlignAttr: 8}}, + {Key: StructKey{Name: "ib_path_rec_data"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_path_rec_data", TypeSize: 72}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_path_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 32}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "path_rec", TypeSize: 64}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + }}}, {Key: StructKey{Name: "icmp6_pair", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "icmp6_pair", TypeSize: 8, ArgDir: 1}, Fields: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_icmp6", FldName: "f0", TypeSize: 4, ArgDir: 1}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_icmp6", FldName: "f1", TypeSize: 4, ArgDir: 1}}, @@ -4725,6 +4758,15 @@ var structDescs_ppc64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "unused", TypeSize: 2}}}, &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "addr"}, }}}, + {Key: StructKey{Name: "icmpv6_ni_packet"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "icmpv6_ni_packet", IsVarlen: true}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "icmpv6_ni_types", FldName: "type", TypeSize: 1}}, Vals: []uint64{139, 140}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 1}}}, + &CsumType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "csum", FldName: "csum", TypeSize: 2}, BigEndian: true}, Kind: 1, Buf: "parent", Protocol: 58}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "qtype", TypeSize: 2}, BigEndian: true}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "flags", TypeSize: 2}, BigEndian: true}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64be", FldName: "nonce", TypeSize: 8}, BigEndian: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}}, + }}}, {Key: StructKey{Name: "icmpv6_packet"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "icmpv6_packet", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "icmpv6_dest_unreach_packet"}, FldName: "dest_unreach"}, &StructType{Key: StructKey{Name: "icmpv6_pkt_toobig_packet"}, FldName: "pkt_toobig"}, @@ -4733,6 +4775,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "icmpv6_echo_request_packet"}, FldName: "echo_request"}, &StructType{Key: StructKey{Name: "icmpv6_echo_reply_packet"}, FldName: "echo_reply"}, &StructType{Key: StructKey{Name: "icmpv6_mld_packet"}, FldName: "mld"}, + &StructType{Key: StructKey{Name: "icmpv6_ni_packet"}, FldName: "ni"}, }}}, {Key: StructKey{Name: "icmpv6_param_prob_packet"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "icmpv6_param_prob_packet", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 4}, @@ -5098,7 +5141,7 @@ 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, 5}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "lio_opcode", FldName: "aio_lio_opcode", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 3, 6, 7, 8}}, &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}}}, @@ -5115,6 +5158,21 @@ var structDescs_ppc64le = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dma_buf", FldName: "fd", TypeSize: 4, ArgDir: 2, IsOptional: true}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "unused", TypeSize: 4, ArgDir: 2}}}, }}}, + {Key: StructKey{Name: "ion_heap_data", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ion_heap_data", TypeSize: 52, ArgDir: 1}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 32, ArgDir: 1}, Kind: 2, Values: []string{"name\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "type", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "heap_id", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "reserved0", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "reserved1", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "reserved2", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "ion_heap_query", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ion_heap_query", TypeSize: 24, ArgDir: 2}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cnt", TypeSize: 4, ArgDir: 2}}, Buf: "heaps"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 4, ArgDir: 2}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "heaps", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ion_heap_data", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 4, ArgDir: 2}}}, + }}}, {Key: StructKey{Name: "iovec[in, array[int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, array[int8]]", TypeSize: 16}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "addr"}, @@ -6524,7 +6582,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 4}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "segments_left", TypeSize: 1}}, Buf: "segments"}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "first_segment", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "flags", TypeSize: 1}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ipv6_sr_flags", FldName: "flags", TypeSize: 1}}, Vals: []uint64{64, 32, 16, 8}, BitMask: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "tag", TypeSize: 2}}}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "segments", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ipv6_addr"}}}, }, AlignAttr: 8}}, @@ -6937,6 +6995,16 @@ var structDescs_ppc64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "soff", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "aid", TypeSize: 4}}}, }}}, + {Key: StructKey{Name: "kvm_irqchip"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kvm_irqchip", TypeSize: 224}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_chip_id", FldName: "chipid", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 4}}}, + &UnionType{Key: StructKey{Name: "kvm_irq_chip"}, FldName: "chip"}, + }}}, + {Key: StructKey{Name: "kvm_irqchip", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kvm_irqchip", TypeSize: 224, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_chip_id", FldName: "chipid", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 4, ArgDir: 1}}}, + &UnionType{Key: StructKey{Name: "kvm_irq_chip", Dir: 1}, FldName: "chip"}, + }}}, {Key: StructKey{Name: "kvm_irqfd"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kvm_irqfd", TypeSize: 32}, Fields: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_event", FldName: "fd", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "gsi", TypeSize: 4}}}, @@ -12997,6 +13065,12 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, &StructType{Key: StructKey{Name: "rdma_ucm_resolve_route"}, FldName: "msg"}, }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_SET_OPTION, rdma_ucm_set_option]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_SET_OPTION, rdma_ucm_set_option]", TypeSize: 32}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 14}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &UnionType{Key: StructKey{Name: "rdma_ucm_set_option"}, FldName: "msg"}, + }}}, {Key: StructKey{Name: "rdma_ucm_conn_param"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_conn_param", TypeSize: 272}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qp_num", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qkey", TypeSize: 4}}}, @@ -13117,6 +13191,40 @@ var structDescs_ppc64le = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "timeout_ms", TypeSize: 4}}}, }}}, + {Key: StructKey{Name: "rdma_ucm_set_option"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_set_option", TypeSize: 24}, Fields: []Type{ + &StructType{Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_TOS, int8]"}, FldName: "id_tos"}, + &StructType{Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_REUSEADDR, bool32]"}, FldName: "id_resuseaddr"}, + &StructType{Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_AFONLY, bool32]"}, FldName: "id_afonly"}, + &StructType{Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_IB, RDMA_OPTION_IB_PATH, array[ib_path_rec_data]]"}, FldName: "ib_path"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_IB, RDMA_OPTION_IB_PATH, array[ib_path_rec_data]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_set_option_t[RDMA_OPTION_IB, RDMA_OPTION_IB_PATH, array[ib_path_rec_data]]", TypeSize: 24}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "optval", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "ib_path_rec_data"}}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Buf: "optval"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_AFONLY, bool32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_AFONLY, bool32]", TypeSize: 24}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "optval", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}, Kind: 2, RangeEnd: 1}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 2}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Buf: "optval"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_REUSEADDR, bool32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_REUSEADDR, bool32]", TypeSize: 24}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "optval", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}, Kind: 2, RangeEnd: 1}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Buf: "optval"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_TOS, int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_TOS, int8]", TypeSize: 24}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "optval", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Buf: "optval"}, + }}}, {Key: StructKey{Name: "rds_atomic_args"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rds_atomic_args", TypeSize: 72}, Fields: []Type{ &StructType{Key: StructKey{Name: "rds_rdma_cookie_t"}, FldName: "cookie"}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "local_addr", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, @@ -13596,6 +13704,11 @@ var structDescs_ppc64le = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_sctp6", FldName: "f0", TypeSize: 4, ArgDir: 1}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_sctp6", FldName: "f1", TypeSize: 4, ArgDir: 1}}, }}}, + {Key: StructKey{Name: "sctp_add_streams"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sctp_add_streams", TypeSize: 8}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "assoc_id", FldName: "sas_assoc_id", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "sas_instrms", TypeSize: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "sas_outstrms", TypeSize: 2}}}, + }}}, {Key: StructKey{Name: "sctp_assoc_ids", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sctp_assoc_ids", ArgDir: 1, IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "gaids_number_of_ids", TypeSize: 4, ArgDir: 1}}, Buf: "gaids_assoc_id"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "gaids_assoc_id", ArgDir: 1, IsVarlen: true}, Type: &ResourceType{TypeCommon: TypeCommon{TypeName: "assoc_id", TypeSize: 4, ArgDir: 1}}}, @@ -16469,6 +16582,13 @@ var structDescs_ppc64le = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "uffdio_features", FldName: "featur", TypeSize: 8}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64}, BitMask: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ioctls", TypeSize: 8}}}, }}}, + {Key: StructKey{Name: "uffdio_copy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "uffdio_copy", TypeSize: 40}, Fields: []Type{ + &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "dst", TypeSize: 8}}, + &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "src", TypeSize: 8}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "dst"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "uffdio_copy_mode", FldName: "mode", TypeSize: 8}}, Vals: []uint64{1}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "copy", TypeSize: 8}}}, + }}}, {Key: StructKey{Name: "uffdio_range"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "uffdio_range", TypeSize: 16}, Fields: []Type{ &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "start", TypeSize: 8}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "start"}, @@ -16478,6 +16598,11 @@ var structDescs_ppc64le = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "uffdio_register_mode", FldName: "mode", TypeSize: 8}}, Vals: []uint64{1, 2}, BitMask: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ioctls", TypeSize: 8}}}, }}}, + {Key: StructKey{Name: "uffdio_zeropage"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "uffdio_zeropage", TypeSize: 32}, Fields: []Type{ + &StructType{Key: StructKey{Name: "uffdio_range"}, FldName: "range"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "uffdio_zero_mode", FldName: "mode", TypeSize: 8}}, Vals: []uint64{1}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "zeropg", TypeSize: 8}}}, + }}}, {Key: StructKey{Name: "unimapdesc_in"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "unimapdesc_in", TypeSize: 16}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cnt", TypeSize: 2}}, Buf: "entries"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 6}}, IsPad: true}, @@ -19270,7 +19395,7 @@ var syscalls_ppc64le = []*Syscall{ }}, {NR: 361, Name: "bpf$BPF_RAW_TRACEPOINT_OPEN", CallName: "bpf", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 17}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "bpf_prog_query"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "bpf_raw_tracepoint"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 8}}, Buf: "arg"}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 361, Name: "bpf$MAP_CREATE", CallName: "bpf", Args: []Type{ @@ -21280,6 +21405,14 @@ var syscalls_ppc64le = []*Syscall{ &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"}}}, }}, + {NR: 388, 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: 227, Name: "io_setup", CallName: "io_setup", Args: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "n", TypeSize: 4}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "ctx", TypeSize: 8}, Type: &ResourceType{TypeCommon: TypeCommon{TypeName: "io_ctx", TypeSize: 8, ArgDir: 1}}}, @@ -22235,6 +22368,11 @@ var syscalls_ppc64le = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 19305}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}}, }}, + {NR: 54, Name: "ioctl$HCIINQUIRY", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_bt_hci", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074022640}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "hci_inquiry_req"}}}, + }}, {NR: 54, Name: "ioctl$HDIO_GETGEO", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_block", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 769}, @@ -22328,7 +22466,7 @@ var syscalls_ppc64le = []*Syscall{ {NR: 54, Name: "ioctl$ION_IOC_HEAP_QUERY", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ion", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3222817032}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ion_allocation_data", Dir: 2}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ion_heap_query", Dir: 2}}}, }}, {NR: 54, Name: "ioctl$KDADDIO", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, @@ -22560,7 +22698,7 @@ var syscalls_ppc64le = []*Syscall{ {NR: 54, Name: "ioctl$KVM_GET_IRQCHIP", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_kvmvm", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3255348834}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "kvm_irq_chip", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "kvm_irqchip", Dir: 1}}}, }}, {NR: 54, Name: "ioctl$KVM_GET_MP_STATE", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_kvmcpu", FldName: "fd", TypeSize: 4}}, @@ -22731,7 +22869,7 @@ var syscalls_ppc64le = []*Syscall{ {NR: 54, Name: "ioctl$KVM_SET_IRQCHIP", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_kvmvm", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1107865187}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "kvm_irq_chip"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "kvm_irqchip"}}}, }}, {NR: 54, Name: "ioctl$KVM_SET_MP_STATE", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_kvmcpu", FldName: "fd", TypeSize: 4}}, @@ -23885,7 +24023,7 @@ var syscalls_ppc64le = []*Syscall{ {NR: 54, Name: "ioctl$UFFDIO_COPY", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_uffd", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3223890435}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "uffdio_range"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "uffdio_copy"}}}, }}, {NR: 54, Name: "ioctl$UFFDIO_REGISTER", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_uffd", FldName: "fd", TypeSize: 4}}, @@ -23905,7 +24043,7 @@ var syscalls_ppc64le = []*Syscall{ {NR: 54, Name: "ioctl$UFFDIO_ZEROPAGE", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_uffd", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3223366148}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "uffdio_range"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "uffdio_zeropage"}}}, }}, {NR: 54, Name: "ioctl$VHOST_GET_FEATURES", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_vhost", FldName: "fd", TypeSize: 4}}, @@ -25427,7 +25565,7 @@ var syscalls_ppc64le = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_cgroup", FldName: "fd", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "cpu", TypeSize: 8}}, Kind: 2, RangeEnd: 16}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_perf", FldName: "group", TypeSize: 4, IsOptional: true}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "perf_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{1, 2, 8}, BitMask: true}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "perf_flags_cgroup", FldName: "flags", TypeSize: 8}}, Vals: []uint64{1, 2, 4, 8}, BitMask: true}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_perf", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 136, Name: "personality", CallName: "personality", Args: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "personality_flags", FldName: "persona", TypeSize: 8}}, Vals: []uint64{0, 68157441, 83886082, 100663299, 83886084, 67108869, 6, 83886087, 8, 67108873, 67108874, 67108875, 12, 67108877, 68157454, 15, 16, 262144, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 67108864, 134217728}}, @@ -26334,7 +26472,7 @@ var syscalls_ppc64le = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 129}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ipt_counters_info"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ebt_counters_info"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "val"}, }}, {NR: 339, Name: "setsockopt$EBT_SO_SET_ENTRIES", CallName: "setsockopt", Args: []Type{ @@ -27083,7 +27221,7 @@ var syscalls_ppc64le = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_sctp6", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 132}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 121}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sctp_add_streams"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "val"}, }}, {NR: 339, Name: "setsockopt$inet_sctp6_SCTP_ASSOCINFO", CallName: "setsockopt", Args: []Type{ @@ -27384,7 +27522,7 @@ var syscalls_ppc64le = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_sctp", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 132}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 121}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sctp_add_streams"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "val"}, }}, {NR: 339, Name: "setsockopt$inet_sctp_SCTP_ASSOCINFO", CallName: "setsockopt", Args: []Type{ @@ -29166,6 +29304,11 @@ var syscalls_ppc64le = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_ROUTE, rdma_ucm_resolve_route]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "data"}, }}, + {NR: 4, Name: "write$RDMA_USER_CM_CMD_SET_OPTION", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma_cm", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_SET_OPTION, rdma_ucm_set_option]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "data"}, + }}, {NR: 4, Name: "write$binfmt_aout", CallName: "write", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "binfmt_aout"}}}, @@ -29302,9 +29445,7 @@ var consts_ppc64le = []ConstValue{ {Name: "AF_NETROM", Value: 6}, {Name: "AF_NFC", Value: 39}, {Name: "AF_PACKET", Value: 17}, - {Name: "AF_PHONET", Value: 35}, {Name: "AF_PPPOX", Value: 24}, - {Name: "AF_QIPCRTR", Value: 42}, {Name: "AF_RDS", Value: 21}, {Name: "AF_SMC", Value: 43}, {Name: "AF_UNIX", Value: 1}, @@ -30729,7 +30870,6 @@ 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}, @@ -32187,6 +32327,7 @@ var consts_ppc64le = []ConstValue{ {Name: "RDMA_USER_CM_CMD_RESOLVE_ADDR", Value: 21}, {Name: "RDMA_USER_CM_CMD_RESOLVE_IP", Value: 3}, {Name: "RDMA_USER_CM_CMD_RESOLVE_ROUTE", Value: 4}, + {Name: "RDMA_USER_CM_CMD_SET_OPTION", Value: 14}, {Name: "RDMA_USER_CM_QUERY_ADDR"}, {Name: "RDMA_USER_CM_QUERY_GID", Value: 2}, {Name: "RDMA_USER_CM_QUERY_PATH", Value: 1}, @@ -32324,7 +32465,6 @@ var consts_ppc64le = []ConstValue{ {Name: "RTM_NEWTFILTER", Value: 44}, {Name: "RTM_SETLINK", Value: 19}, {Name: "RTM_SETNEIGHTBL", Value: 67}, - {Name: "RTNL_FAMILY_IP6MR", Value: 129}, {Name: "RTNL_FAMILY_IPMR", Value: 128}, {Name: "RTN_ANYCAST", Value: 4}, {Name: "RTN_BLACKHOLE", Value: 6}, @@ -34061,6 +34201,7 @@ var consts_ppc64le = []ConstValue{ {Name: "__NR_io_cancel", Value: 231}, {Name: "__NR_io_destroy", Value: 228}, {Name: "__NR_io_getevents", Value: 229}, + {Name: "__NR_io_pgetevents", Value: 388}, {Name: "__NR_io_setup", Value: 227}, {Name: "__NR_io_submit", Value: 230}, {Name: "__NR_ioctl", Value: 54}, @@ -34255,4 +34396,4 @@ var consts_ppc64le = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_ppc64le = "1b8b56d3ab966b2443749c78f2dac56bef54fb9c" +const revision_ppc64le = "fb8f49f6dceef512594c9f30fdc24bb287e02e4f" |
