Lines Matching refs:fprintf

30 	fprintf(f, "%u ", uid);  in print_user()
33 fprintf(f, "(user unknown)\n"); in print_user()
35 fprintf(f, "(user %s)\n", pw->pw_name); in print_user()
42 fprintf(f, "%u ", gid); in print_group()
45 fprintf(f, "(group unknown)\n"); in print_group()
47 fprintf(f, "(group %s)\n", gr->gr_name); in print_group()
103 fprintf(f, "Filesystem features: "); in print_features()
107 fprintf(f, " %s", e2p_feature2string(i, m)); in print_features()
113 fprintf(f, " (none)"); in print_features()
114 fprintf(f, "\n"); in print_features()
124 fprintf(f, "Default mount options: "); in print_mntopts()
126 fprintf(f, " %s", e2p_mntopt2string(mask & EXT3_DEFM_JMODE)); in print_mntopts()
133 fprintf(f, " %s", e2p_mntopt2string(m)); in print_mntopts()
138 fprintf(f, " (none)"); in print_mntopts()
139 fprintf(f, "\n"); in print_mntopts()
213 fprintf(f, "Filesystem volume name: %s\n", buf); in list_super2()
219 fprintf(f, "Last mounted on: %s\n", buf); in list_super2()
220 fprintf(f, "Filesystem UUID: %s\n", e2p_uuid2str(sb->s_uuid)); in list_super2()
221 fprintf(f, "Filesystem magic number: 0x%04X\n", sb->s_magic); in list_super2()
222 fprintf(f, "Filesystem revision #: %d", sb->s_rev_level); in list_super2()
224 fprintf(f, " (original)\n"); in list_super2()
227 fprintf(f, " (dynamic)\n"); in list_super2()
230 fprintf(f, " (unknown)\n"); in list_super2()
235 fprintf(f, "Mount options: %s\n", sb->s_mount_opts); in list_super2()
236 fprintf(f, "Filesystem state: "); in list_super2()
238 fprintf(f, "\n"); in list_super2()
239 fprintf(f, "Errors behavior: "); in list_super2()
241 fprintf(f, "\n"); in list_super2()
243 fprintf(f, "Filesystem OS type: %s\n", str); in list_super2()
245 fprintf(f, "Inode count: %u\n", sb->s_inodes_count); in list_super2()
246 fprintf(f, "Block count: %llu\n", e2p_blocks_count(sb)); in list_super2()
247 fprintf(f, "Reserved block count: %llu\n", e2p_r_blocks_count(sb)); in list_super2()
249 fprintf(f, "Overhead blocks: %u\n", in list_super2()
251 fprintf(f, "Free blocks: %llu\n", e2p_free_blocks_count(sb)); in list_super2()
252 fprintf(f, "Free inodes: %u\n", sb->s_free_inodes_count); in list_super2()
253 fprintf(f, "First block: %u\n", sb->s_first_data_block); in list_super2()
254 fprintf(f, "Block size: %u\n", EXT2_BLOCK_SIZE(sb)); in list_super2()
256 fprintf(f, "Cluster size: %u\n", in list_super2()
259 fprintf(f, "Fragment size: %u\n", in list_super2()
262 fprintf(f, "Group descriptor size: %u\n", sb->s_desc_size); in list_super2()
264 fprintf(f, "Reserved GDT blocks: %u\n", in list_super2()
266 fprintf(f, "Blocks per group: %u\n", sb->s_blocks_per_group); in list_super2()
268 fprintf(f, "Clusters per group: %u\n", in list_super2()
271 fprintf(f, "Fragments per group: %u\n", in list_super2()
273 fprintf(f, "Inodes per group: %u\n", sb->s_inodes_per_group); in list_super2()
274 fprintf(f, "Inode blocks per group: %u\n", inode_blocks_per_group); in list_super2()
276 fprintf(f, "RAID stride: %u\n", in list_super2()
279 fprintf(f, "RAID stripe width: %u\n", in list_super2()
282 fprintf(f, "First meta block group: %u\n", in list_super2()
285 fprintf(f, "Flex block group size: %u\n", in list_super2()
289 fprintf(f, "Filesystem created: %s", ctime(&tm)); in list_super2()
292 fprintf(f, "Last mount time: %s", in list_super2()
295 fprintf(f, "Last write time: %s", ctime(&tm)); in list_super2()
296 fprintf(f, "Mount count: %u\n", sb->s_mnt_count); in list_super2()
297 fprintf(f, "Maximum mount count: %d\n", sb->s_max_mnt_count); in list_super2()
299 fprintf(f, "Last checked: %s", ctime(&tm)); in list_super2()
300 fprintf(f, "Check interval: %u (%s)\n", sb->s_checkinterval, in list_super2()
307 fprintf(f, "Next check after: %s", ctime(&next)); in list_super2()
311 fprintf(f, "Lifetime writes: "); in list_super2()
313 fprintf(f, "%llu kB\n", sb->s_kbytes_written); in list_super2()
315 fprintf(f, "%llu MB\n", in list_super2()
318 fprintf(f, "%llu GB\n", in list_super2()
321 fprintf(f, "%llu TB\n", in list_super2()
324 fprintf(f, "%llu PB\n", in list_super2()
327 fprintf(f, "Reserved blocks uid: "); in list_super2()
329 fprintf(f, "Reserved blocks gid: "); in list_super2()
332 fprintf(f, "First inode: %d\n", sb->s_first_ino); in list_super2()
333 fprintf(f, "Inode size: %d\n", sb->s_inode_size); in list_super2()
335 fprintf(f, "Required extra isize: %d\n", in list_super2()
338 fprintf(f, "Desired extra isize: %d\n", in list_super2()
342 fprintf(f, "Journal UUID: %s\n", in list_super2()
345 fprintf(f, "Journal inode: %u\n", in list_super2()
348 fprintf(f, "Journal device: 0x%04x\n", in list_super2()
351 fprintf(f, "First orphan inode: %u\n", in list_super2()
355 fprintf(f, "Default directory hash: %s\n", in list_super2()
358 fprintf(f, "Directory Hash Seed: %s\n", in list_super2()
361 fprintf(f, "Journal backup: "); in list_super2()
364 fprintf(f, "inode blocks\n"); in list_super2()
367 fprintf(f, "type %u\n", sb->s_jnl_backup_type); in list_super2()
371 fprintf(f, "Snapshot inode: %u\n", in list_super2()
373 fprintf(f, "Snapshot ID: %u\n", in list_super2()
375 fprintf(f, "Snapshot reserved blocks: %llu\n", in list_super2()
379 fprintf(f, "Snapshot list head: %u\n", in list_super2()
382 fprintf(f, "FS Error count: %u\n", in list_super2()
386 fprintf(f, "First error time: %s", ctime(&tm)); in list_super2()
390 fprintf(f, "First error function: %s\n", buf); in list_super2()
391 fprintf(f, "First error line #: %u\n", in list_super2()
393 fprintf(f, "First error inode #: %u\n", in list_super2()
395 fprintf(f, "First error block #: %llu\n", in list_super2()
400 fprintf(f, "Last error time: %s", ctime(&tm)); in list_super2()
404 fprintf(f, "Last error function: %s\n", buf); in list_super2()
405 fprintf(f, "Last error line #: %u\n", in list_super2()
407 fprintf(f, "Last error inode #: %u\n", in list_super2()
409 fprintf(f, "Last error block #: %llu\n", in list_super2()
413 fprintf(f, "MMP block number: %llu\n", in list_super2()
415 fprintf(f, "MMP update interval: %u\n", in list_super2()
419 fprintf(f, "User quota inode: %u\n", in list_super2()
422 fprintf(f, "Group quota inode: %u\n", in list_super2()
426 fprintf(f, "Checksum: 0x%08x\n", in list_super2()