diff options
Diffstat (limited to 'sys/linux/gen/386.go')
| -rw-r--r-- | sys/linux/gen/386.go | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go index 7123e28ff..93224973a 100644 --- a/sys/linux/gen/386.go +++ b/sys/linux/gen/386.go @@ -7297,6 +7297,11 @@ var structDescs_386 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "size", TypeSize: 4}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "padding", TypeSize: 4}}}, }}}, + {StructKey{Name: "futex_wait_block"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "futex_wait_block", TypeSize: 12}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "uaddr", TypeSize: 4}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}, Kind: 1, RangeEnd: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "val", TypeSize: 4}}, Kind: 1, RangeEnd: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bitset", TypeSize: 4}}, Val: 4294967295}, + }}}, {StructKey{Name: "fw_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "fw_policy", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_FW_CLASSID, int16], tcm_handle]"}, FldName: "TCA_FW_CLASSID"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_FW_POLICE, int16], array[police_policy]]"}, FldName: "TCA_FW_POLICE"}, @@ -49221,12 +49226,20 @@ var syscalls_386 = []*Syscall{ }}, {NR: 240, Name: "futex", CallName: "futex", Args: []Type{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}, Kind: 1, RangeEnd: 2}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "futex_op", FldName: "op", TypeSize: 4}}, Vals: []uint64{0, 1, 3, 4, 9, 128, 129, 139, 140}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "futex_op", FldName: "op", TypeSize: 4}}, Vals: []uint64{0, 1, 3, 4, 9, 13, 128, 129, 139, 140, 141}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "val", TypeSize: 4}}, Kind: 1, RangeEnd: 2}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "timeout", TypeSize: 4}, &StructType{Key: StructKey{Name: "timespec"}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr2", TypeSize: 4}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}, Kind: 1, RangeEnd: 2}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "val3", TypeSize: 4}}, Kind: 1, RangeEnd: 2}, }}, + {NR: 240, Name: "futex$FUTEX_WAIT_MULTIPLE", CallName: "futex", Args: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "futex_wait_block"}}, Kind: 1, RangeEnd: 129}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "op", TypeSize: 4}}, Val: 13}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "val", TypeSize: 4}}, Path: []string{"addr"}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "timeout", TypeSize: 4}, &StructType{Key: StructKey{Name: "timespec"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "addr2", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "val3", TypeSize: 4}}}, + }}, {NR: 299, Name: "futimesat", CallName: "futimesat", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "dir", TypeSize: 4}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "pathname", TypeSize: 4}, &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, @@ -67654,6 +67667,8 @@ var consts_386 = []ConstValue{ {"FUTEX_REQUEUE", 3}, {Name: "FUTEX_WAIT"}, {"FUTEX_WAIT_BITSET", 9}, + {"FUTEX_WAIT_MULTIPLE", 13}, + {"FUTEX_WAIT_MULTIPLE_PRIVATE", 141}, {"FUTEX_WAIT_PRIVATE", 128}, {"FUTEX_WAIT_REQUEUE_PI_PRIVATE", 139}, {"FUTEX_WAKE", 1}, @@ -75807,4 +75822,4 @@ var consts_386 = []ConstValue{ {"ethtool_per_queue_op_size", 128}, } -const revision_386 = "81074d7797beb1fd663277e323762de00cf0aee6" +const revision_386 = "7e933a8cce847a63d31163d1c6dfa926b9d707ce" |
