• Home
  • Raw
  • Download

Lines Matching refs:ext2

125 	struct ext2_super_block ext2;  in main()  local
192 read(fd, &ext2, 512) == 512; sk += skiprate) { in main()
217 if (ext2.s_magic != EXT2_SUPER_MAGIC) in main()
219 if (ext2.s_log_block_size > 6) in main()
220 WHY("log block size > 6 (%u)\n", ext2.s_log_block_size); in main()
221 if (ext2fs_r_blocks_count(&ext2) > ext2fs_blocks_count(&ext2)) in main()
223 ext2fs_r_blocks_count(&ext2), in main()
224 ext2fs_blocks_count(&ext2)); in main()
225 if (ext2fs_free_blocks_count(&ext2) > ext2fs_blocks_count(&ext2)) in main()
227 ext2fs_free_blocks_count(&ext2), in main()
228 ext2fs_blocks_count(&ext2)); in main()
229 if (ext2.s_free_inodes_count > ext2.s_inodes_count) in main()
231 ext2.s_free_inodes_count, ext2.s_inodes_count); in main()
233 if (ext2.s_mkfs_time != 0) in main()
234 tm = ext2.s_mkfs_time; in main()
236 tm = ext2.s_mtime; in main()
239 bsize = 1 << (ext2.s_log_block_size + 10); in main()
240 grpsize = bsize * ext2.s_blocks_per_group; in main()
241 if (memcmp(ext2.s_uuid, last_uuid, sizeof(last_uuid)) == 0 && in main()
242 ext2.s_rev_level > 0 && ext2.s_block_group_nr == 0) { in main()
246 memcpy(last_uuid, ext2.s_uuid, sizeof(last_uuid)); in main()
248 if (ext2.s_block_group_nr == 0 || bsize == 1024) in main()
255 sk, sk - ext2.s_block_group_nr * grpsize - sb_offset, in main()
257 sk + ext2fs_blocks_count(&ext2) * bsize - in main()
258 ext2.s_block_group_nr * grpsize - sb_offset, in main()
259 jnl_copy ? "*" : " ", ext2fs_blocks_count(&ext2), bsize, in main()
260 ext2.s_block_group_nr, jnl_copy ? "*" : " ", s, in main()
261 ext2.s_uuid[0], ext2.s_uuid[1], in main()
262 ext2.s_uuid[2], ext2.s_uuid[3], ext2.s_volume_name); in main()