Home
last modified time | relevance | path

Searched refs:nheads (Results 1 – 10 of 10) sorted by relevance

/freebsd/usr.bin/mkimg/
H A Dmkimg.c71 u_int nheads = 1; variable
369 if (nsecs == 1 || nheads == 1) in mkimg_chs()
374 hd = lba % nheads; in mkimg_chs()
375 lba /= nheads; in mkimg_chs()
549 ncyls = block / (nsecs * nheads); in mkimg()
623 error = parse_uint32(&nheads, 1, 255, optarg); in main()
708 fprintf(stderr, "Number of heads: %u\n", nheads); in main()
H A Dmkimg.h56 extern u_int nheads;
72 u_int cyl = nsecs * nheads; in round_cylinder()
H A Dvhd.c121 if (nheads > 1 && nheads < 256 && in vhd_geometry()
125 imgsz / (nheads * nsecs); in vhd_geometry()
126 geom->heads = nheads; in vhd_geometry()
H A Dbsd.c89 le32enc(&d->d_ntracks, nheads); in bsd_write()
91 le32enc(&d->d_secpercyl, nsecs * nheads); in bsd_write()
H A Dvmdk.c129 ncyls /*cylinders*/, nheads /*heads*/, nsecs /*sectors*/); in vmdk_write()
/freebsd/sbin/pfilctl/
H A Dpfilctl.c103 u_int nheads, nhooks, i; in listheads() local
119 nheads = plh.pio_nheads; in listheads()
125 if (plh.pio_nheads > nheads || plh.pio_nhooks > nhooks) { in listheads()
/freebsd/sys/net/
H A Dpfil.c591 u_int nheads, nhooks, hd, hk; in pfilioc_listheads() local
596 nheads = nhooks = 0; in pfilioc_listheads()
598 nheads++; in pfilioc_listheads()
603 if (req->pio_nheads < nheads || req->pio_nhooks < nhooks) { in pfilioc_listheads()
604 req->pio_nheads = nheads; in pfilioc_listheads()
609 iohead = malloc(sizeof(*iohead) * nheads, M_TEMP, M_WAITOK); in pfilioc_listheads()
615 if (hd + 1 > nheads || in pfilioc_listheads()
/freebsd/sys/dev/ida/
H A Dida_disk.c193 drv->heads = dinfo.dp.nheads; in idad_attach()
H A Didareg.h123 u_int8_t nheads; member
/freebsd/sys/cam/scsi/
H A Dscsi_da.h501 uint8_t nheads; /* number of heads */ member
528 uint8_t nheads; /* number of heads */ member