Lines Matching refs:dosfs
51 int dosfs;
64 dosfs = open(fname, rdonly ? O_RDONLY : O_RDWR, 0);
65 if (dosfs < 0 && !rdonly) {
66 dosfs = open(fname, O_RDONLY, 0);
67 if (dosfs >= 0)
75 if (dosfs < 0) {
81 if (readboot(dosfs, &boot) == FSFATAL) {
82 close(dosfs);
87 if (skipclean && preen && checkdirty(dosfs, &boot)) {
98 mod |= readfat(dosfs, &boot, &fat);
100 close(dosfs);
187 close(dosfs);