diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-03-06 19:14:54 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-03-06 19:15:44 +0100 |
| commit | c8a1847658268fbadf20aa486107f2e553a8c768 (patch) | |
| tree | 3c43c398704cd9f84141ac7398009abc5a80b70c /sys/linux/amd64.go | |
| parent | 2814d6b8454ab778f4fbed5f88ed6b0effd02318 (diff) | |
sys/linux: add descriptions for /dev/infiniband/rdma_cm
Also fix uffd and bluetooth consts while we are here.
Diffstat (limited to 'sys/linux/amd64.go')
| -rw-r--r-- | sys/linux/amd64.go | 497 |
1 files changed, 496 insertions, 1 deletions
diff --git a/sys/linux/amd64.go b/sys/linux/amd64.go index 8326ec0ad..f3801be2a 100644 --- a/sys/linux/amd64.go +++ b/sys/linux/amd64.go @@ -40,6 +40,7 @@ var resources_amd64 = []*ResourceDesc{ {Name: "fd_mq", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_mq"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_perf", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_perf"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_random", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_random"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "fd_rdma_cm", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_rdma_cm"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_selinux_access", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_selinux_access"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_selinux_context", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_selinux_context"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_selinux_create", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_selinux_create"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, @@ -69,6 +70,8 @@ var resources_amd64 = []*ResourceDesc{ {Name: "keyring", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"key", "keyring"}, Values: []uint64{0, 18446744073709551615, 18446744073709551614, 18446744073709551613, 18446744073709551612, 18446744073709551611, 18446744073709551610, 18446744073709551609, 18446744073709551608}}, {Name: "pid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"pid"}, Values: []uint64{0, 18446744073709551615}}, {Name: "pkey", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"pkey"}, Values: []uint64{18446744073709551615}}, + {Name: "rdma_cm_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"rdma_cm_id"}, Values: []uint64{4294967295}}, + {Name: "rdma_cm_mcast_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"rdma_cm_mcast_id"}, Values: []uint64{4294967295}}, {Name: "shmaddr", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}, Kind: []string{"shmaddr"}, Values: []uint64{0}}, {Name: "sock", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "sock_alg", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_alg"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, @@ -2828,6 +2831,14 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "ci", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "hidp_conninfo", Dir: 1}}}}, }}}, + {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}}, + &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}}, @@ -7661,6 +7672,333 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "encode", TypeSize: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "parity", TypeSize: 2}}}, }}}, + {Key: StructKey{Name: "rdma_ucm_accept"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_accept", TypeSize: 288}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "uid", TypeSize: 8}}, Kind: 2, RangeEnd: 4}, + &StructType{Key: StructKey{Name: "rdma_ucm_conn_param"}, FldName: "conn_param"}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_bind"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_bind", TypeSize: 136}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sockaddr_rdma_cm_lens", FldName: "addr_size", TypeSize: 2}}, Vals: []uint64{16, 28, 48}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + &UnionType{Key: StructKey{Name: "sockaddr_rdma_cm"}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_bind_ip"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_bind_ip", TypeSize: 40}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "response", TypeSize: 8}}}, + &StructType{Key: StructKey{Name: "sockaddr_in6"}, FldName: "addr"}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_CREATE_ID, rdma_ucm_create_id]"}, FldName: "create_id"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_DESTROY_ID, rdma_ucm_destroy_id]"}, FldName: "destroy_id"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_BIND_IP, rdma_ucm_bind_ip]"}, FldName: "bind_ip"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_IP, rdma_ucm_resolve_ip]"}, FldName: "resolve_ip"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_ROUTE, rdma_ucm_resolve_route]"}, FldName: "resolve_route"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_QUERY_ROUTE, rdma_ucm_query]"}, FldName: "query_route"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_CONNECT, rdma_ucm_connect]"}, FldName: "connect"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_LISTEN, rdma_ucm_listen]"}, FldName: "listen"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_ACCEPT, rdma_ucm_accept]"}, FldName: "accept"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_REJECT, rdma_ucm_reject]"}, FldName: "reject"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_DISCONNECT, rdma_ucm_disconnect]"}, FldName: "disconnect"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_INIT_QP_ATTR, rdma_ucm_init_qp_attr]"}, FldName: "init_qp_attr"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_GET_EVENT, rdma_ucm_get_event]"}, FldName: "get_event"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_SET_OPTION, rdma_ucm_set_option]"}, FldName: "set_option"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_NOTIFY, rdma_ucm_notify]"}, FldName: "notify"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_JOIN_IP_MCAST, rdma_ucm_join_ip_mcast]"}, FldName: "join_ip_mcast"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_LEAVE_MCAST, rdma_ucm_leave_mcast]"}, FldName: "leave_mcast"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_MIGRATE_ID, rdma_ucm_migrate_id]"}, FldName: "migrate_id"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_QUERY, rdma_ucm_query]"}, FldName: "query"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_BIND, rdma_ucm_bind]"}, FldName: "bind"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_ADDR, rdma_ucm_resolve_addr]"}, FldName: "resolve_addr"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_JOIN_MCAST, rdma_ucm_join_mcast]"}, FldName: "join_mcast"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_ACCEPT, rdma_ucm_accept]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_ACCEPT, rdma_ucm_accept]", TypeSize: 296}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 8}, + &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}, + &StructType{Key: StructKey{Name: "rdma_ucm_accept"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_BIND, rdma_ucm_bind]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_BIND, rdma_ucm_bind]", TypeSize: 144}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 20}, + &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}, + &StructType{Key: StructKey{Name: "rdma_ucm_bind"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_BIND_IP, rdma_ucm_bind_ip]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_BIND_IP, rdma_ucm_bind_ip]", TypeSize: 48}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2}, + &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}, + &StructType{Key: StructKey{Name: "rdma_ucm_bind_ip"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_CONNECT, rdma_ucm_connect]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_CONNECT, rdma_ucm_connect]", TypeSize: 288}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 6}, + &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}, + &StructType{Key: StructKey{Name: "rdma_ucm_connect"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_CREATE_ID, rdma_ucm_create_id]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_CREATE_ID, rdma_ucm_create_id]", TypeSize: 32}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}}, + &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}, + &StructType{Key: StructKey{Name: "rdma_ucm_create_id"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_DESTROY_ID, rdma_ucm_destroy_id]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_DESTROY_ID, rdma_ucm_destroy_id]", TypeSize: 24}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1}, + &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}, + &StructType{Key: StructKey{Name: "rdma_ucm_destroy_id"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_DISCONNECT, rdma_ucm_disconnect]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_DISCONNECT, rdma_ucm_disconnect]", TypeSize: 12}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 10}, + &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}, + &StructType{Key: StructKey{Name: "rdma_ucm_disconnect"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_GET_EVENT, rdma_ucm_get_event]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_GET_EVENT, rdma_ucm_get_event]", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 12}, + &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}, + &StructType{Key: StructKey{Name: "rdma_ucm_get_event"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_INIT_QP_ATTR, rdma_ucm_init_qp_attr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_INIT_QP_ATTR, rdma_ucm_init_qp_attr]", TypeSize: 24}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 11}, + &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}, + &StructType{Key: StructKey{Name: "rdma_ucm_init_qp_attr"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_JOIN_IP_MCAST, rdma_ucm_join_ip_mcast]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_JOIN_IP_MCAST, rdma_ucm_join_ip_mcast]", TypeSize: 56}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 16}, + &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}, + &StructType{Key: StructKey{Name: "rdma_ucm_join_ip_mcast"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_JOIN_MCAST, rdma_ucm_join_mcast]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_JOIN_MCAST, rdma_ucm_join_mcast]", TypeSize: 160}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 22}, + &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}, + &StructType{Key: StructKey{Name: "rdma_ucm_join_mcast"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_LEAVE_MCAST, rdma_ucm_leave_mcast]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_LEAVE_MCAST, rdma_ucm_leave_mcast]", TypeSize: 24}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 17}, + &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}, + &StructType{Key: StructKey{Name: "rdma_ucm_leave_mcast"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_LISTEN, rdma_ucm_listen]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_LISTEN, rdma_ucm_listen]", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 7}, + &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}, + &StructType{Key: StructKey{Name: "rdma_ucm_listen"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_MIGRATE_ID, rdma_ucm_migrate_id]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_MIGRATE_ID, rdma_ucm_migrate_id]", TypeSize: 24}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 18}, + &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}, + &StructType{Key: StructKey{Name: "rdma_ucm_migrate_id"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_NOTIFY, rdma_ucm_notify]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_NOTIFY, rdma_ucm_notify]", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 15}, + &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}, + &StructType{Key: StructKey{Name: "rdma_ucm_notify"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_QUERY, rdma_ucm_query]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_QUERY, rdma_ucm_query]", TypeSize: 24}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 19}, + &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}, + &StructType{Key: StructKey{Name: "rdma_ucm_query"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_QUERY_ROUTE, rdma_ucm_query]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_QUERY_ROUTE, rdma_ucm_query]", TypeSize: 24}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 5}, + &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}, + &StructType{Key: StructKey{Name: "rdma_ucm_query"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_REJECT, rdma_ucm_reject]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_REJECT, rdma_ucm_reject]", TypeSize: 272}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 9}, + &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}, + &StructType{Key: StructKey{Name: "rdma_ucm_reject"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_ADDR, rdma_ucm_resolve_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_ADDR, rdma_ucm_resolve_addr]", TypeSize: 280}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 21}, + &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}, + &StructType{Key: StructKey{Name: "rdma_ucm_resolve_addr"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_IP, rdma_ucm_resolve_ip]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_IP, rdma_ucm_resolve_ip]", TypeSize: 72}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3}, + &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}, + &StructType{Key: StructKey{Name: "rdma_ucm_resolve_ip"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_ROUTE, rdma_ucm_resolve_route]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_ROUTE, rdma_ucm_resolve_route]", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 4}, + &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}, + &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}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "private_data", TypeSize: 256}, Kind: 1, RangeBegin: 256, RangeEnd: 256}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "private_data_len", TypeSize: 1}}, Kind: 2, RangeEnd: 256}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "srq", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "responder_resources", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "initiator_depth", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "flow_control", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "retry_count", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rnr_retry_count", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "valid", TypeSize: 1}}, Kind: 2, RangeEnd: 1}, + }}}, + {Key: StructKey{Name: "rdma_ucm_connect"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_connect", TypeSize: 280}, Fields: []Type{ + &StructType{Key: StructKey{Name: "rdma_ucm_conn_param"}, FldName: "conn_param"}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_create_id"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_create_id", TypeSize: 24}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "uid", TypeSize: 8}}, Kind: 2, RangeEnd: 4}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_create_id_resp", Dir: 1}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rdma_port_space", FldName: "ps", TypeSize: 2}}, Vals: []uint64{1, 2, 319, 262, 273}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_qp_type", FldName: "qp_type", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 4096, 4105}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 5}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 5, RangeEnd: 5}, + }}}, + {Key: StructKey{Name: "rdma_ucm_create_id_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_create_id_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4, ArgDir: 1}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_create_mcast_id_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_create_mcast_id_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_mcast_id", FldName: "id", TypeSize: 4, ArgDir: 1}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_destroy_id"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_destroy_id", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_destroy_id_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_destroy_id_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_destroy_id_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "events_reported", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_disconnect"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_disconnect", TypeSize: 4}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_event_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_event_resp", TypeSize: 328, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "uid", TypeSize: 8, ArgDir: 1}}, Kind: 2, RangeEnd: 4}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "id", TypeSize: 8, ArgDir: 1}}, Kind: 2, RangeEnd: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 312}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "rdma_ucm_get_event"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_get_event", TypeSize: 8}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_event_resp", Dir: 1}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_init_qp_attr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_init_qp_attr", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 144, ArgDir: 1}, Kind: 1, RangeBegin: 144, RangeEnd: 144}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qp_state", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_join_ip_mcast"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_join_ip_mcast", TypeSize: 48}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_create_mcast_id_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "uid", TypeSize: 8}}, Kind: 2, RangeEnd: 4}, + &StructType{Key: StructKey{Name: "sockaddr_in6"}, FldName: "addr"}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_join_mcast"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_join_mcast", TypeSize: 152}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_create_mcast_id_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "uid", TypeSize: 8}}, Kind: 2, RangeEnd: 4}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sockaddr_rdma_cm_lens", FldName: "addr_size", TypeSize: 2}}, Vals: []uint64{16, 28, 48}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rdma_ucm_join_mcast_flags", FldName: "join_flags", TypeSize: 2}}, Vals: []uint64{0, 1}}, + &UnionType{Key: StructKey{Name: "sockaddr_rdma_cm"}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_leave_mcast"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_leave_mcast", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_destroy_id_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_mcast_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_listen"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_listen", TypeSize: 8}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "backlog", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_migrate_id"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_migrate_id", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_migrate_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma_cm", FldName: "fd", TypeSize: 4}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_migrate_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_migrate_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "events_reported", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_notify"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_notify", TypeSize: 8}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_event_type", FldName: "event", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_query"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_query", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 512, ArgDir: 1}, Kind: 1, RangeBegin: 512, RangeEnd: 512}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rdma_ucm_query_options", FldName: "option", TypeSize: 4}}, Vals: []uint64{0, 1, 2}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_reject"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_reject", TypeSize: 264}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "private_data_len", TypeSize: 1}}, Kind: 2, RangeEnd: 256}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 3}, Kind: 1, RangeBegin: 3, RangeEnd: 3}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "private_data", TypeSize: 256}, Kind: 1, RangeBegin: 256, RangeEnd: 256}, + }}}, + {Key: StructKey{Name: "rdma_ucm_resolve_addr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_resolve_addr", TypeSize: 272}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "timeout_ms", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "src_size", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "dst_size", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, + &UnionType{Key: StructKey{Name: "sockaddr_rdma_cm"}, FldName: "src_addr"}, + &UnionType{Key: StructKey{Name: "sockaddr_rdma_cm"}, FldName: "dst_addr"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_resolve_ip"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_resolve_ip", TypeSize: 64}, Fields: []Type{ + &StructType{Key: StructKey{Name: "sockaddr_in6"}, FldName: "src_addr"}, + &StructType{Key: StructKey{Name: "sockaddr_in6"}, FldName: "dst_addr"}, + &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_resolve_route"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_resolve_route", TypeSize: 8}, Fields: []Type{ + &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}}}}, @@ -9034,6 +9372,15 @@ var structDescs_amd64 = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bt_chi_chan", FldName: "chan", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, }}}, + {Key: StructKey{Name: "sockaddr_ib"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_ib", TypeSize: 48}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sib_family", TypeSize: 2}}, Val: 27}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "sib_pkey", TypeSize: 2}, BigEndian: true}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "sib_flowinfo", TypeSize: 4}, BigEndian: true}}, + &StructType{Key: StructKey{Name: "ib_addr"}, FldName: "sib_addr"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64be", FldName: "sib_sid", TypeSize: 8}, BigEndian: true}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64be", FldName: "sib_sid_mask", TypeSize: 8}, BigEndian: true}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "sib_scope_id", TypeSize: 8}}}, + }}}, {Key: StructKey{Name: "sockaddr_in"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_in", TypeSize: 16}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2}}, Val: 2}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "port", TypeSize: 2}, BigEndian: true}, Kind: 2, RangeBegin: 20000, RangeEnd: 20004}, @@ -9383,6 +9730,11 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "chan", TypeSize: 1, ArgDir: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, }}}, + {Key: StructKey{Name: "sockaddr_rdma_cm"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_rdma_cm", TypeSize: 128}, Fields: []Type{ + &StructType{Key: StructKey{Name: "sockaddr_in"}, FldName: "in"}, + &StructType{Key: StructKey{Name: "sockaddr_in6"}, FldName: "in6"}, + &StructType{Key: StructKey{Name: "sockaddr_ib"}, FldName: "ib"}, + }}}, {Key: StructKey{Name: "sockaddr_sco"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_sco", TypeSize: 8}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fam", TypeSize: 2}}, Val: 31}, &StructType{Key: StructKey{Name: "bdaddr"}, FldName: "addr"}, @@ -9986,6 +10338,20 @@ var structDescs_amd64 = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp", FldName: "f0", TypeSize: 4, ArgDir: 1}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp", FldName: "f1", TypeSize: 4, ArgDir: 1}}, }}}, + {Key: StructKey{Name: "uffdio_api"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "uffdio_api", TypeSize: 24}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "api", TypeSize: 8}}, Val: 170}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "uffdio_features", FldName: "featur", TypeSize: 8}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ioctls", 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"}, + }}}, + {Key: StructKey{Name: "uffdio_register"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "uffdio_register", TypeSize: 32}, Fields: []Type{ + &StructType{Key: StructKey{Name: "uffdio_range"}, FldName: "range"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "uffdio_register_mode", FldName: "mode", TypeSize: 8}}, Vals: []uint64{1, 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ioctls", 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}, @@ -16750,6 +17116,36 @@ var syscalls_amd64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074025692}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}, Kind: 2, RangeEnd: 1}}, }}, + {NR: 16, Name: "ioctl$UFFDIO_API", 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: 3222841919}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "uffdio_api"}}}, + }}, + {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"}}}, + }}, + {NR: 16, Name: "ioctl$UFFDIO_REGISTER", 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: 3223366144}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "uffdio_register"}}}, + }}, + {NR: 16, Name: "ioctl$UFFDIO_UNREGISTER", 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: 2148575745}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "uffdio_range"}}}, + }}, + {NR: 16, Name: "ioctl$UFFDIO_WAKE", 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: 2148575746}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "uffdio_range"}}}, + }}, + {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"}}}, + }}, {NR: 16, Name: "ioctl$VHOST_GET_FEATURES", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_vhost", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148052736}, @@ -17984,6 +18380,12 @@ var syscalls_amd64 = []*Syscall{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 1024, 8192, 524288, 64, 16384, 65536, 128, 32768, 262144, 256, 131072, 2048, 2097152, 1052672, 512, 4194304}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mode", TypeSize: 8}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {NR: 257, Name: "openat$rdma_cm", CallName: "openat", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fd", TypeSize: 8}}, Val: 18446744073709551516}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 24}, Kind: 2, Values: []string{"/dev/infiniband/rdma_cm\x00"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 8}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mode", TypeSize: 8}}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma_cm", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 257, Name: "openat$rfkill", CallName: "openat", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fd", TypeSize: 8}}, Val: 18446744073709551516}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 12}, Kind: 2, Values: []string{"/dev/rfkill\x00"}}}, @@ -21459,6 +21861,11 @@ var syscalls_amd64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fuse_out"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "arg"}, }}, + {NR: 1, Name: "write$rdma_cm", 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: &UnionType{Key: StructKey{Name: "rdma_ucm_cmd"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "data"}, + }}, {NR: 1, Name: "write$selinux_access", CallName: "write", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_selinux_access", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "selinux_access_req"}}}, @@ -21523,6 +21930,7 @@ var consts_amd64 = []ConstValue{ {Name: "AF_BLUETOOTH", Value: 31}, {Name: "AF_BRIDGE", Value: 7}, {Name: "AF_CAN", Value: 29}, + {Name: "AF_IB", Value: 27}, {Name: "AF_INET", Value: 2}, {Name: "AF_INET6", Value: 10}, {Name: "AF_IPX", Value: 4}, @@ -22529,6 +22937,47 @@ var consts_amd64 = []ConstValue{ {Name: "HW_BREAKPOINT_R", Value: 1}, {Name: "HW_BREAKPOINT_W", Value: 2}, {Name: "HW_BREAKPOINT_X", Value: 4}, + {Name: "IB_EVENT_CLIENT_REREGISTER", Value: 17}, + {Name: "IB_EVENT_COMM_EST", Value: 4}, + {Name: "IB_EVENT_CQ_ERR"}, + {Name: "IB_EVENT_DEVICE_FATAL", Value: 8}, + {Name: "IB_EVENT_GID_CHANGE", Value: 18}, + {Name: "IB_EVENT_LID_CHANGE", Value: 11}, + {Name: "IB_EVENT_PATH_MIG", Value: 6}, + {Name: "IB_EVENT_PATH_MIG_ERR", Value: 7}, + {Name: "IB_EVENT_PKEY_CHANGE", Value: 12}, + {Name: "IB_EVENT_PORT_ACTIVE", Value: 9}, + {Name: "IB_EVENT_PORT_ERR", Value: 10}, + {Name: "IB_EVENT_QP_ACCESS_ERR", Value: 3}, + {Name: "IB_EVENT_QP_FATAL", Value: 1}, + {Name: "IB_EVENT_QP_LAST_WQE_REACHED", Value: 16}, + {Name: "IB_EVENT_QP_REQ_ERR", Value: 2}, + {Name: "IB_EVENT_SM_CHANGE", Value: 13}, + {Name: "IB_EVENT_SQ_DRAINED", Value: 5}, + {Name: "IB_EVENT_SRQ_ERR", Value: 14}, + {Name: "IB_EVENT_SRQ_LIMIT_REACHED", Value: 15}, + {Name: "IB_EVENT_WQ_FATAL", Value: 19}, + {Name: "IB_PATH_ALTERNATE", Value: 4}, + {Name: "IB_PATH_GMP", Value: 1}, + {Name: "IB_PATH_INBOUND", Value: 16}, + {Name: "IB_PATH_INBOUND_REVERSE", Value: 32}, + {Name: "IB_PATH_OUTBOUND", Value: 8}, + {Name: "IB_PATH_PRIMARY", Value: 2}, + {Name: "IB_QPT_GSI", Value: 1}, + {Name: "IB_QPT_MAX", Value: 11}, + {Name: "IB_QPT_RAW_ETHERTYPE", Value: 6}, + {Name: "IB_QPT_RAW_IPV6", Value: 5}, + {Name: "IB_QPT_RAW_PACKET", Value: 8}, + {Name: "IB_QPT_RC", Value: 2}, + {Name: "IB_QPT_RESERVED1", Value: 4096}, + {Name: "IB_QPT_RESERVED10", Value: 4105}, + {Name: "IB_QPT_SMI"}, + {Name: "IB_QPT_UC", Value: 3}, + {Name: "IB_QPT_UD", Value: 4}, + {Name: "IB_QPT_XRC_INI", Value: 9}, + {Name: "IB_QPT_XRC_TGT", Value: 10}, + {Name: "IB_UVERBS_AH_ATTR_SIZE", Value: 32}, + {Name: "IB_UVERBS_QP_ATTR_SIZE", Value: 144}, {Name: "ICMPV6_ADDR_UNREACH", Value: 3}, {Name: "ICMPV6_ADM_PROHIBITED", Value: 1}, {Name: "ICMPV6_DEST_UNREACH", Value: 1}, @@ -24041,6 +24490,46 @@ var consts_amd64 = []ConstValue{ {Name: "P_ALL"}, {Name: "P_PGID", Value: 2}, {Name: "P_PID", Value: 1}, + {Name: "RDMA_MAX_PRIVATE_DATA", Value: 256}, + {Name: "RDMA_MC_JOIN_FLAG_FULLMEMBER"}, + {Name: "RDMA_MC_JOIN_FLAG_SENDONLY_FULLMEMBER", Value: 1}, + {Name: "RDMA_OPTION_IB", Value: 1}, + {Name: "RDMA_OPTION_IB_PATH", Value: 1}, + {Name: "RDMA_OPTION_ID"}, + {Name: "RDMA_OPTION_ID_AFONLY", Value: 2}, + {Name: "RDMA_OPTION_ID_REUSEADDR", Value: 1}, + {Name: "RDMA_OPTION_ID_TOS"}, + {Name: "RDMA_PS_IB", Value: 319}, + {Name: "RDMA_PS_IPOIB", Value: 2}, + {Name: "RDMA_PS_SDP", Value: 1}, + {Name: "RDMA_PS_TCP", Value: 262}, + {Name: "RDMA_PS_UDP", Value: 273}, + {Name: "RDMA_UCM_EVENT_RESP_SIZE", Value: 328}, + {Name: "RDMA_USER_CM_CMD_ACCEPT", Value: 8}, + {Name: "RDMA_USER_CM_CMD_BIND", Value: 20}, + {Name: "RDMA_USER_CM_CMD_BIND_IP", Value: 2}, + {Name: "RDMA_USER_CM_CMD_CONNECT", Value: 6}, + {Name: "RDMA_USER_CM_CMD_CREATE_ID"}, + {Name: "RDMA_USER_CM_CMD_DESTROY_ID", Value: 1}, + {Name: "RDMA_USER_CM_CMD_DISCONNECT", Value: 10}, + {Name: "RDMA_USER_CM_CMD_GET_EVENT", Value: 12}, + {Name: "RDMA_USER_CM_CMD_INIT_QP_ATTR", Value: 11}, + {Name: "RDMA_USER_CM_CMD_JOIN_IP_MCAST", Value: 16}, + {Name: "RDMA_USER_CM_CMD_JOIN_MCAST", Value: 22}, + {Name: "RDMA_USER_CM_CMD_LEAVE_MCAST", Value: 17}, + {Name: "RDMA_USER_CM_CMD_LISTEN", Value: 7}, + {Name: "RDMA_USER_CM_CMD_MIGRATE_ID", Value: 18}, + {Name: "RDMA_USER_CM_CMD_NOTIFY", Value: 15}, + {Name: "RDMA_USER_CM_CMD_QUERY", Value: 19}, + {Name: "RDMA_USER_CM_CMD_QUERY_ROUTE", Value: 5}, + {Name: "RDMA_USER_CM_CMD_REJECT", Value: 9}, + {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}, {Name: "RDS_CANCEL_SENT_TO", Value: 1}, {Name: "RDS_CMSG_ATOMIC_CSWP", Value: 7}, {Name: "RDS_CMSG_ATOMIC_FADD", Value: 6}, @@ -24980,9 +25469,15 @@ var consts_amd64 = []ConstValue{ {Name: "UDP_NO_CHECK6_TX", Value: 101}, {Name: "UDP_V4_FLOW", Value: 2}, {Name: "UDP_V6_FLOW", Value: 6}, + {Name: "UFFDIO_API", Value: 3222841919}, + {Name: "UFFDIO_COPY", Value: 3223890435}, {Name: "UFFDIO_COPY_MODE_DONTWAKE", Value: 1}, + {Name: "UFFDIO_REGISTER", Value: 3223366144}, {Name: "UFFDIO_REGISTER_MODE_MISSING", Value: 1}, {Name: "UFFDIO_REGISTER_MODE_WP", Value: 2}, + {Name: "UFFDIO_UNREGISTER", Value: 2148575745}, + {Name: "UFFDIO_WAKE", Value: 2148575746}, + {Name: "UFFDIO_ZEROPAGE", Value: 3223366148}, {Name: "UFFDIO_ZEROPAGE_MODE_DONTWAKE", Value: 1}, {Name: "UFFD_API", Value: 170}, {Name: "UFFD_FEATURE_EVENT_FORK", Value: 2}, @@ -25694,4 +26189,4 @@ var consts_amd64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_amd64 = "88804cf99067322549285d5a9d0d860fe4e266af" +const revision_amd64 = "0a160a2283a1e3ba08b37705ee1dbb6670b86af6" |
