Lines Matching defs:total_sectors
68 vol->fat_count, vol->root_entries_count, vol->total_sectors,
250 vol->total_sectors = read32(buf, 0x20);
265 vol->total_clusters = (vol->total_sectors - vol->data_start)
291 vol->total_sectors = read16(buf, 0x13); // partition size
292 if (vol->total_sectors == 0)
293 vol->total_sectors = read32(buf, 0x20);
308 && vol->total_sectors == 196576
311 vol->total_sectors = 196192;
327 vol->total_clusters = (vol->total_sectors - vol->data_start)
398 vol->fBlockCache = block_cache_create(vol->fd, vol->total_sectors,
587 if (vol->total_sectors > geo.sectors_per_track * geo.cylinder_count
626 vol->reserved_sectors, vol->total_sectors));
690 uint32 total_sectors;
704 uint32 total_sectors;
746 total_sectors = read32(buf, 0x20);
749 total_sectors = read16(buf, 0x13);
751 if (total_sectors == 0)
752 total_sectors = read32(buf, 0x20);
773 cookie->total_sectors = total_sectors;
788 partition->content_size = cookie->total_sectors * cookie->bytes_per_sector;
1170 dprintf("%lx reserved sectors, %lx total sectors\n", vol->reserved_sectors, vol->total_sectors);