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

/netbsd-6-1-5-RELEASE/sys/lib/libsa/
H A Ddosfs.h1 /* $NetBSD: dosfs.h,v 1.1.26.3 2004/09/21 13:36:18 skrll Exp $ */
30 FS_DEF(dosfs); variable
H A DMakefile76 SRCS+= dosfs.c
/netbsd-6-1-5-RELEASE/sys/arch/i386/stand/bootxx/bootxx_msdos/
H A DMakefile4 FS= dosfs
/netbsd-6-1-5-RELEASE/sbin/fsck_msdos/
H A Dcheck.c47 int dosfs; local
59 dosfs = open(filename, rdonly ? O_RDONLY : O_RDWR, 0);
60 if (dosfs < 0 && !rdonly) {
61 dosfs = open(filename, O_RDONLY, 0);
62 if (dosfs >= 0)
70 if (dosfs < 0) {
75 if (readboot(dosfs, &boot) != FSOK) {
76 close(dosfs);
88 mod |= readfat(dosfs, &boot, boot.ValidFat >= 0 ? boot.ValidFat : 0, &fat);
90 close(dosfs);
[all...]
H A Dboot.c43 readboot(int dosfs, struct bootblock *boot) argument
51 if ((size_t)read(dosfs, block, sizeof block) != sizeof block) {
100 if (lseek(dosfs, boot->FSInfo * boot->BytesPerSec, SEEK_SET)
102 || read(dosfs, fsinfo, sizeof fsinfo)
127 if (lseek(dosfs, boot->FSInfo * boot->BytesPerSec, SEEK_SET)
129 || write(dosfs, fsinfo, sizeof fsinfo)
147 if (lseek(dosfs, boot->Backup * boot->BytesPerSec, SEEK_SET)
149 || read(dosfs, backup, sizeof backup) != sizeof backup) {
234 writefsinfo(int dosfs, struct bootblock *boot) argument
238 if (lseek(dosfs, boo
[all...]
H A Ddir.c886 handleDirTree(int dosfs, struct bootblock *boot, struct fatEntry *fat) argument
890 mod = readDosDirSection(dosfs, boot, fat, rootDir);
911 mod |= readDosDirSection(dosfs, boot, fat, dir);
927 reconnect(int dosfs, struct bootblock *boot, struct fatEntry *fat, cl_t head) argument
970 if (lseek(dosfs, lfoff, SEEK_SET) != lfoff
971 || (size_t)read(dosfs, lfbuf, boot->ClusterSize) != boot->ClusterSize) {
1000 if (lseek(dosfs, lfoff, SEEK_SET) != lfoff
1001 || (size_t)write(dosfs, lfbuf, boot->ClusterSize) != boot->ClusterSize) {
H A Dfat.c570 checklost(int dosfs, struct bootblock *boot, struct fatEntry *fat) argument
587 mod |= ret = reconnect(dosfs, boot, fat, head);
620 mod |= writefsinfo(dosfs, boot);
/netbsd-6-1-5-RELEASE/sys/arch/landisk/stand/boot/
H A Dconf.c40 #include <lib/libsa/dosfs.h>
59 FS_OPS(dosfs),
/netbsd-6-1-5-RELEASE/sys/arch/i386/stand/boot/
H A Dconf.c46 #include <lib/libsa/dosfs.h>
76 FS_OPS(dosfs),
/netbsd-6-1-5-RELEASE/sys/arch/arc/stand/boot/
H A Dconf.c39 #include <lib/libsa/dosfs.h>
97 FS_OPS(dosfs),
/netbsd-6-1-5-RELEASE/sys/arch/i386/stand/dosboot/
H A Ddevopen.c43 static struct fs_ops dosfs = { variable in typeref:struct:fs_ops
108 file_system[0] = dosfs; /* structure assignment! */
/netbsd-6-1-5-RELEASE/sys/arch/evbarm/stand/boot2440/
H A Ddevopen.c39 #include <lib/libsa/dosfs.h>
64 struct fs_ops ops_dosfs = FS_OPS(dosfs);
/netbsd-6-1-5-RELEASE/sys/arch/ofppc/stand/ofwboot/
H A Dofdev.c48 #include <lib/libsa/dosfs.h>
177 static struct fs_ops file_system_dosfs = FS_OPS(dosfs);
/netbsd-6-1-5-RELEASE/sys/arch/shark/stand/ofwboot/
H A Dofdev.c48 #include <lib/libsa/dosfs.h>
160 static struct fs_ops file_system_dosfs = FS_OPS(dosfs);
/netbsd-6-1-5-RELEASE/sys/arch/macppc/stand/ofwboot/
H A Dofdev.c51 #include <lib/libsa/dosfs.h>
126 static struct fs_ops file_system_dosfs = FS_OPS(dosfs);

Completed in 221 milliseconds