Home | History | Annotate | Download | only in fsck_msdos

Lines Matching full:lfbuf

1014 static u_char *lfbuf;
1037 if (!lfbuf) {
1038 lfbuf = malloc(boot->ClusterSize);
1039 if (!lfbuf) {
1045 p = lfbuf;
1048 for (; p < lfbuf + boot->ClusterSize; p += 32)
1052 if (p && p < lfbuf + boot->ClusterSize)
1064 || read(dosfs, lfbuf, boot->ClusterSize) != boot->ClusterSize) {
1068 p = lfbuf;
1094 || write(dosfs, lfbuf, boot->ClusterSize) != boot->ClusterSize) {
1104 if (lfbuf)
1105 free(lfbuf);
1106 lfbuf = NULL;