Searched refs:nheads (Results 1 – 10 of 10) sorted by relevance
/freebsd/usr.bin/mkimg/ |
H A D | mkimg.c | 71 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 D | mkimg.h | 56 extern u_int nheads; 72 u_int cyl = nsecs * nheads; in round_cylinder()
|
H A D | vhd.c | 121 if (nheads > 1 && nheads < 256 && in vhd_geometry() 125 imgsz / (nheads * nsecs); in vhd_geometry() 126 geom->heads = nheads; in vhd_geometry()
|
H A D | bsd.c | 89 le32enc(&d->d_ntracks, nheads); in bsd_write() 91 le32enc(&d->d_secpercyl, nsecs * nheads); in bsd_write()
|
H A D | vmdk.c | 129 ncyls /*cylinders*/, nheads /*heads*/, nsecs /*sectors*/); in vmdk_write()
|
/freebsd/sbin/pfilctl/ |
H A D | pfilctl.c | 103 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 D | pfil.c | 591 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 D | ida_disk.c | 193 drv->heads = dinfo.dp.nheads; in idad_attach()
|
H A D | idareg.h | 123 u_int8_t nheads; member
|
/freebsd/sys/cam/scsi/ |
H A D | scsi_da.h | 501 uint8_t nheads; /* number of heads */ member 528 uint8_t nheads; /* number of heads */ member
|