Lines Matching refs:lfbuf
912 static u_char *lfbuf;
936 if (!lfbuf) {
937 lfbuf = malloc(boot->ClusterSize);
938 if (!lfbuf) {
944 p = lfbuf;
947 for (; p < lfbuf + boot->ClusterSize; p += 32)
951 if (p && p < lfbuf + boot->ClusterSize)
962 || (size_t)read(dosfs, lfbuf, boot->ClusterSize) != boot->ClusterSize) {
966 p = lfbuf;
993 || (size_t)write(dosfs, lfbuf, boot->ClusterSize) != boot->ClusterSize) {
1003 if (lfbuf)
1004 free(lfbuf);
1005 lfbuf = NULL;