Lines Matching refs:lfbuf
1068 static u_char *lfbuf;
1095 if (!lfbuf) {
1096 lfbuf = malloc(boot->ClusterSize);
1097 if (!lfbuf) {
1103 p = lfbuf;
1106 for (; p < lfbuf + boot->ClusterSize; p += 32)
1110 if (p && p < lfbuf + boot->ClusterSize)
1123 || (size_t)read(dosfs, lfbuf, boot->ClusterSize) != boot->ClusterSize) {
1127 p = lfbuf;
1153 || (size_t)write(dosfs, lfbuf, boot->ClusterSize) != boot->ClusterSize) {
1163 if (lfbuf)
1164 free(lfbuf);
1165 lfbuf = NULL;