Searched defs:dosfs (Results 1 - 3 of 3) sorted by relevance

/external/fsck_msdos/
H A Dcheck.c61 int dosfs; local
74 dosfs = open(fname, rdonly ? O_RDONLY : O_RDWR, 0);
75 if (dosfs < 0 && !rdonly) {
76 dosfs = open(fname, O_RDONLY, 0);
77 if (dosfs >= 0)
85 if (dosfs < 0) {
90 if (readboot(dosfs, &boot) == FSFATAL) {
91 close(dosfs);
96 if (skipclean && preen && checkdirty(dosfs, &boot)) {
115 mod |= readfat(dosfs,
[all...]
H A Dfat.c661 checklost(int dosfs, struct bootblock *boot, struct fatEntry *fat) argument
678 mod |= ret = reconnect(dosfs, boot, fat, head);
738 mod |= writefsinfo(dosfs, boot);
H A Ddir.c978 handleDirTree(int dosfs, struct bootblock *boot, struct fatEntry *fat) argument
982 mod = readDosDirSection(dosfs, boot, fat, rootDir);
1003 mod |= readDosDirSection(dosfs, boot, fat, dir);
1019 reconnect(int dosfs, struct bootblock *boot, struct fatEntry *fat, cl_t head) argument
1063 if (lseek64(dosfs, lfoff, SEEK_SET) != lfoff
1064 || read(dosfs, lfbuf, boot->ClusterSize) != boot->ClusterSize) {
1093 if (lseek64(dosfs, lfoff, SEEK_SET) != lfoff
1094 || write(dosfs, lfbuf, boot->ClusterSize) != boot->ClusterSize) {

Completed in 64 milliseconds