• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/util-linux/

Lines Matching refs:heads

87 		SUN_SSWAP32(start / (heads * sectors));
111 "e.g. heads, sectors, cylinders and partitions\n"
114 heads = SUN_SSWAP16(sunlabel->ntrks);
276 heads = geometry.heads;
280 heads = 0;
291 heads = read_int(1, heads, 1024, 0, "Heads");
313 heads = p->ntrks;
322 cylinders, SUN_SSWAP16(sunlabel->nacyl), heads, sectors);
324 sunlabel->ntrks = SUN_SSWAP16(heads);
328 set_sun_partition(0, 0, cylinders * heads * sectors, LINUX_NATIVE);
330 if (cylinders * heads * sectors >= 150 * 2048) {
331 ndiv = cylinders - (50 * 2048 / (heads * sectors)); /* 50M swap */
334 set_sun_partition(0, 0, ndiv * heads * sectors, LINUX_NATIVE);
335 set_sun_partition(1, ndiv * heads * sectors, cylinders * heads * sectors, LINUX_SWAP);
338 set_sun_partition(2, 0, cylinders * heads * sectors, SUN_WHOLE_DISK);
368 *stop = cylinders * heads * sectors;
373 starts[i] = SUN_SSWAP32(sunlabel->partitions[i].start_cylinder) * heads * sectors;
414 if (k && (lens[i] % (heads * sectors))) {
455 stop = cylinders * heads * sectors;
502 first = (first + heads * sectors - 1) / (heads * sectors);
535 stop = cylinders * heads * sectors;
584 && (nsec = SUN_SSWAP32(sunlabel->partitions[i].num_sectors)) == heads * sectors * cylinders)
629 "\nDisk %s (Sun disk label): %d heads, %d sectors, %d rpm\n"
634 disk_device, heads, sectors, SUN_SSWAP16(sunlabel->rspeed),
643 "\nDisk %s (Sun disk label): %d heads, %d sectors, %d cylinders\n"
645 disk_device, heads, sectors, cylinders,
652 uint32_t start = SUN_SSWAP32(sunlabel->partitions[i].start_cylinder) * heads * sectors;