Searched refs:dosfs (Results 1 - 5 of 5) sorted by relevance
/freebsd-11.0-release/sbin/fsck_msdosfs/ |
H A D | check.c | 46 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 D | boot.c | 43 readboot(int dosfs, struct bootblock *boot) argument 51 if ((size_t)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 D | dir.c | 884 handleDirTree(int dosfs, struct bootblock *boot, struct fatEntry *fat) argument 888 mod = readDosDirSection(dosfs, boot, fat, rootDir); 909 mod |= readDosDirSection(dosfs, boot, fat, dir); 925 reconnect(int dosfs, struct bootblock *boot, struct fatEntry *fat, cl_t head) argument 969 if (lseek(dosfs, lfoff, SEEK_SET) != lfoff 970 || (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 D | fat.c | 668 checklost(int dosfs, struct bootblock *boot, struct fatEntry *fat) argument 685 mod |= ret = reconnect(dosfs, boot, fat, head); 707 mod |= writefsinfo(dosfs, boot);
|
/freebsd-11.0-release/lib/libstand/ |
H A D | Makefile | 151 SRCS+= dosfs.c ext2fs.c
|
Completed in 65 milliseconds