Lines Matching refs:trackbuf
762 raw = decode ((ulong *)(unit[drive].trackbuf + hdr.sect*512),
764 csum = checksum((ulong *)(unit[drive].trackbuf + hdr.sect*512), 512);
771 ((ulong *)(unit[drive].trackbuf+hdr.sect*512))[0],
772 ((ulong *)(unit[drive].trackbuf+hdr.sect*512))[1],
773 ((ulong *)(unit[drive].trackbuf+hdr.sect*512))[2],
774 ((ulong *)(unit[drive].trackbuf+hdr.sect*512))[3]);
832 hdr.datachk = checksum((ulong *)(unit[disk].trackbuf+cnt*512), 512);
842 encode_block(raw, (ulong *)(unit[disk].trackbuf+cnt*512), 512);
1111 raw = dos_decode((unsigned char *)(unit[drive].trackbuf + (hdr.sec - 1) * 512), (ushort *) raw, 512);
1113 crc = dos_data_crc(unit[drive].trackbuf + (hdr.sec - 1) * 512);
1120 ((ulong *)(unit[drive].trackbuf+(hdr.sec-1)*512))[0],
1121 ((ulong *)(unit[drive].trackbuf+(hdr.sec-1)*512))[1],
1122 ((ulong *)(unit[drive].trackbuf+(hdr.sec-1)*512))[2],
1123 ((ulong *)(unit[drive].trackbuf+(hdr.sec-1)*512))[3]);
1190 (unsigned char *)unit[drive].trackbuf+cnt*512,512);
1194 crc[0]=dos_data_crc(unit[drive].trackbuf+cnt*512);
1385 memcpy(data, floppy->trackbuf + sector * 512, 512);
1389 memcpy(floppy->trackbuf + sector * 512, data, 512);
1462 memset(unit[drive].trackbuf, FD_FILL_BYTE,
1668 if ((unit[drive].trackbuf = kmalloc(FLOPPY_MAX_SECTORS * 512, GFP_KERNEL)) == NULL) {