Home
last modified time | relevance | path

Searched refs:fsinfo (Results 1 – 2 of 2) sorted by relevance

/external/fsck_msdos/
Dboot.c56 u_char fsinfo[2 * DOSBOOTBLOCKSIZE]; local
130 || read(dosfs, fsinfo, sizeof fsinfo)
131 != sizeof fsinfo) {
135 if (memcmp(fsinfo, "RRaA", 4)
136 || memcmp(fsinfo + 0x1e4, "rrAa", 4)
137 || fsinfo[0x1fc]
138 || fsinfo[0x1fd]
139 || fsinfo[0x1fe] != 0x55
140 || fsinfo[0x1ff] != 0xaa
141 || fsinfo[0x3fc]
[all …]
/external/e2fsprogs/misc/
Dfilefrag.c335 static struct statfs fsinfo; local
368 if (fstatfs(fd, &fsinfo) < 0) {
375 (unsigned long) fsinfo.f_type);
377 st.st_blksize = fsinfo.f_bsize;
381 ((fsinfo.f_type == 0xef51) || (fsinfo.f_type == 0xef52) ||
382 (fsinfo.f_type == 0xef53)))
386 long cylgroups = div_ceil(fsinfo.f_blocks, fsinfo.f_bsize * 8);
392 data_blocks_per_cyl = fsinfo.f_bsize * 8 -
393 (fsinfo.f_files / 8 / cylgroups) - 3;
397 width = int_log10(fsinfo.f_blocks);
[all …]