Searched refs:bitmapoffsetbits (Results 1 – 4 of 4) sorted by relevance
593 int bitmapoffsetbits; in vhd_read() local597 bitmapoffsetbits = (offset / 512) % (hfd->vhd_blocksize / 512); in vhd_read()598 bitmapoffsetbytes = bitmapoffsetbits / 8; in vhd_read()610 if (hfd->vhd_sectormap[bitmapoffsetbytes & 511] & (1 << (7 - (bitmapoffsetbits & 7)))) { in vhd_read()612 uae_u64 block = sectoroffset * (uae_u64)512 + hfd->vhd_bitmapsize + bitmapoffsetbits * 512; in vhd_read()686 int bitmapoffsetbits; in vhd_write() local689 bitmapoffsetbits = (offset / 512) % (hfd->vhd_blocksize / 512); in vhd_write()690 bitmapoffsetbytes = bitmapoffsetbits / 8; in vhd_write()701 … (hfd, dataptr, sectoroffset * (uae_u64)512 + hfd->vhd_bitmapsize + bitmapoffsetbits * 512, 512) !… in vhd_write()706 if (!(hfd->vhd_sectormap[bitmapoffsetbytes & 511] & (1 << (7 - (bitmapoffsetbits & 7))))) { in vhd_write()[all …]
389 int bitmapoffsetbits; in vhd_fread2() local393 bitmapoffsetbits = (offset / 512) % (zvhd->vhd_blocksize / 512); in vhd_fread2()394 bitmapoffsetbytes = bitmapoffsetbits / 8; in vhd_fread2()405 if (zvhd->vhd_sectormap[bitmapoffsetbytes & 511] & (1 << (7 - (bitmapoffsetbits & 7)))) { in vhd_fread2()407 int block = sectoroffset * 512 + zvhd->vhd_bitmapsize + bitmapoffsetbits * 512; in vhd_fread2()
641 int bitmapoffsetbits; in vhd_read() local645 bitmapoffsetbits = (offset / 512) % (hfd->vhd_blocksize / 512); in vhd_read()646 bitmapoffsetbytes = bitmapoffsetbits / 8; in vhd_read()658 if (hfd->vhd_sectormap[bitmapoffsetbytes & 511] & (1 << (7 - (bitmapoffsetbits & 7)))) { in vhd_read()660 uae_u64 block = sectoroffset * (uae_u64)512 + hfd->vhd_bitmapsize + bitmapoffsetbits * 512; in vhd_read()734 int bitmapoffsetbits; in vhd_write() local737 bitmapoffsetbits = (offset / 512) % (hfd->vhd_blocksize / 512); in vhd_write()738 bitmapoffsetbytes = bitmapoffsetbits / 8; in vhd_write()749 … (hfd, dataptr, sectoroffset * (uae_u64)512 + hfd->vhd_bitmapsize + bitmapoffsetbits * 512, 512) !… in vhd_write()754 if (!(hfd->vhd_sectormap[bitmapoffsetbytes & 511] & (1 << (7 - (bitmapoffsetbits & 7))))) { in vhd_write()[all …]
401 int bitmapoffsetbits; in vhd_fread2() local405 bitmapoffsetbits = (offset / 512) % (zvhd->vhd_blocksize / 512); in vhd_fread2()406 bitmapoffsetbytes = bitmapoffsetbits / 8; in vhd_fread2()417 if (zvhd->vhd_sectormap[bitmapoffsetbytes & 511] & (1 << (7 - (bitmapoffsetbits & 7)))) { in vhd_fread2()419 int block = sectoroffset * 512 + zvhd->vhd_bitmapsize + bitmapoffsetbits * 512; in vhd_fread2()