Searched refs:num_sectors (Results 1 - 6 of 6) sorted by relevance

/external/stressapptest/src/
H A Ddisk_blocks.cc186 int num_sectors; local
199 num_sectors = write_block_size_ / sector_size_;
209 device_sectors_ / num_sectors);
210 sector *= num_sectors;
213 segment_size_ / num_sectors);
214 sector *= num_sectors;
218 if (sector + num_sectors > (segment + 1) * segment_size_) {
224 if (sector + num_sectors > device_sectors_) {
245 // No contiguous sequence of num_sectors sectors was found within
/external/qemu/hw/
H A Dgoldfish_mmc.c176 int num_sectors)
180 while (num_sectors > 0) {
187 num_sectors -= 1;
196 int num_sectors)
200 while (num_sectors > 0) {
208 num_sectors -= 1;
173 goldfish_mmc_bdrv_read(struct goldfish_mmc_state *s, int64_t sector_number, target_phys_addr_t dst_address, int num_sectors) argument
193 goldfish_mmc_bdrv_write(struct goldfish_mmc_state *s, int64_t sector_number, target_phys_addr_t dst_address, int num_sectors) argument
/external/grub/stage2/
H A Dfsys_fat.c35 int num_sectors; member in struct:fat_superblock
92 FAT_SUPER->num_sectors = FAT_CVT_U16 (bpb.short_sectors)
110 2 + ((FAT_SUPER->num_sectors - FAT_SUPER->data_offset)
H A Dbuiltins.c143 int num_sectors = 0;
153 if (num_sectors > 0)
155 if (start_sector + num_sectors == sector
158 num_sectors++;
166 start_sector - part_start, num_sectors);
167 else if (num_sectors > 1)
169 start_sector - part_start, num_sectors-1,
170 start_sector + num_sectors-1 - part_start,
176 num_sectors = 0;
189 num_sectors
142 int num_sectors = 0; local
[all...]
H A Dfsys_reiserfs.c1218 int num_sectors; local
1232 num_sectors = (REISERFS_DISK_OFFSET_IN_BYTES >> SECTOR_BITS) - 1;
1234 num_sectors = (REISERFS_OLD_DISK_OFFSET_IN_BYTES >> SECTOR_BITS) - 1;
1236 return (needed_sectors <= num_sectors);
/external/qemu-pc-bios/bochs/bios/
H A Drombios.c6305 Bit8u drive, num_sectors, sector, head, status, mod; local
6373 num_sectors = GET_AL();
6408 if ( (num_sectors > 128) || (num_sectors == 0) )
6409 BX_PANIC("int13_harddisk: num_sectors out of range!\n");
6425 outb(0x01f2, num_sectors);
6491 num_sectors--;
6492 if (num_sectors == 0) {
6519 num_sectors = GET_AL();
6554 if ( (num_sectors > 12
7150 Bit8u drive, num_sectors, track, sector, head, status; local
[all...]

Completed in 126 milliseconds