Lines Matching defs:lfbuf
924 static u_char *lfbuf;
948 if (!lfbuf) {
949 lfbuf = malloc(boot->ClusterSize);
950 if (!lfbuf) {
956 p = lfbuf;
959 for (; p < lfbuf + boot->ClusterSize; p += 32)
963 if (p && p < lfbuf + boot->ClusterSize)
974 || (size_t)read(dosfs, lfbuf, boot->ClusterSize) != boot->ClusterSize) {
978 p = lfbuf;
1005 || (size_t)write(dosfs, lfbuf, boot->ClusterSize) != boot->ClusterSize) {
1015 if (lfbuf)
1016 free(lfbuf);
1017 lfbuf = NULL;