diff --git a/executor/syscalls_linux.h b/executor/syscalls_linux.h index 97a061af..e0200592 100644 --- a/executor/syscalls_linux.h +++ b/executor/syscalls_linux.h @@ -2,11 +2,11 @@ #if defined(__i386__) || 0 #define GOARCH "386" -#define SYZ_REVISION "c1cffce2533618cc16d65bcdf36543edbb86c62a" +#define SYZ_REVISION "9c95269da86216a24368bbacfbd1dbb01e7c6dc6" #define SYZ_PAGE_SIZE 4096 #define SYZ_NUM_PAGES 4096 #define SYZ_DATA_OFFSET 536870912 -unsigned syscall_count = 1700; +unsigned syscall_count = 1701; call_t syscalls[] = { {"accept4", 364}, {"accept4$alg", 364}, @@ -1608,6 +1608,7 @@ call_t syscalls[] = { {"syz_mount_image$bfs", 0, (syscall_t)syz_mount_image}, {"syz_mount_image$btrfs", 0, (syscall_t)syz_mount_image}, {"syz_mount_image$ext4", 0, (syscall_t)syz_mount_image}, + {"syz_mount_image$f2fs", 0, (syscall_t)syz_mount_image}, {"syz_mount_image$gfs2", 0, (syscall_t)syz_mount_image}, {"syz_mount_image$hfs", 0, (syscall_t)syz_mount_image}, {"syz_mount_image$hfsplus", 0, (syscall_t)syz_mount_image}, @@ -1714,11 +1715,11 @@ call_t syscalls[] = { #if defined(__x86_64__) || 0 #define GOARCH "amd64" -#define SYZ_REVISION "419554fa64eb8ea5032f6676282d7134e468ad6f" +#define SYZ_REVISION "6cf4596dfa0047e10116ea038f0e08fd0a03bf6b" #define SYZ_PAGE_SIZE 4096 #define SYZ_NUM_PAGES 4096 #define SYZ_DATA_OFFSET 536870912 -unsigned syscall_count = 1752; +unsigned syscall_count = 1753; call_t syscalls[] = { {"accept", 43}, {"accept$alg", 43}, @@ -3372,6 +3373,7 @@ call_t syscalls[] = { {"syz_mount_image$bfs", 0, (syscall_t)syz_mount_image}, {"syz_mount_image$btrfs", 0, (syscall_t)syz_mount_image}, {"syz_mount_image$ext4", 0, (syscall_t)syz_mount_image}, + {"syz_mount_image$f2fs", 0, (syscall_t)syz_mount_image}, {"syz_mount_image$gfs2", 0, (syscall_t)syz_mount_image}, {"syz_mount_image$hfs", 0, (syscall_t)syz_mount_image}, {"syz_mount_image$hfsplus", 0, (syscall_t)syz_mount_image}, @@ -3478,11 +3480,11 @@ call_t syscalls[] = { #if defined(__arm__) || 0 #define GOARCH "arm" -#define SYZ_REVISION "4374ad62df63257035ce9399cf6302403f17330c" +#define SYZ_REVISION "7481c783d7a05ef3e22a39eb8aecc1ce08bcaada" #define SYZ_PAGE_SIZE 4096 #define SYZ_NUM_PAGES 4096 #define SYZ_DATA_OFFSET 536870912 -unsigned syscall_count = 1709; +unsigned syscall_count = 1710; call_t syscalls[] = { {"accept", 285}, {"accept$alg", 285}, @@ -5095,6 +5097,7 @@ call_t syscalls[] = { {"syz_mount_image$bfs", 0, (syscall_t)syz_mount_image}, {"syz_mount_image$btrfs", 0, (syscall_t)syz_mount_image}, {"syz_mount_image$ext4", 0, (syscall_t)syz_mount_image}, + {"syz_mount_image$f2fs", 0, (syscall_t)syz_mount_image}, {"syz_mount_image$gfs2", 0, (syscall_t)syz_mount_image}, {"syz_mount_image$hfs", 0, (syscall_t)syz_mount_image}, {"syz_mount_image$hfsplus", 0, (syscall_t)syz_mount_image}, @@ -5199,11 +5202,11 @@ call_t syscalls[] = { #if defined(__aarch64__) || 0 #define GOARCH "arm64" -#define SYZ_REVISION "171606e5652b433103cae8bab1d09225faa6221e" +#define SYZ_REVISION "067e79d32cdb305f6ecae6b6d2da2bfc1d8a2b7e" #define SYZ_PAGE_SIZE 4096 #define SYZ_NUM_PAGES 4096 #define SYZ_DATA_OFFSET 536870912 -unsigned syscall_count = 1681; +unsigned syscall_count = 1682; call_t syscalls[] = { {"accept", 202}, {"accept$alg", 202}, @@ -6792,6 +6795,7 @@ call_t syscalls[] = { {"syz_mount_image$bfs", 0, (syscall_t)syz_mount_image}, {"syz_mount_image$btrfs", 0, (syscall_t)syz_mount_image}, {"syz_mount_image$ext4", 0, (syscall_t)syz_mount_image}, + {"syz_mount_image$f2fs", 0, (syscall_t)syz_mount_image}, {"syz_mount_image$gfs2", 0, (syscall_t)syz_mount_image}, {"syz_mount_image$hfs", 0, (syscall_t)syz_mount_image}, {"syz_mount_image$hfsplus", 0, (syscall_t)syz_mount_image}, @@ -6892,11 +6896,11 @@ call_t syscalls[] = { #if defined(__ppc64__) || defined(__PPC64__) || defined(__powerpc64__) || 0 #define GOARCH "ppc64le" -#define SYZ_REVISION "2384d64bdb573f4dde8f1e1df12af42289c24ebb" +#define SYZ_REVISION "173082ff7b8211ebef59420f07bc501ad3de7a9e" #define SYZ_PAGE_SIZE 4096 #define SYZ_NUM_PAGES 4096 #define SYZ_DATA_OFFSET 536870912 -unsigned syscall_count = 1671; +unsigned syscall_count = 1672; call_t syscalls[] = { {"accept", 330}, {"accept$alg", 330}, @@ -8469,6 +8473,7 @@ call_t syscalls[] = { {"syz_mount_image$bfs", 0, (syscall_t)syz_mount_image}, {"syz_mount_image$btrfs", 0, (syscall_t)syz_mount_image}, {"syz_mount_image$ext4", 0, (syscall_t)syz_mount_image}, + {"syz_mount_image$f2fs", 0, (syscall_t)syz_mount_image}, {"syz_mount_image$gfs2", 0, (syscall_t)syz_mount_image}, {"syz_mount_image$hfs", 0, (syscall_t)syz_mount_image}, {"syz_mount_image$hfsplus", 0, (syscall_t)syz_mount_image}, diff --git a/sys/linux/386.go b/sys/linux/386.go index fe962337..66c10b8d 100644 --- a/sys/linux/386.go +++ b/sys/linux/386.go @@ -2612,6 +2612,66 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "fs_opt[\"grpjquota\", stringnoz[filename]]"}, FldName: "grpjquota_path"}, &StructType{Key: StructKey{Name: "fs_opt[\"usrjquota\", stringnoz[filename]]"}, FldName: "usrjquota_path"}, }}}, + {Key: StructKey{Name: "f2fs_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "f2fs_options", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "background_gc_sync", TypeSize: 18}, Kind: 2, Values: []string{"background_gc=sync"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "background_gc_off", TypeSize: 17}, Kind: 2, Values: []string{"background_gc=off"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "background_gc_on", TypeSize: 16}, Kind: 2, Values: []string{"background_gc=on"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "disable_roll_forward", TypeSize: 20}, Kind: 2, Values: []string{"disable_roll_forward"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "norecovery", TypeSize: 10}, Kind: 2, Values: []string{"norecovery"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "discard", TypeSize: 7}, Kind: 2, Values: []string{"discard"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nodiscard", TypeSize: 9}, Kind: 2, Values: []string{"nodiscard"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "noheap", TypeSize: 6}, Kind: 2, Values: []string{"noheap"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "heap", TypeSize: 4}, Kind: 2, Values: []string{"heap"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "user_xattr", TypeSize: 10}, Kind: 2, Values: []string{"user_xattr"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nouser_xattr", TypeSize: 12}, Kind: 2, Values: []string{"nouser_xattr"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "acl", TypeSize: 3}, Kind: 2, Values: []string{"acl"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "noacl", TypeSize: 5}, Kind: 2, Values: []string{"noacl"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "six_active_logs", TypeSize: 13}, Kind: 2, Values: []string{"active_logs=6"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "four_active_logs", TypeSize: 13}, Kind: 2, Values: []string{"active_logs=4"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "two_active_logs", TypeSize: 13}, Kind: 2, Values: []string{"active_logs=2"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "disable_ext_identify", TypeSize: 20}, Kind: 2, Values: []string{"disable_ext_identify"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "inline_xattr", TypeSize: 12}, Kind: 2, Values: []string{"inline_xattr"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "noinline_xattr", TypeSize: 14}, Kind: 2, Values: []string{"noinline_xattr"}, NoZ: true}, + &StructType{Key: StructKey{Name: "fs_opt[\"inline_xattr_size\", array[flags[fs_opt_digits, int8]]]"}, FldName: "inline_xattr_size"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "inline_data", TypeSize: 11}, Kind: 2, Values: []string{"inline_data"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "noinline_data", TypeSize: 13}, Kind: 2, Values: []string{"noinline_data"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "inline_dentry", TypeSize: 13}, Kind: 2, Values: []string{"inline_dentry"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "noinline_dentry", TypeSize: 15}, Kind: 2, Values: []string{"noinline_dentry"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "flush_merge", TypeSize: 11}, Kind: 2, Values: []string{"flush_merge"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "noflush_merge", TypeSize: 13}, Kind: 2, Values: []string{"noflush_merge"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nobarrier", TypeSize: 9}, Kind: 2, Values: []string{"nobarrier"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "fastboot", TypeSize: 8}, Kind: 2, Values: []string{"fastboot"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "extent_cache", TypeSize: 12}, Kind: 2, Values: []string{"extent_cache"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "noextent_cache", TypeSize: 14}, Kind: 2, Values: []string{"noextent_cache"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "data_flush", TypeSize: 10}, Kind: 2, Values: []string{"data_flush"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "adaptive_mode", TypeSize: 13}, Kind: 2, Values: []string{"mode=adaptive"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "lfs_mode", TypeSize: 8}, Kind: 2, Values: []string{"mode=lfs"}, NoZ: true}, + &StructType{Key: StructKey{Name: "fs_opt[\"reserved_root\", array[flags[fs_opt_digits, int8]]]"}, FldName: "reserved_root"}, + &StructType{Key: StructKey{Name: "fs_opt[\"resgid\", array[flags[fs_opt_digits, int8]]]"}, FldName: "resgid"}, + &StructType{Key: StructKey{Name: "fs_opt[\"resuid\", array[flags[fs_opt_digits, int8]]]"}, FldName: "resuid"}, + &StructType{Key: StructKey{Name: "fs_opt[\"iobits\", array[flags[fs_opt_digits, int8]]]"}, FldName: "iobits"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "lazytime", TypeSize: 8}, Kind: 2, Values: []string{"lazytime"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nolazytime", TypeSize: 10}, Kind: 2, Values: []string{"nolazytime"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "quota", TypeSize: 5}, Kind: 2, Values: []string{"quota"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "noquota", TypeSize: 7}, Kind: 2, Values: []string{"noquota"}, NoZ: true}, + &StructType{Key: StructKey{Name: "fs_opt[\"usrquota\", stringnoz]"}, FldName: "usrquota"}, + &StructType{Key: StructKey{Name: "fs_opt[\"grpquota\", stringnoz]"}, FldName: "grpquota"}, + &StructType{Key: StructKey{Name: "fs_opt[\"prjquota\", stringnoz]"}, FldName: "prjquota"}, + &StructType{Key: StructKey{Name: "fs_opt[\"usrjquota\", stringnoz]"}, FldName: "usrjquota"}, + &StructType{Key: StructKey{Name: "fs_opt[\"grpjquota\", stringnoz]"}, FldName: "grpjquota"}, + &StructType{Key: StructKey{Name: "fs_opt[\"prjjquota\", stringnoz]"}, FldName: "prjjquota"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "jqfmt_vfsold", TypeSize: 12}, Kind: 2, Values: []string{"jqfmt=vfsold"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "jqfmt_vfsv0", TypeSize: 11}, Kind: 2, Values: []string{"jqfmt=vfsv0"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "jqfmt_vfsv1", TypeSize: 11}, Kind: 2, Values: []string{"jqfmt=vfsv1"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "whint_mode_user", TypeSize: 21}, Kind: 2, Values: []string{"whint_mode=user-based"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "whint_mode_off", TypeSize: 14}, Kind: 2, Values: []string{"whint_mode=off"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "whint_mode_fs", TypeSize: 19}, Kind: 2, Values: []string{"whint_mode=fs-based"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "alloc_mode_def", TypeSize: 18}, Kind: 2, Values: []string{"alloc_mode=default"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "alloc_mode_reuse", TypeSize: 16}, Kind: 2, Values: []string{"alloc_mode=reuse"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "fsync_mode_posix", TypeSize: 16}, Kind: 2, Values: []string{"fsync_mode=posix"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "fsync_mode_strict", TypeSize: 17}, Kind: 2, Values: []string{"fsync_mode=strict"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "test_dummy_encryption", TypeSize: 21}, Kind: 2, Values: []string{"test_dummy_encryption"}, NoZ: true}, + }}}, {Key: StructKey{Name: "f_owner_ex"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "f_owner_ex", TypeSize: 8}, Fields: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "f_owner_type", FldName: "type", TypeSize: 4}}, Vals: []uint64{0, 1, 2}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, @@ -2898,6 +2958,16 @@ 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[\"grpjquota\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"grpjquota\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 9}, Kind: 2, Values: []string{"grpjquota"}, NoZ: true}, + &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[\"grpquota\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"grpquota\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"grpquota"}, NoZ: true}, + &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[\"hostdata\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"hostdata\", stringnoz]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"hostdata"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -2908,11 +2978,21 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, }}}, + {Key: StructKey{Name: "fs_opt[\"inline_xattr_size\", array[flags[fs_opt_digits, int8]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"inline_xattr_size\", array[flags[fs_opt_digits, int8]]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 17}, Kind: 2, Values: []string{"inline_xattr_size"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, + }}}, {Key: StructKey{Name: "fs_opt[\"inode_readahead_blks\", array[flags[fs_opt_digits, int8]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"inode_readahead_blks\", array[flags[fs_opt_digits, int8]]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 20}, Kind: 2, Values: []string{"inode_readahead_blks"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, }}}, + {Key: StructKey{Name: "fs_opt[\"iobits\", array[flags[fs_opt_digits, int8]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"iobits\", array[flags[fs_opt_digits, int8]]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 6}, Kind: 2, Values: []string{"iobits"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, + }}}, {Key: StructKey{Name: "fs_opt[\"iocharset\", stringnoz[codepages_names]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"iocharset\", stringnoz[codepages_names]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 9}, Kind: 2, Values: []string{"iocharset"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -3003,11 +3083,26 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, }}}, + {Key: StructKey{Name: "fs_opt[\"prjjquota\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"prjjquota\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 9}, Kind: 2, Values: []string{"prjjquota"}, NoZ: true}, + &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[\"prjquota\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"prjquota\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"prjquota"}, NoZ: true}, + &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[\"quota_quantum\", array[flags[fs_opt_digits, int8]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"quota_quantum\", array[flags[fs_opt_digits, int8]]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 13}, Kind: 2, Values: []string{"quota_quantum"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, }}}, + {Key: StructKey{Name: "fs_opt[\"reserved_root\", array[flags[fs_opt_digits, int8]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"reserved_root\", array[flags[fs_opt_digits, int8]]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 13}, Kind: 2, Values: []string{"reserved_root"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, + }}}, {Key: StructKey{Name: "fs_opt[\"resgid\", array[flags[fs_opt_digits, int8]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"resgid\", array[flags[fs_opt_digits, int8]]]", IsVarlen: true}, 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}, @@ -3133,6 +3228,16 @@ 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[\"usrjquota\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"usrjquota\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 9}, Kind: 2, Values: []string{"usrjquota"}, NoZ: true}, + &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[\"usrquota\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"usrquota\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"usrquota"}, NoZ: true}, + &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_elem[btrfs_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[btrfs_options]", IsVarlen: true}, Fields: []Type{ &UnionType{Key: StructKey{Name: "btrfs_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, @@ -3141,6 +3246,10 @@ var structDescs_386 = []*KeyedStruct{ &UnionType{Key: StructKey{Name: "ext4_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, }}}, + {Key: StructKey{Name: "fs_opt_elem[f2fs_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[f2fs_options]", IsVarlen: true}, Fields: []Type{ + &UnionType{Key: StructKey{Name: "f2fs_options"}, FldName: "elem"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, + }}}, {Key: StructKey{Name: "fs_opt_elem[gfs2_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[gfs2_options]", IsVarlen: true}, Fields: []Type{ &UnionType{Key: StructKey{Name: "gfs2_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, @@ -3185,6 +3294,10 @@ var structDescs_386 = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[ext4_options]"}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, }}}, + {Key: StructKey{Name: "fs_options[f2fs_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_options[f2fs_options]", IsVarlen: true}, Fields: []Type{ + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[f2fs_options]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, + }}}, {Key: StructKey{Name: "fs_options[gfs2_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_options[gfs2_options]", IsVarlen: true}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[gfs2_options]"}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, @@ -23618,6 +23731,15 @@ 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}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fs_options[ext4_options]"}}}, }}, + {Name: "syz_mount_image$f2fs", CallName: "syz_mount_image", Args: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fs", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 5}, Kind: 2, Values: []string{"f2fs\x00"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dir", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "size", TypeSize: 4}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nsegs", TypeSize: 4}}, Buf: "segments"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "segments", TypeSize: 4}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_image_segment"}}}}, + &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}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fs_options[f2fs_options]"}}}, + }}, {Name: "syz_mount_image$gfs2", CallName: "syz_mount_image", Args: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fs", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 5}, Kind: 2, Values: []string{"gfs2\x00"}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dir", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, @@ -28558,4 +28680,4 @@ var consts_386 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_386 = "c1cffce2533618cc16d65bcdf36543edbb86c62a" +const revision_386 = "9c95269da86216a24368bbacfbd1dbb01e7c6dc6" diff --git a/sys/linux/amd64.go b/sys/linux/amd64.go index da3364f0..5b280878 100644 --- a/sys/linux/amd64.go +++ b/sys/linux/amd64.go @@ -2688,6 +2688,66 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "fs_opt[\"grpjquota\", stringnoz[filename]]"}, FldName: "grpjquota_path"}, &StructType{Key: StructKey{Name: "fs_opt[\"usrjquota\", stringnoz[filename]]"}, FldName: "usrjquota_path"}, }}}, + {Key: StructKey{Name: "f2fs_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "f2fs_options", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "background_gc_sync", TypeSize: 18}, Kind: 2, Values: []string{"background_gc=sync"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "background_gc_off", TypeSize: 17}, Kind: 2, Values: []string{"background_gc=off"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "background_gc_on", TypeSize: 16}, Kind: 2, Values: []string{"background_gc=on"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "disable_roll_forward", TypeSize: 20}, Kind: 2, Values: []string{"disable_roll_forward"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "norecovery", TypeSize: 10}, Kind: 2, Values: []string{"norecovery"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "discard", TypeSize: 7}, Kind: 2, Values: []string{"discard"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nodiscard", TypeSize: 9}, Kind: 2, Values: []string{"nodiscard"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "noheap", TypeSize: 6}, Kind: 2, Values: []string{"noheap"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "heap", TypeSize: 4}, Kind: 2, Values: []string{"heap"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "user_xattr", TypeSize: 10}, Kind: 2, Values: []string{"user_xattr"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nouser_xattr", TypeSize: 12}, Kind: 2, Values: []string{"nouser_xattr"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "acl", TypeSize: 3}, Kind: 2, Values: []string{"acl"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "noacl", TypeSize: 5}, Kind: 2, Values: []string{"noacl"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "six_active_logs", TypeSize: 13}, Kind: 2, Values: []string{"active_logs=6"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "four_active_logs", TypeSize: 13}, Kind: 2, Values: []string{"active_logs=4"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "two_active_logs", TypeSize: 13}, Kind: 2, Values: []string{"active_logs=2"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "disable_ext_identify", TypeSize: 20}, Kind: 2, Values: []string{"disable_ext_identify"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "inline_xattr", TypeSize: 12}, Kind: 2, Values: []string{"inline_xattr"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "noinline_xattr", TypeSize: 14}, Kind: 2, Values: []string{"noinline_xattr"}, NoZ: true}, + &StructType{Key: StructKey{Name: "fs_opt[\"inline_xattr_size\", array[flags[fs_opt_digits, int8]]]"}, FldName: "inline_xattr_size"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "inline_data", TypeSize: 11}, Kind: 2, Values: []string{"inline_data"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "noinline_data", TypeSize: 13}, Kind: 2, Values: []string{"noinline_data"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "inline_dentry", TypeSize: 13}, Kind: 2, Values: []string{"inline_dentry"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "noinline_dentry", TypeSize: 15}, Kind: 2, Values: []string{"noinline_dentry"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "flush_merge", TypeSize: 11}, Kind: 2, Values: []string{"flush_merge"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "noflush_merge", TypeSize: 13}, Kind: 2, Values: []string{"noflush_merge"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nobarrier", TypeSize: 9}, Kind: 2, Values: []string{"nobarrier"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "fastboot", TypeSize: 8}, Kind: 2, Values: []string{"fastboot"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "extent_cache", TypeSize: 12}, Kind: 2, Values: []string{"extent_cache"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "noextent_cache", TypeSize: 14}, Kind: 2, Values: []string{"noextent_cache"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "data_flush", TypeSize: 10}, Kind: 2, Values: []string{"data_flush"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "adaptive_mode", TypeSize: 13}, Kind: 2, Values: []string{"mode=adaptive"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "lfs_mode", TypeSize: 8}, Kind: 2, Values: []string{"mode=lfs"}, NoZ: true}, + &StructType{Key: StructKey{Name: "fs_opt[\"reserved_root\", array[flags[fs_opt_digits, int8]]]"}, FldName: "reserved_root"}, + &StructType{Key: StructKey{Name: "fs_opt[\"resgid\", array[flags[fs_opt_digits, int8]]]"}, FldName: "resgid"}, + &StructType{Key: StructKey{Name: "fs_opt[\"resuid\", array[flags[fs_opt_digits, int8]]]"}, FldName: "resuid"}, + &StructType{Key: StructKey{Name: "fs_opt[\"iobits\", array[flags[fs_opt_digits, int8]]]"}, FldName: "iobits"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "lazytime", TypeSize: 8}, Kind: 2, Values: []string{"lazytime"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nolazytime", TypeSize: 10}, Kind: 2, Values: []string{"nolazytime"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "quota", TypeSize: 5}, Kind: 2, Values: []string{"quota"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "noquota", TypeSize: 7}, Kind: 2, Values: []string{"noquota"}, NoZ: true}, + &StructType{Key: StructKey{Name: "fs_opt[\"usrquota\", stringnoz]"}, FldName: "usrquota"}, + &StructType{Key: StructKey{Name: "fs_opt[\"grpquota\", stringnoz]"}, FldName: "grpquota"}, + &StructType{Key: StructKey{Name: "fs_opt[\"prjquota\", stringnoz]"}, FldName: "prjquota"}, + &StructType{Key: StructKey{Name: "fs_opt[\"usrjquota\", stringnoz]"}, FldName: "usrjquota"}, + &StructType{Key: StructKey{Name: "fs_opt[\"grpjquota\", stringnoz]"}, FldName: "grpjquota"}, + &StructType{Key: StructKey{Name: "fs_opt[\"prjjquota\", stringnoz]"}, FldName: "prjjquota"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "jqfmt_vfsold", TypeSize: 12}, Kind: 2, Values: []string{"jqfmt=vfsold"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "jqfmt_vfsv0", TypeSize: 11}, Kind: 2, Values: []string{"jqfmt=vfsv0"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "jqfmt_vfsv1", TypeSize: 11}, Kind: 2, Values: []string{"jqfmt=vfsv1"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "whint_mode_user", TypeSize: 21}, Kind: 2, Values: []string{"whint_mode=user-based"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "whint_mode_off", TypeSize: 14}, Kind: 2, Values: []string{"whint_mode=off"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "whint_mode_fs", TypeSize: 19}, Kind: 2, Values: []string{"whint_mode=fs-based"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "alloc_mode_def", TypeSize: 18}, Kind: 2, Values: []string{"alloc_mode=default"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "alloc_mode_reuse", TypeSize: 16}, Kind: 2, Values: []string{"alloc_mode=reuse"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "fsync_mode_posix", TypeSize: 16}, Kind: 2, Values: []string{"fsync_mode=posix"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "fsync_mode_strict", TypeSize: 17}, Kind: 2, Values: []string{"fsync_mode=strict"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "test_dummy_encryption", TypeSize: 21}, Kind: 2, Values: []string{"test_dummy_encryption"}, NoZ: true}, + }}}, {Key: StructKey{Name: "f_owner_ex"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "f_owner_ex", TypeSize: 8}, Fields: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "f_owner_type", FldName: "type", TypeSize: 4}}, Vals: []uint64{0, 1, 2}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, @@ -2976,6 +3036,16 @@ 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[\"grpjquota\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"grpjquota\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 9}, Kind: 2, Values: []string{"grpjquota"}, NoZ: true}, + &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[\"grpquota\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"grpquota\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"grpquota"}, NoZ: true}, + &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[\"hostdata\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"hostdata\", stringnoz]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"hostdata"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -2986,11 +3056,21 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, }}}, + {Key: StructKey{Name: "fs_opt[\"inline_xattr_size\", array[flags[fs_opt_digits, int8]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"inline_xattr_size\", array[flags[fs_opt_digits, int8]]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 17}, Kind: 2, Values: []string{"inline_xattr_size"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, + }}}, {Key: StructKey{Name: "fs_opt[\"inode_readahead_blks\", array[flags[fs_opt_digits, int8]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"inode_readahead_blks\", array[flags[fs_opt_digits, int8]]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 20}, Kind: 2, Values: []string{"inode_readahead_blks"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, }}}, + {Key: StructKey{Name: "fs_opt[\"iobits\", array[flags[fs_opt_digits, int8]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"iobits\", array[flags[fs_opt_digits, int8]]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 6}, Kind: 2, Values: []string{"iobits"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, + }}}, {Key: StructKey{Name: "fs_opt[\"iocharset\", stringnoz[codepages_names]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"iocharset\", stringnoz[codepages_names]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 9}, Kind: 2, Values: []string{"iocharset"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -3081,11 +3161,26 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, }}}, + {Key: StructKey{Name: "fs_opt[\"prjjquota\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"prjjquota\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 9}, Kind: 2, Values: []string{"prjjquota"}, NoZ: true}, + &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[\"prjquota\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"prjquota\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"prjquota"}, NoZ: true}, + &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[\"quota_quantum\", array[flags[fs_opt_digits, int8]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"quota_quantum\", array[flags[fs_opt_digits, int8]]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 13}, Kind: 2, Values: []string{"quota_quantum"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, }}}, + {Key: StructKey{Name: "fs_opt[\"reserved_root\", array[flags[fs_opt_digits, int8]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"reserved_root\", array[flags[fs_opt_digits, int8]]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 13}, Kind: 2, Values: []string{"reserved_root"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, + }}}, {Key: StructKey{Name: "fs_opt[\"resgid\", array[flags[fs_opt_digits, int8]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"resgid\", array[flags[fs_opt_digits, int8]]]", IsVarlen: true}, 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}, @@ -3211,6 +3306,16 @@ 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[\"usrjquota\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"usrjquota\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 9}, Kind: 2, Values: []string{"usrjquota"}, NoZ: true}, + &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[\"usrquota\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"usrquota\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"usrquota"}, NoZ: true}, + &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_elem[btrfs_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[btrfs_options]", IsVarlen: true}, Fields: []Type{ &UnionType{Key: StructKey{Name: "btrfs_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, @@ -3219,6 +3324,10 @@ var structDescs_amd64 = []*KeyedStruct{ &UnionType{Key: StructKey{Name: "ext4_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, }}}, + {Key: StructKey{Name: "fs_opt_elem[f2fs_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[f2fs_options]", IsVarlen: true}, Fields: []Type{ + &UnionType{Key: StructKey{Name: "f2fs_options"}, FldName: "elem"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, + }}}, {Key: StructKey{Name: "fs_opt_elem[gfs2_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[gfs2_options]", IsVarlen: true}, Fields: []Type{ &UnionType{Key: StructKey{Name: "gfs2_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, @@ -3263,6 +3372,10 @@ var structDescs_amd64 = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[ext4_options]"}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, }}}, + {Key: StructKey{Name: "fs_options[f2fs_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_options[f2fs_options]", IsVarlen: true}, Fields: []Type{ + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[f2fs_options]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, + }}}, {Key: StructKey{Name: "fs_options[gfs2_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_options[gfs2_options]", IsVarlen: true}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[gfs2_options]"}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, @@ -24258,6 +24371,15 @@ 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}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fs_options[ext4_options]"}}}, }}, + {Name: "syz_mount_image$f2fs", CallName: "syz_mount_image", Args: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fs", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 5}, Kind: 2, Values: []string{"f2fs\x00"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dir", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "size", TypeSize: 8}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nsegs", TypeSize: 8}}, Buf: "segments"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "segments", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_image_segment"}}}}, + &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}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fs_options[f2fs_options]"}}}, + }}, {Name: "syz_mount_image$gfs2", CallName: "syz_mount_image", Args: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fs", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 5}, Kind: 2, Values: []string{"gfs2\x00"}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dir", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, @@ -29223,4 +29345,4 @@ var consts_amd64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_amd64 = "419554fa64eb8ea5032f6676282d7134e468ad6f" +const revision_amd64 = "6cf4596dfa0047e10116ea038f0e08fd0a03bf6b" diff --git a/sys/linux/arm.go b/sys/linux/arm.go index 3c7b12ce..e5b579e7 100644 --- a/sys/linux/arm.go +++ b/sys/linux/arm.go @@ -2617,6 +2617,66 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "fs_opt[\"grpjquota\", stringnoz[filename]]"}, FldName: "grpjquota_path"}, &StructType{Key: StructKey{Name: "fs_opt[\"usrjquota\", stringnoz[filename]]"}, FldName: "usrjquota_path"}, }}}, + {Key: StructKey{Name: "f2fs_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "f2fs_options", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "background_gc_sync", TypeSize: 18}, Kind: 2, Values: []string{"background_gc=sync"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "background_gc_off", TypeSize: 17}, Kind: 2, Values: []string{"background_gc=off"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "background_gc_on", TypeSize: 16}, Kind: 2, Values: []string{"background_gc=on"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "disable_roll_forward", TypeSize: 20}, Kind: 2, Values: []string{"disable_roll_forward"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "norecovery", TypeSize: 10}, Kind: 2, Values: []string{"norecovery"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "discard", TypeSize: 7}, Kind: 2, Values: []string{"discard"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nodiscard", TypeSize: 9}, Kind: 2, Values: []string{"nodiscard"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "noheap", TypeSize: 6}, Kind: 2, Values: []string{"noheap"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "heap", TypeSize: 4}, Kind: 2, Values: []string{"heap"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "user_xattr", TypeSize: 10}, Kind: 2, Values: []string{"user_xattr"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nouser_xattr", TypeSize: 12}, Kind: 2, Values: []string{"nouser_xattr"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "acl", TypeSize: 3}, Kind: 2, Values: []string{"acl"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "noacl", TypeSize: 5}, Kind: 2, Values: []string{"noacl"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "six_active_logs", TypeSize: 13}, Kind: 2, Values: []string{"active_logs=6"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "four_active_logs", TypeSize: 13}, Kind: 2, Values: []string{"active_logs=4"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "two_active_logs", TypeSize: 13}, Kind: 2, Values: []string{"active_logs=2"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "disable_ext_identify", TypeSize: 20}, Kind: 2, Values: []string{"disable_ext_identify"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "inline_xattr", TypeSize: 12}, Kind: 2, Values: []string{"inline_xattr"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "noinline_xattr", TypeSize: 14}, Kind: 2, Values: []string{"noinline_xattr"}, NoZ: true}, + &StructType{Key: StructKey{Name: "fs_opt[\"inline_xattr_size\", array[flags[fs_opt_digits, int8]]]"}, FldName: "inline_xattr_size"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "inline_data", TypeSize: 11}, Kind: 2, Values: []string{"inline_data"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "noinline_data", TypeSize: 13}, Kind: 2, Values: []string{"noinline_data"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "inline_dentry", TypeSize: 13}, Kind: 2, Values: []string{"inline_dentry"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "noinline_dentry", TypeSize: 15}, Kind: 2, Values: []string{"noinline_dentry"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "flush_merge", TypeSize: 11}, Kind: 2, Values: []string{"flush_merge"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "noflush_merge", TypeSize: 13}, Kind: 2, Values: []string{"noflush_merge"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nobarrier", TypeSize: 9}, Kind: 2, Values: []string{"nobarrier"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "fastboot", TypeSize: 8}, Kind: 2, Values: []string{"fastboot"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "extent_cache", TypeSize: 12}, Kind: 2, Values: []string{"extent_cache"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "noextent_cache", TypeSize: 14}, Kind: 2, Values: []string{"noextent_cache"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "data_flush", TypeSize: 10}, Kind: 2, Values: []string{"data_flush"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "adaptive_mode", TypeSize: 13}, Kind: 2, Values: []string{"mode=adaptive"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "lfs_mode", TypeSize: 8}, Kind: 2, Values: []string{"mode=lfs"}, NoZ: true}, + &StructType{Key: StructKey{Name: "fs_opt[\"reserved_root\", array[flags[fs_opt_digits, int8]]]"}, FldName: "reserved_root"}, + &StructType{Key: StructKey{Name: "fs_opt[\"resgid\", array[flags[fs_opt_digits, int8]]]"}, FldName: "resgid"}, + &StructType{Key: StructKey{Name: "fs_opt[\"resuid\", array[flags[fs_opt_digits, int8]]]"}, FldName: "resuid"}, + &StructType{Key: StructKey{Name: "fs_opt[\"iobits\", array[flags[fs_opt_digits, int8]]]"}, FldName: "iobits"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "lazytime", TypeSize: 8}, Kind: 2, Values: []string{"lazytime"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nolazytime", TypeSize: 10}, Kind: 2, Values: []string{"nolazytime"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "quota", TypeSize: 5}, Kind: 2, Values: []string{"quota"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "noquota", TypeSize: 7}, Kind: 2, Values: []string{"noquota"}, NoZ: true}, + &StructType{Key: StructKey{Name: "fs_opt[\"usrquota\", stringnoz]"}, FldName: "usrquota"}, + &StructType{Key: StructKey{Name: "fs_opt[\"grpquota\", stringnoz]"}, FldName: "grpquota"}, + &StructType{Key: StructKey{Name: "fs_opt[\"prjquota\", stringnoz]"}, FldName: "prjquota"}, + &StructType{Key: StructKey{Name: "fs_opt[\"usrjquota\", stringnoz]"}, FldName: "usrjquota"}, + &StructType{Key: StructKey{Name: "fs_opt[\"grpjquota\", stringnoz]"}, FldName: "grpjquota"}, + &StructType{Key: StructKey{Name: "fs_opt[\"prjjquota\", stringnoz]"}, FldName: "prjjquota"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "jqfmt_vfsold", TypeSize: 12}, Kind: 2, Values: []string{"jqfmt=vfsold"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "jqfmt_vfsv0", TypeSize: 11}, Kind: 2, Values: []string{"jqfmt=vfsv0"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "jqfmt_vfsv1", TypeSize: 11}, Kind: 2, Values: []string{"jqfmt=vfsv1"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "whint_mode_user", TypeSize: 21}, Kind: 2, Values: []string{"whint_mode=user-based"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "whint_mode_off", TypeSize: 14}, Kind: 2, Values: []string{"whint_mode=off"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "whint_mode_fs", TypeSize: 19}, Kind: 2, Values: []string{"whint_mode=fs-based"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "alloc_mode_def", TypeSize: 18}, Kind: 2, Values: []string{"alloc_mode=default"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "alloc_mode_reuse", TypeSize: 16}, Kind: 2, Values: []string{"alloc_mode=reuse"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "fsync_mode_posix", TypeSize: 16}, Kind: 2, Values: []string{"fsync_mode=posix"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "fsync_mode_strict", TypeSize: 17}, Kind: 2, Values: []string{"fsync_mode=strict"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "test_dummy_encryption", TypeSize: 21}, Kind: 2, Values: []string{"test_dummy_encryption"}, NoZ: true}, + }}}, {Key: StructKey{Name: "f_owner_ex"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "f_owner_ex", TypeSize: 8}, Fields: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "f_owner_type", FldName: "type", TypeSize: 4}}, Vals: []uint64{0, 1, 2}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, @@ -2903,6 +2963,16 @@ 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[\"grpjquota\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"grpjquota\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 9}, Kind: 2, Values: []string{"grpjquota"}, NoZ: true}, + &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[\"grpquota\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"grpquota\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"grpquota"}, NoZ: true}, + &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[\"hostdata\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"hostdata\", stringnoz]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"hostdata"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -2913,11 +2983,21 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, }}}, + {Key: StructKey{Name: "fs_opt[\"inline_xattr_size\", array[flags[fs_opt_digits, int8]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"inline_xattr_size\", array[flags[fs_opt_digits, int8]]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 17}, Kind: 2, Values: []string{"inline_xattr_size"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, + }}}, {Key: StructKey{Name: "fs_opt[\"inode_readahead_blks\", array[flags[fs_opt_digits, int8]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"inode_readahead_blks\", array[flags[fs_opt_digits, int8]]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 20}, Kind: 2, Values: []string{"inode_readahead_blks"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, }}}, + {Key: StructKey{Name: "fs_opt[\"iobits\", array[flags[fs_opt_digits, int8]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"iobits\", array[flags[fs_opt_digits, int8]]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 6}, Kind: 2, Values: []string{"iobits"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, + }}}, {Key: StructKey{Name: "fs_opt[\"iocharset\", stringnoz[codepages_names]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"iocharset\", stringnoz[codepages_names]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 9}, Kind: 2, Values: []string{"iocharset"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -3008,11 +3088,26 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, }}}, + {Key: StructKey{Name: "fs_opt[\"prjjquota\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"prjjquota\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 9}, Kind: 2, Values: []string{"prjjquota"}, NoZ: true}, + &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[\"prjquota\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"prjquota\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"prjquota"}, NoZ: true}, + &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[\"quota_quantum\", array[flags[fs_opt_digits, int8]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"quota_quantum\", array[flags[fs_opt_digits, int8]]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 13}, Kind: 2, Values: []string{"quota_quantum"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, }}}, + {Key: StructKey{Name: "fs_opt[\"reserved_root\", array[flags[fs_opt_digits, int8]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"reserved_root\", array[flags[fs_opt_digits, int8]]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 13}, Kind: 2, Values: []string{"reserved_root"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, + }}}, {Key: StructKey{Name: "fs_opt[\"resgid\", array[flags[fs_opt_digits, int8]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"resgid\", array[flags[fs_opt_digits, int8]]]", IsVarlen: true}, 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}, @@ -3138,6 +3233,16 @@ 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[\"usrjquota\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"usrjquota\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 9}, Kind: 2, Values: []string{"usrjquota"}, NoZ: true}, + &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[\"usrquota\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"usrquota\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"usrquota"}, NoZ: true}, + &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_elem[btrfs_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[btrfs_options]", IsVarlen: true}, Fields: []Type{ &UnionType{Key: StructKey{Name: "btrfs_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, @@ -3146,6 +3251,10 @@ var structDescs_arm = []*KeyedStruct{ &UnionType{Key: StructKey{Name: "ext4_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, }}}, + {Key: StructKey{Name: "fs_opt_elem[f2fs_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[f2fs_options]", IsVarlen: true}, Fields: []Type{ + &UnionType{Key: StructKey{Name: "f2fs_options"}, FldName: "elem"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, + }}}, {Key: StructKey{Name: "fs_opt_elem[gfs2_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[gfs2_options]", IsVarlen: true}, Fields: []Type{ &UnionType{Key: StructKey{Name: "gfs2_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, @@ -3190,6 +3299,10 @@ var structDescs_arm = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[ext4_options]"}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, }}}, + {Key: StructKey{Name: "fs_options[f2fs_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_options[f2fs_options]", IsVarlen: true}, Fields: []Type{ + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[f2fs_options]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, + }}}, {Key: StructKey{Name: "fs_options[gfs2_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_options[gfs2_options]", IsVarlen: true}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[gfs2_options]"}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, @@ -23537,6 +23650,15 @@ 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}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fs_options[ext4_options]"}}}, }}, + {Name: "syz_mount_image$f2fs", CallName: "syz_mount_image", Args: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fs", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 5}, Kind: 2, Values: []string{"f2fs\x00"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dir", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "size", TypeSize: 4}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nsegs", TypeSize: 4}}, Buf: "segments"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "segments", TypeSize: 4}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_image_segment"}}}}, + &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}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fs_options[f2fs_options]"}}}, + }}, {Name: "syz_mount_image$gfs2", CallName: "syz_mount_image", Args: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fs", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 5}, Kind: 2, Values: []string{"gfs2\x00"}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dir", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, @@ -28421,4 +28543,4 @@ var consts_arm = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm = "4374ad62df63257035ce9399cf6302403f17330c" +const revision_arm = "7481c783d7a05ef3e22a39eb8aecc1ce08bcaada" diff --git a/sys/linux/arm64.go b/sys/linux/arm64.go index 06ec8c43..387e834c 100644 --- a/sys/linux/arm64.go +++ b/sys/linux/arm64.go @@ -2688,6 +2688,66 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "fs_opt[\"grpjquota\", stringnoz[filename]]"}, FldName: "grpjquota_path"}, &StructType{Key: StructKey{Name: "fs_opt[\"usrjquota\", stringnoz[filename]]"}, FldName: "usrjquota_path"}, }}}, + {Key: StructKey{Name: "f2fs_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "f2fs_options", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "background_gc_sync", TypeSize: 18}, Kind: 2, Values: []string{"background_gc=sync"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "background_gc_off", TypeSize: 17}, Kind: 2, Values: []string{"background_gc=off"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "background_gc_on", TypeSize: 16}, Kind: 2, Values: []string{"background_gc=on"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "disable_roll_forward", TypeSize: 20}, Kind: 2, Values: []string{"disable_roll_forward"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "norecovery", TypeSize: 10}, Kind: 2, Values: []string{"norecovery"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "discard", TypeSize: 7}, Kind: 2, Values: []string{"discard"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nodiscard", TypeSize: 9}, Kind: 2, Values: []string{"nodiscard"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "noheap", TypeSize: 6}, Kind: 2, Values: []string{"noheap"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "heap", TypeSize: 4}, Kind: 2, Values: []string{"heap"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "user_xattr", TypeSize: 10}, Kind: 2, Values: []string{"user_xattr"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nouser_xattr", TypeSize: 12}, Kind: 2, Values: []string{"nouser_xattr"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "acl", TypeSize: 3}, Kind: 2, Values: []string{"acl"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "noacl", TypeSize: 5}, Kind: 2, Values: []string{"noacl"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "six_active_logs", TypeSize: 13}, Kind: 2, Values: []string{"active_logs=6"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "four_active_logs", TypeSize: 13}, Kind: 2, Values: []string{"active_logs=4"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "two_active_logs", TypeSize: 13}, Kind: 2, Values: []string{"active_logs=2"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "disable_ext_identify", TypeSize: 20}, Kind: 2, Values: []string{"disable_ext_identify"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "inline_xattr", TypeSize: 12}, Kind: 2, Values: []string{"inline_xattr"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "noinline_xattr", TypeSize: 14}, Kind: 2, Values: []string{"noinline_xattr"}, NoZ: true}, + &StructType{Key: StructKey{Name: "fs_opt[\"inline_xattr_size\", array[flags[fs_opt_digits, int8]]]"}, FldName: "inline_xattr_size"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "inline_data", TypeSize: 11}, Kind: 2, Values: []string{"inline_data"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "noinline_data", TypeSize: 13}, Kind: 2, Values: []string{"noinline_data"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "inline_dentry", TypeSize: 13}, Kind: 2, Values: []string{"inline_dentry"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "noinline_dentry", TypeSize: 15}, Kind: 2, Values: []string{"noinline_dentry"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "flush_merge", TypeSize: 11}, Kind: 2, Values: []string{"flush_merge"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "noflush_merge", TypeSize: 13}, Kind: 2, Values: []string{"noflush_merge"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nobarrier", TypeSize: 9}, Kind: 2, Values: []string{"nobarrier"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "fastboot", TypeSize: 8}, Kind: 2, Values: []string{"fastboot"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "extent_cache", TypeSize: 12}, Kind: 2, Values: []string{"extent_cache"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "noextent_cache", TypeSize: 14}, Kind: 2, Values: []string{"noextent_cache"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "data_flush", TypeSize: 10}, Kind: 2, Values: []string{"data_flush"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "adaptive_mode", TypeSize: 13}, Kind: 2, Values: []string{"mode=adaptive"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "lfs_mode", TypeSize: 8}, Kind: 2, Values: []string{"mode=lfs"}, NoZ: true}, + &StructType{Key: StructKey{Name: "fs_opt[\"reserved_root\", array[flags[fs_opt_digits, int8]]]"}, FldName: "reserved_root"}, + &StructType{Key: StructKey{Name: "fs_opt[\"resgid\", array[flags[fs_opt_digits, int8]]]"}, FldName: "resgid"}, + &StructType{Key: StructKey{Name: "fs_opt[\"resuid\", array[flags[fs_opt_digits, int8]]]"}, FldName: "resuid"}, + &StructType{Key: StructKey{Name: "fs_opt[\"iobits\", array[flags[fs_opt_digits, int8]]]"}, FldName: "iobits"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "lazytime", TypeSize: 8}, Kind: 2, Values: []string{"lazytime"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nolazytime", TypeSize: 10}, Kind: 2, Values: []string{"nolazytime"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "quota", TypeSize: 5}, Kind: 2, Values: []string{"quota"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "noquota", TypeSize: 7}, Kind: 2, Values: []string{"noquota"}, NoZ: true}, + &StructType{Key: StructKey{Name: "fs_opt[\"usrquota\", stringnoz]"}, FldName: "usrquota"}, + &StructType{Key: StructKey{Name: "fs_opt[\"grpquota\", stringnoz]"}, FldName: "grpquota"}, + &StructType{Key: StructKey{Name: "fs_opt[\"prjquota\", stringnoz]"}, FldName: "prjquota"}, + &StructType{Key: StructKey{Name: "fs_opt[\"usrjquota\", stringnoz]"}, FldName: "usrjquota"}, + &StructType{Key: StructKey{Name: "fs_opt[\"grpjquota\", stringnoz]"}, FldName: "grpjquota"}, + &StructType{Key: StructKey{Name: "fs_opt[\"prjjquota\", stringnoz]"}, FldName: "prjjquota"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "jqfmt_vfsold", TypeSize: 12}, Kind: 2, Values: []string{"jqfmt=vfsold"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "jqfmt_vfsv0", TypeSize: 11}, Kind: 2, Values: []string{"jqfmt=vfsv0"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "jqfmt_vfsv1", TypeSize: 11}, Kind: 2, Values: []string{"jqfmt=vfsv1"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "whint_mode_user", TypeSize: 21}, Kind: 2, Values: []string{"whint_mode=user-based"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "whint_mode_off", TypeSize: 14}, Kind: 2, Values: []string{"whint_mode=off"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "whint_mode_fs", TypeSize: 19}, Kind: 2, Values: []string{"whint_mode=fs-based"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "alloc_mode_def", TypeSize: 18}, Kind: 2, Values: []string{"alloc_mode=default"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "alloc_mode_reuse", TypeSize: 16}, Kind: 2, Values: []string{"alloc_mode=reuse"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "fsync_mode_posix", TypeSize: 16}, Kind: 2, Values: []string{"fsync_mode=posix"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "fsync_mode_strict", TypeSize: 17}, Kind: 2, Values: []string{"fsync_mode=strict"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "test_dummy_encryption", TypeSize: 21}, Kind: 2, Values: []string{"test_dummy_encryption"}, NoZ: true}, + }}}, {Key: StructKey{Name: "f_owner_ex"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "f_owner_ex", TypeSize: 8}, Fields: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "f_owner_type", FldName: "type", TypeSize: 4}}, Vals: []uint64{0, 1, 2}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, @@ -2976,6 +3036,16 @@ 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[\"grpjquota\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"grpjquota\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 9}, Kind: 2, Values: []string{"grpjquota"}, NoZ: true}, + &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[\"grpquota\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"grpquota\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"grpquota"}, NoZ: true}, + &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[\"hostdata\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"hostdata\", stringnoz]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"hostdata"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -2986,11 +3056,21 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, }}}, + {Key: StructKey{Name: "fs_opt[\"inline_xattr_size\", array[flags[fs_opt_digits, int8]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"inline_xattr_size\", array[flags[fs_opt_digits, int8]]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 17}, Kind: 2, Values: []string{"inline_xattr_size"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, + }}}, {Key: StructKey{Name: "fs_opt[\"inode_readahead_blks\", array[flags[fs_opt_digits, int8]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"inode_readahead_blks\", array[flags[fs_opt_digits, int8]]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 20}, Kind: 2, Values: []string{"inode_readahead_blks"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, }}}, + {Key: StructKey{Name: "fs_opt[\"iobits\", array[flags[fs_opt_digits, int8]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"iobits\", array[flags[fs_opt_digits, int8]]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 6}, Kind: 2, Values: []string{"iobits"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, + }}}, {Key: StructKey{Name: "fs_opt[\"iocharset\", stringnoz[codepages_names]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"iocharset\", stringnoz[codepages_names]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 9}, Kind: 2, Values: []string{"iocharset"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -3081,11 +3161,26 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, }}}, + {Key: StructKey{Name: "fs_opt[\"prjjquota\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"prjjquota\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 9}, Kind: 2, Values: []string{"prjjquota"}, NoZ: true}, + &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[\"prjquota\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"prjquota\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"prjquota"}, NoZ: true}, + &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[\"quota_quantum\", array[flags[fs_opt_digits, int8]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"quota_quantum\", array[flags[fs_opt_digits, int8]]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 13}, Kind: 2, Values: []string{"quota_quantum"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, }}}, + {Key: StructKey{Name: "fs_opt[\"reserved_root\", array[flags[fs_opt_digits, int8]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"reserved_root\", array[flags[fs_opt_digits, int8]]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 13}, Kind: 2, Values: []string{"reserved_root"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, + }}}, {Key: StructKey{Name: "fs_opt[\"resgid\", array[flags[fs_opt_digits, int8]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"resgid\", array[flags[fs_opt_digits, int8]]]", IsVarlen: true}, 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}, @@ -3211,6 +3306,16 @@ 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[\"usrjquota\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"usrjquota\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 9}, Kind: 2, Values: []string{"usrjquota"}, NoZ: true}, + &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[\"usrquota\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"usrquota\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"usrquota"}, NoZ: true}, + &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_elem[btrfs_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[btrfs_options]", IsVarlen: true}, Fields: []Type{ &UnionType{Key: StructKey{Name: "btrfs_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, @@ -3219,6 +3324,10 @@ var structDescs_arm64 = []*KeyedStruct{ &UnionType{Key: StructKey{Name: "ext4_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, }}}, + {Key: StructKey{Name: "fs_opt_elem[f2fs_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[f2fs_options]", IsVarlen: true}, Fields: []Type{ + &UnionType{Key: StructKey{Name: "f2fs_options"}, FldName: "elem"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, + }}}, {Key: StructKey{Name: "fs_opt_elem[gfs2_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[gfs2_options]", IsVarlen: true}, Fields: []Type{ &UnionType{Key: StructKey{Name: "gfs2_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, @@ -3263,6 +3372,10 @@ var structDescs_arm64 = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[ext4_options]"}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, }}}, + {Key: StructKey{Name: "fs_options[f2fs_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_options[f2fs_options]", IsVarlen: true}, Fields: []Type{ + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[f2fs_options]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, + }}}, {Key: StructKey{Name: "fs_options[gfs2_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_options[gfs2_options]", IsVarlen: true}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[gfs2_options]"}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, @@ -23745,6 +23858,15 @@ 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}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fs_options[ext4_options]"}}}, }}, + {Name: "syz_mount_image$f2fs", CallName: "syz_mount_image", Args: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fs", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 5}, Kind: 2, Values: []string{"f2fs\x00"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dir", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "size", TypeSize: 8}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nsegs", TypeSize: 8}}, Buf: "segments"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "segments", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_image_segment"}}}}, + &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}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fs_options[f2fs_options]"}}}, + }}, {Name: "syz_mount_image$gfs2", CallName: "syz_mount_image", Args: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fs", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 5}, Kind: 2, Values: []string{"gfs2\x00"}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dir", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, @@ -28605,4 +28727,4 @@ var consts_arm64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm64 = "171606e5652b433103cae8bab1d09225faa6221e" +const revision_arm64 = "067e79d32cdb305f6ecae6b6d2da2bfc1d8a2b7e" diff --git a/sys/linux/filesystem.txt b/sys/linux/filesystem.txt index b798b814..1981512c 100644 --- a/sys/linux/filesystem.txt +++ b/sys/linux/filesystem.txt @@ -40,6 +40,8 @@ syz_mount_image$ext4(fs ptr[in, string[ext4_types]], dir ptr[in, filename], size ext4_types = "ext4", "ext3", "ext2" +syz_mount_image$f2fs(fs ptr[in, string["f2fs"]], dir ptr[in, filename], size intptr, nsegs len[segments], segments ptr[in, array[fs_image_segment]], flags flags[mount_flags], opts ptr[in, fs_options[f2fs_options]]) + fs_image_segment { data ptr[in, array[int8]] size len[data, intptr] @@ -473,6 +475,67 @@ ext4_options [ usrjquota_path fs_opt_filename["usrjquota"] ] [varlen] +f2fs_options [ + background_gc_sync stringnoz["background_gc=sync"] + background_gc_off stringnoz["background_gc=off"] + background_gc_on stringnoz["background_gc=on"] + disable_roll_forward stringnoz["disable_roll_forward"] + norecovery stringnoz["norecovery"] + discard stringnoz["discard"] + nodiscard stringnoz["nodiscard"] + noheap stringnoz["noheap"] + heap stringnoz["heap"] + user_xattr stringnoz["user_xattr"] + nouser_xattr stringnoz["nouser_xattr"] + acl stringnoz["acl"] + noacl stringnoz["noacl"] + six_active_logs stringnoz["active_logs=6"] + four_active_logs stringnoz["active_logs=4"] + two_active_logs stringnoz["active_logs=2"] + disable_ext_identify stringnoz["disable_ext_identify"] + inline_xattr stringnoz["inline_xattr"] + noinline_xattr stringnoz["noinline_xattr"] + inline_xattr_size fs_opt_dec["inline_xattr_size"] + inline_data stringnoz["inline_data"] + noinline_data stringnoz["noinline_data"] + inline_dentry stringnoz["inline_dentry"] + noinline_dentry stringnoz["noinline_dentry"] + flush_merge stringnoz["flush_merge"] + noflush_merge stringnoz["noflush_merge"] + nobarrier stringnoz["nobarrier"] + fastboot stringnoz["fastboot"] + extent_cache stringnoz["extent_cache"] + noextent_cache stringnoz["noextent_cache"] + data_flush stringnoz["data_flush"] + adaptive_mode stringnoz["mode=adaptive"] + lfs_mode stringnoz["mode=lfs"] + reserved_root fs_opt_dec["reserved_root"] + resgid fs_opt_dec["resgid"] + resuid fs_opt_dec["resuid"] + iobits fs_opt_dec["iobits"] + lazytime stringnoz["lazytime"] + nolazytime stringnoz["nolazytime"] + quota stringnoz["quota"] + noquota stringnoz["noquota"] + usrquota fs_opt_str["usrquota"] + grpquota fs_opt_str["grpquota"] + prjquota fs_opt_str["prjquota"] + usrjquota fs_opt_str["usrjquota"] + grpjquota fs_opt_str["grpjquota"] + prjjquota fs_opt_str["prjjquota"] + jqfmt_vfsold stringnoz["jqfmt=vfsold"] + jqfmt_vfsv0 stringnoz["jqfmt=vfsv0"] + jqfmt_vfsv1 stringnoz["jqfmt=vfsv1"] + whint_mode_user stringnoz["whint_mode=user-based"] + whint_mode_off stringnoz["whint_mode=off"] + whint_mode_fs stringnoz["whint_mode=fs-based"] + alloc_mode_def stringnoz["alloc_mode=default"] + alloc_mode_reuse stringnoz["alloc_mode=reuse"] + fsync_mode_posix stringnoz["fsync_mode=posix"] + fsync_mode_strict stringnoz["fsync_mode=strict"] + test_dummy_encryption stringnoz["test_dummy_encryption"] +] [varlen] + codepage_nums = "1250", "1251", "1255", "437", "737", "775", "850", "852", "855", "857", "860", "861", "862", "863", "864", "865", "866", "869", "874", "932", "936", "949", "950" codepages_names = "macceltic", "maccenteuro", "maccroatian", "maccyrillic", "macgaelic", "macgreek", "maciceland", "macinuit", "macroman", "macromanian", "macturkish", "ascii", "default", "cp1250", "cp1251", "cp1255", "cp437", "cp737", "cp775", "cp850", "cp852", "cp855", "cp857", "cp860", "cp861", "cp862", "cp863", "cp864", "cp865", "cp866", "cp869", "cp874", "cp932", "cp936", "cp949", "cp950", "euc-jp", "iso8859-13", "iso8859-14", "iso8859-15", "iso8859-1", "iso8859-2", "iso8859-3", "iso8859-4", "iso8859-5", "iso8859-6", "iso8859-7", "iso8859-9", "koi8-r", "koi8-ru", "koi8-u", "utf8", "none" mount_flags = MS_BIND, MS_DIRSYNC, MS_MANDLOCK, MS_MOVE, MS_NOATIME, MS_NODEV, MS_NODIRATIME, MS_NOEXEC, MS_NOSUID, MS_RDONLY, MS_RELATIME, MS_REMOUNT, MS_SILENT, MS_STRICTATIME, MS_SYNCHRONOUS, MS_REC, MS_POSIXACL, MS_UNBINDABLE, MS_PRIVATE, MS_SLAVE, MS_SHARED, MS_I_VERSION, MS_LAZYTIME diff --git a/sys/linux/ppc64le.go b/sys/linux/ppc64le.go index 41d397d3..443e7641 100644 --- a/sys/linux/ppc64le.go +++ b/sys/linux/ppc64le.go @@ -2682,6 +2682,66 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "fs_opt[\"grpjquota\", stringnoz[filename]]"}, FldName: "grpjquota_path"}, &StructType{Key: StructKey{Name: "fs_opt[\"usrjquota\", stringnoz[filename]]"}, FldName: "usrjquota_path"}, }}}, + {Key: StructKey{Name: "f2fs_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "f2fs_options", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "background_gc_sync", TypeSize: 18}, Kind: 2, Values: []string{"background_gc=sync"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "background_gc_off", TypeSize: 17}, Kind: 2, Values: []string{"background_gc=off"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "background_gc_on", TypeSize: 16}, Kind: 2, Values: []string{"background_gc=on"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "disable_roll_forward", TypeSize: 20}, Kind: 2, Values: []string{"disable_roll_forward"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "norecovery", TypeSize: 10}, Kind: 2, Values: []string{"norecovery"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "discard", TypeSize: 7}, Kind: 2, Values: []string{"discard"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nodiscard", TypeSize: 9}, Kind: 2, Values: []string{"nodiscard"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "noheap", TypeSize: 6}, Kind: 2, Values: []string{"noheap"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "heap", TypeSize: 4}, Kind: 2, Values: []string{"heap"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "user_xattr", TypeSize: 10}, Kind: 2, Values: []string{"user_xattr"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nouser_xattr", TypeSize: 12}, Kind: 2, Values: []string{"nouser_xattr"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "acl", TypeSize: 3}, Kind: 2, Values: []string{"acl"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "noacl", TypeSize: 5}, Kind: 2, Values: []string{"noacl"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "six_active_logs", TypeSize: 13}, Kind: 2, Values: []string{"active_logs=6"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "four_active_logs", TypeSize: 13}, Kind: 2, Values: []string{"active_logs=4"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "two_active_logs", TypeSize: 13}, Kind: 2, Values: []string{"active_logs=2"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "disable_ext_identify", TypeSize: 20}, Kind: 2, Values: []string{"disable_ext_identify"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "inline_xattr", TypeSize: 12}, Kind: 2, Values: []string{"inline_xattr"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "noinline_xattr", TypeSize: 14}, Kind: 2, Values: []string{"noinline_xattr"}, NoZ: true}, + &StructType{Key: StructKey{Name: "fs_opt[\"inline_xattr_size\", array[flags[fs_opt_digits, int8]]]"}, FldName: "inline_xattr_size"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "inline_data", TypeSize: 11}, Kind: 2, Values: []string{"inline_data"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "noinline_data", TypeSize: 13}, Kind: 2, Values: []string{"noinline_data"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "inline_dentry", TypeSize: 13}, Kind: 2, Values: []string{"inline_dentry"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "noinline_dentry", TypeSize: 15}, Kind: 2, Values: []string{"noinline_dentry"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "flush_merge", TypeSize: 11}, Kind: 2, Values: []string{"flush_merge"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "noflush_merge", TypeSize: 13}, Kind: 2, Values: []string{"noflush_merge"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nobarrier", TypeSize: 9}, Kind: 2, Values: []string{"nobarrier"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "fastboot", TypeSize: 8}, Kind: 2, Values: []string{"fastboot"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "extent_cache", TypeSize: 12}, Kind: 2, Values: []string{"extent_cache"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "noextent_cache", TypeSize: 14}, Kind: 2, Values: []string{"noextent_cache"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "data_flush", TypeSize: 10}, Kind: 2, Values: []string{"data_flush"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "adaptive_mode", TypeSize: 13}, Kind: 2, Values: []string{"mode=adaptive"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "lfs_mode", TypeSize: 8}, Kind: 2, Values: []string{"mode=lfs"}, NoZ: true}, + &StructType{Key: StructKey{Name: "fs_opt[\"reserved_root\", array[flags[fs_opt_digits, int8]]]"}, FldName: "reserved_root"}, + &StructType{Key: StructKey{Name: "fs_opt[\"resgid\", array[flags[fs_opt_digits, int8]]]"}, FldName: "resgid"}, + &StructType{Key: StructKey{Name: "fs_opt[\"resuid\", array[flags[fs_opt_digits, int8]]]"}, FldName: "resuid"}, + &StructType{Key: StructKey{Name: "fs_opt[\"iobits\", array[flags[fs_opt_digits, int8]]]"}, FldName: "iobits"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "lazytime", TypeSize: 8}, Kind: 2, Values: []string{"lazytime"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nolazytime", TypeSize: 10}, Kind: 2, Values: []string{"nolazytime"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "quota", TypeSize: 5}, Kind: 2, Values: []string{"quota"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "noquota", TypeSize: 7}, Kind: 2, Values: []string{"noquota"}, NoZ: true}, + &StructType{Key: StructKey{Name: "fs_opt[\"usrquota\", stringnoz]"}, FldName: "usrquota"}, + &StructType{Key: StructKey{Name: "fs_opt[\"grpquota\", stringnoz]"}, FldName: "grpquota"}, + &StructType{Key: StructKey{Name: "fs_opt[\"prjquota\", stringnoz]"}, FldName: "prjquota"}, + &StructType{Key: StructKey{Name: "fs_opt[\"usrjquota\", stringnoz]"}, FldName: "usrjquota"}, + &StructType{Key: StructKey{Name: "fs_opt[\"grpjquota\", stringnoz]"}, FldName: "grpjquota"}, + &StructType{Key: StructKey{Name: "fs_opt[\"prjjquota\", stringnoz]"}, FldName: "prjjquota"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "jqfmt_vfsold", TypeSize: 12}, Kind: 2, Values: []string{"jqfmt=vfsold"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "jqfmt_vfsv0", TypeSize: 11}, Kind: 2, Values: []string{"jqfmt=vfsv0"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "jqfmt_vfsv1", TypeSize: 11}, Kind: 2, Values: []string{"jqfmt=vfsv1"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "whint_mode_user", TypeSize: 21}, Kind: 2, Values: []string{"whint_mode=user-based"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "whint_mode_off", TypeSize: 14}, Kind: 2, Values: []string{"whint_mode=off"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "whint_mode_fs", TypeSize: 19}, Kind: 2, Values: []string{"whint_mode=fs-based"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "alloc_mode_def", TypeSize: 18}, Kind: 2, Values: []string{"alloc_mode=default"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "alloc_mode_reuse", TypeSize: 16}, Kind: 2, Values: []string{"alloc_mode=reuse"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "fsync_mode_posix", TypeSize: 16}, Kind: 2, Values: []string{"fsync_mode=posix"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "fsync_mode_strict", TypeSize: 17}, Kind: 2, Values: []string{"fsync_mode=strict"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "test_dummy_encryption", TypeSize: 21}, Kind: 2, Values: []string{"test_dummy_encryption"}, NoZ: true}, + }}}, {Key: StructKey{Name: "f_owner_ex"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "f_owner_ex", TypeSize: 8}, Fields: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "f_owner_type", FldName: "type", TypeSize: 4}}, Vals: []uint64{0, 1, 2}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, @@ -2970,6 +3030,16 @@ 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[\"grpjquota\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"grpjquota\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 9}, Kind: 2, Values: []string{"grpjquota"}, NoZ: true}, + &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[\"grpquota\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"grpquota\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"grpquota"}, NoZ: true}, + &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[\"hostdata\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"hostdata\", stringnoz]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"hostdata"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -2980,11 +3050,21 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, }}}, + {Key: StructKey{Name: "fs_opt[\"inline_xattr_size\", array[flags[fs_opt_digits, int8]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"inline_xattr_size\", array[flags[fs_opt_digits, int8]]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 17}, Kind: 2, Values: []string{"inline_xattr_size"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, + }}}, {Key: StructKey{Name: "fs_opt[\"inode_readahead_blks\", array[flags[fs_opt_digits, int8]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"inode_readahead_blks\", array[flags[fs_opt_digits, int8]]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 20}, Kind: 2, Values: []string{"inode_readahead_blks"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, }}}, + {Key: StructKey{Name: "fs_opt[\"iobits\", array[flags[fs_opt_digits, int8]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"iobits\", array[flags[fs_opt_digits, int8]]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 6}, Kind: 2, Values: []string{"iobits"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, + }}}, {Key: StructKey{Name: "fs_opt[\"iocharset\", stringnoz[codepages_names]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"iocharset\", stringnoz[codepages_names]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 9}, Kind: 2, Values: []string{"iocharset"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -3075,11 +3155,26 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, }}}, + {Key: StructKey{Name: "fs_opt[\"prjjquota\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"prjjquota\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 9}, Kind: 2, Values: []string{"prjjquota"}, NoZ: true}, + &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[\"prjquota\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"prjquota\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"prjquota"}, NoZ: true}, + &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[\"quota_quantum\", array[flags[fs_opt_digits, int8]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"quota_quantum\", array[flags[fs_opt_digits, int8]]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 13}, Kind: 2, Values: []string{"quota_quantum"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, }}}, + {Key: StructKey{Name: "fs_opt[\"reserved_root\", array[flags[fs_opt_digits, int8]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"reserved_root\", array[flags[fs_opt_digits, int8]]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 13}, Kind: 2, Values: []string{"reserved_root"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, + }}}, {Key: StructKey{Name: "fs_opt[\"resgid\", array[flags[fs_opt_digits, int8]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"resgid\", array[flags[fs_opt_digits, int8]]]", IsVarlen: true}, 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}, @@ -3205,6 +3300,16 @@ 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[\"usrjquota\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"usrjquota\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 9}, Kind: 2, Values: []string{"usrjquota"}, NoZ: true}, + &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[\"usrquota\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"usrquota\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"usrquota"}, NoZ: true}, + &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_elem[btrfs_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[btrfs_options]", IsVarlen: true}, Fields: []Type{ &UnionType{Key: StructKey{Name: "btrfs_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, @@ -3213,6 +3318,10 @@ var structDescs_ppc64le = []*KeyedStruct{ &UnionType{Key: StructKey{Name: "ext4_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, }}}, + {Key: StructKey{Name: "fs_opt_elem[f2fs_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[f2fs_options]", IsVarlen: true}, Fields: []Type{ + &UnionType{Key: StructKey{Name: "f2fs_options"}, FldName: "elem"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, + }}}, {Key: StructKey{Name: "fs_opt_elem[gfs2_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[gfs2_options]", IsVarlen: true}, Fields: []Type{ &UnionType{Key: StructKey{Name: "gfs2_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, @@ -3257,6 +3366,10 @@ var structDescs_ppc64le = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[ext4_options]"}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, }}}, + {Key: StructKey{Name: "fs_options[f2fs_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_options[f2fs_options]", IsVarlen: true}, Fields: []Type{ + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[f2fs_options]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, + }}}, {Key: StructKey{Name: "fs_options[gfs2_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_options[gfs2_options]", IsVarlen: true}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[gfs2_options]"}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, @@ -23491,6 +23604,15 @@ 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}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fs_options[ext4_options]"}}}, }}, + {Name: "syz_mount_image$f2fs", CallName: "syz_mount_image", Args: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fs", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 5}, Kind: 2, Values: []string{"f2fs\x00"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dir", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "size", TypeSize: 8}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nsegs", TypeSize: 8}}, Buf: "segments"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "segments", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_image_segment"}}}}, + &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}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fs_options[f2fs_options]"}}}, + }}, {Name: "syz_mount_image$gfs2", CallName: "syz_mount_image", Args: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fs", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 5}, Kind: 2, Values: []string{"gfs2\x00"}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dir", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, @@ -28367,4 +28489,4 @@ var consts_ppc64le = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_ppc64le = "2384d64bdb573f4dde8f1e1df12af42289c24ebb" +const revision_ppc64le = "173082ff7b8211ebef59420f07bc501ad3de7a9e"