diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-08-29 12:35:25 -0700 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-08-29 15:59:16 -0700 |
| commit | edb2f5f1e1078040c6581ca7e343e3ea5a44e0da (patch) | |
| tree | e1fecaff14e87a23bdf5dfa9c69b2e9309e86e2a /sys/linux/gen | |
| parent | 14b78b9701cd103c1946aec8b6b1c9da0186a0b1 (diff) | |
sys/linux: add ext4 ioctls and overlayfs
Update #533
Diffstat (limited to 'sys/linux/gen')
| -rw-r--r-- | sys/linux/gen/386.go | 296 | ||||
| -rw-r--r-- | sys/linux/gen/amd64.go | 296 | ||||
| -rw-r--r-- | sys/linux/gen/arm.go | 296 | ||||
| -rw-r--r-- | sys/linux/gen/arm64.go | 296 | ||||
| -rw-r--r-- | sys/linux/gen/ppc64le.go | 296 |
5 files changed, 1445 insertions, 35 deletions
diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go index 8407e1d00..8af21819d 100644 --- a/sys/linux/gen/386.go +++ b/sys/linux/gen/386.go @@ -3061,6 +3061,16 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a_trsize", TypeSize: 4}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a_drsize", TypeSize: 4}}}, }}}, + {Key: StructKey{Name: "ext4_new_group_input"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ext4_new_group_input", TypeSize: 40}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "group", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "block_bitmap", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "inode_bitmap", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "inode_table", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "blocks_count", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "reserved_blocks", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "unused", TypeSize: 2}}}, + }}}, {Key: StructKey{Name: "ext4_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ext4_options", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "bsddf", TypeSize: 5}, Kind: 2, Values: []string{"bsddf"}, NoZ: true}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "minixdf", TypeSize: 7}, Kind: 2, Values: []string{"minixdf"}, NoZ: true}, @@ -3807,6 +3817,11 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, }}}, + {Key: StructKey{Name: "fs_opt[\"lowerdir\", stringnoz[filename]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"lowerdir\", stringnoz[filename]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"lowerdir"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt[\"max_batch_time\", fmt[hex, int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"max_batch_time\", fmt[hex, int32]]", TypeSize: 33}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 14}, Kind: 2, Values: []string{"max_batch_time"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -3887,6 +3902,11 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 18}, ArgFormat: 3}}, }}}, + {Key: StructKey{Name: "fs_opt[\"redirect_dir\", stringnoz[filename]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"redirect_dir\", stringnoz[filename]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 12}, Kind: 2, Values: []string{"redirect_dir"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt[\"resgid\", fmt[hex, gid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"resgid\", fmt[hex, gid]]", TypeSize: 25}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 6}, Kind: 2, Values: []string{"resgid"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -4022,6 +4042,11 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, NoZ: true}, }}}, + {Key: StructKey{Name: "fs_opt[\"upperdir\", stringnoz[filename]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"upperdir\", stringnoz[filename]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"upperdir"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt[\"user_id\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"user_id\", fmt[dec, uid]]", TypeSize: 28}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 7}, Kind: 2, Values: []string{"user_id"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -4047,6 +4072,11 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", TypeSize: 18}, ArgFormat: 3}, }}}, + {Key: StructKey{Name: "fs_opt[\"workdir\", stringnoz[filename]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"workdir\", stringnoz[filename]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 7}, Kind: 2, Values: []string{"workdir"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt_elem[bpf_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[bpf_options]", IsVarlen: true}, Fields: []Type{ &UnionType{Key: StructKey{Name: "bpf_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, @@ -4095,6 +4125,10 @@ var structDescs_386 = []*KeyedStruct{ &UnionType{Key: StructKey{Name: "ntfs_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, }}}, + {Key: StructKey{Name: "fs_opt_elem[overlay_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[overlay_options]", IsVarlen: true}, Fields: []Type{ + &UnionType{Key: StructKey{Name: "overlay_options"}, FldName: "elem"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, + }}}, {Key: StructKey{Name: "fs_opt_elem[p9_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[p9_options]", IsVarlen: true}, Fields: []Type{ &UnionType{Key: StructKey{Name: "p9_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, @@ -4163,6 +4197,10 @@ var structDescs_386 = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[ntfs_options]"}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, }}}, + {Key: StructKey{Name: "fs_options[overlay_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_options[overlay_options]", IsVarlen: true}, Fields: []Type{ + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[overlay_options]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, + }}}, {Key: StructKey{Name: "fs_options[p9_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_options[p9_options]", IsVarlen: true}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[p9_options]"}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, @@ -4183,6 +4221,75 @@ 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: "fscrypt_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy", TypeSize: 12}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &UnionType{Key: StructKey{Name: "fscrypt_policy_mode"}, FldName: "mode"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_policy_flags", FldName: "flags", TypeSize: 1}}, Vals: []uint64{0, 1, 2}, BitMask: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "master_key_descriptor", TypeSize: 8}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + }}}, + {Key: StructKey{Name: "fscrypt_policy", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy", TypeSize: 12, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1, ArgDir: 1}}}, + &UnionType{Key: StructKey{Name: "fscrypt_policy_mode", Dir: 1}, FldName: "mode"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_policy_flags", FldName: "flags", TypeSize: 1, ArgDir: 1}}, Vals: []uint64{0, 1, 2}, BitMask: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "master_key_descriptor", TypeSize: 8, ArgDir: 1}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode", TypeSize: 2}, Fields: []Type{ + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]"}, FldName: "aes128"}, + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]"}, FldName: "aes256"}, + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]"}, FldName: "speck128"}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode", TypeSize: 2, ArgDir: 1}, Fields: []Type{ + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]", Dir: 1}, FldName: "aes128"}, + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]", Dir: 1}, FldName: "aes256"}, + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]", Dir: 1}, FldName: "speck128"}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]", TypeSize: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1}}, Val: 6}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]", TypeSize: 2, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 6}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]", TypeSize: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1}}, Val: 4}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]", TypeSize: 2, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 4}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]", TypeSize: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1}}, Val: 7}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1}}, Val: 8}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]", TypeSize: 2, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 7}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 8}, + }}}, + {Key: StructKey{Name: "fsmap"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fsmap", TypeSize: 64}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fmr_device", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fmr_flags", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "fmr_physical", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "fmr_owner", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "fmr_offset", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "fmr_length", TypeSize: 8}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fmr_reserved", TypeSize: 24}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 8}}}, Kind: 1, RangeBegin: 3, RangeEnd: 3}, + }}}, + {Key: StructKey{Name: "fsmap_head"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fsmap_head", IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fmh_iflags", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fmh_oflags", TypeSize: 4}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "fmh_count", TypeSize: 4}}, Buf: "fmh_recs"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fmh_entries", TypeSize: 4}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fmh_reserved", TypeSize: 48}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 8}}}, Kind: 1, RangeBegin: 6, RangeEnd: 6}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fmh_keys", TypeSize: 128}, Type: &StructType{Key: StructKey{Name: "fsmap"}}, Kind: 1, RangeBegin: 2, RangeEnd: 2}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fmh_recs", IsVarlen: true}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 64}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 64, RangeEnd: 64}}, + }}}, + {Key: StructKey{Name: "fstrim_range"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fstrim_range", TypeSize: 24}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "start", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "len", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "minlen", TypeSize: 8}}}, + }}}, {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}}}, @@ -8336,6 +8443,14 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vifc_rate_limit", TypeSize: 4}}}, }}}, + {Key: StructKey{Name: "move_extent"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "move_extent", TypeSize: 40}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "donor_fd", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "orig_start", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "donor_start", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "len", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "moved_len", TypeSize: 8}}}, + }}}, {Key: StructKey{Name: "mpls_label"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mpls_label", TypeSize: 4}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "ttl", TypeSize: 4}, ArgFormat: 1, BitfieldLen: 8, BitfieldMdl: true}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "s", TypeSize: 4}, ArgFormat: 1, BitfieldOff: 8, BitfieldLen: 1, BitfieldMdl: true}}, @@ -14053,6 +14168,22 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "virtio_net_hdr"}, FldName: "val"}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "void"}, Kind: 1}, }}}, + {Key: StructKey{Name: "overlay_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "overlay_options", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "fs_opt[\"lowerdir\", stringnoz[filename]]"}, FldName: "lowerdir"}, + &StructType{Key: StructKey{Name: "fs_opt[\"upperdir\", stringnoz[filename]]"}, FldName: "upperdir"}, + &StructType{Key: StructKey{Name: "fs_opt[\"workdir\", stringnoz[filename]]"}, FldName: "workdir"}, + &StructType{Key: StructKey{Name: "fs_opt[\"redirect_dir\", stringnoz[filename]]"}, FldName: "redirect_dir"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "default_permissions", TypeSize: 19}, Kind: 2, Values: []string{"default_permissions"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "index_on", TypeSize: 8}, Kind: 2, Values: []string{"index=on"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "index_off", TypeSize: 9}, Kind: 2, Values: []string{"index=off"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nfs_export_on", TypeSize: 13}, Kind: 2, Values: []string{"nfs_export=on"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nfs_export_off", TypeSize: 14}, Kind: 2, Values: []string{"nfs_export=off"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "xino_on", TypeSize: 7}, Kind: 2, Values: []string{"xino=on"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "xino_off", TypeSize: 8}, Kind: 2, Values: []string{"xino=off"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "xino_auto", TypeSize: 9}, Kind: 2, Values: []string{"xino=auto"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "metacopy_on", TypeSize: 11}, Kind: 2, Values: []string{"metacopy=on"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "metacopy_off", TypeSize: 12}, Kind: 2, Values: []string{"metacopy=off"}, NoZ: true}, + }}}, {Key: StructKey{Name: "p9_dir"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "p9_dir", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "p9_qid"}, FldName: "qid"}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "offset", TypeSize: 8}}}, @@ -19690,7 +19821,7 @@ var structDescs_386 = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, }}}, {Key: StructKey{Name: "xattr_name"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xattr_name", IsVarlen: true}, Fields: []Type{ - &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "known", IsVarlen: true}, Kind: 2, SubKind: "xattr_names", Values: []string{"system.posix_acl_access\x00", "system.posix_acl_default\x00", "system.advise\x00", "system.sockprotoname\x00", "com.apple.FinderInfo\x00", "com.apple.system.Security\x00", "user.syz\x00", "trusted.syz\x00", "security.evm\x00", "security.ima\x00", "security.selinux\x00", "security.capability\x00"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "known", IsVarlen: true}, Kind: 2, SubKind: "xattr_names", Values: []string{"system.posix_acl_access\x00", "system.posix_acl_default\x00", "system.advise\x00", "system.sockprotoname\x00", "com.apple.FinderInfo\x00", "com.apple.system.Security\x00", "user.syz\x00", "trusted.syz\x00", "security.evm\x00", "security.ima\x00", "security.selinux\x00", "security.capability\x00", "trusted.overlay.opaque\x00", "trusted.overlay.redirect\x00", "trusted.overlay.origin\x00", "trusted.overlay.impure\x00", "trusted.overlay.nlink\x00", "trusted.overlay.upper\x00", "trusted.overlay.metacopy\x00"}}, &StructType{Key: StructKey{Name: "xattr_name_random"}, FldName: "random"}, }}}, {Key: StructKey{Name: "xattr_name_random"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xattr_name_random", IsVarlen: true}, Fields: []Type{ @@ -25042,6 +25173,52 @@ 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$EXT4_IOC_ALLOC_DA_BLKS", 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: 26124}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_GROUP_ADD", 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: 1076127240}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "ext4_new_group_input"}}}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_GROUP_EXTEND", 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: 1074030087}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4}}}}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_MIGRATE", 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: 26121}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_MOVE_EXT", 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: 3223873039}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "move_extent"}}}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_PRECACHE_EXTENTS", 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: 26130}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_RESIZE_FS", 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: 1074292240}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_SETFLAGS", 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: 1074030082}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ext4_inode_flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 536870912, 4194304, 16384, 32768, 65536, 131072, 524288}, BitMask: true}}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_SHUTDOWN", 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: 2147768445}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ext4_shutdown_flags", TypeSize: 8}}, Vals: []uint64{0, 1, 2}, BitMask: true}}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_SWAP_BOOT", 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: 26129}, + }}, {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}, @@ -25062,11 +25239,26 @@ var syscalls_386 = []*Syscall{ &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$FIGETBSZ", 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: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4, ArgDir: 1}}}}, + }}, {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$FITRIM", 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: 3222820985}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fstrim_range"}}}, + }}, + {NR: 54, Name: "ioctl$FS_IOC_FIEMAP", 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: 3223348747}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "v", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fiemap"}}}, + }}, {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}, @@ -25077,21 +25269,61 @@ var syscalls_386 = []*Syscall{ &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_GETFLAGS", 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: 2147771905}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4, ArgDir: 1}}}}, + }}, {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_GETFSMAP", 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: 3233830971}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fsmap_head"}}}, + }}, + {NR: 54, Name: "ioctl$FS_IOC_GETVERSION", 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: 2147776001}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4, ArgDir: 1}}}}, + }}, + {NR: 54, Name: "ioctl$FS_IOC_GET_ENCRYPTION_POLICY", 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: 1074554389}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 16, ArgDir: 1}, Kind: 1, RangeBegin: 16, RangeEnd: 16}}, + }}, + {NR: 54, Name: "ioctl$FS_IOC_GET_ENCRYPTION_PWSALT", 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: 1074816532}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fscrypt_policy", Dir: 1}}}, + }}, {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_SETFLAGS", 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: 1074030082}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4}}}}, + }}, {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$FS_IOC_SETVERSION", 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: 1074034178}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4}}}}, + }}, + {NR: 54, Name: "ioctl$FS_IOC_SET_ENCRYPTION_POLICY", 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: 2148296211}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fscrypt_policy"}}}, + }}, {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}, @@ -27840,11 +28072,6 @@ var syscalls_386 = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 22023}, }}, - {NR: 54, Name: "ioctl$fiemap", 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: 3223348747}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "v", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fiemap"}}}, - }}, {NR: 54, Name: "ioctl$ifreq_SIOCGIFINDEX_team", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35123}, @@ -28727,6 +28954,13 @@ var syscalls_386 = []*Syscall{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mount_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{4096, 128, 64, 8192, 1024, 4, 2048, 8, 2, 1, 2097152, 32, 32768, 16777216, 16, 16384, 65536, 131072, 262144, 524288, 1048576, 8388608, 33554432}, BitMask: true}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fuse_options"}}}, }}, + {NR: 21, Name: "mount$overlay", CallName: "mount", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "src", TypeSize: 4}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dst", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "type", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 8}, Kind: 2, Values: []string{"overlay\x00"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mount_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{4096, 128, 64, 8192, 1024, 4, 2048, 8, 2, 1, 2097152, 32, 32768, 16777216, 16, 16384, 65536, 131072, 262144, 524288, 1048576, 8388608, 33554432}, BitMask: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fs_options[overlay_options]"}}}, + }}, {NR: 317, Name: "move_pages", CallName: "move_pages", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nr", TypeSize: 4}}, Buf: "pages"}, @@ -34483,6 +34717,34 @@ var consts_386 = []ConstValue{ {Name: "EV_SND", Value: 18}, {Name: "EV_SW", Value: 5}, {Name: "EV_SYN"}, + {Name: "EXT4_APPEND_FL", Value: 32}, + {Name: "EXT4_COMPR_FL", Value: 4}, + {Name: "EXT4_DIRSYNC_FL", Value: 65536}, + {Name: "EXT4_EOFBLOCKS_FL", Value: 4194304}, + {Name: "EXT4_EXTENTS_FL", Value: 524288}, + {Name: "EXT4_GOING_FLAGS_DEFAULT"}, + {Name: "EXT4_GOING_FLAGS_LOGFLUSH", Value: 1}, + {Name: "EXT4_GOING_FLAGS_NOLOGFLUSH", Value: 2}, + {Name: "EXT4_IMMUTABLE_FL", Value: 16}, + {Name: "EXT4_IOC_ALLOC_DA_BLKS", Value: 26124}, + {Name: "EXT4_IOC_GROUP_ADD", Value: 1076127240}, + {Name: "EXT4_IOC_GROUP_EXTEND", Value: 1074030087}, + {Name: "EXT4_IOC_MIGRATE", Value: 26121}, + {Name: "EXT4_IOC_MOVE_EXT", Value: 3223873039}, + {Name: "EXT4_IOC_PRECACHE_EXTENTS", Value: 26130}, + {Name: "EXT4_IOC_RESIZE_FS", Value: 1074292240}, + {Name: "EXT4_IOC_SETFLAGS", Value: 1074030082}, + {Name: "EXT4_IOC_SHUTDOWN", Value: 2147768445}, + {Name: "EXT4_IOC_SWAP_BOOT", Value: 26129}, + {Name: "EXT4_JOURNAL_DATA_FL", Value: 16384}, + {Name: "EXT4_NOATIME_FL", Value: 128}, + {Name: "EXT4_NODUMP_FL", Value: 64}, + {Name: "EXT4_NOTAIL_FL", Value: 32768}, + {Name: "EXT4_PROJINHERIT_FL", Value: 536870912}, + {Name: "EXT4_SECRM_FL", Value: 1}, + {Name: "EXT4_SYNC_FL", Value: 8}, + {Name: "EXT4_TOPDIR_FL", Value: 131072}, + {Name: "EXT4_UNRM_FL", Value: 2}, {Name: "FALLOC_FL_COLLAPSE_RANGE", Value: 8}, {Name: "FALLOC_FL_INSERT_RANGE", Value: 32}, {Name: "FALLOC_FL_KEEP_SIZE", Value: 1}, @@ -34566,6 +34828,7 @@ var consts_386 = []ConstValue{ {Name: "FIOQSIZE", Value: 21600}, {Name: "FIOSETOWN", Value: 35073}, {Name: "FITHAW", Value: 3221510264}, + {Name: "FITRIM", Value: 3222820985}, {Name: "FLAT_BINDER_FLAG_ACCEPTS_FDS", Value: 256}, {Name: "FLOW_MODE_HASH", Value: 1}, {Name: "FLOW_MODE_MAP"}, @@ -34608,12 +34871,31 @@ var consts_386 = []ConstValue{ {Name: "FR_ACT_UNREACHABLE", Value: 7}, {Name: "FR_ACT_UNSPEC"}, {Name: "FSLABEL_MAX", Value: 256}, + {Name: "FSMAP_SIZE", Value: 64}, + {Name: "FS_ENCRYPTION_MODE_AES_128_CBC", Value: 5}, + {Name: "FS_ENCRYPTION_MODE_AES_128_CTS", Value: 6}, + {Name: "FS_ENCRYPTION_MODE_AES_256_CTS", Value: 4}, + {Name: "FS_ENCRYPTION_MODE_AES_256_XTS", Value: 1}, + {Name: "FS_ENCRYPTION_MODE_SPECK128_256_CTS", Value: 8}, + {Name: "FS_ENCRYPTION_MODE_SPECK128_256_XTS", Value: 7}, {Name: "FS_IOC_FIEMAP", Value: 3223348747}, {Name: "FS_IOC_FSGETXATTR", Value: 2149341215}, {Name: "FS_IOC_FSSETXATTR", Value: 1075599392}, + {Name: "FS_IOC_GETFLAGS", Value: 2147771905}, {Name: "FS_IOC_GETFSLABEL", Value: 2164298801}, + {Name: "FS_IOC_GETFSMAP", Value: 3233830971}, + {Name: "FS_IOC_GETVERSION", Value: 2147776001}, + {Name: "FS_IOC_GET_ENCRYPTION_POLICY", Value: 1074554389}, + {Name: "FS_IOC_GET_ENCRYPTION_PWSALT", Value: 1074816532}, {Name: "FS_IOC_RESVSP", Value: 1076647976}, + {Name: "FS_IOC_SETFLAGS", Value: 1074030082}, {Name: "FS_IOC_SETFSLABEL", Value: 1090556978}, + {Name: "FS_IOC_SETVERSION", Value: 1074034178}, + {Name: "FS_IOC_SET_ENCRYPTION_POLICY", Value: 2148296211}, + {Name: "FS_KEY_DESCRIPTOR_SIZE", Value: 8}, + {Name: "FS_POLICY_FLAGS_PAD_16", Value: 2}, + {Name: "FS_POLICY_FLAGS_PAD_4"}, + {Name: "FS_POLICY_FLAGS_PAD_8", Value: 1}, {Name: "FUSE_ABORT_ERROR", Value: 2097152}, {Name: "FUSE_ASYNC_DIO", Value: 32768}, {Name: "FUSE_ASYNC_READ", Value: 1}, @@ -39889,4 +40171,4 @@ var consts_386 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_386 = "dbe73eab2bc3191354f1ed7116a1a76b277366e2" +const revision_386 = "0ab8466aca3e49c178c212ed2d6a8123d4eefa68" diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go index bfc2ffefe..7ad442e82 100644 --- a/sys/linux/gen/amd64.go +++ b/sys/linux/gen/amd64.go @@ -3145,6 +3145,16 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a_trsize", TypeSize: 4}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a_drsize", TypeSize: 4}}}, }}}, + {Key: StructKey{Name: "ext4_new_group_input"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ext4_new_group_input", TypeSize: 40}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "group", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "block_bitmap", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "inode_bitmap", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "inode_table", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "blocks_count", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "reserved_blocks", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "unused", TypeSize: 2}}}, + }}}, {Key: StructKey{Name: "ext4_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ext4_options", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "bsddf", TypeSize: 5}, Kind: 2, Values: []string{"bsddf"}, NoZ: true}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "minixdf", TypeSize: 7}, Kind: 2, Values: []string{"minixdf"}, NoZ: true}, @@ -3893,6 +3903,11 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, }}}, + {Key: StructKey{Name: "fs_opt[\"lowerdir\", stringnoz[filename]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"lowerdir\", stringnoz[filename]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"lowerdir"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt[\"max_batch_time\", fmt[hex, int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"max_batch_time\", fmt[hex, int32]]", TypeSize: 33}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 14}, Kind: 2, Values: []string{"max_batch_time"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -3973,6 +3988,11 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 18}, ArgFormat: 3}}, }}}, + {Key: StructKey{Name: "fs_opt[\"redirect_dir\", stringnoz[filename]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"redirect_dir\", stringnoz[filename]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 12}, Kind: 2, Values: []string{"redirect_dir"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt[\"resgid\", fmt[hex, gid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"resgid\", fmt[hex, gid]]", TypeSize: 25}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 6}, Kind: 2, Values: []string{"resgid"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -4108,6 +4128,11 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, NoZ: true}, }}}, + {Key: StructKey{Name: "fs_opt[\"upperdir\", stringnoz[filename]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"upperdir\", stringnoz[filename]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"upperdir"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt[\"user_id\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"user_id\", fmt[dec, uid]]", TypeSize: 28}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 7}, Kind: 2, Values: []string{"user_id"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -4133,6 +4158,11 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", TypeSize: 18}, ArgFormat: 3}, }}}, + {Key: StructKey{Name: "fs_opt[\"workdir\", stringnoz[filename]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"workdir\", stringnoz[filename]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 7}, Kind: 2, Values: []string{"workdir"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt_elem[bpf_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[bpf_options]", IsVarlen: true}, Fields: []Type{ &UnionType{Key: StructKey{Name: "bpf_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, @@ -4181,6 +4211,10 @@ var structDescs_amd64 = []*KeyedStruct{ &UnionType{Key: StructKey{Name: "ntfs_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, }}}, + {Key: StructKey{Name: "fs_opt_elem[overlay_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[overlay_options]", IsVarlen: true}, Fields: []Type{ + &UnionType{Key: StructKey{Name: "overlay_options"}, FldName: "elem"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, + }}}, {Key: StructKey{Name: "fs_opt_elem[p9_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[p9_options]", IsVarlen: true}, Fields: []Type{ &UnionType{Key: StructKey{Name: "p9_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, @@ -4249,6 +4283,10 @@ var structDescs_amd64 = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[ntfs_options]"}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, }}}, + {Key: StructKey{Name: "fs_options[overlay_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_options[overlay_options]", IsVarlen: true}, Fields: []Type{ + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[overlay_options]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, + }}}, {Key: StructKey{Name: "fs_options[p9_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_options[p9_options]", IsVarlen: true}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[p9_options]"}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, @@ -4269,6 +4307,75 @@ 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: "fscrypt_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy", TypeSize: 12}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &UnionType{Key: StructKey{Name: "fscrypt_policy_mode"}, FldName: "mode"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_policy_flags", FldName: "flags", TypeSize: 1}}, Vals: []uint64{0, 1, 2}, BitMask: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "master_key_descriptor", TypeSize: 8}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + }}}, + {Key: StructKey{Name: "fscrypt_policy", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy", TypeSize: 12, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1, ArgDir: 1}}}, + &UnionType{Key: StructKey{Name: "fscrypt_policy_mode", Dir: 1}, FldName: "mode"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_policy_flags", FldName: "flags", TypeSize: 1, ArgDir: 1}}, Vals: []uint64{0, 1, 2}, BitMask: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "master_key_descriptor", TypeSize: 8, ArgDir: 1}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode", TypeSize: 2}, Fields: []Type{ + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]"}, FldName: "aes128"}, + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]"}, FldName: "aes256"}, + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]"}, FldName: "speck128"}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode", TypeSize: 2, ArgDir: 1}, Fields: []Type{ + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]", Dir: 1}, FldName: "aes128"}, + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]", Dir: 1}, FldName: "aes256"}, + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]", Dir: 1}, FldName: "speck128"}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]", TypeSize: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1}}, Val: 6}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]", TypeSize: 2, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 6}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]", TypeSize: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1}}, Val: 4}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]", TypeSize: 2, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 4}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]", TypeSize: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1}}, Val: 7}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1}}, Val: 8}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]", TypeSize: 2, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 7}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 8}, + }}}, + {Key: StructKey{Name: "fsmap"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fsmap", TypeSize: 64}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fmr_device", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fmr_flags", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "fmr_physical", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "fmr_owner", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "fmr_offset", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "fmr_length", TypeSize: 8}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fmr_reserved", TypeSize: 24}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 8}}}, Kind: 1, RangeBegin: 3, RangeEnd: 3}, + }}}, + {Key: StructKey{Name: "fsmap_head"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fsmap_head", IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fmh_iflags", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fmh_oflags", TypeSize: 4}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "fmh_count", TypeSize: 4}}, Buf: "fmh_recs"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fmh_entries", TypeSize: 4}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fmh_reserved", TypeSize: 48}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 8}}}, Kind: 1, RangeBegin: 6, RangeEnd: 6}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fmh_keys", TypeSize: 128}, Type: &StructType{Key: StructKey{Name: "fsmap"}}, Kind: 1, RangeBegin: 2, RangeEnd: 2}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fmh_recs", IsVarlen: true}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 64}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 64, RangeEnd: 64}}, + }}}, + {Key: StructKey{Name: "fstrim_range"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fstrim_range", TypeSize: 24}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "start", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "len", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "minlen", TypeSize: 8}}}, + }}}, {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}}}, @@ -8452,6 +8559,14 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vifc_rate_limit", TypeSize: 4}}}, }}}, + {Key: StructKey{Name: "move_extent"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "move_extent", TypeSize: 40}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "donor_fd", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "orig_start", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "donor_start", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "len", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "moved_len", TypeSize: 8}}}, + }}}, {Key: StructKey{Name: "mpls_label"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mpls_label", TypeSize: 4}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "ttl", TypeSize: 4}, ArgFormat: 1, BitfieldLen: 8, BitfieldMdl: true}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "s", TypeSize: 4}, ArgFormat: 1, BitfieldOff: 8, BitfieldLen: 1, BitfieldMdl: true}}, @@ -14270,6 +14385,22 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "virtio_net_hdr"}, FldName: "val"}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "void"}, Kind: 1}, }}}, + {Key: StructKey{Name: "overlay_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "overlay_options", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "fs_opt[\"lowerdir\", stringnoz[filename]]"}, FldName: "lowerdir"}, + &StructType{Key: StructKey{Name: "fs_opt[\"upperdir\", stringnoz[filename]]"}, FldName: "upperdir"}, + &StructType{Key: StructKey{Name: "fs_opt[\"workdir\", stringnoz[filename]]"}, FldName: "workdir"}, + &StructType{Key: StructKey{Name: "fs_opt[\"redirect_dir\", stringnoz[filename]]"}, FldName: "redirect_dir"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "default_permissions", TypeSize: 19}, Kind: 2, Values: []string{"default_permissions"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "index_on", TypeSize: 8}, Kind: 2, Values: []string{"index=on"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "index_off", TypeSize: 9}, Kind: 2, Values: []string{"index=off"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nfs_export_on", TypeSize: 13}, Kind: 2, Values: []string{"nfs_export=on"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nfs_export_off", TypeSize: 14}, Kind: 2, Values: []string{"nfs_export=off"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "xino_on", TypeSize: 7}, Kind: 2, Values: []string{"xino=on"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "xino_off", TypeSize: 8}, Kind: 2, Values: []string{"xino=off"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "xino_auto", TypeSize: 9}, Kind: 2, Values: []string{"xino=auto"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "metacopy_on", TypeSize: 11}, Kind: 2, Values: []string{"metacopy=on"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "metacopy_off", TypeSize: 12}, Kind: 2, Values: []string{"metacopy=off"}, NoZ: true}, + }}}, {Key: StructKey{Name: "p9_dir"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "p9_dir", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "p9_qid"}, FldName: "qid"}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "offset", TypeSize: 8}}}, @@ -20014,7 +20145,7 @@ var structDescs_amd64 = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, }}}, {Key: StructKey{Name: "xattr_name"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xattr_name", IsVarlen: true}, Fields: []Type{ - &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "known", IsVarlen: true}, Kind: 2, SubKind: "xattr_names", Values: []string{"system.posix_acl_access\x00", "system.posix_acl_default\x00", "system.advise\x00", "system.sockprotoname\x00", "com.apple.FinderInfo\x00", "com.apple.system.Security\x00", "user.syz\x00", "trusted.syz\x00", "security.evm\x00", "security.ima\x00", "security.selinux\x00", "security.capability\x00"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "known", IsVarlen: true}, Kind: 2, SubKind: "xattr_names", Values: []string{"system.posix_acl_access\x00", "system.posix_acl_default\x00", "system.advise\x00", "system.sockprotoname\x00", "com.apple.FinderInfo\x00", "com.apple.system.Security\x00", "user.syz\x00", "trusted.syz\x00", "security.evm\x00", "security.ima\x00", "security.selinux\x00", "security.capability\x00", "trusted.overlay.opaque\x00", "trusted.overlay.redirect\x00", "trusted.overlay.origin\x00", "trusted.overlay.impure\x00", "trusted.overlay.nlink\x00", "trusted.overlay.upper\x00", "trusted.overlay.metacopy\x00"}}, &StructType{Key: StructKey{Name: "xattr_name_random"}, FldName: "random"}, }}}, {Key: StructKey{Name: "xattr_name_random"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xattr_name_random", IsVarlen: true}, Fields: []Type{ @@ -25484,6 +25615,52 @@ 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$EXT4_IOC_ALLOC_DA_BLKS", 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: 26124}, + }}, + {NR: 16, Name: "ioctl$EXT4_IOC_GROUP_ADD", 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: 1076389384}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ext4_new_group_input"}}}, + }}, + {NR: 16, Name: "ioctl$EXT4_IOC_GROUP_EXTEND", 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: 1074292231}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}}, + }}, + {NR: 16, Name: "ioctl$EXT4_IOC_MIGRATE", 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: 26121}, + }}, + {NR: 16, Name: "ioctl$EXT4_IOC_MOVE_EXT", 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: 3223873039}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "move_extent"}}}, + }}, + {NR: 16, Name: "ioctl$EXT4_IOC_PRECACHE_EXTENTS", 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: 26130}, + }}, + {NR: 16, Name: "ioctl$EXT4_IOC_RESIZE_FS", 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: 1074292240}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, + }}, + {NR: 16, Name: "ioctl$EXT4_IOC_SETFLAGS", 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: 1074292226}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ext4_inode_flags", TypeSize: 8}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 536870912, 4194304, 16384, 32768, 65536, 131072, 524288}, BitMask: true}}, + }}, + {NR: 16, Name: "ioctl$EXT4_IOC_SHUTDOWN", 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: 2147768445}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ext4_shutdown_flags", TypeSize: 8}}, Vals: []uint64{0, 1, 2}, BitMask: true}}, + }}, + {NR: 16, Name: "ioctl$EXT4_IOC_SWAP_BOOT", 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: 26129}, + }}, {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}, @@ -25504,11 +25681,26 @@ var syscalls_amd64 = []*Syscall{ &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$FIGETBSZ", 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: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8, ArgDir: 1}}}}, + }}, {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$FITRIM", 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: 3222820985}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fstrim_range"}}}, + }}, + {NR: 16, Name: "ioctl$FS_IOC_FIEMAP", 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: 3223348747}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "v", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fiemap"}}}, + }}, {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}, @@ -25519,21 +25711,61 @@ var syscalls_amd64 = []*Syscall{ &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_GETFLAGS", 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: 2148034049}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8, ArgDir: 1}}}}, + }}, {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_GETFSMAP", 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: 3233830971}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fsmap_head"}}}, + }}, + {NR: 16, Name: "ioctl$FS_IOC_GETVERSION", 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: 2148038145}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8, ArgDir: 1}}}}, + }}, + {NR: 16, Name: "ioctl$FS_IOC_GET_ENCRYPTION_POLICY", 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: 1074554389}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 16, ArgDir: 1}, Kind: 1, RangeBegin: 16, RangeEnd: 16}}, + }}, + {NR: 16, Name: "ioctl$FS_IOC_GET_ENCRYPTION_PWSALT", 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: 1074816532}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fscrypt_policy", Dir: 1}}}, + }}, {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_SETFLAGS", 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: 1074292226}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}}, + }}, {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$FS_IOC_SETVERSION", 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: 1074296322}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}}, + }}, + {NR: 16, Name: "ioctl$FS_IOC_SET_ENCRYPTION_POLICY", 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: 2148296211}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fscrypt_policy"}}}, + }}, {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}, @@ -28302,11 +28534,6 @@ var syscalls_amd64 = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 22023}, }}, - {NR: 16, Name: "ioctl$fiemap", 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: 3223348747}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "v", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fiemap"}}}, - }}, {NR: 16, Name: "ioctl$ifreq_SIOCGIFINDEX_team", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35123}, @@ -29189,6 +29416,13 @@ var syscalls_amd64 = []*Syscall{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mount_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{4096, 128, 64, 8192, 1024, 4, 2048, 8, 2, 1, 2097152, 32, 32768, 16777216, 16, 16384, 65536, 131072, 262144, 524288, 1048576, 8388608, 33554432}, BitMask: true}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fuse_options"}}}, }}, + {NR: 165, Name: "mount$overlay", CallName: "mount", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "src", TypeSize: 8}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dst", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "type", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 8}, Kind: 2, Values: []string{"overlay\x00"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mount_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{4096, 128, 64, 8192, 1024, 4, 2048, 8, 2, 1, 2097152, 32, 32768, 16777216, 16, 16384, 65536, 131072, 262144, 524288, 1048576, 8388608, 33554432}, BitMask: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fs_options[overlay_options]"}}}, + }}, {NR: 279, Name: "move_pages", CallName: "move_pages", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nr", TypeSize: 8}}, Buf: "pages"}, @@ -35144,6 +35378,34 @@ var consts_amd64 = []ConstValue{ {Name: "EV_SND", Value: 18}, {Name: "EV_SW", Value: 5}, {Name: "EV_SYN"}, + {Name: "EXT4_APPEND_FL", Value: 32}, + {Name: "EXT4_COMPR_FL", Value: 4}, + {Name: "EXT4_DIRSYNC_FL", Value: 65536}, + {Name: "EXT4_EOFBLOCKS_FL", Value: 4194304}, + {Name: "EXT4_EXTENTS_FL", Value: 524288}, + {Name: "EXT4_GOING_FLAGS_DEFAULT"}, + {Name: "EXT4_GOING_FLAGS_LOGFLUSH", Value: 1}, + {Name: "EXT4_GOING_FLAGS_NOLOGFLUSH", Value: 2}, + {Name: "EXT4_IMMUTABLE_FL", Value: 16}, + {Name: "EXT4_IOC_ALLOC_DA_BLKS", Value: 26124}, + {Name: "EXT4_IOC_GROUP_ADD", Value: 1076389384}, + {Name: "EXT4_IOC_GROUP_EXTEND", Value: 1074292231}, + {Name: "EXT4_IOC_MIGRATE", Value: 26121}, + {Name: "EXT4_IOC_MOVE_EXT", Value: 3223873039}, + {Name: "EXT4_IOC_PRECACHE_EXTENTS", Value: 26130}, + {Name: "EXT4_IOC_RESIZE_FS", Value: 1074292240}, + {Name: "EXT4_IOC_SETFLAGS", Value: 1074292226}, + {Name: "EXT4_IOC_SHUTDOWN", Value: 2147768445}, + {Name: "EXT4_IOC_SWAP_BOOT", Value: 26129}, + {Name: "EXT4_JOURNAL_DATA_FL", Value: 16384}, + {Name: "EXT4_NOATIME_FL", Value: 128}, + {Name: "EXT4_NODUMP_FL", Value: 64}, + {Name: "EXT4_NOTAIL_FL", Value: 32768}, + {Name: "EXT4_PROJINHERIT_FL", Value: 536870912}, + {Name: "EXT4_SECRM_FL", Value: 1}, + {Name: "EXT4_SYNC_FL", Value: 8}, + {Name: "EXT4_TOPDIR_FL", Value: 131072}, + {Name: "EXT4_UNRM_FL", Value: 2}, {Name: "FALLOC_FL_COLLAPSE_RANGE", Value: 8}, {Name: "FALLOC_FL_INSERT_RANGE", Value: 32}, {Name: "FALLOC_FL_KEEP_SIZE", Value: 1}, @@ -35227,6 +35489,7 @@ var consts_amd64 = []ConstValue{ {Name: "FIOQSIZE", Value: 21600}, {Name: "FIOSETOWN", Value: 35073}, {Name: "FITHAW", Value: 3221510264}, + {Name: "FITRIM", Value: 3222820985}, {Name: "FLAT_BINDER_FLAG_ACCEPTS_FDS", Value: 256}, {Name: "FLOW_MODE_HASH", Value: 1}, {Name: "FLOW_MODE_MAP"}, @@ -35269,12 +35532,31 @@ var consts_amd64 = []ConstValue{ {Name: "FR_ACT_UNREACHABLE", Value: 7}, {Name: "FR_ACT_UNSPEC"}, {Name: "FSLABEL_MAX", Value: 256}, + {Name: "FSMAP_SIZE", Value: 64}, + {Name: "FS_ENCRYPTION_MODE_AES_128_CBC", Value: 5}, + {Name: "FS_ENCRYPTION_MODE_AES_128_CTS", Value: 6}, + {Name: "FS_ENCRYPTION_MODE_AES_256_CTS", Value: 4}, + {Name: "FS_ENCRYPTION_MODE_AES_256_XTS", Value: 1}, + {Name: "FS_ENCRYPTION_MODE_SPECK128_256_CTS", Value: 8}, + {Name: "FS_ENCRYPTION_MODE_SPECK128_256_XTS", Value: 7}, {Name: "FS_IOC_FIEMAP", Value: 3223348747}, {Name: "FS_IOC_FSGETXATTR", Value: 2149341215}, {Name: "FS_IOC_FSSETXATTR", Value: 1075599392}, + {Name: "FS_IOC_GETFLAGS", Value: 2148034049}, {Name: "FS_IOC_GETFSLABEL", Value: 2164298801}, + {Name: "FS_IOC_GETFSMAP", Value: 3233830971}, + {Name: "FS_IOC_GETVERSION", Value: 2148038145}, + {Name: "FS_IOC_GET_ENCRYPTION_POLICY", Value: 1074554389}, + {Name: "FS_IOC_GET_ENCRYPTION_PWSALT", Value: 1074816532}, {Name: "FS_IOC_RESVSP", Value: 1076910120}, + {Name: "FS_IOC_SETFLAGS", Value: 1074292226}, {Name: "FS_IOC_SETFSLABEL", Value: 1090556978}, + {Name: "FS_IOC_SETVERSION", Value: 1074296322}, + {Name: "FS_IOC_SET_ENCRYPTION_POLICY", Value: 2148296211}, + {Name: "FS_KEY_DESCRIPTOR_SIZE", Value: 8}, + {Name: "FS_POLICY_FLAGS_PAD_16", Value: 2}, + {Name: "FS_POLICY_FLAGS_PAD_4"}, + {Name: "FS_POLICY_FLAGS_PAD_8", Value: 1}, {Name: "FUSE_ABORT_ERROR", Value: 2097152}, {Name: "FUSE_ASYNC_DIO", Value: 32768}, {Name: "FUSE_ASYNC_READ", Value: 1}, @@ -40575,4 +40857,4 @@ var consts_amd64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_amd64 = "e924cc8d4ebbccfbc29af933eb33d7e34cc8946c" +const revision_amd64 = "33372e78675e3e5dc82af4f6da9b01c41ffc2544" diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go index e4af43017..1b363b062 100644 --- a/sys/linux/gen/arm.go +++ b/sys/linux/gen/arm.go @@ -3066,6 +3066,16 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a_trsize", TypeSize: 4}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a_drsize", TypeSize: 4}}}, }}}, + {Key: StructKey{Name: "ext4_new_group_input"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ext4_new_group_input", TypeSize: 40}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "group", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "block_bitmap", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "inode_bitmap", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "inode_table", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "blocks_count", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "reserved_blocks", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "unused", TypeSize: 2}}}, + }}}, {Key: StructKey{Name: "ext4_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ext4_options", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "bsddf", TypeSize: 5}, Kind: 2, Values: []string{"bsddf"}, NoZ: true}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "minixdf", TypeSize: 7}, Kind: 2, Values: []string{"minixdf"}, NoZ: true}, @@ -3812,6 +3822,11 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, }}}, + {Key: StructKey{Name: "fs_opt[\"lowerdir\", stringnoz[filename]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"lowerdir\", stringnoz[filename]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"lowerdir"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt[\"max_batch_time\", fmt[hex, int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"max_batch_time\", fmt[hex, int32]]", TypeSize: 33}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 14}, Kind: 2, Values: []string{"max_batch_time"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -3892,6 +3907,11 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 18}, ArgFormat: 3}}, }}}, + {Key: StructKey{Name: "fs_opt[\"redirect_dir\", stringnoz[filename]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"redirect_dir\", stringnoz[filename]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 12}, Kind: 2, Values: []string{"redirect_dir"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt[\"resgid\", fmt[hex, gid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"resgid\", fmt[hex, gid]]", TypeSize: 25}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 6}, Kind: 2, Values: []string{"resgid"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -4027,6 +4047,11 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, NoZ: true}, }}}, + {Key: StructKey{Name: "fs_opt[\"upperdir\", stringnoz[filename]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"upperdir\", stringnoz[filename]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"upperdir"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt[\"user_id\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"user_id\", fmt[dec, uid]]", TypeSize: 28}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 7}, Kind: 2, Values: []string{"user_id"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -4052,6 +4077,11 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", TypeSize: 18}, ArgFormat: 3}, }}}, + {Key: StructKey{Name: "fs_opt[\"workdir\", stringnoz[filename]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"workdir\", stringnoz[filename]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 7}, Kind: 2, Values: []string{"workdir"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt_elem[bpf_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[bpf_options]", IsVarlen: true}, Fields: []Type{ &UnionType{Key: StructKey{Name: "bpf_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, @@ -4100,6 +4130,10 @@ var structDescs_arm = []*KeyedStruct{ &UnionType{Key: StructKey{Name: "ntfs_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, }}}, + {Key: StructKey{Name: "fs_opt_elem[overlay_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[overlay_options]", IsVarlen: true}, Fields: []Type{ + &UnionType{Key: StructKey{Name: "overlay_options"}, FldName: "elem"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, + }}}, {Key: StructKey{Name: "fs_opt_elem[p9_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[p9_options]", IsVarlen: true}, Fields: []Type{ &UnionType{Key: StructKey{Name: "p9_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, @@ -4168,6 +4202,10 @@ var structDescs_arm = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[ntfs_options]"}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, }}}, + {Key: StructKey{Name: "fs_options[overlay_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_options[overlay_options]", IsVarlen: true}, Fields: []Type{ + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[overlay_options]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, + }}}, {Key: StructKey{Name: "fs_options[p9_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_options[p9_options]", IsVarlen: true}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[p9_options]"}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, @@ -4188,6 +4226,75 @@ 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: "fscrypt_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy", TypeSize: 12}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &UnionType{Key: StructKey{Name: "fscrypt_policy_mode"}, FldName: "mode"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_policy_flags", FldName: "flags", TypeSize: 1}}, Vals: []uint64{0, 1, 2}, BitMask: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "master_key_descriptor", TypeSize: 8}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + }}}, + {Key: StructKey{Name: "fscrypt_policy", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy", TypeSize: 12, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1, ArgDir: 1}}}, + &UnionType{Key: StructKey{Name: "fscrypt_policy_mode", Dir: 1}, FldName: "mode"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_policy_flags", FldName: "flags", TypeSize: 1, ArgDir: 1}}, Vals: []uint64{0, 1, 2}, BitMask: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "master_key_descriptor", TypeSize: 8, ArgDir: 1}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode", TypeSize: 2}, Fields: []Type{ + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]"}, FldName: "aes128"}, + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]"}, FldName: "aes256"}, + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]"}, FldName: "speck128"}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode", TypeSize: 2, ArgDir: 1}, Fields: []Type{ + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]", Dir: 1}, FldName: "aes128"}, + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]", Dir: 1}, FldName: "aes256"}, + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]", Dir: 1}, FldName: "speck128"}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]", TypeSize: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1}}, Val: 6}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]", TypeSize: 2, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 6}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]", TypeSize: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1}}, Val: 4}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]", TypeSize: 2, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 4}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]", TypeSize: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1}}, Val: 7}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1}}, Val: 8}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]", TypeSize: 2, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 7}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 8}, + }}}, + {Key: StructKey{Name: "fsmap"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fsmap", TypeSize: 64}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fmr_device", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fmr_flags", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "fmr_physical", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "fmr_owner", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "fmr_offset", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "fmr_length", TypeSize: 8}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fmr_reserved", TypeSize: 24}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 8}}}, Kind: 1, RangeBegin: 3, RangeEnd: 3}, + }}}, + {Key: StructKey{Name: "fsmap_head"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fsmap_head", IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fmh_iflags", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fmh_oflags", TypeSize: 4}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "fmh_count", TypeSize: 4}}, Buf: "fmh_recs"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fmh_entries", TypeSize: 4}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fmh_reserved", TypeSize: 48}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 8}}}, Kind: 1, RangeBegin: 6, RangeEnd: 6}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fmh_keys", TypeSize: 128}, Type: &StructType{Key: StructKey{Name: "fsmap"}}, Kind: 1, RangeBegin: 2, RangeEnd: 2}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fmh_recs", IsVarlen: true}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 64}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 64, RangeEnd: 64}}, + }}}, + {Key: StructKey{Name: "fstrim_range"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fstrim_range", TypeSize: 24}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "start", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "len", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "minlen", TypeSize: 8}}}, + }}}, {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}}}, @@ -8170,6 +8277,14 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vifc_rate_limit", TypeSize: 4}}}, }}}, + {Key: StructKey{Name: "move_extent"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "move_extent", TypeSize: 40}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "donor_fd", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "orig_start", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "donor_start", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "len", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "moved_len", TypeSize: 8}}}, + }}}, {Key: StructKey{Name: "mpls_label"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mpls_label", TypeSize: 4}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "ttl", TypeSize: 4}, ArgFormat: 1, BitfieldLen: 8, BitfieldMdl: true}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "s", TypeSize: 4}, ArgFormat: 1, BitfieldOff: 8, BitfieldLen: 1, BitfieldMdl: true}}, @@ -13908,6 +14023,22 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "virtio_net_hdr"}, FldName: "val"}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "void"}, Kind: 1}, }}}, + {Key: StructKey{Name: "overlay_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "overlay_options", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "fs_opt[\"lowerdir\", stringnoz[filename]]"}, FldName: "lowerdir"}, + &StructType{Key: StructKey{Name: "fs_opt[\"upperdir\", stringnoz[filename]]"}, FldName: "upperdir"}, + &StructType{Key: StructKey{Name: "fs_opt[\"workdir\", stringnoz[filename]]"}, FldName: "workdir"}, + &StructType{Key: StructKey{Name: "fs_opt[\"redirect_dir\", stringnoz[filename]]"}, FldName: "redirect_dir"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "default_permissions", TypeSize: 19}, Kind: 2, Values: []string{"default_permissions"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "index_on", TypeSize: 8}, Kind: 2, Values: []string{"index=on"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "index_off", TypeSize: 9}, Kind: 2, Values: []string{"index=off"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nfs_export_on", TypeSize: 13}, Kind: 2, Values: []string{"nfs_export=on"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nfs_export_off", TypeSize: 14}, Kind: 2, Values: []string{"nfs_export=off"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "xino_on", TypeSize: 7}, Kind: 2, Values: []string{"xino=on"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "xino_off", TypeSize: 8}, Kind: 2, Values: []string{"xino=off"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "xino_auto", TypeSize: 9}, Kind: 2, Values: []string{"xino=auto"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "metacopy_on", TypeSize: 11}, Kind: 2, Values: []string{"metacopy=on"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "metacopy_off", TypeSize: 12}, Kind: 2, Values: []string{"metacopy=off"}, NoZ: true}, + }}}, {Key: StructKey{Name: "p9_dir"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "p9_dir", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "p9_qid"}, FldName: "qid"}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "offset", TypeSize: 8}}}, @@ -19555,7 +19686,7 @@ var structDescs_arm = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, }}}, {Key: StructKey{Name: "xattr_name"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xattr_name", IsVarlen: true}, Fields: []Type{ - &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "known", IsVarlen: true}, Kind: 2, SubKind: "xattr_names", Values: []string{"system.posix_acl_access\x00", "system.posix_acl_default\x00", "system.advise\x00", "system.sockprotoname\x00", "com.apple.FinderInfo\x00", "com.apple.system.Security\x00", "user.syz\x00", "trusted.syz\x00", "security.evm\x00", "security.ima\x00", "security.selinux\x00", "security.capability\x00"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "known", IsVarlen: true}, Kind: 2, SubKind: "xattr_names", Values: []string{"system.posix_acl_access\x00", "system.posix_acl_default\x00", "system.advise\x00", "system.sockprotoname\x00", "com.apple.FinderInfo\x00", "com.apple.system.Security\x00", "user.syz\x00", "trusted.syz\x00", "security.evm\x00", "security.ima\x00", "security.selinux\x00", "security.capability\x00", "trusted.overlay.opaque\x00", "trusted.overlay.redirect\x00", "trusted.overlay.origin\x00", "trusted.overlay.impure\x00", "trusted.overlay.nlink\x00", "trusted.overlay.upper\x00", "trusted.overlay.metacopy\x00"}}, &StructType{Key: StructKey{Name: "xattr_name_random"}, FldName: "random"}, }}}, {Key: StructKey{Name: "xattr_name_random"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xattr_name_random", IsVarlen: true}, Fields: []Type{ @@ -24929,6 +25060,52 @@ 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$EXT4_IOC_ALLOC_DA_BLKS", 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: 26124}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_GROUP_ADD", 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: 1076127240}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "ext4_new_group_input"}}}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_GROUP_EXTEND", 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: 1074030087}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4}}}}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_MIGRATE", 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: 26121}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_MOVE_EXT", 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: 3223873039}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "move_extent"}}}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_PRECACHE_EXTENTS", 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: 26130}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_RESIZE_FS", 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: 1074292240}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_SETFLAGS", 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: 1074030082}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ext4_inode_flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 536870912, 4194304, 16384, 32768, 65536, 131072, 524288}, BitMask: true}}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_SHUTDOWN", 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: 2147768445}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ext4_shutdown_flags", TypeSize: 8}}, Vals: []uint64{0, 1, 2}, BitMask: true}}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_SWAP_BOOT", 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: 26129}, + }}, {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}, @@ -24949,11 +25126,26 @@ var syscalls_arm = []*Syscall{ &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$FIGETBSZ", 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: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4, ArgDir: 1}}}}, + }}, {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$FITRIM", 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: 3222820985}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fstrim_range"}}}, + }}, + {NR: 54, Name: "ioctl$FS_IOC_FIEMAP", 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: 3223348747}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "v", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fiemap"}}}, + }}, {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}, @@ -24964,21 +25156,61 @@ var syscalls_arm = []*Syscall{ &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_GETFLAGS", 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: 2147771905}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4, ArgDir: 1}}}}, + }}, {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_GETFSMAP", 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: 3233830971}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fsmap_head"}}}, + }}, + {NR: 54, Name: "ioctl$FS_IOC_GETVERSION", 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: 2147776001}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4, ArgDir: 1}}}}, + }}, + {NR: 54, Name: "ioctl$FS_IOC_GET_ENCRYPTION_POLICY", 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: 1074554389}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 16, ArgDir: 1}, Kind: 1, RangeBegin: 16, RangeEnd: 16}}, + }}, + {NR: 54, Name: "ioctl$FS_IOC_GET_ENCRYPTION_PWSALT", 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: 1074816532}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fscrypt_policy", Dir: 1}}}, + }}, {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_SETFLAGS", 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: 1074030082}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4}}}}, + }}, {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$FS_IOC_SETVERSION", 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: 1074034178}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4}}}}, + }}, + {NR: 54, Name: "ioctl$FS_IOC_SET_ENCRYPTION_POLICY", 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: 2148296211}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fscrypt_policy"}}}, + }}, {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}, @@ -27612,11 +27844,6 @@ var syscalls_arm = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 22023}, }}, - {NR: 54, Name: "ioctl$fiemap", 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: 3223348747}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "v", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fiemap"}}}, - }}, {NR: 54, Name: "ioctl$ifreq_SIOCGIFINDEX_team", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35123}, @@ -28465,6 +28692,13 @@ var syscalls_arm = []*Syscall{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mount_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{4096, 128, 64, 8192, 1024, 4, 2048, 8, 2, 1, 2097152, 32, 32768, 16777216, 16, 16384, 65536, 131072, 262144, 524288, 1048576, 8388608, 33554432}, BitMask: true}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fuse_options"}}}, }}, + {NR: 21, Name: "mount$overlay", CallName: "mount", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "src", TypeSize: 4}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dst", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "type", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 8}, Kind: 2, Values: []string{"overlay\x00"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mount_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{4096, 128, 64, 8192, 1024, 4, 2048, 8, 2, 1, 2097152, 32, 32768, 16777216, 16, 16384, 65536, 131072, 262144, 524288, 1048576, 8388608, 33554432}, BitMask: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fs_options[overlay_options]"}}}, + }}, {NR: 344, Name: "move_pages", CallName: "move_pages", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nr", TypeSize: 4}}, Buf: "pages"}, @@ -34403,6 +34637,34 @@ var consts_arm = []ConstValue{ {Name: "EV_SND", Value: 18}, {Name: "EV_SW", Value: 5}, {Name: "EV_SYN"}, + {Name: "EXT4_APPEND_FL", Value: 32}, + {Name: "EXT4_COMPR_FL", Value: 4}, + {Name: "EXT4_DIRSYNC_FL", Value: 65536}, + {Name: "EXT4_EOFBLOCKS_FL", Value: 4194304}, + {Name: "EXT4_EXTENTS_FL", Value: 524288}, + {Name: "EXT4_GOING_FLAGS_DEFAULT"}, + {Name: "EXT4_GOING_FLAGS_LOGFLUSH", Value: 1}, + {Name: "EXT4_GOING_FLAGS_NOLOGFLUSH", Value: 2}, + {Name: "EXT4_IMMUTABLE_FL", Value: 16}, + {Name: "EXT4_IOC_ALLOC_DA_BLKS", Value: 26124}, + {Name: "EXT4_IOC_GROUP_ADD", Value: 1076127240}, + {Name: "EXT4_IOC_GROUP_EXTEND", Value: 1074030087}, + {Name: "EXT4_IOC_MIGRATE", Value: 26121}, + {Name: "EXT4_IOC_MOVE_EXT", Value: 3223873039}, + {Name: "EXT4_IOC_PRECACHE_EXTENTS", Value: 26130}, + {Name: "EXT4_IOC_RESIZE_FS", Value: 1074292240}, + {Name: "EXT4_IOC_SETFLAGS", Value: 1074030082}, + {Name: "EXT4_IOC_SHUTDOWN", Value: 2147768445}, + {Name: "EXT4_IOC_SWAP_BOOT", Value: 26129}, + {Name: "EXT4_JOURNAL_DATA_FL", Value: 16384}, + {Name: "EXT4_NOATIME_FL", Value: 128}, + {Name: "EXT4_NODUMP_FL", Value: 64}, + {Name: "EXT4_NOTAIL_FL", Value: 32768}, + {Name: "EXT4_PROJINHERIT_FL", Value: 536870912}, + {Name: "EXT4_SECRM_FL", Value: 1}, + {Name: "EXT4_SYNC_FL", Value: 8}, + {Name: "EXT4_TOPDIR_FL", Value: 131072}, + {Name: "EXT4_UNRM_FL", Value: 2}, {Name: "FALLOC_FL_COLLAPSE_RANGE", Value: 8}, {Name: "FALLOC_FL_INSERT_RANGE", Value: 32}, {Name: "FALLOC_FL_KEEP_SIZE", Value: 1}, @@ -34486,6 +34748,7 @@ var consts_arm = []ConstValue{ {Name: "FIOQSIZE", Value: 21598}, {Name: "FIOSETOWN", Value: 35073}, {Name: "FITHAW", Value: 3221510264}, + {Name: "FITRIM", Value: 3222820985}, {Name: "FLAT_BINDER_FLAG_ACCEPTS_FDS", Value: 256}, {Name: "FLOW_MODE_HASH", Value: 1}, {Name: "FLOW_MODE_MAP"}, @@ -34528,12 +34791,31 @@ var consts_arm = []ConstValue{ {Name: "FR_ACT_UNREACHABLE", Value: 7}, {Name: "FR_ACT_UNSPEC"}, {Name: "FSLABEL_MAX", Value: 256}, + {Name: "FSMAP_SIZE", Value: 64}, + {Name: "FS_ENCRYPTION_MODE_AES_128_CBC", Value: 5}, + {Name: "FS_ENCRYPTION_MODE_AES_128_CTS", Value: 6}, + {Name: "FS_ENCRYPTION_MODE_AES_256_CTS", Value: 4}, + {Name: "FS_ENCRYPTION_MODE_AES_256_XTS", Value: 1}, + {Name: "FS_ENCRYPTION_MODE_SPECK128_256_CTS", Value: 8}, + {Name: "FS_ENCRYPTION_MODE_SPECK128_256_XTS", Value: 7}, {Name: "FS_IOC_FIEMAP", Value: 3223348747}, {Name: "FS_IOC_FSGETXATTR", Value: 2149341215}, {Name: "FS_IOC_FSSETXATTR", Value: 1075599392}, + {Name: "FS_IOC_GETFLAGS", Value: 2147771905}, {Name: "FS_IOC_GETFSLABEL", Value: 2164298801}, + {Name: "FS_IOC_GETFSMAP", Value: 3233830971}, + {Name: "FS_IOC_GETVERSION", Value: 2147776001}, + {Name: "FS_IOC_GET_ENCRYPTION_POLICY", Value: 1074554389}, + {Name: "FS_IOC_GET_ENCRYPTION_PWSALT", Value: 1074816532}, {Name: "FS_IOC_RESVSP", Value: 1076647976}, + {Name: "FS_IOC_SETFLAGS", Value: 1074030082}, {Name: "FS_IOC_SETFSLABEL", Value: 1090556978}, + {Name: "FS_IOC_SETVERSION", Value: 1074034178}, + {Name: "FS_IOC_SET_ENCRYPTION_POLICY", Value: 2148296211}, + {Name: "FS_KEY_DESCRIPTOR_SIZE", Value: 8}, + {Name: "FS_POLICY_FLAGS_PAD_16", Value: 2}, + {Name: "FS_POLICY_FLAGS_PAD_4"}, + {Name: "FS_POLICY_FLAGS_PAD_8", Value: 1}, {Name: "FUSE_ABORT_ERROR", Value: 2097152}, {Name: "FUSE_ASYNC_DIO", Value: 32768}, {Name: "FUSE_ASYNC_READ", Value: 1}, @@ -39755,4 +40037,4 @@ var consts_arm = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm = "ddb7b318ae5be82f0e3f939726efff84d9755b43" +const revision_arm = "9dd20e4161d6cbff9b6f8d43607b987c5ccfac61" diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go index 3f1af1514..fd63523e6 100644 --- a/sys/linux/gen/arm64.go +++ b/sys/linux/gen/arm64.go @@ -3145,6 +3145,16 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a_trsize", TypeSize: 4}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a_drsize", TypeSize: 4}}}, }}}, + {Key: StructKey{Name: "ext4_new_group_input"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ext4_new_group_input", TypeSize: 40}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "group", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "block_bitmap", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "inode_bitmap", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "inode_table", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "blocks_count", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "reserved_blocks", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "unused", TypeSize: 2}}}, + }}}, {Key: StructKey{Name: "ext4_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ext4_options", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "bsddf", TypeSize: 5}, Kind: 2, Values: []string{"bsddf"}, NoZ: true}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "minixdf", TypeSize: 7}, Kind: 2, Values: []string{"minixdf"}, NoZ: true}, @@ -3893,6 +3903,11 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, }}}, + {Key: StructKey{Name: "fs_opt[\"lowerdir\", stringnoz[filename]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"lowerdir\", stringnoz[filename]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"lowerdir"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt[\"max_batch_time\", fmt[hex, int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"max_batch_time\", fmt[hex, int32]]", TypeSize: 33}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 14}, Kind: 2, Values: []string{"max_batch_time"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -3973,6 +3988,11 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 18}, ArgFormat: 3}}, }}}, + {Key: StructKey{Name: "fs_opt[\"redirect_dir\", stringnoz[filename]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"redirect_dir\", stringnoz[filename]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 12}, Kind: 2, Values: []string{"redirect_dir"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt[\"resgid\", fmt[hex, gid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"resgid\", fmt[hex, gid]]", TypeSize: 25}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 6}, Kind: 2, Values: []string{"resgid"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -4108,6 +4128,11 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, NoZ: true}, }}}, + {Key: StructKey{Name: "fs_opt[\"upperdir\", stringnoz[filename]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"upperdir\", stringnoz[filename]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"upperdir"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt[\"user_id\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"user_id\", fmt[dec, uid]]", TypeSize: 28}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 7}, Kind: 2, Values: []string{"user_id"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -4133,6 +4158,11 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", TypeSize: 18}, ArgFormat: 3}, }}}, + {Key: StructKey{Name: "fs_opt[\"workdir\", stringnoz[filename]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"workdir\", stringnoz[filename]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 7}, Kind: 2, Values: []string{"workdir"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt_elem[bpf_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[bpf_options]", IsVarlen: true}, Fields: []Type{ &UnionType{Key: StructKey{Name: "bpf_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, @@ -4181,6 +4211,10 @@ var structDescs_arm64 = []*KeyedStruct{ &UnionType{Key: StructKey{Name: "ntfs_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, }}}, + {Key: StructKey{Name: "fs_opt_elem[overlay_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[overlay_options]", IsVarlen: true}, Fields: []Type{ + &UnionType{Key: StructKey{Name: "overlay_options"}, FldName: "elem"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, + }}}, {Key: StructKey{Name: "fs_opt_elem[p9_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[p9_options]", IsVarlen: true}, Fields: []Type{ &UnionType{Key: StructKey{Name: "p9_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, @@ -4249,6 +4283,10 @@ var structDescs_arm64 = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[ntfs_options]"}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, }}}, + {Key: StructKey{Name: "fs_options[overlay_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_options[overlay_options]", IsVarlen: true}, Fields: []Type{ + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[overlay_options]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, + }}}, {Key: StructKey{Name: "fs_options[p9_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_options[p9_options]", IsVarlen: true}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[p9_options]"}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, @@ -4269,6 +4307,75 @@ 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: "fscrypt_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy", TypeSize: 12}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &UnionType{Key: StructKey{Name: "fscrypt_policy_mode"}, FldName: "mode"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_policy_flags", FldName: "flags", TypeSize: 1}}, Vals: []uint64{0, 1, 2}, BitMask: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "master_key_descriptor", TypeSize: 8}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + }}}, + {Key: StructKey{Name: "fscrypt_policy", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy", TypeSize: 12, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1, ArgDir: 1}}}, + &UnionType{Key: StructKey{Name: "fscrypt_policy_mode", Dir: 1}, FldName: "mode"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_policy_flags", FldName: "flags", TypeSize: 1, ArgDir: 1}}, Vals: []uint64{0, 1, 2}, BitMask: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "master_key_descriptor", TypeSize: 8, ArgDir: 1}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode", TypeSize: 2}, Fields: []Type{ + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]"}, FldName: "aes128"}, + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]"}, FldName: "aes256"}, + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]"}, FldName: "speck128"}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode", TypeSize: 2, ArgDir: 1}, Fields: []Type{ + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]", Dir: 1}, FldName: "aes128"}, + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]", Dir: 1}, FldName: "aes256"}, + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]", Dir: 1}, FldName: "speck128"}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]", TypeSize: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1}}, Val: 6}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]", TypeSize: 2, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 6}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]", TypeSize: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1}}, Val: 4}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]", TypeSize: 2, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 4}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]", TypeSize: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1}}, Val: 7}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1}}, Val: 8}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]", TypeSize: 2, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 7}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 8}, + }}}, + {Key: StructKey{Name: "fsmap"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fsmap", TypeSize: 64}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fmr_device", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fmr_flags", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "fmr_physical", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "fmr_owner", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "fmr_offset", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "fmr_length", TypeSize: 8}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fmr_reserved", TypeSize: 24}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 8}}}, Kind: 1, RangeBegin: 3, RangeEnd: 3}, + }}}, + {Key: StructKey{Name: "fsmap_head"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fsmap_head", IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fmh_iflags", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fmh_oflags", TypeSize: 4}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "fmh_count", TypeSize: 4}}, Buf: "fmh_recs"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fmh_entries", TypeSize: 4}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fmh_reserved", TypeSize: 48}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 8}}}, Kind: 1, RangeBegin: 6, RangeEnd: 6}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fmh_keys", TypeSize: 128}, Type: &StructType{Key: StructKey{Name: "fsmap"}}, Kind: 1, RangeBegin: 2, RangeEnd: 2}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fmh_recs", IsVarlen: true}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 64}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 64, RangeEnd: 64}}, + }}}, + {Key: StructKey{Name: "fstrim_range"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fstrim_range", TypeSize: 24}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "start", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "len", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "minlen", TypeSize: 8}}}, + }}}, {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}}}, @@ -8269,6 +8376,14 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vifc_rate_limit", TypeSize: 4}}}, }}}, + {Key: StructKey{Name: "move_extent"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "move_extent", TypeSize: 40}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "donor_fd", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "orig_start", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "donor_start", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "len", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "moved_len", TypeSize: 8}}}, + }}}, {Key: StructKey{Name: "mpls_label"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mpls_label", TypeSize: 4}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "ttl", TypeSize: 4}, ArgFormat: 1, BitfieldLen: 8, BitfieldMdl: true}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "s", TypeSize: 4}, ArgFormat: 1, BitfieldOff: 8, BitfieldLen: 1, BitfieldMdl: true}}, @@ -14087,6 +14202,22 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "virtio_net_hdr"}, FldName: "val"}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "void"}, Kind: 1}, }}}, + {Key: StructKey{Name: "overlay_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "overlay_options", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "fs_opt[\"lowerdir\", stringnoz[filename]]"}, FldName: "lowerdir"}, + &StructType{Key: StructKey{Name: "fs_opt[\"upperdir\", stringnoz[filename]]"}, FldName: "upperdir"}, + &StructType{Key: StructKey{Name: "fs_opt[\"workdir\", stringnoz[filename]]"}, FldName: "workdir"}, + &StructType{Key: StructKey{Name: "fs_opt[\"redirect_dir\", stringnoz[filename]]"}, FldName: "redirect_dir"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "default_permissions", TypeSize: 19}, Kind: 2, Values: []string{"default_permissions"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "index_on", TypeSize: 8}, Kind: 2, Values: []string{"index=on"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "index_off", TypeSize: 9}, Kind: 2, Values: []string{"index=off"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nfs_export_on", TypeSize: 13}, Kind: 2, Values: []string{"nfs_export=on"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nfs_export_off", TypeSize: 14}, Kind: 2, Values: []string{"nfs_export=off"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "xino_on", TypeSize: 7}, Kind: 2, Values: []string{"xino=on"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "xino_off", TypeSize: 8}, Kind: 2, Values: []string{"xino=off"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "xino_auto", TypeSize: 9}, Kind: 2, Values: []string{"xino=auto"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "metacopy_on", TypeSize: 11}, Kind: 2, Values: []string{"metacopy=on"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "metacopy_off", TypeSize: 12}, Kind: 2, Values: []string{"metacopy=off"}, NoZ: true}, + }}}, {Key: StructKey{Name: "p9_dir"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "p9_dir", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "p9_qid"}, FldName: "qid"}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "offset", TypeSize: 8}}}, @@ -19806,7 +19937,7 @@ var structDescs_arm64 = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, }}}, {Key: StructKey{Name: "xattr_name"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xattr_name", IsVarlen: true}, Fields: []Type{ - &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "known", IsVarlen: true}, Kind: 2, SubKind: "xattr_names", Values: []string{"system.posix_acl_access\x00", "system.posix_acl_default\x00", "system.advise\x00", "system.sockprotoname\x00", "com.apple.FinderInfo\x00", "com.apple.system.Security\x00", "user.syz\x00", "trusted.syz\x00", "security.evm\x00", "security.ima\x00", "security.selinux\x00", "security.capability\x00"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "known", IsVarlen: true}, Kind: 2, SubKind: "xattr_names", Values: []string{"system.posix_acl_access\x00", "system.posix_acl_default\x00", "system.advise\x00", "system.sockprotoname\x00", "com.apple.FinderInfo\x00", "com.apple.system.Security\x00", "user.syz\x00", "trusted.syz\x00", "security.evm\x00", "security.ima\x00", "security.selinux\x00", "security.capability\x00", "trusted.overlay.opaque\x00", "trusted.overlay.redirect\x00", "trusted.overlay.origin\x00", "trusted.overlay.impure\x00", "trusted.overlay.nlink\x00", "trusted.overlay.upper\x00", "trusted.overlay.metacopy\x00"}}, &StructType{Key: StructKey{Name: "xattr_name_random"}, FldName: "random"}, }}}, {Key: StructKey{Name: "xattr_name_random"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xattr_name_random", IsVarlen: true}, Fields: []Type{ @@ -25223,6 +25354,52 @@ 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$EXT4_IOC_ALLOC_DA_BLKS", 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: 26124}, + }}, + {NR: 29, Name: "ioctl$EXT4_IOC_GROUP_ADD", 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: 1076389384}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ext4_new_group_input"}}}, + }}, + {NR: 29, Name: "ioctl$EXT4_IOC_GROUP_EXTEND", 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: 1074292231}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}}, + }}, + {NR: 29, Name: "ioctl$EXT4_IOC_MIGRATE", 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: 26121}, + }}, + {NR: 29, Name: "ioctl$EXT4_IOC_MOVE_EXT", 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: 3223873039}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "move_extent"}}}, + }}, + {NR: 29, Name: "ioctl$EXT4_IOC_PRECACHE_EXTENTS", 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: 26130}, + }}, + {NR: 29, Name: "ioctl$EXT4_IOC_RESIZE_FS", 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: 1074292240}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, + }}, + {NR: 29, Name: "ioctl$EXT4_IOC_SETFLAGS", 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: 1074292226}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ext4_inode_flags", TypeSize: 8}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 536870912, 4194304, 16384, 32768, 65536, 131072, 524288}, BitMask: true}}, + }}, + {NR: 29, Name: "ioctl$EXT4_IOC_SHUTDOWN", 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: 2147768445}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ext4_shutdown_flags", TypeSize: 8}}, Vals: []uint64{0, 1, 2}, BitMask: true}}, + }}, + {NR: 29, Name: "ioctl$EXT4_IOC_SWAP_BOOT", 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: 26129}, + }}, {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}, @@ -25243,11 +25420,26 @@ var syscalls_arm64 = []*Syscall{ &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$FIGETBSZ", 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: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8, ArgDir: 1}}}}, + }}, {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$FITRIM", 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: 3222820985}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fstrim_range"}}}, + }}, + {NR: 29, Name: "ioctl$FS_IOC_FIEMAP", 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: 3223348747}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "v", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fiemap"}}}, + }}, {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}, @@ -25258,21 +25450,61 @@ var syscalls_arm64 = []*Syscall{ &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_GETFLAGS", 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: 2148034049}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8, ArgDir: 1}}}}, + }}, {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_GETFSMAP", 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: 3233830971}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fsmap_head"}}}, + }}, + {NR: 29, Name: "ioctl$FS_IOC_GETVERSION", 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: 2148038145}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8, ArgDir: 1}}}}, + }}, + {NR: 29, Name: "ioctl$FS_IOC_GET_ENCRYPTION_POLICY", 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: 1074554389}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 16, ArgDir: 1}, Kind: 1, RangeBegin: 16, RangeEnd: 16}}, + }}, + {NR: 29, Name: "ioctl$FS_IOC_GET_ENCRYPTION_PWSALT", 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: 1074816532}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fscrypt_policy", Dir: 1}}}, + }}, {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_SETFLAGS", 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: 1074292226}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}}, + }}, {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$FS_IOC_SETVERSION", 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: 1074296322}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}}, + }}, + {NR: 29, Name: "ioctl$FS_IOC_SET_ENCRYPTION_POLICY", 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: 2148296211}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fscrypt_policy"}}}, + }}, {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}, @@ -27926,11 +28158,6 @@ var syscalls_arm64 = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 22023}, }}, - {NR: 29, Name: "ioctl$fiemap", 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: 3223348747}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "v", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fiemap"}}}, - }}, {NR: 29, Name: "ioctl$ifreq_SIOCGIFINDEX_team", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35123}, @@ -28758,6 +28985,13 @@ var syscalls_arm64 = []*Syscall{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mount_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{4096, 128, 64, 8192, 1024, 4, 2048, 8, 2, 1, 2097152, 32, 32768, 16777216, 16, 16384, 65536, 131072, 262144, 524288, 1048576, 8388608, 33554432}, BitMask: true}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fuse_options"}}}, }}, + {NR: 40, Name: "mount$overlay", CallName: "mount", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "src", TypeSize: 8}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dst", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "type", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 8}, Kind: 2, Values: []string{"overlay\x00"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mount_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{4096, 128, 64, 8192, 1024, 4, 2048, 8, 2, 1, 2097152, 32, 32768, 16777216, 16, 16384, 65536, 131072, 262144, 524288, 1048576, 8388608, 33554432}, BitMask: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fs_options[overlay_options]"}}}, + }}, {NR: 239, Name: "move_pages", CallName: "move_pages", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nr", TypeSize: 8}}, Buf: "pages"}, @@ -34626,6 +34860,34 @@ var consts_arm64 = []ConstValue{ {Name: "EV_SND", Value: 18}, {Name: "EV_SW", Value: 5}, {Name: "EV_SYN"}, + {Name: "EXT4_APPEND_FL", Value: 32}, + {Name: "EXT4_COMPR_FL", Value: 4}, + {Name: "EXT4_DIRSYNC_FL", Value: 65536}, + {Name: "EXT4_EOFBLOCKS_FL", Value: 4194304}, + {Name: "EXT4_EXTENTS_FL", Value: 524288}, + {Name: "EXT4_GOING_FLAGS_DEFAULT"}, + {Name: "EXT4_GOING_FLAGS_LOGFLUSH", Value: 1}, + {Name: "EXT4_GOING_FLAGS_NOLOGFLUSH", Value: 2}, + {Name: "EXT4_IMMUTABLE_FL", Value: 16}, + {Name: "EXT4_IOC_ALLOC_DA_BLKS", Value: 26124}, + {Name: "EXT4_IOC_GROUP_ADD", Value: 1076389384}, + {Name: "EXT4_IOC_GROUP_EXTEND", Value: 1074292231}, + {Name: "EXT4_IOC_MIGRATE", Value: 26121}, + {Name: "EXT4_IOC_MOVE_EXT", Value: 3223873039}, + {Name: "EXT4_IOC_PRECACHE_EXTENTS", Value: 26130}, + {Name: "EXT4_IOC_RESIZE_FS", Value: 1074292240}, + {Name: "EXT4_IOC_SETFLAGS", Value: 1074292226}, + {Name: "EXT4_IOC_SHUTDOWN", Value: 2147768445}, + {Name: "EXT4_IOC_SWAP_BOOT", Value: 26129}, + {Name: "EXT4_JOURNAL_DATA_FL", Value: 16384}, + {Name: "EXT4_NOATIME_FL", Value: 128}, + {Name: "EXT4_NODUMP_FL", Value: 64}, + {Name: "EXT4_NOTAIL_FL", Value: 32768}, + {Name: "EXT4_PROJINHERIT_FL", Value: 536870912}, + {Name: "EXT4_SECRM_FL", Value: 1}, + {Name: "EXT4_SYNC_FL", Value: 8}, + {Name: "EXT4_TOPDIR_FL", Value: 131072}, + {Name: "EXT4_UNRM_FL", Value: 2}, {Name: "FALLOC_FL_COLLAPSE_RANGE", Value: 8}, {Name: "FALLOC_FL_INSERT_RANGE", Value: 32}, {Name: "FALLOC_FL_KEEP_SIZE", Value: 1}, @@ -34709,6 +34971,7 @@ var consts_arm64 = []ConstValue{ {Name: "FIOQSIZE", Value: 21600}, {Name: "FIOSETOWN", Value: 35073}, {Name: "FITHAW", Value: 3221510264}, + {Name: "FITRIM", Value: 3222820985}, {Name: "FLAT_BINDER_FLAG_ACCEPTS_FDS", Value: 256}, {Name: "FLOW_MODE_HASH", Value: 1}, {Name: "FLOW_MODE_MAP"}, @@ -34751,12 +35014,31 @@ var consts_arm64 = []ConstValue{ {Name: "FR_ACT_UNREACHABLE", Value: 7}, {Name: "FR_ACT_UNSPEC"}, {Name: "FSLABEL_MAX", Value: 256}, + {Name: "FSMAP_SIZE", Value: 64}, + {Name: "FS_ENCRYPTION_MODE_AES_128_CBC", Value: 5}, + {Name: "FS_ENCRYPTION_MODE_AES_128_CTS", Value: 6}, + {Name: "FS_ENCRYPTION_MODE_AES_256_CTS", Value: 4}, + {Name: "FS_ENCRYPTION_MODE_AES_256_XTS", Value: 1}, + {Name: "FS_ENCRYPTION_MODE_SPECK128_256_CTS", Value: 8}, + {Name: "FS_ENCRYPTION_MODE_SPECK128_256_XTS", Value: 7}, {Name: "FS_IOC_FIEMAP", Value: 3223348747}, {Name: "FS_IOC_FSGETXATTR", Value: 2149341215}, {Name: "FS_IOC_FSSETXATTR", Value: 1075599392}, + {Name: "FS_IOC_GETFLAGS", Value: 2148034049}, {Name: "FS_IOC_GETFSLABEL", Value: 2164298801}, + {Name: "FS_IOC_GETFSMAP", Value: 3233830971}, + {Name: "FS_IOC_GETVERSION", Value: 2148038145}, + {Name: "FS_IOC_GET_ENCRYPTION_POLICY", Value: 1074554389}, + {Name: "FS_IOC_GET_ENCRYPTION_PWSALT", Value: 1074816532}, {Name: "FS_IOC_RESVSP", Value: 1076910120}, + {Name: "FS_IOC_SETFLAGS", Value: 1074292226}, {Name: "FS_IOC_SETFSLABEL", Value: 1090556978}, + {Name: "FS_IOC_SETVERSION", Value: 1074296322}, + {Name: "FS_IOC_SET_ENCRYPTION_POLICY", Value: 2148296211}, + {Name: "FS_KEY_DESCRIPTOR_SIZE", Value: 8}, + {Name: "FS_POLICY_FLAGS_PAD_16", Value: 2}, + {Name: "FS_POLICY_FLAGS_PAD_4"}, + {Name: "FS_POLICY_FLAGS_PAD_8", Value: 1}, {Name: "FUSE_ABORT_ERROR", Value: 2097152}, {Name: "FUSE_ASYNC_DIO", Value: 32768}, {Name: "FUSE_ASYNC_READ", Value: 1}, @@ -39969,4 +40251,4 @@ var consts_arm64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm64 = "ef0f71b538b41ef1b53876986ebbb854b51f1b9e" +const revision_arm64 = "e9599de96431bd43043a28d423bf4923cc867878" diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go index e4d2d13b9..0c940ffb5 100644 --- a/sys/linux/gen/ppc64le.go +++ b/sys/linux/gen/ppc64le.go @@ -3136,6 +3136,16 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a_trsize", TypeSize: 4}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a_drsize", TypeSize: 4}}}, }}}, + {Key: StructKey{Name: "ext4_new_group_input"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ext4_new_group_input", TypeSize: 40}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "group", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "block_bitmap", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "inode_bitmap", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "inode_table", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "blocks_count", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "reserved_blocks", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "unused", TypeSize: 2}}}, + }}}, {Key: StructKey{Name: "ext4_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ext4_options", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "bsddf", TypeSize: 5}, Kind: 2, Values: []string{"bsddf"}, NoZ: true}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "minixdf", TypeSize: 7}, Kind: 2, Values: []string{"minixdf"}, NoZ: true}, @@ -3884,6 +3894,11 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, }}}, + {Key: StructKey{Name: "fs_opt[\"lowerdir\", stringnoz[filename]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"lowerdir\", stringnoz[filename]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"lowerdir"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt[\"max_batch_time\", fmt[hex, int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"max_batch_time\", fmt[hex, int32]]", TypeSize: 33}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 14}, Kind: 2, Values: []string{"max_batch_time"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -3964,6 +3979,11 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 18}, ArgFormat: 3}}, }}}, + {Key: StructKey{Name: "fs_opt[\"redirect_dir\", stringnoz[filename]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"redirect_dir\", stringnoz[filename]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 12}, Kind: 2, Values: []string{"redirect_dir"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt[\"resgid\", fmt[hex, gid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"resgid\", fmt[hex, gid]]", TypeSize: 25}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 6}, Kind: 2, Values: []string{"resgid"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -4099,6 +4119,11 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, NoZ: true}, }}}, + {Key: StructKey{Name: "fs_opt[\"upperdir\", stringnoz[filename]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"upperdir\", stringnoz[filename]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"upperdir"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt[\"user_id\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"user_id\", fmt[dec, uid]]", TypeSize: 28}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 7}, Kind: 2, Values: []string{"user_id"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -4124,6 +4149,11 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", TypeSize: 18}, ArgFormat: 3}, }}}, + {Key: StructKey{Name: "fs_opt[\"workdir\", stringnoz[filename]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"workdir\", stringnoz[filename]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 7}, Kind: 2, Values: []string{"workdir"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt_elem[bpf_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[bpf_options]", IsVarlen: true}, Fields: []Type{ &UnionType{Key: StructKey{Name: "bpf_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, @@ -4172,6 +4202,10 @@ var structDescs_ppc64le = []*KeyedStruct{ &UnionType{Key: StructKey{Name: "ntfs_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, }}}, + {Key: StructKey{Name: "fs_opt_elem[overlay_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[overlay_options]", IsVarlen: true}, Fields: []Type{ + &UnionType{Key: StructKey{Name: "overlay_options"}, FldName: "elem"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, + }}}, {Key: StructKey{Name: "fs_opt_elem[p9_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[p9_options]", IsVarlen: true}, Fields: []Type{ &UnionType{Key: StructKey{Name: "p9_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, @@ -4240,6 +4274,10 @@ var structDescs_ppc64le = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[ntfs_options]"}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, }}}, + {Key: StructKey{Name: "fs_options[overlay_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_options[overlay_options]", IsVarlen: true}, Fields: []Type{ + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[overlay_options]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, + }}}, {Key: StructKey{Name: "fs_options[p9_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_options[p9_options]", IsVarlen: true}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[p9_options]"}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, @@ -4260,6 +4298,75 @@ 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: "fscrypt_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy", TypeSize: 12}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &UnionType{Key: StructKey{Name: "fscrypt_policy_mode"}, FldName: "mode"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_policy_flags", FldName: "flags", TypeSize: 1}}, Vals: []uint64{0, 1, 2}, BitMask: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "master_key_descriptor", TypeSize: 8}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + }}}, + {Key: StructKey{Name: "fscrypt_policy", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy", TypeSize: 12, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1, ArgDir: 1}}}, + &UnionType{Key: StructKey{Name: "fscrypt_policy_mode", Dir: 1}, FldName: "mode"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_policy_flags", FldName: "flags", TypeSize: 1, ArgDir: 1}}, Vals: []uint64{0, 1, 2}, BitMask: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "master_key_descriptor", TypeSize: 8, ArgDir: 1}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode", TypeSize: 2}, Fields: []Type{ + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]"}, FldName: "aes128"}, + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]"}, FldName: "aes256"}, + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]"}, FldName: "speck128"}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode", TypeSize: 2, ArgDir: 1}, Fields: []Type{ + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]", Dir: 1}, FldName: "aes128"}, + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]", Dir: 1}, FldName: "aes256"}, + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]", Dir: 1}, FldName: "speck128"}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]", TypeSize: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1}}, Val: 6}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]", TypeSize: 2, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 6}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]", TypeSize: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1}}, Val: 4}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]", TypeSize: 2, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 4}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]", TypeSize: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1}}, Val: 7}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1}}, Val: 8}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]", TypeSize: 2, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 7}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 8}, + }}}, + {Key: StructKey{Name: "fsmap"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fsmap", TypeSize: 64}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fmr_device", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fmr_flags", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "fmr_physical", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "fmr_owner", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "fmr_offset", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "fmr_length", TypeSize: 8}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fmr_reserved", TypeSize: 24}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 8}}}, Kind: 1, RangeBegin: 3, RangeEnd: 3}, + }}}, + {Key: StructKey{Name: "fsmap_head"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fsmap_head", IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fmh_iflags", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fmh_oflags", TypeSize: 4}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "fmh_count", TypeSize: 4}}, Buf: "fmh_recs"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fmh_entries", TypeSize: 4}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fmh_reserved", TypeSize: 48}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 8}}}, Kind: 1, RangeBegin: 6, RangeEnd: 6}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fmh_keys", TypeSize: 128}, Type: &StructType{Key: StructKey{Name: "fsmap"}}, Kind: 1, RangeBegin: 2, RangeEnd: 2}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fmh_recs", IsVarlen: true}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 64}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 64, RangeEnd: 64}}, + }}}, + {Key: StructKey{Name: "fstrim_range"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fstrim_range", TypeSize: 24}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "start", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "len", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "minlen", TypeSize: 8}}}, + }}}, {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}}}, @@ -8200,6 +8307,14 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vifc_rate_limit", TypeSize: 4}}}, }}}, + {Key: StructKey{Name: "move_extent"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "move_extent", TypeSize: 40}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "donor_fd", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "orig_start", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "donor_start", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "len", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "moved_len", TypeSize: 8}}}, + }}}, {Key: StructKey{Name: "mpls_label"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mpls_label", TypeSize: 4}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "ttl", TypeSize: 4}, ArgFormat: 1, BitfieldLen: 8, BitfieldMdl: true}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "s", TypeSize: 4}, ArgFormat: 1, BitfieldOff: 8, BitfieldLen: 1, BitfieldMdl: true}}, @@ -13997,6 +14112,22 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "virtio_net_hdr"}, FldName: "val"}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "void"}, Kind: 1}, }}}, + {Key: StructKey{Name: "overlay_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "overlay_options", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "fs_opt[\"lowerdir\", stringnoz[filename]]"}, FldName: "lowerdir"}, + &StructType{Key: StructKey{Name: "fs_opt[\"upperdir\", stringnoz[filename]]"}, FldName: "upperdir"}, + &StructType{Key: StructKey{Name: "fs_opt[\"workdir\", stringnoz[filename]]"}, FldName: "workdir"}, + &StructType{Key: StructKey{Name: "fs_opt[\"redirect_dir\", stringnoz[filename]]"}, FldName: "redirect_dir"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "default_permissions", TypeSize: 19}, Kind: 2, Values: []string{"default_permissions"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "index_on", TypeSize: 8}, Kind: 2, Values: []string{"index=on"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "index_off", TypeSize: 9}, Kind: 2, Values: []string{"index=off"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nfs_export_on", TypeSize: 13}, Kind: 2, Values: []string{"nfs_export=on"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nfs_export_off", TypeSize: 14}, Kind: 2, Values: []string{"nfs_export=off"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "xino_on", TypeSize: 7}, Kind: 2, Values: []string{"xino=on"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "xino_off", TypeSize: 8}, Kind: 2, Values: []string{"xino=off"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "xino_auto", TypeSize: 9}, Kind: 2, Values: []string{"xino=auto"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "metacopy_on", TypeSize: 11}, Kind: 2, Values: []string{"metacopy=on"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "metacopy_off", TypeSize: 12}, Kind: 2, Values: []string{"metacopy=off"}, NoZ: true}, + }}}, {Key: StructKey{Name: "p9_dir"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "p9_dir", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "p9_qid"}, FldName: "qid"}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "offset", TypeSize: 8}}}, @@ -18817,7 +18948,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, }}}, {Key: StructKey{Name: "xattr_name"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xattr_name", IsVarlen: true}, Fields: []Type{ - &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "known", IsVarlen: true}, Kind: 2, SubKind: "xattr_names", Values: []string{"system.posix_acl_access\x00", "system.posix_acl_default\x00", "system.advise\x00", "system.sockprotoname\x00", "com.apple.FinderInfo\x00", "com.apple.system.Security\x00", "user.syz\x00", "trusted.syz\x00", "security.evm\x00", "security.ima\x00", "security.selinux\x00", "security.capability\x00"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "known", IsVarlen: true}, Kind: 2, SubKind: "xattr_names", Values: []string{"system.posix_acl_access\x00", "system.posix_acl_default\x00", "system.advise\x00", "system.sockprotoname\x00", "com.apple.FinderInfo\x00", "com.apple.system.Security\x00", "user.syz\x00", "trusted.syz\x00", "security.evm\x00", "security.ima\x00", "security.selinux\x00", "security.capability\x00", "trusted.overlay.opaque\x00", "trusted.overlay.redirect\x00", "trusted.overlay.origin\x00", "trusted.overlay.impure\x00", "trusted.overlay.nlink\x00", "trusted.overlay.upper\x00", "trusted.overlay.metacopy\x00"}}, &StructType{Key: StructKey{Name: "xattr_name_random"}, FldName: "random"}, }}}, {Key: StructKey{Name: "xattr_name_random"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xattr_name_random", IsVarlen: true}, Fields: []Type{ @@ -24280,6 +24411,52 @@ 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$EXT4_IOC_ALLOC_DA_BLKS", 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: 536897036}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_GROUP_ADD", 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: 2150131208}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ext4_new_group_input"}}}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_GROUP_EXTEND", 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: 2148034055}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_MIGRATE", 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: 536897033}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_MOVE_EXT", 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: 3223873039}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "move_extent"}}}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_PRECACHE_EXTENTS", 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: 536897042}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_RESIZE_FS", 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: 2148034064}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_SETFLAGS", 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: 2148034050}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ext4_inode_flags", TypeSize: 8}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 536870912, 4194304, 16384, 32768, 65536, 131072, 524288}, BitMask: true}}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_SHUTDOWN", 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: 1074026621}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ext4_shutdown_flags", TypeSize: 8}}, Vals: []uint64{0, 1, 2}, BitMask: true}}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_SWAP_BOOT", 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: 536897041}, + }}, {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}, @@ -24300,11 +24477,26 @@ var syscalls_ppc64le = []*Syscall{ &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$FIGETBSZ", 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: 536870914}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8, ArgDir: 1}}}}, + }}, {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$FITRIM", 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: 3222820985}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fstrim_range"}}}, + }}, + {NR: 54, Name: "ioctl$FS_IOC_FIEMAP", 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: 3223348747}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "v", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fiemap"}}}, + }}, {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}, @@ -24315,21 +24507,61 @@ var syscalls_ppc64le = []*Syscall{ &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_GETFLAGS", 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: 1074292225}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8, ArgDir: 1}}}}, + }}, {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_GETFSMAP", 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: 3233830971}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fsmap_head"}}}, + }}, + {NR: 54, Name: "ioctl$FS_IOC_GETVERSION", 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: 1074296321}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8, ArgDir: 1}}}}, + }}, + {NR: 54, Name: "ioctl$FS_IOC_GET_ENCRYPTION_POLICY", 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: 2148296213}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 16, ArgDir: 1}, Kind: 1, RangeBegin: 16, RangeEnd: 16}}, + }}, + {NR: 54, Name: "ioctl$FS_IOC_GET_ENCRYPTION_PWSALT", 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: 2148558356}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fscrypt_policy", Dir: 1}}}, + }}, {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_SETFLAGS", 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: 2148034050}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}}, + }}, {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$FS_IOC_SETVERSION", 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: 2148038146}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}}, + }}, + {NR: 54, Name: "ioctl$FS_IOC_SET_ENCRYPTION_POLICY", 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: 1074554387}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fscrypt_policy"}}}, + }}, {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}, @@ -26393,11 +26625,6 @@ var syscalls_ppc64le = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 22023}, }}, - {NR: 54, Name: "ioctl$fiemap", 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: 3223348747}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "v", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fiemap"}}}, - }}, {NR: 54, Name: "ioctl$ifreq_SIOCGIFINDEX_team", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35123}, @@ -27280,6 +27507,13 @@ var syscalls_ppc64le = []*Syscall{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mount_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{4096, 128, 64, 8192, 1024, 4, 2048, 8, 2, 1, 2097152, 32, 32768, 16777216, 16, 16384, 65536, 131072, 262144, 524288, 1048576, 8388608, 33554432}, BitMask: true}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fuse_options"}}}, }}, + {NR: 21, Name: "mount$overlay", CallName: "mount", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "src", TypeSize: 8}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dst", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "type", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 8}, Kind: 2, Values: []string{"overlay\x00"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mount_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{4096, 128, 64, 8192, 1024, 4, 2048, 8, 2, 1, 2097152, 32, 32768, 16777216, 16, 16384, 65536, 131072, 262144, 524288, 1048576, 8388608, 33554432}, BitMask: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fs_options[overlay_options]"}}}, + }}, {NR: 301, Name: "move_pages", CallName: "move_pages", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nr", TypeSize: 8}}, Buf: "pages"}, @@ -33021,6 +33255,34 @@ var consts_ppc64le = []ConstValue{ {Name: "EV_SND", Value: 18}, {Name: "EV_SW", Value: 5}, {Name: "EV_SYN"}, + {Name: "EXT4_APPEND_FL", Value: 32}, + {Name: "EXT4_COMPR_FL", Value: 4}, + {Name: "EXT4_DIRSYNC_FL", Value: 65536}, + {Name: "EXT4_EOFBLOCKS_FL", Value: 4194304}, + {Name: "EXT4_EXTENTS_FL", Value: 524288}, + {Name: "EXT4_GOING_FLAGS_DEFAULT"}, + {Name: "EXT4_GOING_FLAGS_LOGFLUSH", Value: 1}, + {Name: "EXT4_GOING_FLAGS_NOLOGFLUSH", Value: 2}, + {Name: "EXT4_IMMUTABLE_FL", Value: 16}, + {Name: "EXT4_IOC_ALLOC_DA_BLKS", Value: 536897036}, + {Name: "EXT4_IOC_GROUP_ADD", Value: 2150131208}, + {Name: "EXT4_IOC_GROUP_EXTEND", Value: 2148034055}, + {Name: "EXT4_IOC_MIGRATE", Value: 536897033}, + {Name: "EXT4_IOC_MOVE_EXT", Value: 3223873039}, + {Name: "EXT4_IOC_PRECACHE_EXTENTS", Value: 536897042}, + {Name: "EXT4_IOC_RESIZE_FS", Value: 2148034064}, + {Name: "EXT4_IOC_SETFLAGS", Value: 2148034050}, + {Name: "EXT4_IOC_SHUTDOWN", Value: 1074026621}, + {Name: "EXT4_IOC_SWAP_BOOT", Value: 536897041}, + {Name: "EXT4_JOURNAL_DATA_FL", Value: 16384}, + {Name: "EXT4_NOATIME_FL", Value: 128}, + {Name: "EXT4_NODUMP_FL", Value: 64}, + {Name: "EXT4_NOTAIL_FL", Value: 32768}, + {Name: "EXT4_PROJINHERIT_FL", Value: 536870912}, + {Name: "EXT4_SECRM_FL", Value: 1}, + {Name: "EXT4_SYNC_FL", Value: 8}, + {Name: "EXT4_TOPDIR_FL", Value: 131072}, + {Name: "EXT4_UNRM_FL", Value: 2}, {Name: "FALLOC_FL_COLLAPSE_RANGE", Value: 8}, {Name: "FALLOC_FL_INSERT_RANGE", Value: 32}, {Name: "FALLOC_FL_KEEP_SIZE", Value: 1}, @@ -33104,6 +33366,7 @@ var consts_ppc64le = []ConstValue{ {Name: "FIOQSIZE", Value: 1074292352}, {Name: "FIOSETOWN", Value: 35073}, {Name: "FITHAW", Value: 3221510264}, + {Name: "FITRIM", Value: 3222820985}, {Name: "FLAT_BINDER_FLAG_ACCEPTS_FDS", Value: 256}, {Name: "FLOW_MODE_HASH", Value: 1}, {Name: "FLOW_MODE_MAP"}, @@ -33146,12 +33409,31 @@ var consts_ppc64le = []ConstValue{ {Name: "FR_ACT_UNREACHABLE", Value: 7}, {Name: "FR_ACT_UNSPEC"}, {Name: "FSLABEL_MAX", Value: 256}, + {Name: "FSMAP_SIZE", Value: 64}, + {Name: "FS_ENCRYPTION_MODE_AES_128_CBC", Value: 5}, + {Name: "FS_ENCRYPTION_MODE_AES_128_CTS", Value: 6}, + {Name: "FS_ENCRYPTION_MODE_AES_256_CTS", Value: 4}, + {Name: "FS_ENCRYPTION_MODE_AES_256_XTS", Value: 1}, + {Name: "FS_ENCRYPTION_MODE_SPECK128_256_CTS", Value: 8}, + {Name: "FS_ENCRYPTION_MODE_SPECK128_256_XTS", Value: 7}, {Name: "FS_IOC_FIEMAP", Value: 3223348747}, {Name: "FS_IOC_FSGETXATTR", Value: 1075599391}, {Name: "FS_IOC_FSSETXATTR", Value: 2149341216}, + {Name: "FS_IOC_GETFLAGS", Value: 1074292225}, {Name: "FS_IOC_GETFSLABEL", Value: 1090556977}, + {Name: "FS_IOC_GETFSMAP", Value: 3233830971}, + {Name: "FS_IOC_GETVERSION", Value: 1074296321}, + {Name: "FS_IOC_GET_ENCRYPTION_POLICY", Value: 2148296213}, + {Name: "FS_IOC_GET_ENCRYPTION_PWSALT", Value: 2148558356}, {Name: "FS_IOC_RESVSP", Value: 2150651944}, + {Name: "FS_IOC_SETFLAGS", Value: 2148034050}, {Name: "FS_IOC_SETFSLABEL", Value: 2164298802}, + {Name: "FS_IOC_SETVERSION", Value: 2148038146}, + {Name: "FS_IOC_SET_ENCRYPTION_POLICY", Value: 1074554387}, + {Name: "FS_KEY_DESCRIPTOR_SIZE", Value: 8}, + {Name: "FS_POLICY_FLAGS_PAD_16", Value: 2}, + {Name: "FS_POLICY_FLAGS_PAD_4"}, + {Name: "FS_POLICY_FLAGS_PAD_8", Value: 1}, {Name: "FUSE_ABORT_ERROR", Value: 2097152}, {Name: "FUSE_ASYNC_DIO", Value: 32768}, {Name: "FUSE_ASYNC_READ", Value: 1}, @@ -37325,4 +37607,4 @@ var consts_ppc64le = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_ppc64le = "0feb061fb6fa9489333c65648c531912f74ad46b" +const revision_ppc64le = "98026d18b7f0e17bb45daee39c681e0d5b4f4a39" |
