/src/sys/lib/libsa/ |
dosfs.h | 1 /* $NetBSD: dosfs.h,v 1.3 2005/12/11 12:24:46 christos Exp $ */ 30 FS_DEF(dosfs);
|
Makefile | 89 SRCS+= dosfs.c
|
/src/sbin/fsck_msdos/ |
check.c | 47 int dosfs; local in function:checkfilesys 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 mod = readboot(dosfs, &boot); 77 close(dosfs); 89 mod |= readfat(dosfs, &boot, boot.ValidFat >= 0 ? boot.ValidFat : 0, &fat); 91 close(dosfs); [all...] |
boot.c | 46 readboot(int dosfs, struct bootblock *boot) 56 err = ioctl(dosfs, DIOCGSECTORSIZE, &secsize); 67 if ((size_t)read(dosfs, block, secsize) != secsize) { 133 if (lseek(dosfs, boot->FSInfo * boot->BytesPerSec, SEEK_SET) 135 || (size_t)read(dosfs, fsinfo, 2 * secsize) 160 if (lseek(dosfs, boot->FSInfo * boot->BytesPerSec, SEEK_SET) 162 || (size_t)write(dosfs, fsinfo, 2 * secsize) 183 if (lseek(dosfs, boot->Backup * boot->BytesPerSec, SEEK_SET) 185 || (size_t)read(dosfs, backup, secsize) != secsize) { 301 writefsinfo(int dosfs, struct bootblock *boot [all...] |
dir.c | 888 handleDirTree(int dosfs, struct bootblock *boot, struct fatEntry *fat) 892 mod = readDosDirSection(dosfs, boot, fat, rootDir); 913 mod |= readDosDirSection(dosfs, boot, fat, dir); 929 reconnect(int dosfs, struct bootblock *boot, struct fatEntry *fat, cl_t head) 973 if (lseek(dosfs, lfoff, SEEK_SET) != lfoff 974 || (size_t)read(dosfs, lfbuf, boot->ClusterSize) != boot->ClusterSize) { 1004 if (lseek(dosfs, lfoff, SEEK_SET) != lfoff 1005 || (size_t)write(dosfs, lfbuf, boot->ClusterSize) != boot->ClusterSize) {
|
fat.c | 587 checklost(int dosfs, struct bootblock *boot, struct fatEntry *fat) 604 mod |= ret = reconnect(dosfs, boot, fat, head); 640 mod |= writefsinfo(dosfs, boot);
|
/src/sys/arch/i386/stand/bootxx/bootxx_msdos/ |
Makefile | 7 FS= dosfs
|
/src/sys/arch/landisk/stand/boot/ |
conf.c | 40 #include <lib/libsa/dosfs.h> 59 FS_OPS(dosfs),
|
/src/sys/arch/arc/stand/boot/ |
conf.c | 39 #include <lib/libsa/dosfs.h> 97 FS_OPS(dosfs),
|
/src/sys/arch/i386/stand/boot/ |
conf.c | 46 #include <lib/libsa/dosfs.h> 76 FS_OPS(dosfs),
|
/src/sys/stand/efiboot/ |
conf.c | 35 #include <lib/libsa/dosfs.h> 58 FS_OPS(dosfs),
|
/src/sys/arch/i386/stand/efiboot/ |
conf.c | 41 #include <lib/libsa/dosfs.h> 106 FS_OPS(dosfs),
|
/src/sys/arch/i386/stand/dosboot/ |
devopen.c | 44 static struct fs_ops dosfs = { variable in typeref:struct:fs_ops 109 file_system[0] = dosfs; /* structure assignment! */
|
/src/sys/arch/evbarm/stand/boot2440/ |
devopen.c | 39 #include <lib/libsa/dosfs.h> 64 struct fs_ops ops_dosfs = FS_OPS(dosfs);
|
/src/sys/arch/ofppc/stand/ofwboot/ |
ofdev.c | 48 #include <lib/libsa/dosfs.h> 177 static struct fs_ops file_system_dosfs = FS_OPS(dosfs);
|
/src/sys/arch/shark/stand/ofwboot/ |
ofdev.c | 48 #include <lib/libsa/dosfs.h> 160 static struct fs_ops file_system_dosfs = FS_OPS(dosfs);
|
/src/sys/arch/macppc/stand/ofwboot/ |
ofdev.c | 51 #include <lib/libsa/dosfs.h> 130 static struct fs_ops file_system_dosfs = FS_OPS(dosfs);
|