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

/illumos-gate/usr/src/grub/grub-0.97/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...]
/illumos-gate/usr/src/uts/sun/sys/dada/impl/
H A Dcommands.h65 uchar_t sectors; member in struct:dcd_capacity
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dbios.c38 unsigned long *sectors);
43 unsigned long *sectors);
48 /* Read/write NSEC sectors starting from SECTOR in DRIVE disk with GEOMETRY
72 BIOSes don't return the number of total sectors correctly,
106 * geometry->sectors);
118 sector_offset = sector % geometry->sectors + 1;
119 head = sector / geometry->sectors;
151 unsigned char sectors;
168 geometry->sectors = 15;
178 + (((unsigned int) (cdrp.sectors
149 unsigned char sectors; member in struct:iso_spec_packet
256 unsigned long sectors; member in struct:drive_parameters
[all...]
H A Dshared.h422 unsigned char setup_sects; /* The size of the setup in sectors */
693 DOS/Partition table compatibility, and the real number of sectors is
701 /* The number of sectors */
702 unsigned long sectors; member in struct:geometry
703 /* The total number of sectors */
/illumos-gate/usr/src/boot/sys/boot/i386/common/
H A Dedd.h61 uint64_t sectors; member in struct:edd_params
/illumos-gate/usr/src/grub/grub-0.97/lib/
H A Ddevice.c53 unsigned char sectors; member in struct:hd_geometry
170 geom->sectors = hdg.sectors;
194 geom->sectors = tmp;
196 geom->sectors = 63;
208 / geom->sectors);
223 geom->sectors = hdg.d_nsectors;
238 geom->sectors = dkg.dkg_nsect;
261 geom->sectors = DEFAULT_HD_SECTORS;
267 geom->sectors
[all...]
/illumos-gate/usr/src/lib/libfdisk/common/
H A Dlibfdisk.c520 * ascending order of their beginning sectors.
1030 uint32_t sectors = epp->disk_geom.virt_sec; local
1034 if (lba >= heads * sectors * MAX_CYL) {
1043 cy = lba / sectors / heads;
1044 hd = lba / sectors % heads;
1045 sc = lba % sectors + 1;
1057 if (lba >= heads * sectors * MAX_CYL) {
1062 cy = lba / sectors / heads;
1063 hd = lba / sectors % heads;
1064 sc = lba % sectors
[all...]
/illumos-gate/usr/src/cmd/format/
H A Dglobal.h146 #define sectors(h) ((h) == nhead - 1 ? nsect - apc : nsect) macro
/illumos-gate/usr/src/boot/sys/boot/arm/ixp425/boot2/
H A Dixp425_board.c229 u_int8_t sectors; member in struct:__anon122
616 dskinf.sectors = dskinf.ata_params.sectors;
618 (u_int32_t)dskinf.ata_params.sectors,
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dpart.c83 uint64_t sectors; member in struct:ptable
277 phdr = gpt_checkhdr((struct gpt_hdr *)buf, 1, table->sectors - 1,
285 table->sectors - 1) == 0) {
290 offset = pri ? hdr.hdr_lba_alt: table->sectors - 1;
296 table->sectors - 1, table->sectorsize);
319 table->sectors - 1) == 0) {
407 #if 0 /* Some BIOSes return an incorrect number of sectors */
408 if (offset >= table->sectors)
550 uint16_t sum, heads, sectors; local
576 sectors
693 ptable_open(void *dev, off_t sectors, uint16_t sectorsize, diskread_t *dread) argument
[all...]
/illumos-gate/usr/src/uts/common/io/cpqary3/
H A Dcpqary3_scsi.h163 uint8_t sectors; member in struct:Identify_Logical_Drive
H A Dcpqary3.h217 uint8_t sectors; member in struct:cpqary3_target::__anon5231::__anon5233
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxdb.c241 int sectors; local
408 sectors = 0;
411 * Run through the segments. There are XB_NUM_SECTORS_PER_SEG sectors
428 sectors += (xreq->xr_segs[i].ls - xreq->xr_segs[i].fs + 1);
436 bp->b_bcount = sectors * DEV_BSIZE;
1339 uint64_t sectors; local
1424 sectors = vdp->xs_sectors;
1430 XBP_SECTORS, "%"PRIu64, sectors)) ||
/illumos-gate/usr/src/lib/libzpool/common/
H A Dkernel.c528 int sectors = len >> SPA_MINBLOCKSHIFT; local
529 split = (sectors > 0 ? rand() % sectors : 0) <<
/illumos-gate/usr/src/cmd/fdisk/
H A Dfdisk.c98 * SECT range [ 1 .. MAX_SECT ], so number of sectors is (MAX_SECT)
104 #define DK_MAX_2TB UINT32_MAX /* Max # of sectors in 2TB */
179 " numsect = partition size in sectors\n"
208 " NSECTORS number of sectors per track\n"
284 static off_t io_size = 0; /* size in sectors (-s size) */
328 static diskaddr_t chs_capacity; /* Numcyl_usable * heads * sectors */
336 static int sectors; /* number of sectors per track */ variable
337 static int acyl; /* number of alternate sectors */
342 static int hba_sectors; /* number of sectors pe
[all...]

Completed in 109 milliseconds