aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/gen
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-06-08 20:21:23 +0200
committerDmitry Vyukov <dvyukov@google.com>2018-06-08 20:21:23 +0200
commit145029013cfe07aea7c3e70276cd169bfee15be2 (patch)
tree8e7605f38336be799159408b4bf00d510b31382b /sys/linux/gen
parent9dbd63342ff7b58cc12e15d89a4ca2d0bb220a52 (diff)
sys/linux: add more fs ioctls
Diffstat (limited to 'sys/linux/gen')
-rw-r--r--sys/linux/gen/386.go105
-rw-r--r--sys/linux/gen/amd64.go105
-rw-r--r--sys/linux/gen/arm.go105
-rw-r--r--sys/linux/gen/arm64.go105
-rw-r--r--sys/linux/gen/ppc64le.go105
5 files changed, 515 insertions, 10 deletions
diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go
index 9c7b22e58..2ca18e422 100644
--- a/sys/linux/gen/386.go
+++ b/sys/linux/gen/386.go
@@ -3329,6 +3329,29 @@ var structDescs_386 = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad4", TypeSize: 4}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad5", TypeSize: 4}}},
}}},
+ {Key: StructKey{Name: "file_clone_range"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "file_clone_range", TypeSize: 32}, Fields: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "src_fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "src_offset", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "src_length", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "dest_offset", TypeSize: 8}}},
+ }}},
+ {Key: StructKey{Name: "file_dedupe_range"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "file_dedupe_range", IsVarlen: true}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "src_offset", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "src_length", TypeSize: 8}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "dest_count", TypeSize: 2}}, Buf: "info"},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 2}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 4}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "info", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "file_dedupe_range_info"}}},
+ }}},
+ {Key: StructKey{Name: "file_dedupe_range_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "file_dedupe_range_info", TypeSize: 32}, Fields: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "dest_fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "dest_offset", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bytes_deduped", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "status", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}},
+ }}},
{Key: StructKey{Name: "file_handle"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "file_handle", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bytes", TypeSize: 4}}, Buf: "parent"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "type", TypeSize: 4}}},
@@ -3926,6 +3949,15 @@ var structDescs_386 = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[xfs_options]"}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}},
}}},
+ {Key: StructKey{Name: "fsxattr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fsxattr", TypeSize: 32}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_xflags", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_extsize", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_nextents", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_projid", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_cowextsize", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fsx_pad", TypeSize: 8}}},
+ }}},
{Key: StructKey{Name: "full_sockaddr_ax25"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "full_sockaddr_ax25", TypeSize: 72}, Fields: []Type{
&StructType{Key: StructKey{Name: "sockaddr_ax25"}, FldName: "fsa_ax25"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fsa_digipeater", TypeSize: 56}, Type: &StructType{Key: StructKey{Name: "ax25_address"}}, Kind: 1, RangeBegin: 8, RangeEnd: 8},
@@ -15166,6 +15198,16 @@ var structDescs_386 = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sxdp_queue_id", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 64},
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_xdp", FldName: "sxdp_shared_umem_fd", TypeSize: 4, ArgDir: 2, IsOptional: true}},
}}},
+ {Key: StructKey{Name: "space_resv"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "space_resv", TypeSize: 48}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l_type", TypeSize: 2}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "seek_whence", FldName: "l_whence", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 3, 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "l_start", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "l_len", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l_sysid", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l_pid", TypeSize: 4}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "l_pad", TypeSize: 16}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4}}}, Kind: 1, RangeBegin: 4, RangeEnd: 4},
+ }}},
{Key: StructKey{Name: "stab_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "stab_policy", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_STAB_BASE, int16], tc_sizespec]"}, FldName: "TCA_STAB_BASE"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_STAB_DATA, int16], array[int16, 0:10]]"}, FldName: "TCA_STAB_DATA"},
@@ -20295,7 +20337,7 @@ var syscalls_386 = []*Syscall{
}},
{NR: 324, Name: "fallocate", CallName: "fallocate", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fallocate_mode", FldName: "mode", TypeSize: 4}}, Vals: []uint64{0, 1, 2}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fallocate_mode", FldName: "mode", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 8, 16, 32, 64}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "off", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "len", TypeSize: 4}}},
}},
@@ -22858,11 +22900,56 @@ var syscalls_386 = []*Syscall{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074283779},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: 1, RangeBegin: 2, RangeEnd: 2}},
}},
+ {NR: 54, Name: "ioctl$FIBMAP", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
+ }},
+ {NR: 54, Name: "ioctl$FICLONE", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074041865},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "arg", TypeSize: 4}},
+ }},
+ {NR: 54, Name: "ioctl$FICLONERANGE", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1075876877},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "file_clone_range"}}},
+ }},
+ {NR: 54, Name: "ioctl$FIDEDUPERANGE", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3222836278},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "file_dedupe_range"}}},
+ }},
{NR: 54, Name: "ioctl$FIONREAD", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 21531},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
}},
+ {NR: 54, Name: "ioctl$FS_IOC_FSGETXATTR", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2149341215},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fsxattr"}}},
+ }},
+ {NR: 54, Name: "ioctl$FS_IOC_FSSETXATTR", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1075599392},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fsxattr"}}},
+ }},
+ {NR: 54, Name: "ioctl$FS_IOC_GETFSLABEL", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2164298801},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 256, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}}, Kind: 1, RangeBegin: 256, RangeEnd: 256}},
+ }},
+ {NR: 54, Name: "ioctl$FS_IOC_RESVSP", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1076647976},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "space_resv"}}},
+ }},
+ {NR: 54, Name: "ioctl$FS_IOC_SETFSLABEL", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1090556978},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 256}, Kind: 1, RangeBegin: 256, RangeEnd: 256}},
+ }},
{NR: 54, Name: "ioctl$FUSE_DEV_IOC_CLONE", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fuse", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2147804416},
@@ -31436,8 +31523,12 @@ var consts_386 = []ConstValue{
{Name: "EV_SND", Value: 18},
{Name: "EV_SW", Value: 5},
{Name: "EV_SYN"},
+ {Name: "FALLOC_FL_COLLAPSE_RANGE", Value: 8},
+ {Name: "FALLOC_FL_INSERT_RANGE", Value: 32},
{Name: "FALLOC_FL_KEEP_SIZE", Value: 1},
{Name: "FALLOC_FL_PUNCH_HOLE", Value: 2},
+ {Name: "FALLOC_FL_UNSHARE_RANGE", Value: 64},
+ {Name: "FALLOC_FL_ZERO_RANGE", Value: 16},
{Name: "FAN_ACCESS", Value: 1},
{Name: "FAN_ACCESS_PERM", Value: 131072},
{Name: "FAN_CLASS_CONTENT", Value: 4},
@@ -31478,12 +31569,16 @@ var consts_386 = []ConstValue{
{Name: "FF_SPRING", Value: 83},
{Name: "FF_SQUARE", Value: 88},
{Name: "FF_TRIANGLE", Value: 89},
+ {Name: "FIBMAP", Value: 1},
{Name: "FIB_RULE_FIND_SADDR", Value: 65536},
{Name: "FIB_RULE_IIF_DETACHED", Value: 8},
{Name: "FIB_RULE_INVERT", Value: 2},
{Name: "FIB_RULE_OIF_DETACHED", Value: 16},
{Name: "FIB_RULE_PERMANENT", Value: 1},
{Name: "FIB_RULE_UNRESOLVED", Value: 4},
+ {Name: "FICLONE", Value: 1074041865},
+ {Name: "FICLONERANGE", Value: 1075876877},
+ {Name: "FIDEDUPERANGE", Value: 3222836278},
{Name: "FIEMAP_EXTENT_DATA_ENCRYPTED", Value: 128},
{Name: "FIEMAP_EXTENT_DATA_INLINE", Value: 512},
{Name: "FIEMAP_EXTENT_DATA_TAIL", Value: 1024},
@@ -31547,7 +31642,13 @@ var consts_386 = []ConstValue{
{Name: "FR_ACT_TO_TBL", Value: 1},
{Name: "FR_ACT_UNREACHABLE", Value: 7},
{Name: "FR_ACT_UNSPEC"},
+ {Name: "FSLABEL_MAX", Value: 256},
{Name: "FS_IOC_FIEMAP", Value: 3223348747},
+ {Name: "FS_IOC_FSGETXATTR", Value: 2149341215},
+ {Name: "FS_IOC_FSSETXATTR", Value: 1075599392},
+ {Name: "FS_IOC_GETFSLABEL", Value: 2164298801},
+ {Name: "FS_IOC_RESVSP", Value: 1076647976},
+ {Name: "FS_IOC_SETFSLABEL", Value: 1090556978},
{Name: "FUSE_DEV_IOC_CLONE", Value: 2147804416},
{Name: "FUSE_KERNEL_MINOR_VERSION", Value: 27},
{Name: "FUSE_KERNEL_VERSION", Value: 7},
@@ -36497,4 +36598,4 @@ var consts_386 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_386 = "07d5b669a7a1a0b250afc0f8937adc4f2c039ca4"
+const revision_386 = "020dc2b867a4cc5746da644d59b17c2cc8358bee"
diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go
index ad5013770..fa7e3fade 100644
--- a/sys/linux/gen/amd64.go
+++ b/sys/linux/gen/amd64.go
@@ -3411,6 +3411,29 @@ var structDescs_amd64 = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad4", TypeSize: 4}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad5", TypeSize: 4}}},
}}},
+ {Key: StructKey{Name: "file_clone_range"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "file_clone_range", TypeSize: 32}, Fields: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "src_fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "src_offset", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "src_length", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "dest_offset", TypeSize: 8}}},
+ }}},
+ {Key: StructKey{Name: "file_dedupe_range"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "file_dedupe_range", IsVarlen: true}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "src_offset", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "src_length", TypeSize: 8}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "dest_count", TypeSize: 2}}, Buf: "info"},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 2}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 4}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "info", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "file_dedupe_range_info"}}},
+ }}},
+ {Key: StructKey{Name: "file_dedupe_range_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "file_dedupe_range_info", TypeSize: 32}, Fields: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "dest_fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "dest_offset", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bytes_deduped", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "status", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}},
+ }}},
{Key: StructKey{Name: "file_handle"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "file_handle", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bytes", TypeSize: 4}}, Buf: "parent"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "type", TypeSize: 4}}},
@@ -4010,6 +4033,15 @@ var structDescs_amd64 = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[xfs_options]"}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}},
}}},
+ {Key: StructKey{Name: "fsxattr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fsxattr", TypeSize: 32}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_xflags", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_extsize", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_nextents", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_projid", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_cowextsize", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fsx_pad", TypeSize: 8}}},
+ }}},
{Key: StructKey{Name: "full_sockaddr_ax25"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "full_sockaddr_ax25", TypeSize: 72}, Fields: []Type{
&StructType{Key: StructKey{Name: "sockaddr_ax25"}, FldName: "fsa_ax25"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fsa_digipeater", TypeSize: 56}, Type: &StructType{Key: StructKey{Name: "ax25_address"}}, Kind: 1, RangeBegin: 8, RangeEnd: 8},
@@ -15434,6 +15466,16 @@ var structDescs_amd64 = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sxdp_queue_id", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 64},
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_xdp", FldName: "sxdp_shared_umem_fd", TypeSize: 4, ArgDir: 2, IsOptional: true}},
}}},
+ {Key: StructKey{Name: "space_resv"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "space_resv", TypeSize: 48}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l_type", TypeSize: 2}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "seek_whence", FldName: "l_whence", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 3, 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "l_start", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "l_len", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l_sysid", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l_pid", TypeSize: 4}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "l_pad", TypeSize: 16}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4}}}, Kind: 1, RangeBegin: 4, RangeEnd: 4},
+ }}},
{Key: StructKey{Name: "stab_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "stab_policy", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_STAB_BASE, int16], tc_sizespec]"}, FldName: "TCA_STAB_BASE"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_STAB_DATA, int16], array[int16, 0:10]]"}, FldName: "TCA_STAB_DATA"},
@@ -20736,7 +20778,7 @@ var syscalls_amd64 = []*Syscall{
}},
{NR: 285, Name: "fallocate", CallName: "fallocate", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fallocate_mode", FldName: "mode", TypeSize: 8}}, Vals: []uint64{0, 1, 2}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fallocate_mode", FldName: "mode", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 8, 16, 32, 64}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "off", TypeSize: 8}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "len", TypeSize: 8}}},
}},
@@ -23299,11 +23341,56 @@ var syscalls_amd64 = []*Syscall{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074283779},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: 1, RangeBegin: 2, RangeEnd: 2}},
}},
+ {NR: 16, Name: "ioctl$FIBMAP", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
+ }},
+ {NR: 16, Name: "ioctl$FICLONE", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074041865},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "arg", TypeSize: 4}},
+ }},
+ {NR: 16, Name: "ioctl$FICLONERANGE", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1075876877},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "file_clone_range"}}},
+ }},
+ {NR: 16, Name: "ioctl$FIDEDUPERANGE", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3222836278},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "file_dedupe_range"}}},
+ }},
{NR: 16, Name: "ioctl$FIONREAD", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 21531},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
}},
+ {NR: 16, Name: "ioctl$FS_IOC_FSGETXATTR", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2149341215},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fsxattr"}}},
+ }},
+ {NR: 16, Name: "ioctl$FS_IOC_FSSETXATTR", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1075599392},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fsxattr"}}},
+ }},
+ {NR: 16, Name: "ioctl$FS_IOC_GETFSLABEL", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2164298801},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 256, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}}, Kind: 1, RangeBegin: 256, RangeEnd: 256}},
+ }},
+ {NR: 16, Name: "ioctl$FS_IOC_RESVSP", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1076910120},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "space_resv"}}},
+ }},
+ {NR: 16, Name: "ioctl$FS_IOC_SETFSLABEL", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1090556978},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 256}, Kind: 1, RangeBegin: 256, RangeEnd: 256}},
+ }},
{NR: 16, Name: "ioctl$FUSE_DEV_IOC_CLONE", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fuse", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147804416},
@@ -32096,8 +32183,12 @@ var consts_amd64 = []ConstValue{
{Name: "EV_SND", Value: 18},
{Name: "EV_SW", Value: 5},
{Name: "EV_SYN"},
+ {Name: "FALLOC_FL_COLLAPSE_RANGE", Value: 8},
+ {Name: "FALLOC_FL_INSERT_RANGE", Value: 32},
{Name: "FALLOC_FL_KEEP_SIZE", Value: 1},
{Name: "FALLOC_FL_PUNCH_HOLE", Value: 2},
+ {Name: "FALLOC_FL_UNSHARE_RANGE", Value: 64},
+ {Name: "FALLOC_FL_ZERO_RANGE", Value: 16},
{Name: "FAN_ACCESS", Value: 1},
{Name: "FAN_ACCESS_PERM", Value: 131072},
{Name: "FAN_CLASS_CONTENT", Value: 4},
@@ -32138,12 +32229,16 @@ var consts_amd64 = []ConstValue{
{Name: "FF_SPRING", Value: 83},
{Name: "FF_SQUARE", Value: 88},
{Name: "FF_TRIANGLE", Value: 89},
+ {Name: "FIBMAP", Value: 1},
{Name: "FIB_RULE_FIND_SADDR", Value: 65536},
{Name: "FIB_RULE_IIF_DETACHED", Value: 8},
{Name: "FIB_RULE_INVERT", Value: 2},
{Name: "FIB_RULE_OIF_DETACHED", Value: 16},
{Name: "FIB_RULE_PERMANENT", Value: 1},
{Name: "FIB_RULE_UNRESOLVED", Value: 4},
+ {Name: "FICLONE", Value: 1074041865},
+ {Name: "FICLONERANGE", Value: 1075876877},
+ {Name: "FIDEDUPERANGE", Value: 3222836278},
{Name: "FIEMAP_EXTENT_DATA_ENCRYPTED", Value: 128},
{Name: "FIEMAP_EXTENT_DATA_INLINE", Value: 512},
{Name: "FIEMAP_EXTENT_DATA_TAIL", Value: 1024},
@@ -32207,7 +32302,13 @@ var consts_amd64 = []ConstValue{
{Name: "FR_ACT_TO_TBL", Value: 1},
{Name: "FR_ACT_UNREACHABLE", Value: 7},
{Name: "FR_ACT_UNSPEC"},
+ {Name: "FSLABEL_MAX", Value: 256},
{Name: "FS_IOC_FIEMAP", Value: 3223348747},
+ {Name: "FS_IOC_FSGETXATTR", Value: 2149341215},
+ {Name: "FS_IOC_FSSETXATTR", Value: 1075599392},
+ {Name: "FS_IOC_GETFSLABEL", Value: 2164298801},
+ {Name: "FS_IOC_RESVSP", Value: 1076910120},
+ {Name: "FS_IOC_SETFSLABEL", Value: 1090556978},
{Name: "FUSE_DEV_IOC_CLONE", Value: 2147804416},
{Name: "FUSE_KERNEL_MINOR_VERSION", Value: 27},
{Name: "FUSE_KERNEL_VERSION", Value: 7},
@@ -37182,4 +37283,4 @@ var consts_amd64 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_amd64 = "7321a0fb512677313acc4f1ebeaa68b3f47a3442"
+const revision_amd64 = "7d7779033df7d7e38b24995d04506aa8e09ceab1"
diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go
index f91a6eb17..d3fe8e05e 100644
--- a/sys/linux/gen/arm.go
+++ b/sys/linux/gen/arm.go
@@ -3334,6 +3334,29 @@ var structDescs_arm = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad4", TypeSize: 4}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad5", TypeSize: 4}}},
}}},
+ {Key: StructKey{Name: "file_clone_range"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "file_clone_range", TypeSize: 32}, Fields: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "src_fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "src_offset", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "src_length", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "dest_offset", TypeSize: 8}}},
+ }}},
+ {Key: StructKey{Name: "file_dedupe_range"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "file_dedupe_range", IsVarlen: true}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "src_offset", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "src_length", TypeSize: 8}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "dest_count", TypeSize: 2}}, Buf: "info"},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 2}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 4}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "info", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "file_dedupe_range_info"}}},
+ }}},
+ {Key: StructKey{Name: "file_dedupe_range_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "file_dedupe_range_info", TypeSize: 32}, Fields: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "dest_fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "dest_offset", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bytes_deduped", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "status", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}},
+ }}},
{Key: StructKey{Name: "file_handle"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "file_handle", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bytes", TypeSize: 4}}, Buf: "parent"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "type", TypeSize: 4}}},
@@ -3931,6 +3954,15 @@ var structDescs_arm = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[xfs_options]"}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}},
}}},
+ {Key: StructKey{Name: "fsxattr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fsxattr", TypeSize: 32}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_xflags", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_extsize", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_nextents", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_projid", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_cowextsize", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fsx_pad", TypeSize: 8}}},
+ }}},
{Key: StructKey{Name: "full_sockaddr_ax25"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "full_sockaddr_ax25", TypeSize: 72}, Fields: []Type{
&StructType{Key: StructKey{Name: "sockaddr_ax25"}, FldName: "fsa_ax25"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fsa_digipeater", TypeSize: 56}, Type: &StructType{Key: StructKey{Name: "ax25_address"}}, Kind: 1, RangeBegin: 8, RangeEnd: 8},
@@ -15035,6 +15067,16 @@ var structDescs_arm = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sxdp_queue_id", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 64},
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_xdp", FldName: "sxdp_shared_umem_fd", TypeSize: 4, ArgDir: 2, IsOptional: true}},
}}},
+ {Key: StructKey{Name: "space_resv"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "space_resv", TypeSize: 48}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l_type", TypeSize: 2}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "seek_whence", FldName: "l_whence", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 3, 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "l_start", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "l_len", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l_sysid", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l_pid", TypeSize: 4}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "l_pad", TypeSize: 16}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4}}}, Kind: 1, RangeBegin: 4, RangeEnd: 4},
+ }}},
{Key: StructKey{Name: "stab_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "stab_policy", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_STAB_BASE, int16], tc_sizespec]"}, FldName: "TCA_STAB_BASE"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_STAB_DATA, int16], array[int16, 0:10]]"}, FldName: "TCA_STAB_DATA"},
@@ -20185,7 +20227,7 @@ var syscalls_arm = []*Syscall{
}},
{NR: 352, Name: "fallocate", CallName: "fallocate", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fallocate_mode", FldName: "mode", TypeSize: 4}}, Vals: []uint64{0, 1, 2}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fallocate_mode", FldName: "mode", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 8, 16, 32, 64}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "off", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "len", TypeSize: 4}}},
}},
@@ -22733,11 +22775,56 @@ var syscalls_arm = []*Syscall{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074283779},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: 1, RangeBegin: 2, RangeEnd: 2}},
}},
+ {NR: 54, Name: "ioctl$FIBMAP", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
+ }},
+ {NR: 54, Name: "ioctl$FICLONE", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074041865},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "arg", TypeSize: 4}},
+ }},
+ {NR: 54, Name: "ioctl$FICLONERANGE", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1075876877},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "file_clone_range"}}},
+ }},
+ {NR: 54, Name: "ioctl$FIDEDUPERANGE", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3222836278},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "file_dedupe_range"}}},
+ }},
{NR: 54, Name: "ioctl$FIONREAD", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 21531},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
}},
+ {NR: 54, Name: "ioctl$FS_IOC_FSGETXATTR", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2149341215},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fsxattr"}}},
+ }},
+ {NR: 54, Name: "ioctl$FS_IOC_FSSETXATTR", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1075599392},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fsxattr"}}},
+ }},
+ {NR: 54, Name: "ioctl$FS_IOC_GETFSLABEL", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2164298801},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 256, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}}, Kind: 1, RangeBegin: 256, RangeEnd: 256}},
+ }},
+ {NR: 54, Name: "ioctl$FS_IOC_RESVSP", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1076647976},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "space_resv"}}},
+ }},
+ {NR: 54, Name: "ioctl$FS_IOC_SETFSLABEL", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1090556978},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 256}, Kind: 1, RangeBegin: 256, RangeEnd: 256}},
+ }},
{NR: 54, Name: "ioctl$FUSE_DEV_IOC_CLONE", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fuse", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2147804416},
@@ -31344,8 +31431,12 @@ var consts_arm = []ConstValue{
{Name: "EV_SND", Value: 18},
{Name: "EV_SW", Value: 5},
{Name: "EV_SYN"},
+ {Name: "FALLOC_FL_COLLAPSE_RANGE", Value: 8},
+ {Name: "FALLOC_FL_INSERT_RANGE", Value: 32},
{Name: "FALLOC_FL_KEEP_SIZE", Value: 1},
{Name: "FALLOC_FL_PUNCH_HOLE", Value: 2},
+ {Name: "FALLOC_FL_UNSHARE_RANGE", Value: 64},
+ {Name: "FALLOC_FL_ZERO_RANGE", Value: 16},
{Name: "FAN_ACCESS", Value: 1},
{Name: "FAN_ACCESS_PERM", Value: 131072},
{Name: "FAN_CLASS_CONTENT", Value: 4},
@@ -31386,12 +31477,16 @@ var consts_arm = []ConstValue{
{Name: "FF_SPRING", Value: 83},
{Name: "FF_SQUARE", Value: 88},
{Name: "FF_TRIANGLE", Value: 89},
+ {Name: "FIBMAP", Value: 1},
{Name: "FIB_RULE_FIND_SADDR", Value: 65536},
{Name: "FIB_RULE_IIF_DETACHED", Value: 8},
{Name: "FIB_RULE_INVERT", Value: 2},
{Name: "FIB_RULE_OIF_DETACHED", Value: 16},
{Name: "FIB_RULE_PERMANENT", Value: 1},
{Name: "FIB_RULE_UNRESOLVED", Value: 4},
+ {Name: "FICLONE", Value: 1074041865},
+ {Name: "FICLONERANGE", Value: 1075876877},
+ {Name: "FIDEDUPERANGE", Value: 3222836278},
{Name: "FIEMAP_EXTENT_DATA_ENCRYPTED", Value: 128},
{Name: "FIEMAP_EXTENT_DATA_INLINE", Value: 512},
{Name: "FIEMAP_EXTENT_DATA_TAIL", Value: 1024},
@@ -31455,7 +31550,13 @@ var consts_arm = []ConstValue{
{Name: "FR_ACT_TO_TBL", Value: 1},
{Name: "FR_ACT_UNREACHABLE", Value: 7},
{Name: "FR_ACT_UNSPEC"},
+ {Name: "FSLABEL_MAX", Value: 256},
{Name: "FS_IOC_FIEMAP", Value: 3223348747},
+ {Name: "FS_IOC_FSGETXATTR", Value: 2149341215},
+ {Name: "FS_IOC_FSSETXATTR", Value: 1075599392},
+ {Name: "FS_IOC_GETFSLABEL", Value: 2164298801},
+ {Name: "FS_IOC_RESVSP", Value: 1076647976},
+ {Name: "FS_IOC_SETFSLABEL", Value: 1090556978},
{Name: "FUSE_DEV_IOC_CLONE", Value: 2147804416},
{Name: "FUSE_KERNEL_MINOR_VERSION", Value: 27},
{Name: "FUSE_KERNEL_VERSION", Value: 7},
@@ -36355,4 +36456,4 @@ var consts_arm = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_arm = "85339b6286a8309690620ef51e21fce96cfeaa12"
+const revision_arm = "02404d4b022e4b9468be627d6b5ce09cf3ecedcf"
diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go
index 5d2351ceb..95120b904 100644
--- a/sys/linux/gen/arm64.go
+++ b/sys/linux/gen/arm64.go
@@ -3411,6 +3411,29 @@ var structDescs_arm64 = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad4", TypeSize: 4}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad5", TypeSize: 4}}},
}}},
+ {Key: StructKey{Name: "file_clone_range"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "file_clone_range", TypeSize: 32}, Fields: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "src_fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "src_offset", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "src_length", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "dest_offset", TypeSize: 8}}},
+ }}},
+ {Key: StructKey{Name: "file_dedupe_range"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "file_dedupe_range", IsVarlen: true}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "src_offset", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "src_length", TypeSize: 8}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "dest_count", TypeSize: 2}}, Buf: "info"},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 2}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 4}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "info", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "file_dedupe_range_info"}}},
+ }}},
+ {Key: StructKey{Name: "file_dedupe_range_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "file_dedupe_range_info", TypeSize: 32}, Fields: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "dest_fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "dest_offset", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bytes_deduped", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "status", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}},
+ }}},
{Key: StructKey{Name: "file_handle"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "file_handle", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bytes", TypeSize: 4}}, Buf: "parent"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "type", TypeSize: 4}}},
@@ -4010,6 +4033,15 @@ var structDescs_arm64 = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[xfs_options]"}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}},
}}},
+ {Key: StructKey{Name: "fsxattr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fsxattr", TypeSize: 32}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_xflags", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_extsize", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_nextents", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_projid", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_cowextsize", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fsx_pad", TypeSize: 8}}},
+ }}},
{Key: StructKey{Name: "full_sockaddr_ax25"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "full_sockaddr_ax25", TypeSize: 72}, Fields: []Type{
&StructType{Key: StructKey{Name: "sockaddr_ax25"}, FldName: "fsa_ax25"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fsa_digipeater", TypeSize: 56}, Type: &StructType{Key: StructKey{Name: "ax25_address"}}, Kind: 1, RangeBegin: 8, RangeEnd: 8},
@@ -15239,6 +15271,16 @@ var structDescs_arm64 = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sxdp_queue_id", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 64},
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_xdp", FldName: "sxdp_shared_umem_fd", TypeSize: 4, ArgDir: 2, IsOptional: true}},
}}},
+ {Key: StructKey{Name: "space_resv"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "space_resv", TypeSize: 48}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l_type", TypeSize: 2}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "seek_whence", FldName: "l_whence", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 3, 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "l_start", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "l_len", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l_sysid", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l_pid", TypeSize: 4}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "l_pad", TypeSize: 16}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4}}}, Kind: 1, RangeBegin: 4, RangeEnd: 4},
+ }}},
{Key: StructKey{Name: "stab_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "stab_policy", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_STAB_BASE, int16], tc_sizespec]"}, FldName: "TCA_STAB_BASE"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_STAB_DATA, int16], array[int16, 0:10]]"}, FldName: "TCA_STAB_DATA"},
@@ -20480,7 +20522,7 @@ var syscalls_arm64 = []*Syscall{
}},
{NR: 47, Name: "fallocate", CallName: "fallocate", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fallocate_mode", FldName: "mode", TypeSize: 8}}, Vals: []uint64{0, 1, 2}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fallocate_mode", FldName: "mode", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 8, 16, 32, 64}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "off", TypeSize: 8}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "len", TypeSize: 8}}},
}},
@@ -23026,11 +23068,56 @@ var syscalls_arm64 = []*Syscall{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074283779},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: 1, RangeBegin: 2, RangeEnd: 2}},
}},
+ {NR: 29, Name: "ioctl$FIBMAP", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
+ }},
+ {NR: 29, Name: "ioctl$FICLONE", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074041865},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "arg", TypeSize: 4}},
+ }},
+ {NR: 29, Name: "ioctl$FICLONERANGE", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1075876877},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "file_clone_range"}}},
+ }},
+ {NR: 29, Name: "ioctl$FIDEDUPERANGE", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3222836278},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "file_dedupe_range"}}},
+ }},
{NR: 29, Name: "ioctl$FIONREAD", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 21531},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
}},
+ {NR: 29, Name: "ioctl$FS_IOC_FSGETXATTR", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2149341215},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fsxattr"}}},
+ }},
+ {NR: 29, Name: "ioctl$FS_IOC_FSSETXATTR", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1075599392},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fsxattr"}}},
+ }},
+ {NR: 29, Name: "ioctl$FS_IOC_GETFSLABEL", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2164298801},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 256, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}}, Kind: 1, RangeBegin: 256, RangeEnd: 256}},
+ }},
+ {NR: 29, Name: "ioctl$FS_IOC_RESVSP", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1076910120},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "space_resv"}}},
+ }},
+ {NR: 29, Name: "ioctl$FS_IOC_SETFSLABEL", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1090556978},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 256}, Kind: 1, RangeBegin: 256, RangeEnd: 256}},
+ }},
{NR: 29, Name: "ioctl$FUSE_DEV_IOC_CLONE", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fuse", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147804416},
@@ -31566,8 +31653,12 @@ var consts_arm64 = []ConstValue{
{Name: "EV_SND", Value: 18},
{Name: "EV_SW", Value: 5},
{Name: "EV_SYN"},
+ {Name: "FALLOC_FL_COLLAPSE_RANGE", Value: 8},
+ {Name: "FALLOC_FL_INSERT_RANGE", Value: 32},
{Name: "FALLOC_FL_KEEP_SIZE", Value: 1},
{Name: "FALLOC_FL_PUNCH_HOLE", Value: 2},
+ {Name: "FALLOC_FL_UNSHARE_RANGE", Value: 64},
+ {Name: "FALLOC_FL_ZERO_RANGE", Value: 16},
{Name: "FAN_ACCESS", Value: 1},
{Name: "FAN_ACCESS_PERM", Value: 131072},
{Name: "FAN_CLASS_CONTENT", Value: 4},
@@ -31608,12 +31699,16 @@ var consts_arm64 = []ConstValue{
{Name: "FF_SPRING", Value: 83},
{Name: "FF_SQUARE", Value: 88},
{Name: "FF_TRIANGLE", Value: 89},
+ {Name: "FIBMAP", Value: 1},
{Name: "FIB_RULE_FIND_SADDR", Value: 65536},
{Name: "FIB_RULE_IIF_DETACHED", Value: 8},
{Name: "FIB_RULE_INVERT", Value: 2},
{Name: "FIB_RULE_OIF_DETACHED", Value: 16},
{Name: "FIB_RULE_PERMANENT", Value: 1},
{Name: "FIB_RULE_UNRESOLVED", Value: 4},
+ {Name: "FICLONE", Value: 1074041865},
+ {Name: "FICLONERANGE", Value: 1075876877},
+ {Name: "FIDEDUPERANGE", Value: 3222836278},
{Name: "FIEMAP_EXTENT_DATA_ENCRYPTED", Value: 128},
{Name: "FIEMAP_EXTENT_DATA_INLINE", Value: 512},
{Name: "FIEMAP_EXTENT_DATA_TAIL", Value: 1024},
@@ -31677,7 +31772,13 @@ var consts_arm64 = []ConstValue{
{Name: "FR_ACT_TO_TBL", Value: 1},
{Name: "FR_ACT_UNREACHABLE", Value: 7},
{Name: "FR_ACT_UNSPEC"},
+ {Name: "FSLABEL_MAX", Value: 256},
{Name: "FS_IOC_FIEMAP", Value: 3223348747},
+ {Name: "FS_IOC_FSGETXATTR", Value: 2149341215},
+ {Name: "FS_IOC_FSSETXATTR", Value: 1075599392},
+ {Name: "FS_IOC_GETFSLABEL", Value: 2164298801},
+ {Name: "FS_IOC_RESVSP", Value: 1076910120},
+ {Name: "FS_IOC_SETFSLABEL", Value: 1090556978},
{Name: "FUSE_DEV_IOC_CLONE", Value: 2147804416},
{Name: "FUSE_KERNEL_MINOR_VERSION", Value: 27},
{Name: "FUSE_KERNEL_VERSION", Value: 7},
@@ -36568,4 +36669,4 @@ var consts_arm64 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_arm64 = "477596f47c60bcb98a175c9c4df0982feff218d9"
+const revision_arm64 = "d87e07e3aa11539e86a2c274e8ed54bc7ef66653"
diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go
index 56df9c1cc..99af759c7 100644
--- a/sys/linux/gen/ppc64le.go
+++ b/sys/linux/gen/ppc64le.go
@@ -3402,6 +3402,29 @@ var structDescs_ppc64le = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad4", TypeSize: 4}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad5", TypeSize: 4}}},
}}},
+ {Key: StructKey{Name: "file_clone_range"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "file_clone_range", TypeSize: 32}, Fields: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "src_fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "src_offset", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "src_length", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "dest_offset", TypeSize: 8}}},
+ }}},
+ {Key: StructKey{Name: "file_dedupe_range"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "file_dedupe_range", IsVarlen: true}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "src_offset", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "src_length", TypeSize: 8}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "dest_count", TypeSize: 2}}, Buf: "info"},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 2}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 4}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "info", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "file_dedupe_range_info"}}},
+ }}},
+ {Key: StructKey{Name: "file_dedupe_range_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "file_dedupe_range_info", TypeSize: 32}, Fields: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "dest_fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "dest_offset", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bytes_deduped", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "status", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}},
+ }}},
{Key: StructKey{Name: "file_handle"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "file_handle", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bytes", TypeSize: 4}}, Buf: "parent"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "type", TypeSize: 4}}},
@@ -4001,6 +4024,15 @@ var structDescs_ppc64le = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[xfs_options]"}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}},
}}},
+ {Key: StructKey{Name: "fsxattr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fsxattr", TypeSize: 32}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_xflags", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_extsize", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_nextents", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_projid", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_cowextsize", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fsx_pad", TypeSize: 8}}},
+ }}},
{Key: StructKey{Name: "full_sockaddr_ax25"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "full_sockaddr_ax25", TypeSize: 72}, Fields: []Type{
&StructType{Key: StructKey{Name: "sockaddr_ax25"}, FldName: "fsa_ax25"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fsa_digipeater", TypeSize: 56}, Type: &StructType{Key: StructKey{Name: "ax25_address"}}, Kind: 1, RangeBegin: 8, RangeEnd: 8},
@@ -15163,6 +15195,16 @@ var structDescs_ppc64le = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sxdp_queue_id", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 64},
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_xdp", FldName: "sxdp_shared_umem_fd", TypeSize: 4, ArgDir: 2, IsOptional: true}},
}}},
+ {Key: StructKey{Name: "space_resv"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "space_resv", TypeSize: 48}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l_type", TypeSize: 2}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "seek_whence", FldName: "l_whence", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 3, 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "l_start", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "l_len", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l_sysid", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l_pid", TypeSize: 4}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "l_pad", TypeSize: 16}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4}}}, Kind: 1, RangeBegin: 4, RangeEnd: 4},
+ }}},
{Key: StructKey{Name: "stab_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "stab_policy", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_STAB_BASE, int16], tc_sizespec]"}, FldName: "TCA_STAB_BASE"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_STAB_DATA, int16], array[int16, 0:10]]"}, FldName: "TCA_STAB_DATA"},
@@ -19565,7 +19607,7 @@ var syscalls_ppc64le = []*Syscall{
}},
{NR: 309, Name: "fallocate", CallName: "fallocate", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fallocate_mode", FldName: "mode", TypeSize: 8}}, Vals: []uint64{0, 1, 2}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fallocate_mode", FldName: "mode", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 8, 16, 32, 64}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "off", TypeSize: 8}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "len", TypeSize: 8}}},
}},
@@ -22117,11 +22159,56 @@ var syscalls_ppc64le = []*Syscall{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148025603},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: 1, RangeBegin: 2, RangeEnd: 2}},
}},
+ {NR: 54, Name: "ioctl$FIBMAP", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536870913},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
+ }},
+ {NR: 54, Name: "ioctl$FICLONE", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147783689},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "arg", TypeSize: 4}},
+ }},
+ {NR: 54, Name: "ioctl$FICLONERANGE", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2149618701},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "file_clone_range"}}},
+ }},
+ {NR: 54, Name: "ioctl$FIDEDUPERANGE", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3222836278},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "file_dedupe_range"}}},
+ }},
{NR: 54, Name: "ioctl$FIONREAD", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074030207},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
}},
+ {NR: 54, Name: "ioctl$FS_IOC_FSGETXATTR", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1075599391},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fsxattr"}}},
+ }},
+ {NR: 54, Name: "ioctl$FS_IOC_FSSETXATTR", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2149341216},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fsxattr"}}},
+ }},
+ {NR: 54, Name: "ioctl$FS_IOC_GETFSLABEL", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1090556977},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 256, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}}, Kind: 1, RangeBegin: 256, RangeEnd: 256}},
+ }},
+ {NR: 54, Name: "ioctl$FS_IOC_RESVSP", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2150651944},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "space_resv"}}},
+ }},
+ {NR: 54, Name: "ioctl$FS_IOC_SETFSLABEL", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2164298802},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 256}, Kind: 1, RangeBegin: 256, RangeEnd: 256}},
+ }},
{NR: 54, Name: "ioctl$FUSE_DEV_IOC_CLONE", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fuse", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074062592},
@@ -30005,8 +30092,12 @@ var consts_ppc64le = []ConstValue{
{Name: "EV_SND", Value: 18},
{Name: "EV_SW", Value: 5},
{Name: "EV_SYN"},
+ {Name: "FALLOC_FL_COLLAPSE_RANGE", Value: 8},
+ {Name: "FALLOC_FL_INSERT_RANGE", Value: 32},
{Name: "FALLOC_FL_KEEP_SIZE", Value: 1},
{Name: "FALLOC_FL_PUNCH_HOLE", Value: 2},
+ {Name: "FALLOC_FL_UNSHARE_RANGE", Value: 64},
+ {Name: "FALLOC_FL_ZERO_RANGE", Value: 16},
{Name: "FAN_ACCESS", Value: 1},
{Name: "FAN_ACCESS_PERM", Value: 131072},
{Name: "FAN_CLASS_CONTENT", Value: 4},
@@ -30047,12 +30138,16 @@ var consts_ppc64le = []ConstValue{
{Name: "FF_SPRING", Value: 83},
{Name: "FF_SQUARE", Value: 88},
{Name: "FF_TRIANGLE", Value: 89},
+ {Name: "FIBMAP", Value: 536870913},
{Name: "FIB_RULE_FIND_SADDR", Value: 65536},
{Name: "FIB_RULE_IIF_DETACHED", Value: 8},
{Name: "FIB_RULE_INVERT", Value: 2},
{Name: "FIB_RULE_OIF_DETACHED", Value: 16},
{Name: "FIB_RULE_PERMANENT", Value: 1},
{Name: "FIB_RULE_UNRESOLVED", Value: 4},
+ {Name: "FICLONE", Value: 2147783689},
+ {Name: "FICLONERANGE", Value: 2149618701},
+ {Name: "FIDEDUPERANGE", Value: 3222836278},
{Name: "FIEMAP_EXTENT_DATA_ENCRYPTED", Value: 128},
{Name: "FIEMAP_EXTENT_DATA_INLINE", Value: 512},
{Name: "FIEMAP_EXTENT_DATA_TAIL", Value: 1024},
@@ -30116,7 +30211,13 @@ var consts_ppc64le = []ConstValue{
{Name: "FR_ACT_TO_TBL", Value: 1},
{Name: "FR_ACT_UNREACHABLE", Value: 7},
{Name: "FR_ACT_UNSPEC"},
+ {Name: "FSLABEL_MAX", Value: 256},
{Name: "FS_IOC_FIEMAP", Value: 3223348747},
+ {Name: "FS_IOC_FSGETXATTR", Value: 1075599391},
+ {Name: "FS_IOC_FSSETXATTR", Value: 2149341216},
+ {Name: "FS_IOC_GETFSLABEL", Value: 1090556977},
+ {Name: "FS_IOC_RESVSP", Value: 2150651944},
+ {Name: "FS_IOC_SETFSLABEL", Value: 2164298802},
{Name: "FUSE_DEV_IOC_CLONE", Value: 1074062592},
{Name: "FUSE_KERNEL_MINOR_VERSION", Value: 27},
{Name: "FUSE_KERNEL_VERSION", Value: 7},
@@ -33969,4 +34070,4 @@ var consts_ppc64le = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_ppc64le = "bf27af2c473538a5ad60c9aa42185834aa7fa451"
+const revision_ppc64le = "bfeabb36851c5973bd345bcf994d13b5791bbcc4"