OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:dosfs
(Results
1 - 6
of
6
) sorted by null
/external/fsck_msdos/
check.c
61
int
dosfs
;
local
74
dosfs
= open(fname, rdonly ? O_RDONLY : O_RDWR, 0);
75
if (
dosfs
< 0 && !rdonly) {
76
dosfs
= open(fname, O_RDONLY, 0);
77
if (
dosfs
>= 0)
85
if (
dosfs
< 0) {
90
if (readboot(
dosfs
, &boot) == FSFATAL) {
91
close(
dosfs
);
96
if (skipclean && preen && checkdirty(
dosfs
, &boot)) {
115
mod |= readfat(
dosfs
, &boot, boot.ValidFat >= 0 ? boot.ValidFat : 0, &fat)
[
all
...]
boot.c
51
readboot(
dosfs
, boot)
52
int
dosfs
;
60
if (read(
dosfs
, block, sizeof block) < sizeof block) {
109
if (lseek(
dosfs
, boot->FSInfo * boot->BytesPerSec, SEEK_SET)
111
|| read(
dosfs
, fsinfo, sizeof fsinfo)
136
if (lseek(
dosfs
, boot->FSInfo * boot->BytesPerSec, SEEK_SET)
138
|| write(
dosfs
, fsinfo, sizeof fsinfo)
156
if (lseek(
dosfs
, boot->Backup * boot->BytesPerSec, SEEK_SET)
158
|| read(
dosfs
, backup, sizeof backup) != sizeof backup) {
255
writefsinfo(
dosfs
, boot
[
all
...]
dosfs.h
33
* $NetBSD:
dosfs
.h,v 1.4 1997/01/03 14:32:48 ws Exp $
34
* $FreeBSD: src/sbin/fsck_msdosfs/
dosfs
.h,v 1.3 2003/12/26 17:24:37 trhodes Exp $
dir.c
858
handleDirTree(int
dosfs
, struct bootblock *boot, struct fatEntry *fat)
862
mod = readDosDirSection(
dosfs
, boot, fat, rootDir);
883
mod |= readDosDirSection(
dosfs
, boot, fat, dir);
899
reconnect(int
dosfs
, struct bootblock *boot, struct fatEntry *fat, cl_t head)
943
if (lseek64(
dosfs
, lfoff, SEEK_SET) != lfoff
944
|| read(
dosfs
, lfbuf, boot->ClusterSize) != boot->ClusterSize) {
973
if (lseek64(
dosfs
, lfoff, SEEK_SET) != lfoff
974
|| write(
dosfs
, lfbuf, boot->ClusterSize) != boot->ClusterSize) {
ext.h
40
#include "
dosfs
.h"
fat.c
652
checklost(int
dosfs
, struct bootblock *boot, struct fatEntry *fat)
669
mod |= ret = reconnect(
dosfs
, boot, fat, head);
707
mod |= writefsinfo(
dosfs
, boot);
Completed in 23 milliseconds