Lines Matching refs:total_sectors
55 vol->root_entries_count, vol->total_sectors, vol->sectors_per_fat);
242 vol->total_sectors = read32(buf, 0x20);
257 vol->total_clusters = (vol->total_sectors - vol->data_start)
284 vol->total_sectors = read16(buf, 0x13); // partition size
285 if (vol->total_sectors == 0)
286 vol->total_sectors = read32(buf, 0x20);
301 && vol->total_sectors == 196576
304 vol->total_sectors = 196192;
320 vol->total_clusters = (vol->total_sectors - vol->data_start)
387 && vol->total_sectors >
401 vol->fBlockCache = block_cache_create(vol->fd, vol->total_sectors,
605 vol->reserved_sectors, vol->total_sectors));
664 uint32 total_sectors;
676 uint32 total_sectors;
716 total_sectors = read32(buf, 0x20);
719 total_sectors = read16(buf, 0x13);
721 if (total_sectors == 0)
722 total_sectors = read32(buf, 0x20);
743 cookie->total_sectors = total_sectors;
758 partition->content_size = cookie->total_sectors * cookie->bytes_per_sector;
1117 dprintf("%lx reserved sectors, %lx total sectors\n", vol->reserved_sectors, vol->total_sectors);