Lines Matching defs:bytecount
542 u_int sectors, bytecount;
544 bytecount = 8192; /* SATA maximum */
545 /* Fetch user bytecount from SIM. */
553 bytecount = cts.xport_specific.ata.bytecount;
556 bytecount = cts.xport_specific.sata.bytecount;
560 bytecount / ata_logical_sector_size(ident_buf)));
561 /* Report bytecount to SIM. */
567 cts.xport_specific.ata.bytecount = sectors *
571 cts.xport_specific.sata.bytecount = sectors *
576 /* Fetch current bytecount from SIM. */
584 bytecount = cts.xport_specific.ata.bytecount;
587 bytecount = cts.xport_specific.sata.bytecount;
589 sectors = bytecount / ata_logical_sector_size(ident_buf);
604 u_int bytecount;
606 bytecount = 8192; /* SATA maximum */
607 /* Fetch user bytecount from SIM. */
615 bytecount = cts.xport_specific.ata.bytecount;
618 bytecount = cts.xport_specific.sata.bytecount;
621 bytecount &= ~1;
622 bytecount = max(2, min(65534, bytecount));
625 bytecount = min(8192, bytecount);
627 /* Report bytecount to SIM. */
633 cts.xport_specific.ata.bytecount = bytecount;
636 cts.xport_specific.sata.bytecount = bytecount;
2151 printf("PIO %dbytes", pata->bytecount);
2168 printf("PIO %dbytes", sata->bytecount);
2203 sbuf_printf(sb, "PIO %dbytes", pata->bytecount);
2220 sbuf_printf(sb, "PIO %dbytes", sata->bytecount);