Searched defs:sectors (Results 1 - 19 of 19) sorted by relevance

/external/kernel-headers/original/linux/mtd/
H A Dnftl.h28 unsigned char sectors; member in struct:NFTLrecord
/external/blktrace/btt/
H A Dseek.c26 long long sectors; member in struct:seek_bkt
62 static void __insert(struct rb_root *root, long long sectors) argument
71 if (sectors < sbp->sectors)
73 else if (sectors > sbp->sectors)
83 sbp->sectors = sectors;
145 *rvp = sbp->sectors;
181 mp->modes[mp->nmds++] = sbp->sectors;
[all...]
/external/grub/stage1/
H A Dstage1.S71 sectors: label
185 /* save the total number of sectors */
213 * BIOS call "INT 0x13 Function 0x42" to read sectors from disk into memory
250 movw $ABS(sectors), %si
275 /* save number of sectors */
285 /* divide by number of sectors */
314 incb %cl /* normalize sector (sectors go
326 * BIOS call "INT 0x13 Function 0x2" to read sectors from disk into memory
328 * %al = number of sectors
467 /* if number of sectors i
[all...]
/external/grub/stage2/
H A Dbios.c35 unsigned long *sectors);
40 unsigned long *sectors);
45 /* Read/write NSEC sectors starting from SECTOR in DRIVE disk with GEOMETRY
68 BIOSes don't return the number of total sectors correctly,
97 * geometry->sectors);
110 sector_offset = sector % geometry->sectors + 1;
111 head = sector / geometry->sectors;
143 unsigned char sectors;
160 geometry->sectors = 15;
170 + (((unsigned int) (cdrp.sectors
141 unsigned char sectors; member in struct:iso_spec_packet
214 unsigned long sectors; member in struct:drive_parameters
[all...]
H A Dshared.h394 unsigned char setup_sects; /* The size of the setup in sectors */
638 DOS/Partition table compatibility, and the real number of sectors is
646 /* The number of sectors */
647 unsigned long sectors; member in struct:geometry
648 /* The total number of sectors */
/external/qemu/block/
H A Ddmg.c31 /* each chunk contains a certain number of sectors,
34 * sectors[i] is the sector beginning at offsets[i],
35 * sectorcounts[i] is the number of sectors in that chunk,
36 * the sectors array is ordered
43 uint64_t* sectors; member in struct:BDRVDMGState
85 s->offsets = s->lengths = s->sectors = s->sectorcounts = NULL;
133 s->sectors = qemu_realloc(s->sectors, new_size);
142 last_out_offset = s->sectors[i-1]+s->sectorcounts[i-1];
151 s->sectors[
[all...]
H A Dvpc.c254 // We must ensure that we don't write to any sectors which are marked as
326 * Returns the sectors' offset in the image file on success and < 0 on error
378 int64_t sectors, sectors_per_block; local
384 sectors = sectors_per_block - (sector_num % sectors_per_block);
385 if (sectors > nb_sectors) {
386 sectors = nb_sectors;
390 memset(buf, 0, sectors * BDRV_SECTOR_SIZE);
393 sectors * BDRV_SECTOR_SIZE);
394 if (ret != sectors * BDRV_SECTOR_SIZE) {
399 nb_sectors -= sectors;
411 int64_t sectors, sectors_per_block; local
[all...]
H A Dqcow2.c38 - Size of compressed clusters is stored in sectors to reduce bit usage
335 int cur_nr_sectors; /* number of sectors in current iteration */
1047 uint64_t sectors = 0; local
1055 sectors = options->value.n / 512;
1086 return qcow_create2(filename, sectors, backing_file, backing_fmt, flags,
1147 /* XXX: put compressed sectors first, then all the cluster aligned
/external/grub/lib/
H A Ddevice.c53 unsigned char sectors; member in struct:hd_geometry
166 geom->sectors = hdg.sectors;
190 geom->sectors = tmp;
192 geom->sectors = 63;
204 / geom->sectors);
219 geom->sectors = hdg.d_nsectors;
241 geom->sectors = DEFAULT_HD_SECTORS;
247 geom->sectors = DEFAULT_FD_SECTORS;
250 /* Set the total sectors properl
[all...]
/external/quake/quake/src/QW/client/
H A Dcd_audio.c79 int sectors; member in struct:playAudioRequest
547 cdRequest->x.playAudio.sectors = cd.track[track].length;
/external/quake/quake/src/WinQuake/
H A Dcd_audio.cpp101 int sectors; member in struct:playAudioRequest
550 cdRequest->x.playAudio.sectors = cd.track[track].length;
/external/valgrind/main/coregrind/
H A Dm_transtab.c60 /* Number of sectors the TC is divided into. If you need a larger
190 /* The root data structure is an array of sectors. The index of the
202 static Sector sectors[N_SECTORS]; variable
607 /* Check that the number of listed sectors equals the number
610 if (sectors[i].tc != NULL)
624 sec = &sectors[sno];
757 sec = &sectors[sno];
955 if (sectors[y].tc == NULL)
962 tcAvailQ = ((ULong*)(&sectors[y].tc[tc_sector_szQ]))
963 - ((ULong*)(sectors[
[all...]
/external/kernel-headers/original/linux/
H A Dgenhd.h52 unsigned int nr_sects; /* nr of sectors in partition */
74 __le32 nr_sects; /* nr of sectors in partition */
82 unsigned ios[2], sectors[2]; /* READs and WRITEs */ member in struct:hd_struct
93 unsigned long sectors[2]; /* READs and WRITEs */ member in struct:disk_stats
299 __u32 d_nsectors; /* # of data sectors per track */
302 __u32 d_secpercyl; /* # of data sectors per cylinder */
303 __u32 d_secperunit; /* # of data sectors per unit */
304 __u16 d_sparespertrack; /* # of spare sectors per track */
305 __u16 d_sparespercyl; /* # of spare sectors per cylinder */
326 __le32 p_size; /* number of sectors i
[all...]
H A Dmsdos_fs.h118 __u8 sec_per_clus; /* sectors/cluster */
119 __le16 reserved; /* reserved sectors */
122 __u8 sectors[2]; /* number of sectors */ member in struct:fat_boot_sector
124 __le16 fat_length; /* sectors/FAT */
125 __le16 secs_track; /* sectors per track */
127 __le32 hidden; /* hidden sectors (unused) */
128 __le32 total_sect; /* number of sectors (if sectors == 0) */
131 __le32 fat32_length; /* sectors/FA
[all...]
H A Dhdreg.h19 #define HD_NSECTOR 0x1f2 /* nr of sectors to read/write */
270 #define WIN_MULTREAD 0xC4 /* read sectors using multiple mode*/
271 #define WIN_MULTWRITE 0xC5 /* write sectors using multiple mode */
273 #define WIN_READDMA_QUEUED 0xC7 /* read sectors using Queued DMA transfers */
274 #define WIN_READDMA 0xC8 /* read sectors using DMA transfers */
276 #define WIN_WRITEDMA 0xCA /* write sectors using DMA transfers */
278 #define WIN_WRITEDMA_QUEUED 0xCC /* write sectors using Queued DMA transfers */
377 unsigned char sectors; member in struct:hd_geometry
454 unsigned short sectors; /* Obsolete, "physical" sectors pe member in struct:hd_driveid
[all...]
/external/qemu/hw/
H A Dpc.c207 int cylinders, heads, sectors; local
208 bdrv_get_geometry_hint(hd, &cylinders, &heads, &sectors);
218 rtc_set_memory(s, info_ofs + 8, sectors);
370 int cylinders, heads, sectors, translation; local
377 bdrv_get_geometry_hint(hd_table[i], &cylinders, &heads, &sectors);
378 if (cylinders <= 1024 && heads <= 16 && sectors <= 63) {
533 /* ROM size in sectors*/
/external/qemu/
H A Dblock.c998 /* read the sectors "in place" */
1045 /* write the sectors "in place" */
1143 /* return 0 as number of sectors if no device present or error */
1165 uint32_t nr_sects; /* nr of sectors in partition */
1173 int ret, i, heads, sectors, cylinders; local
1193 sectors = p->end_sector & 63;
1194 if (sectors == 0)
1196 cylinders = nb_sectors / (heads * sectors);
1200 *psectors = sectors;
1204 cylinders, heads, sectors);
[all...]
/external/qemu-pc-bios/bochs/bios/
H A Drombios.c103 // - f04 (verify sectors) isn't complete (?)
631 Bit16u spt; // # sectors / track
669 Bit32u sectors_low; // Total sectors count
689 // Count of transferred sectors and bytes
2849 // 4 : no sectors left to read/verify
2850 // 5 : more sectors to read/verify
2851 // 6 : no sectors left to write
2852 // 7 : more sectors to write
2973 BX_DEBUG_ATA("ata_cmd_data_in : no sectors left (status %02x)\n", (unsigned) status);
2981 BX_DEBUG_ATA("ata_cmd_data_in : more sectors lef
3458 Bit32u sectors; local
[all...]
/external/valgrind/main/include/vki/
H A Dvki-linux.h1655 #define VKI_BLKSECTGET _VKI_IO(0x12,103)/* get max sectors per request (ll_rw_blk.c) */
1949 unsigned char sectors; member in struct:vki_hd_geometry

Completed in 391 milliseconds