Searched refs:heads (Results 1 - 25 of 113) sorted by relevance

12345

/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/ide/
H A Dide-geometry.c98 * If heads is nonzero: find a translation with this many heads and S=63.
102 ontrack(ide_drive_t *drive, int heads, unsigned int *c, int *h, int *s) { argument
119 if (heads) {
120 *h = heads;
121 *c = total / (63 * heads);
142 * heads shown by the end of the first nonempty partition.
150 * 2 = convert to a CHS geometry with "ptheads" heads.
160 int heads = 0; local
197 heads
[all...]
H A Dataraid.h47 unsigned char heads; member in struct:geom
H A Dpdcraid.h30 u8 heads; member in struct:promise_raid_conf::__anon1417
/asus-wl-520gu-7.0.1.45/src/router/fdisk/
H A Dcommon.h14 unsigned char heads; member in struct:hd_geometry
H A Dfdiskaixlabel.h24 extern unsigned int heads, sectors, cylinders;
H A Dfdisksunlabel.c106 SSWAP32(start / (heads * sectors));
136 "e.g. heads, sectors, cylinders and partitions\n"
139 heads = SSWAP16(sunlabel->ntrks);
301 heads = geometry.heads;
305 heads = 0;
316 heads = read_int(1,heads,1024,0,_("Heads"));
347 heads = p->ntrks;
357 cylinders, SSWAP16(sunlabel->nacyl), heads, sector
[all...]
H A Dfdisksunlabel.h41 extern unsigned int heads, sectors, cylinders;
H A Dfdisk.h55 unsigned int heads; member in struct:geom
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/scsi/
H A Dscsicam.c188 * number of heads and maximizes the number of cylinders. This
189 * will support rather large disks before the number of heads
200 unsigned long heads, sectors, cylinders, temp; local
205 temp = cylinders * sectors; /* Compute divisor for heads */
206 heads = capacity / temp; /* Compute value for number of heads */
208 heads++; /* Else, increment number of heads */
209 temp = cylinders * heads; /* Compute divisor for sectors */
214 temp = heads * sector
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/
H A Damifd.h33 unsigned int heads; /* number of heads */ member in struct:fd_drive_type
H A Dadfs_fs.h12 __u8 heads; member in struct:adfs_discrecord
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/
H A Damifd.h33 unsigned int heads; /* number of heads */ member in struct:fd_drive_type
H A Dadfs_fs.h12 __u8 heads; member in struct:adfs_discrecord
/asus-wl-520gu-7.0.1.45/src/router/library/
H A Ddisk_table.h129 unsigned int heads; member in struct:geom
165 int get_userdisk_detail(char *mount_point,char *type,unsigned long *size,unsigned long *cylinders,unsigned long *heads,unsigned long *sectors);
167 int get_userdisk_info(char dev_name[16],unsigned long *size,unsigned long *cylinders,unsigned long *heads,unsigned long *sectors);
/asus-wl-520gu-7.0.1.45/src/router/library/include/
H A Ddisk_table.h129 unsigned int heads; member in struct:geom
165 int get_userdisk_detail(char *mount_point,char *type,unsigned long *size,unsigned long *cylinders,unsigned long *heads,unsigned long *sectors);
167 int get_userdisk_info(char dev_name[16],unsigned long *size,unsigned long *cylinders,unsigned long *heads,unsigned long *sectors);
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/partitions/
H A Dacorn.c26 adfspart_setgeometry(kdev_t dev, unsigned int secspertrack, unsigned int heads) argument
34 xd_set_geometry(dev, secspertrack, heads, totalblocks, 1);
180 (dr->heads + (dr->lowsector & 0x40 ? 1 : 0)) *
236 unsigned long start_sect, nr_sects, sectscyl, heads; local
252 heads = dr->heads + ((dr->lowsector >> 6) & 1);
253 sectscyl = dr->secspertrack * heads;
258 adfspart_setgeometry(to_kdev_t(bdev->bd_dev), dr->secspertrack, heads); local
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/acorn/block/
H A Dmfmhd.c135 unsigned char heads; member in struct:hd_geometry
177 unsigned char heads; member in struct:mfm_info
667 cmdb[6] = mfm_info[drive].heads - 1; /* Number of heads */
811 start_head = track % mfm_info[dev].heads;
815 sectors_to_next_cyl = (mfm_info[dev].heads - (start_head + 1)) * mfm_info[dev].sectors;
824 raw_cmd.cylinder = track / mfm_info[dev].heads;
1018 mfm_info[drive].cylinders * mfm_info[drive].heads * mfm_info[drive].sectors / 4096,
1019 mfm_info[drive].cylinders, mfm_info[drive].heads, mfm_info[drive].sectors,
1028 * We first recalibrate the disk, then try to probe sectors, heads an
1272 xd_set_geometry(kdev_t dev, unsigned char secsptrack, unsigned char heads, unsigned long discsize, unsigned int secsize) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/scsi/aacraid/
H A Dlinit.c400 * The default disk geometry is 64 heads, 32 sectors, and the appropriate
406 * geometry of 128 heads and 32 sectors, and drives above 2 GB inclusive
407 * are given a disk geometry of 255 heads and 63 sectors. However, if
428 param->heads = 255;
433 param->heads = 128;
439 param->heads = 64;
443 param->cylinders = disk->capacity/(param->heads * param->sectors);
473 param->heads = 64;
479 param->heads = 128;
485 param->heads
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/block/
H A Dxd.h83 u8 heads; member in struct:__anon1120
91 __u8 heads; member in struct:__anon1121
140 static void xd_setparam (u8 command,u8 drive,u8 heads,u16 cylinders,u16 rwrite,u16 wprecomp,u8 ecc);
H A Dxd.c244 xd_info[i].cylinders,xd_info[i].heads,
266 xd_info[i].heads * xd_info[i].cylinders *
335 g.heads = xd_info[dev].heads;
416 xd_info[target].heads * xd_info[target].cylinders * xd_info[target].sectors);
443 head = track % xd_info[drive].heads;
444 cylinder = track / xd_info[drive].heads;
699 xd_info[drive].heads = xd_geo[3 * drive + 1];
754 xd_info[drive].heads = (u8)(geometry_table[n][1]); /* heads */
1055 xd_setparam(u8 command,u8 drive,u8 heads,u16 cylinders,u16 rwrite,u16 wprecomp,u8 ecc) argument
[all...]
H A Dcpqarray.h53 unsigned heads; member in struct:__anon1093
/asus-wl-520gu-7.0.1.45/src/router/e2fsprogs-1.40.8/lib/ext2fs/
H A Ddosio.h46 unsigned short heads; member in struct:__anon7547
H A Ddosio.c92 chs->cyl = abss / (part->sects * part->heads);
93 chs->head = (abss / part->sects) % part->heads;
290 part->heads = sec[3] + 1;
328 (part->heads * part->sects) - 1;
/asus-wl-520gu-7.0.1.45/src/router/e2fsprogs-1.40.8/misc/
H A Dpartinfo.c74 loc.heads, (int)loc.sectors, loc.cylinders,
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/scsi/dpt/
H A Ddpti_ioctl.h93 unsigned heads; /* heads for drives on cntlr. */ member in struct:__anon2317

Completed in 306 milliseconds

12345