Searched refs:sector_count (Results 1 – 8 of 8) sorted by relevance
/external/qemu/hw/ |
D | scsi-disk.c | 55 uint32_t sector_count; member 96 r->sector_count = 0; in scsi_new_request() 195 if (r->sector_count == (uint32_t)-1) { in scsi_read_data() 197 r->sector_count = 0; in scsi_read_data() 201 DPRINTF("Read sector_count=%d\n", r->sector_count); in scsi_read_data() 202 if (r->sector_count == 0) { in scsi_read_data() 207 n = r->sector_count; in scsi_read_data() 218 r->sector_count -= n; in scsi_read_data() 256 r->sector_count -= n; in scsi_write_complete() 257 if (r->sector_count == 0) { in scsi_write_complete() [all …]
|
D | goldfish_mmc.c | 232 int64_t sector_count = 0; in goldfish_mmc_do_command() local 237 bdrv_get_geometry(s->bs, (uint64_t*)§or_count); in goldfish_mmc_do_command() 238 capacity = sector_count * 512; in goldfish_mmc_do_command() 278 capacity = sector_count * 512; in goldfish_mmc_do_command()
|
/external/kernel-headers/original/linux/ |
D | hdreg.h | 137 task_ioreg_t sector_count; member 143 task_ioreg_t sector_count; member 154 task_ioreg_t sector_count; member
|
D | hdsmart.h | 74 unsigned char sector_count; member
|
/external/qemu/block/ |
D | vvfat.c | 334 uint32_t sector_count; /* total number of sectors of the partition */ member 394 lba|= sector2CHS(s->bs, &partition->end_CHS, s->sector_count); in init_mbr() 398 partition->length_sector_long=cpu_to_le32(s->sector_count - s->first_sectors_number+1); in init_mbr() 862 s->sectors_per_fat=(s->sector_count+i)/i; /* round up */ in init_directories() 879 s->cluster_count=sector2cluster(s, s->sector_count); in init_directories() 933 s->fat_type == 12 ? s->sector_count == 2880 ? "1.44 MB" in init_directories() 968 bootsector->total_sectors16=s->sector_count>0xffff?0:cpu_to_le16(s->sector_count); in init_directories() 969 …bootsector->media_type=(s->fat_type!=12?0xf8:s->sector_count==5760?0xf9:0xf8); /* media descriptor… in init_directories() 975 bootsector->total_sectors=cpu_to_le32(s->sector_count>0xffff?s->sector_count:0); in init_directories() 1041 s->sector_count=bs->cyls*bs->heads*bs->secs; in vvfat_open() [all …]
|
/external/grub/stage2/ |
D | disk_io.c | 366 devwrite (int sector, int sector_count, char *buf) in devwrite() argument 377 sector, sector_count, buf); in devwrite() 384 for (i = 0; i < sector_count; i++) in devwrite()
|
D | builtins.c | 3285 int sector_count = 0; in savedefault_func() local 3294 if (sector_count < 2) in savedefault_func() 3296 saved_sectors[sector_count] = sector; in savedefault_func() 3297 saved_offsets[sector_count] = offset; in savedefault_func() 3298 saved_lengths[sector_count] = length; in savedefault_func() 3300 sector_count++; in savedefault_func() 3364 if (sector_count > 2) in savedefault_func()
|
/external/qemu-pc-bios/bochs/bios/ |
D | rombios.c | 706 Bit16u sector_count; 3675 write_word(ebda_seg,&EbdaData->cdemu.sector_count,nbsectors); 6003 write_word(DS,SI+0x0e,read_word(ebda_seg,&EbdaData->cdemu.sector_count)); 6313 Bit8u sector_count; 6451 sector_count = 0; 6490 sector_count++; 6508 SET_AL(sector_count); 6591 sector_count = 0; 6630 sector_count++; 6648 SET_AL(sector_count);
|