diff options
Diffstat (limited to 'sys/linux')
| -rw-r--r-- | sys/linux/gen/386.go | 105 | ||||
| -rw-r--r-- | sys/linux/gen/amd64.go | 105 | ||||
| -rw-r--r-- | sys/linux/gen/arm.go | 105 | ||||
| -rw-r--r-- | sys/linux/gen/arm64.go | 105 | ||||
| -rw-r--r-- | sys/linux/gen/ppc64le.go | 105 | ||||
| -rw-r--r-- | sys/linux/sys.txt | 56 | ||||
| -rw-r--r-- | sys/linux/sys_386.const | 14 | ||||
| -rw-r--r-- | sys/linux/sys_amd64.const | 14 | ||||
| -rw-r--r-- | sys/linux/sys_arm.const | 14 | ||||
| -rw-r--r-- | sys/linux/sys_arm64.const | 14 | ||||
| -rw-r--r-- | sys/linux/sys_ppc64le.const | 14 |
11 files changed, 640 insertions, 11 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" diff --git a/sys/linux/sys.txt b/sys/linux/sys.txt index 5bfe4688a..c688e81a6 100644 --- a/sys/linux/sys.txt +++ b/sys/linux/sys.txt @@ -165,6 +165,60 @@ ioctl$void(fd fd, cmd flags[ioctl_void]) ioctl$int_in(fd fd, cmd flags[ioctl_int_in], v ptr[in, int64]) ioctl$int_out(fd fd, cmd flags[ioctl_int_out], v ptr[out, intptr]) ioctl$fiemap(fd fd, cmd const[FS_IOC_FIEMAP], v ptr[in, fiemap]) +ioctl$FS_IOC_RESVSP(fd fd, cmd const[FS_IOC_RESVSP], arg ptr[in, space_resv]) +ioctl$FIBMAP(fd fd, cmd const[FIBMAP], arg ptr[in, int32]) +ioctl$FICLONE(fd fd, cmd const[FICLONE], arg fd) +ioctl$FICLONERANGE(fd fd, cmd const[FICLONERANGE], arg ptr[in, file_clone_range]) +ioctl$FIDEDUPERANGE(fd fd, cmd const[FIDEDUPERANGE], arg ptr[in, file_dedupe_range]) +ioctl$FS_IOC_FSGETXATTR(fd fd, cmd const[FS_IOC_FSGETXATTR], arg ptr[in, fsxattr]) +ioctl$FS_IOC_FSSETXATTR(fd fd, cmd const[FS_IOC_FSSETXATTR], arg ptr[in, fsxattr]) +ioctl$FS_IOC_GETFSLABEL(fd fd, cmd const[FS_IOC_GETFSLABEL], arg ptr[out, array[const[0, int8], FSLABEL_MAX]]) +ioctl$FS_IOC_SETFSLABEL(fd fd, cmd const[FS_IOC_SETFSLABEL], arg ptr[in, array[int8, FSLABEL_MAX]]) + +space_resv { + l_type const[0, int16] + l_whence flags[seek_whence, int16] + l_start int64 + l_len int64 + l_sysid const[0, int32] + l_pid const[0, int32] + l_pad array[const[0, int32], 4] +} + +file_clone_range { + src_fd fd + pad const[0, int32] + src_offset int64 + src_length int64 + dest_offset int64 +} + +file_dedupe_range { + src_offset int64 + src_length int64 + dest_count len[info, int16] + reserved1 const[0, int16] + reserved2 const[0, int32] + info array[file_dedupe_range_info] +} + +file_dedupe_range_info { + dest_fd fd + pad const[0, int32] + dest_offset int64 + bytes_deduped const[0, int64] + status const[0, int32] + reserved const[0, int32] +} + +fsxattr { + fsx_xflags int32 + fsx_extsize int32 + fsx_nextents int32 + fsx_projid int32 + fsx_cowextsize int32 + fsx_pad const[0, int64] +} fcntl$dupfd(fd fd, cmd flags[fcntl_dupfd], arg fd) fd fcntl$getflags(fd fd, cmd flags[fcntl_getflags]) @@ -890,7 +944,7 @@ epoll_ev = POLLIN, POLLOUT, POLLRDHUP, POLLPRI, POLLERR, POLLHUP, EPOLLET, EPOLL pollfd_events = POLLIN, POLLPRI, POLLOUT, POLLERR, POLLHUP, POLLNVAL, POLLRDNORM, POLLRDBAND, POLLWRNORM, POLLWRBAND, POLLMSG, POLLREMOVE, POLLRDHUP, POLLFREE, POLL_BUSY_LOOP mknod_mode = S_IFREG, S_IFCHR, S_IFBLK, S_IFIFO, S_IFSOCK, S_IRUSR, S_IWUSR, S_IXUSR, S_IRGRP, S_IWGRP, S_IXGRP, S_IROTH, S_IWOTH, S_IXOTH at_flags = AT_EMPTY_PATH, AT_SYMLINK_NOFOLLOW, AT_SYMLINK_FOLLOW, AT_NO_AUTOMOUNT, AT_EMPTY_PATH -fallocate_mode = 0, FALLOC_FL_KEEP_SIZE, FALLOC_FL_PUNCH_HOLE +fallocate_mode = 0, FALLOC_FL_KEEP_SIZE, FALLOC_FL_PUNCH_HOLE, FALLOC_FL_COLLAPSE_RANGE, FALLOC_FL_ZERO_RANGE, FALLOC_FL_INSERT_RANGE, FALLOC_FL_UNSHARE_RANGE linkat_flags = AT_EMPTY_PATH, AT_SYMLINK_FOLLOW unlinkat_flags = 0, AT_REMOVEDIR renameat2_flags = RENAME_EXCHANGE, RENAME_NOREPLACE, RENAME_WHITEOUT diff --git a/sys/linux/sys_386.const b/sys/linux/sys_386.const index 5213c10bd..796ebd9aa 100644 --- a/sys/linux/sys_386.const +++ b/sys/linux/sys_386.const @@ -65,8 +65,12 @@ EPOLL_CLOEXEC = 524288 EPOLL_CTL_ADD = 1 EPOLL_CTL_DEL = 2 EPOLL_CTL_MOD = 3 +FALLOC_FL_COLLAPSE_RANGE = 8 +FALLOC_FL_INSERT_RANGE = 32 FALLOC_FL_KEEP_SIZE = 1 FALLOC_FL_PUNCH_HOLE = 2 +FALLOC_FL_UNSHARE_RANGE = 64 +FALLOC_FL_ZERO_RANGE = 16 FAN_ACCESS = 1 FAN_ACCESS_PERM = 131072 FAN_CLASS_CONTENT = 4 @@ -94,6 +98,10 @@ FAN_UNLIMITED_MARKS = 32 FAN_UNLIMITED_QUEUE = 16 FASYNC = 8192 FD_CLOEXEC = 1 +FIBMAP = 1 +FICLONE = 1074041865 +FICLONERANGE = 1075876877 +FIDEDUPERANGE = 3222836278 FIEMAP_EXTENT_DATA_ENCRYPTED = 128 FIEMAP_EXTENT_DATA_INLINE = 512 FIEMAP_EXTENT_DATA_TAIL = 1024 @@ -116,7 +124,13 @@ FIONBIO = 21537 FIONCLEX = 21584 FIOQSIZE = 21600 FITHAW = 3221510264 +FSLABEL_MAX = 256 FS_IOC_FIEMAP = 3223348747 +FS_IOC_FSGETXATTR = 2149341215 +FS_IOC_FSSETXATTR = 1075599392 +FS_IOC_GETFSLABEL = 2164298801 +FS_IOC_RESVSP = 1076647976 +FS_IOC_SETFSLABEL = 1090556978 FUTEX_CMP_REQUEUE = 4 FUTEX_REQUEUE = 3 FUTEX_WAIT = 0 diff --git a/sys/linux/sys_amd64.const b/sys/linux/sys_amd64.const index 25a051880..2879c2bdd 100644 --- a/sys/linux/sys_amd64.const +++ b/sys/linux/sys_amd64.const @@ -65,8 +65,12 @@ EPOLL_CLOEXEC = 524288 EPOLL_CTL_ADD = 1 EPOLL_CTL_DEL = 2 EPOLL_CTL_MOD = 3 +FALLOC_FL_COLLAPSE_RANGE = 8 +FALLOC_FL_INSERT_RANGE = 32 FALLOC_FL_KEEP_SIZE = 1 FALLOC_FL_PUNCH_HOLE = 2 +FALLOC_FL_UNSHARE_RANGE = 64 +FALLOC_FL_ZERO_RANGE = 16 FAN_ACCESS = 1 FAN_ACCESS_PERM = 131072 FAN_CLASS_CONTENT = 4 @@ -94,6 +98,10 @@ FAN_UNLIMITED_MARKS = 32 FAN_UNLIMITED_QUEUE = 16 FASYNC = 8192 FD_CLOEXEC = 1 +FIBMAP = 1 +FICLONE = 1074041865 +FICLONERANGE = 1075876877 +FIDEDUPERANGE = 3222836278 FIEMAP_EXTENT_DATA_ENCRYPTED = 128 FIEMAP_EXTENT_DATA_INLINE = 512 FIEMAP_EXTENT_DATA_TAIL = 1024 @@ -116,7 +124,13 @@ FIONBIO = 21537 FIONCLEX = 21584 FIOQSIZE = 21600 FITHAW = 3221510264 +FSLABEL_MAX = 256 FS_IOC_FIEMAP = 3223348747 +FS_IOC_FSGETXATTR = 2149341215 +FS_IOC_FSSETXATTR = 1075599392 +FS_IOC_GETFSLABEL = 2164298801 +FS_IOC_RESVSP = 1076910120 +FS_IOC_SETFSLABEL = 1090556978 FUTEX_CMP_REQUEUE = 4 FUTEX_REQUEUE = 3 FUTEX_WAIT = 0 diff --git a/sys/linux/sys_arm.const b/sys/linux/sys_arm.const index 71fe23ceb..1ae1e3a54 100644 --- a/sys/linux/sys_arm.const +++ b/sys/linux/sys_arm.const @@ -65,8 +65,12 @@ EPOLL_CLOEXEC = 524288 EPOLL_CTL_ADD = 1 EPOLL_CTL_DEL = 2 EPOLL_CTL_MOD = 3 +FALLOC_FL_COLLAPSE_RANGE = 8 +FALLOC_FL_INSERT_RANGE = 32 FALLOC_FL_KEEP_SIZE = 1 FALLOC_FL_PUNCH_HOLE = 2 +FALLOC_FL_UNSHARE_RANGE = 64 +FALLOC_FL_ZERO_RANGE = 16 FAN_ACCESS = 1 FAN_ACCESS_PERM = 131072 FAN_CLASS_CONTENT = 4 @@ -94,6 +98,10 @@ FAN_UNLIMITED_MARKS = 32 FAN_UNLIMITED_QUEUE = 16 FASYNC = 8192 FD_CLOEXEC = 1 +FIBMAP = 1 +FICLONE = 1074041865 +FICLONERANGE = 1075876877 +FIDEDUPERANGE = 3222836278 FIEMAP_EXTENT_DATA_ENCRYPTED = 128 FIEMAP_EXTENT_DATA_INLINE = 512 FIEMAP_EXTENT_DATA_TAIL = 1024 @@ -116,7 +124,13 @@ FIONBIO = 21537 FIONCLEX = 21584 FIOQSIZE = 21598 FITHAW = 3221510264 +FSLABEL_MAX = 256 FS_IOC_FIEMAP = 3223348747 +FS_IOC_FSGETXATTR = 2149341215 +FS_IOC_FSSETXATTR = 1075599392 +FS_IOC_GETFSLABEL = 2164298801 +FS_IOC_RESVSP = 1076647976 +FS_IOC_SETFSLABEL = 1090556978 FUTEX_CMP_REQUEUE = 4 FUTEX_REQUEUE = 3 FUTEX_WAIT = 0 diff --git a/sys/linux/sys_arm64.const b/sys/linux/sys_arm64.const index b8ec7bbb7..1e10a438a 100644 --- a/sys/linux/sys_arm64.const +++ b/sys/linux/sys_arm64.const @@ -65,8 +65,12 @@ EPOLL_CLOEXEC = 524288 EPOLL_CTL_ADD = 1 EPOLL_CTL_DEL = 2 EPOLL_CTL_MOD = 3 +FALLOC_FL_COLLAPSE_RANGE = 8 +FALLOC_FL_INSERT_RANGE = 32 FALLOC_FL_KEEP_SIZE = 1 FALLOC_FL_PUNCH_HOLE = 2 +FALLOC_FL_UNSHARE_RANGE = 64 +FALLOC_FL_ZERO_RANGE = 16 FAN_ACCESS = 1 FAN_ACCESS_PERM = 131072 FAN_CLASS_CONTENT = 4 @@ -94,6 +98,10 @@ FAN_UNLIMITED_MARKS = 32 FAN_UNLIMITED_QUEUE = 16 FASYNC = 8192 FD_CLOEXEC = 1 +FIBMAP = 1 +FICLONE = 1074041865 +FICLONERANGE = 1075876877 +FIDEDUPERANGE = 3222836278 FIEMAP_EXTENT_DATA_ENCRYPTED = 128 FIEMAP_EXTENT_DATA_INLINE = 512 FIEMAP_EXTENT_DATA_TAIL = 1024 @@ -116,7 +124,13 @@ FIONBIO = 21537 FIONCLEX = 21584 FIOQSIZE = 21600 FITHAW = 3221510264 +FSLABEL_MAX = 256 FS_IOC_FIEMAP = 3223348747 +FS_IOC_FSGETXATTR = 2149341215 +FS_IOC_FSSETXATTR = 1075599392 +FS_IOC_GETFSLABEL = 2164298801 +FS_IOC_RESVSP = 1076910120 +FS_IOC_SETFSLABEL = 1090556978 FUTEX_CMP_REQUEUE = 4 FUTEX_REQUEUE = 3 FUTEX_WAIT = 0 diff --git a/sys/linux/sys_ppc64le.const b/sys/linux/sys_ppc64le.const index f7433742b..2f5f74620 100644 --- a/sys/linux/sys_ppc64le.const +++ b/sys/linux/sys_ppc64le.const @@ -65,8 +65,12 @@ EPOLL_CLOEXEC = 524288 EPOLL_CTL_ADD = 1 EPOLL_CTL_DEL = 2 EPOLL_CTL_MOD = 3 +FALLOC_FL_COLLAPSE_RANGE = 8 +FALLOC_FL_INSERT_RANGE = 32 FALLOC_FL_KEEP_SIZE = 1 FALLOC_FL_PUNCH_HOLE = 2 +FALLOC_FL_UNSHARE_RANGE = 64 +FALLOC_FL_ZERO_RANGE = 16 FAN_ACCESS = 1 FAN_ACCESS_PERM = 131072 FAN_CLASS_CONTENT = 4 @@ -94,6 +98,10 @@ FAN_UNLIMITED_MARKS = 32 FAN_UNLIMITED_QUEUE = 16 FASYNC = 8192 FD_CLOEXEC = 1 +FIBMAP = 536870913 +FICLONE = 2147783689 +FICLONERANGE = 2149618701 +FIDEDUPERANGE = 3222836278 FIEMAP_EXTENT_DATA_ENCRYPTED = 128 FIEMAP_EXTENT_DATA_INLINE = 512 FIEMAP_EXTENT_DATA_TAIL = 1024 @@ -116,7 +124,13 @@ FIONBIO = 2147772030 FIONCLEX = 536897026 FIOQSIZE = 1074292352 FITHAW = 3221510264 +FSLABEL_MAX = 256 FS_IOC_FIEMAP = 3223348747 +FS_IOC_FSGETXATTR = 1075599391 +FS_IOC_FSSETXATTR = 2149341216 +FS_IOC_GETFSLABEL = 1090556977 +FS_IOC_RESVSP = 2150651944 +FS_IOC_SETFSLABEL = 2164298802 FUTEX_CMP_REQUEUE = 4 FUTEX_REQUEUE = 3 FUTEX_WAIT = 0 |
