Lines Matching refs:lfbuf
920 static u_char *lfbuf;
944 if (!lfbuf) {
945 lfbuf = malloc(boot->ClusterSize);
946 if (!lfbuf) {
952 p = lfbuf;
955 for (; p < lfbuf + boot->ClusterSize; p += 32)
959 if (p && p < lfbuf + boot->ClusterSize)
970 || (size_t)read(dosfs, lfbuf, boot->ClusterSize) != boot->ClusterSize) {
974 p = lfbuf;
1001 || (size_t)write(dosfs, lfbuf, boot->ClusterSize) != boot->ClusterSize) {
1011 if (lfbuf)
1012 free(lfbuf);
1013 lfbuf = NULL;