Home
last modified time | relevance | path

Searched refs:lfbuf (Results 1 – 1 of 1) sorted by relevance

/netbsd-src/sbin/fsck_msdos/
H A Ddir.c924 static u_char *lfbuf; variable
948 if (!lfbuf) { in reconnect()
949 lfbuf = malloc(boot->ClusterSize); in reconnect()
950 if (!lfbuf) { in reconnect()
956 p = lfbuf; in reconnect()
959 for (; p < lfbuf + boot->ClusterSize; p += 32) in reconnect()
963 if (p && p < lfbuf + boot->ClusterSize) in reconnect()
974 || (size_t)read(dosfs, lfbuf, boot->ClusterSize) != boot->ClusterSize) { in reconnect()
978 p = lfbuf; in reconnect()
1005 || (size_t)write(dosfs, lfbuf, boot->ClusterSize) != boot->ClusterSize) { in reconnect()
[all …]