Lines Matching refs:set_sb
45 static struct ext2_super_block set_sb; variable
84 { "inodes_count", &set_sb.s_inodes_count, NULL, 4, parse_uint },
85 { "blocks_count", &set_sb.s_blocks_count, &set_sb.s_blocks_count_hi,
87 { "r_blocks_count", &set_sb.s_r_blocks_count,
88 &set_sb.s_r_blocks_count_hi, 4, parse_uint },
89 { "free_blocks_count", &set_sb.s_free_blocks_count,
90 &set_sb.s_free_blocks_hi, 4, parse_uint },
91 { "free_inodes_count", &set_sb.s_free_inodes_count, NULL, 4, parse_uint },
92 { "first_data_block", &set_sb.s_first_data_block, NULL, 4, parse_uint },
93 { "log_block_size", &set_sb.s_log_block_size, NULL, 4, parse_uint },
94 { "log_cluster_size", &set_sb.s_log_cluster_size, NULL, 4, parse_int },
95 { "blocks_per_group", &set_sb.s_blocks_per_group, NULL, 4, parse_uint },
96 { "clusters_per_group", &set_sb.s_clusters_per_group, NULL, 4, parse_uint },
97 { "inodes_per_group", &set_sb.s_inodes_per_group, NULL, 4, parse_uint },
98 { "mtime", &set_sb.s_mtime, NULL, 4, parse_time },
99 { "wtime", &set_sb.s_wtime, NULL, 4, parse_time },
100 { "mnt_count", &set_sb.s_mnt_count, NULL, 2, parse_uint },
101 { "max_mnt_count", &set_sb.s_max_mnt_count, NULL, 2, parse_int },
103 { "state", &set_sb.s_state, NULL, 2, parse_uint },
104 { "errors", &set_sb.s_errors, NULL, 2, parse_uint },
105 { "minor_rev_level", &set_sb.s_minor_rev_level, NULL, 2, parse_uint },
106 { "lastcheck", &set_sb.s_lastcheck, NULL, 4, parse_time },
107 { "checkinterval", &set_sb.s_checkinterval, NULL, 4, parse_uint },
108 { "creator_os", &set_sb.s_creator_os, NULL, 4, parse_uint },
109 { "rev_level", &set_sb.s_rev_level, NULL, 4, parse_uint },
110 { "def_resuid", &set_sb.s_def_resuid, NULL, 2, parse_uint },
111 { "def_resgid", &set_sb.s_def_resgid, NULL, 2, parse_uint },
112 { "first_ino", &set_sb.s_first_ino, NULL, 4, parse_uint },
113 { "inode_size", &set_sb.s_inode_size, NULL, 2, parse_uint },
114 { "block_group_nr", &set_sb.s_block_group_nr, NULL, 2, parse_uint },
115 { "feature_compat", &set_sb.s_feature_compat, NULL, 4, parse_uint },
116 { "feature_incompat", &set_sb.s_feature_incompat, NULL, 4, parse_uint },
117 { "feature_ro_compat", &set_sb.s_feature_ro_compat, NULL, 4, parse_uint },
118 { "uuid", &set_sb.s_uuid, NULL, 16, parse_uuid },
119 { "volume_name", &set_sb.s_volume_name, NULL, 16, parse_string },
120 { "last_mounted", &set_sb.s_last_mounted, NULL, 64, parse_string },
121 { "algorithm_usage_bitmap", &set_sb.s_algorithm_usage_bitmap, NULL,
123 { "prealloc_blocks", &set_sb.s_prealloc_blocks, NULL, 1, parse_uint },
124 { "prealloc_dir_blocks", &set_sb.s_prealloc_dir_blocks, NULL, 1,
126 { "reserved_gdt_blocks", &set_sb.s_reserved_gdt_blocks, NULL, 2,
128 { "journal_uuid", &set_sb.s_journal_uuid, NULL, 16, parse_uuid },
129 { "journal_inum", &set_sb.s_journal_inum, NULL, 4, parse_uint },
130 { "journal_dev", &set_sb.s_journal_dev, NULL, 4, parse_uint },
131 { "last_orphan", &set_sb.s_last_orphan, NULL, 4, parse_uint },
132 { "hash_seed", &set_sb.s_hash_seed, NULL, 16, parse_uuid },
133 { "def_hash_version", &set_sb.s_def_hash_version, NULL, 1, parse_hashalg },
134 { "jnl_backup_type", &set_sb.s_jnl_backup_type, NULL, 1, parse_uint },
135 { "desc_size", &set_sb.s_desc_size, NULL, 2, parse_uint },
136 { "default_mount_opts", &set_sb.s_default_mount_opts, NULL, 4, parse_uint },
137 { "first_meta_bg", &set_sb.s_first_meta_bg, NULL, 4, parse_uint },
138 { "mkfs_time", &set_sb.s_mkfs_time, NULL, 4, parse_time },
139 { "jnl_blocks", &set_sb.s_jnl_blocks[0], NULL, 4, parse_uint, FLAG_ARRAY,
141 { "min_extra_isize", &set_sb.s_min_extra_isize, NULL, 2, parse_uint },
142 { "want_extra_isize", &set_sb.s_want_extra_isize, NULL, 2, parse_uint },
143 { "flags", &set_sb.s_flags, NULL, 4, parse_uint },
144 { "raid_stride", &set_sb.s_raid_stride, NULL, 2, parse_uint },
145 { "mmp_interval", &set_sb.s_mmp_update_interval, NULL, 2, parse_uint },
146 { "mmp_block", &set_sb.s_mmp_block, NULL, 8, parse_uint },
147 { "raid_stripe_width", &set_sb.s_raid_stripe_width, NULL, 4, parse_uint },
148 { "log_groups_per_flex", &set_sb.s_log_groups_per_flex, NULL, 1, parse_uint },
149 { "kbytes_written", &set_sb.s_kbytes_written, NULL, 8, parse_uint },
150 { "snapshot_inum", &set_sb.s_snapshot_inum, NULL, 4, parse_uint },
151 { "snapshot_id", &set_sb.s_snapshot_id, NULL, 4, parse_uint },
152 { "snapshot_r_blocks_count", &set_sb.s_snapshot_r_blocks_count,
154 { "snapshot_list", &set_sb.s_snapshot_list, NULL, 4, parse_uint },
155 { "mount_opts", &set_sb.s_mount_opts, NULL, 64, parse_string },
156 { "usr_quota_inum", &set_sb.s_usr_quota_inum, NULL, 4, parse_uint },
157 { "grp_quota_inum", &set_sb.s_grp_quota_inum, NULL, 4, parse_uint },
158 { "prj_quota_inum", &set_sb.s_prj_quota_inum, NULL, 4, parse_uint },
159 { "overhead_blocks", &set_sb.s_overhead_blocks, NULL, 4, parse_uint },
160 { "backup_bgs", &set_sb.s_backup_bgs[0], NULL, 4, parse_uint,
162 { "checksum", &set_sb.s_checksum, NULL, 4, parse_uint },
163 { "checksum_type", &set_sb.s_checksum_type, NULL, 1, parse_uint },
164 { "encryption_level", &set_sb.s_encryption_level, NULL, 1, parse_uint },
165 { "error_count", &set_sb.s_error_count, NULL, 4, parse_uint },
166 { "first_error_time", &set_sb.s_first_error_time, NULL, 4, parse_time },
167 { "first_error_ino", &set_sb.s_first_error_ino, NULL, 4, parse_uint },
168 { "first_error_block", &set_sb.s_first_error_block, NULL, 8, parse_uint },
169 { "first_error_func", &set_sb.s_first_error_func, NULL, 32, parse_string },
170 { "first_error_line", &set_sb.s_first_error_line, NULL, 4, parse_uint },
171 { "last_error_time", &set_sb.s_last_error_time, NULL, 4, parse_time },
172 { "last_error_ino", &set_sb.s_last_error_ino, NULL, 4, parse_uint },
173 { "last_error_block", &set_sb.s_last_error_block, NULL, 8, parse_uint },
174 { "last_error_func", &set_sb.s_last_error_func, NULL, 32, parse_string },
175 { "last_error_line", &set_sb.s_last_error_line, NULL, 4, parse_uint },
176 { "encrypt_algos", &set_sb.s_encrypt_algos, NULL, 1, parse_uint,
178 { "encrypt_pw_salt", &set_sb.s_encrypt_pw_salt, NULL, 16, parse_uuid },
179 { "lpf_ino", &set_sb.s_lpf_ino, NULL, 4, parse_uint },
180 { "checksum_seed", &set_sb.s_checksum_seed, NULL, 4, parse_uint },
337 do_verify_field_set_info(super_fields, &set_sb, sizeof(set_sb)); in main()
747 set_sb = *current_fs->super; in do_set_super()
749 *current_fs->super = set_sb; in do_set_super()