Searched refs:dosfs (Results 1 - 6 of 6) sorted by relevance

/freebsd-9.3-release/sbin/fsck_msdosfs/
H A Dcheck.c46 int dosfs; local
58 dosfs = open(fname, rdonly ? O_RDONLY : O_RDWR, 0);
59 if (dosfs < 0 && !rdonly) {
60 dosfs = open(fname, O_RDONLY, 0);
61 if (dosfs >= 0)
69 if (dosfs < 0) {
75 if (readboot(dosfs, &boot) != FSOK) {
76 close(dosfs);
81 if (skipclean && preen && checkdirty(dosfs, &boot)) {
95 mod |= readfat(dosfs,
[all...]
H A Dboot.c43 readboot(int dosfs, struct bootblock *boot) argument
51 if (read(dosfs, block, sizeof block) != sizeof block) {
103 if (lseek(dosfs, boot->bpbFSInfo * boot->bpbBytesPerSec,
105 || read(dosfs, fsinfo, sizeof fsinfo) != sizeof fsinfo) {
129 if (lseek(dosfs, boot->bpbFSInfo *
132 || write(dosfs, fsinfo, sizeof fsinfo)
150 if (lseek(dosfs, boot->bpbBackup * boot->bpbBytesPerSec,
153 || read(dosfs, backup, sizeof backup) != sizeof backup) {
238 writefsinfo(int dosfs, struct bootblock *boot) argument
242 if (lseek(dosfs, boo
[all...]
H A Ddir.c882 handleDirTree(int dosfs, struct bootblock *boot, struct fatEntry *fat) argument
886 mod = readDosDirSection(dosfs, boot, fat, rootDir);
907 mod |= readDosDirSection(dosfs, boot, fat, dir);
923 reconnect(int dosfs, struct bootblock *boot, struct fatEntry *fat, cl_t head) argument
966 if (lseek(dosfs, lfoff, SEEK_SET) != lfoff
967 || (size_t)read(dosfs, lfbuf, boot->ClusterSize) != boot->ClusterSize) {
996 if (lseek(dosfs, lfoff, SEEK_SET) != lfoff
997 || (size_t)write(dosfs, lfbuf, boot->ClusterSize) != boot->ClusterSize) {
H A Dfat.c649 checklost(int dosfs, struct bootblock *boot, struct fatEntry *fat) argument
666 mod |= ret = reconnect(dosfs, boot, fat, head);
687 mod |= writefsinfo(dosfs, boot);
/freebsd-9.3-release/sys/boot/userboot/libstand/
H A DMakefile163 SRCS+= dosfs.c ext2fs.c
/freebsd-9.3-release/lib/libstand/
H A DMakefile158 SRCS+= dosfs.c ext2fs.c

Completed in 59 milliseconds