Searched refs:residue (Results 1 - 15 of 15) sorted by relevance

/illumos-gate/usr/src/uts/common/io/usb/scsa2usb/
H A Dusb_ms_bulkonly.c168 * - check residue is less than or equal to data length
169 * adjust residue based on if we got valid data
182 * if residue
183 * calculate residue from data xferred and DataResidue
568 int residue; local
605 residue = SCSA2USB_MK_32BIT(csw.csw_dCSWDataResidue3,
613 signature, status, tag, residue);
642 if (!cmd->cmd_done && residue &&
643 (residue == cmd->cmd_total_xfercount)) {
674 if (residue || cm
[all...]
/illumos-gate/usr/src/cmd/acct/
H A Dwtmpfix.c337 off_t residue = 0; /* input file size mod UTRSZ */ local
368 residue = Wtstat.st_size % UTRSZ;
371 /* if residue != 0, part of the file may be misaligned */
374 (residue > 0);
378 * Implying residue > 0 and want_ok == INRANGE_PASS.
398 if ((residue > 0) && (is_ok == INRANGE_ERR)) {
404 * might move forward here (by residue bytes, less
411 recin = lastok + UTRSZ + residue;
412 residue = 0;
433 /* assert: residue
[all...]
/illumos-gate/usr/src/lib/libc/capabilities/sun4v/common/
H A Dmemcpy.s68 * Copy residue bytes as byte copy
393 and %o2, 0x7f, %o2 ! residue bytes in %o2
438 and %o2, 0x7f, %o2 ! residue bytes in %o2
486 and %o2, 0x7f, %o2 ! residue bytes in %o2
536 and %o2, 0x7f, %o2 ! residue bytes in %o2
587 and %o2, 0x7f, %o2 ! residue bytes in %o2
641 and %o2, 0x7f, %o2 ! residue bytes in %o2
697 and %o2, 0x7f, %o2 ! residue bytes in %o2
744 and %o2, 0x7f, %o2 ! residue bytes in %o2
1287 and %o2, 0x7f, %o2 ! residue byte
[all...]
/illumos-gate/usr/src/uts/common/io/usb/hcd/ehci/
H A Dehci_intr.c641 uint32_t residue = 0; local
679 residue = (Get_QTD(qtd->qtd_ctrl) &
689 if (residue) {
691 "ehci_check_for_short_xfer: residue=%d direction=0x%x",
692 residue, tw->tw_direction);
695 Get_QTD(qtd->qtd_xfer_len) - residue;
H A Dehci_polled.c1457 uint32_t residue; local
1474 residue = ((Get_QTD(qtd->qtd_ctrl) &
1477 if (residue) {
1480 Get_QTD(qtd->qtd_xfer_len) - residue;
H A Dehci_isoch_util.c1559 uint32_t residue; local
1619 residue =
1625 * Subtract the residue from the isoc_pkt_descr that
1628 isoc_pkt_descr->isoc_pkt_actual_length -= residue;
H A Dehci_xfer.c1704 size_t residue = 0, len = 0; local
1721 residue = tw->tw_length % bulk_pkt_size;
1767 /* Check for inserting residue data */
1768 if (residue) {
1769 bulk_pkt_size = (uint_t)residue;
/illumos-gate/usr/src/uts/common/io/usb/hcd/openhci/
H A Dohci.c4998 size_t residue = 0, len = 0; local
5015 residue = tw->tw_length % bulk_pkt_size;
5057 /* Check for inserting residue data */
5058 if (residue) {
5059 bulk_pkt_size = (uint_t)residue;
5743 uint_t isoc_pkts, residue, count; local
5773 residue = curr_isoc_reqp->isoc_pkts_count - isoc_pkts;
5775 /* Check for inserting residue data */
5777 (residue < OHCI_ISOC_PKTS_PER_TD)) {
5778 frame_count = residue;
7029 uint_t i, j, frame_count, residue; local
8810 size_t residue; local
9016 size_t length, residue; local
9503 size_t length = 0, skip_len = 0, residue; local
9658 size_t residue; local
[all...]
H A Dohci_polled.c1817 size_t length, residue; local
1836 residue = ohci_get_td_residue(ohcip, td);
1838 Get_TD(td->hctd_xfer_len) - residue;
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/desktop/common/
H A Dpicldiag.c729 uint64_t residue; local
733 residue = size % gbyte;
734 if (residue == 0)
741 residue = size % mbyte;
742 if (residue == 0)
749 residue = size % kbyte;
750 if (residue == 0)
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/lw8/common/
H A Dlw8.c724 uint64_t residue; local
728 residue = size % gbyte;
729 if (residue == 0)
736 residue = size % mbyte;
737 if (residue == 0)
744 residue = size % kbyte;
745 if (residue == 0)
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/schumacher/common/
H A Dschumacher.c692 uint64_t residue; local
696 residue = size % gbyte;
697 if (residue == 0)
704 residue = size % mbyte;
705 if (residue == 0)
712 residue = size % kbyte;
713 if (residue == 0)
/illumos-gate/usr/src/uts/sun4v/cpu/
H A Dniagara_copy.s1252 and %i2, 0x7f, %i2 ! residue bytes in %i2
1285 and %i2, 0x7f, %i2 ! residue bytes in %i2
1320 and %i2, 0x7f, %i2 ! residue bytes in %i2
1356 and %i2, 0x7f, %i2 ! residue bytes in %i2
1395 and %i2, 0x7f, %i2 ! residue bytes in %i2
1435 and %i2, 0x7f, %i2 ! residue bytes in %i2
1477 and %i2, 0x7f, %i2 ! residue bytes in %i2
1511 and %i2, 0x7f, %i2 ! residue bytes in %i2
1676 and %i2, 0x3f, %i2 ! residue bytes in %i2
1941 and %i2, 0x7, %i2 ! residue byte
[all...]
/illumos-gate/usr/src/cmd/geniconvtbl/
H A Ditm_util.c1820 int residue; local
1833 residue = value % (*(byte_seq_max + i) -
1838 residue += *(byte_seq_min + i);
1839 l = ((0xf0 & residue) >> 4);
1845 l = (0x0f & residue);
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dst.c3983 * full residue, then set eof back to ST_EOM to make sure that
4072 * full residue, then set eof back to ST_EOM to make sure that
15607 int residue = un->un_err_resid; local
15618 un->un_err_resid = residue;

Completed in 163 milliseconds