/titanic_50/usr/src/uts/common/inet/ip/ |
H A D | tn_ipopt.c | 894 int copylen; in tsol_check_label_v4() local 898 copylen = MBLKL(mp); in tsol_check_label_v4() 899 if (copylen > 256) in tsol_check_label_v4() 900 copylen = 256; in tsol_check_label_v4() 901 new_mp = allocb_tmpl(hlen + copylen + in tsol_check_label_v4() 913 new_mp->b_wptr = new_mp->b_rptr + copylen; in tsol_check_label_v4() 914 bcopy(mp->b_rptr, new_mp->b_rptr, copylen); in tsol_check_label_v4() 916 if ((mp->b_rptr += copylen) >= mp->b_wptr) { in tsol_check_label_v4() 1468 int copylen; in tsol_check_label_v6() local 1477 copylen = MBLKL(mp); in tsol_check_label_v6() [all …]
|
H A D | sadb.c | 1512 int copylen; in sadb_strip() local 1533 copylen = ((uint8_t *)ext) - (target + in sadb_strip() 1536 ovbcopy(((uint8_t *)ext - copylen), target, in sadb_strip() 1537 copylen); in sadb_strip() 1538 target += copylen; in sadb_strip() 1555 copylen = ((uint8_t *)ext) - (target + in sadb_strip() 1557 if (copylen != 0) in sadb_strip() 1558 ovbcopy(((uint8_t *)ext - copylen), target, copylen); in sadb_strip() 7350 int copylen; local 7354 copylen = MBLKL(mp); [all …]
|
H A D | icmp.c | 3984 uint_t copylen; in icmp_prepend_header_template() local 3995 copylen = connp->conn_ht_iphc_len; in icmp_prepend_header_template() 3996 pktlen = copylen + msgdsize(mp); in icmp_prepend_header_template() 4005 iph = mp->b_rptr - copylen; in icmp_prepend_header_template() 4009 mp1 = allocb(copylen + is->is_wroff_extra, BPRI_MED); in icmp_prepend_header_template() 4018 iph = (mp->b_wptr - copylen); in icmp_prepend_header_template() 4021 bcopy(connp->conn_ht_iphc, iph, copylen); in icmp_prepend_header_template()
|
/titanic_50/usr/src/uts/common/io/1394/targets/av1394/ |
H A D | av1394_fcp.c | 520 int copylen; in av1394_fcp_copyin_block() local 526 copylen = min(len, sizeof (arq->arq_data)); in av1394_fcp_copyin_block() 527 bcopy(&arq->arq_data.buf[0], mp->b_wptr, copylen); in av1394_fcp_copyin_block() 528 mp->b_wptr += copylen; in av1394_fcp_copyin_block() 531 copylen = len - copylen; in av1394_fcp_copyin_block() 532 if (copylen > 0) { in av1394_fcp_copyin_block() 533 ret = uiomove(mp->b_wptr, copylen, UIO_WRITE, uiop); in av1394_fcp_copyin_block() 539 mp->b_wptr += copylen; in av1394_fcp_copyin_block()
|
/titanic_50/usr/src/lib/libdscfg/common/ |
H A D | cfg_local.c | 423 int copylen; in remcfline() local 468 copylen = cfl->l_entry + cfl->l_size - p; in remcfline() 469 bcopy(p, q, copylen); in remcfline() 470 copylen = (cfl->l_nentry - i) * sizeof (int); in remcfline() 471 bcopy(&cfl->l_esiz[i], &cfl->l_esiz[i - 1], copylen); in remcfline()
|
/titanic_50/usr/src/common/crypto/blowfish/ |
H A D | blowfish_impl.c | 625 int i, slop, copylen; in blowfish_init_keysched() local 644 copylen = (bytesleft >= len) ? len : slop; in blowfish_init_keysched() 645 bcopy(key, rawkeybytes, copylen); in blowfish_init_keysched() 646 rawkeybytes += copylen; in blowfish_init_keysched()
|
/titanic_50/usr/src/uts/common/inet/kssl/ |
H A D | ksslrec.c | 1357 int len, copylen; in kssl_send_certificate_and_server_hello_done() local 1384 copylen = mss - (cur_reclen + SSL3_HDR_LEN); in kssl_send_certificate_and_server_hello_done() 1386 copylen = MIN(copylen, len); in kssl_send_certificate_and_server_hello_done() 1387 copylen = MIN(copylen, SSL3_MAX_RECORD_LENGTH - cur_reclen); in kssl_send_certificate_and_server_hello_done() 1392 ASSERT(mp->b_wptr + copylen <= mp->b_datap->db_lim); in kssl_send_certificate_and_server_hello_done() 1393 bcopy(msgbuf, mp->b_wptr, copylen); in kssl_send_certificate_and_server_hello_done() 1394 msgbuf += copylen; in kssl_send_certificate_and_server_hello_done() 1395 mp->b_wptr += copylen; in kssl_send_certificate_and_server_hello_done() 1396 cur_reclen += copylen; in kssl_send_certificate_and_server_hello_done() 1397 len -= copylen; in kssl_send_certificate_and_server_hello_done() [all …]
|
/titanic_50/usr/src/uts/common/fs/mntfs/ |
H A D | mntvnops.c | 893 size_t available, copylen; in mntread() local 963 copylen = MIN(len - written, available); in mntread() 964 bcopy(elemp->mnte_text + ieoffset, bufferp + written, copylen); in mntread() 965 written += copylen; in mntread() 966 if (copylen == available) { in mntread() 971 ieoffset += copylen; in mntread()
|
/titanic_50/usr/src/uts/common/io/usb/clients/usbser/usbftdi/ |
H A D | uftdi_dsd.c | 1852 int copylen; /* bytes copy from 'mp' to 'data' */ in uftdi_tx_start() local 1886 copylen = min(MBLKL(mp), len - data_len); in uftdi_tx_start() 1887 bcopy(mp->b_rptr, data->b_wptr, copylen); in uftdi_tx_start() 1888 mp->b_rptr += copylen; in uftdi_tx_start() 1889 data->b_wptr += copylen; in uftdi_tx_start() 1890 data_len += copylen; in uftdi_tx_start()
|
/titanic_50/usr/src/uts/common/io/usb/clients/usbser/usbsprl/ |
H A D | pl2303_dsd.c | 1693 int copylen; /* bytes copy from 'mp' to 'data' */ in pl2303_tx_start() local 1736 copylen = min(MBLKL(mp), len - data_len); in pl2303_tx_start() 1737 bcopy(mp->b_rptr, data->b_wptr, copylen); in pl2303_tx_start() 1738 mp->b_rptr += copylen; in pl2303_tx_start() 1739 data->b_wptr += copylen; in pl2303_tx_start() 1740 data_len += copylen; in pl2303_tx_start()
|
/titanic_50/usr/src/cmd/zoneadmd/ |
H A D | zoneadmd.c | 250 size_t copylen; in zerror() local 253 copylen = MIN(buflen, zlogp->loglen); in zerror() 254 zlogp->log += copylen; in zerror() 255 zlogp->loglen -= copylen; in zerror()
|
/titanic_50/usr/src/uts/common/io/usb/clients/usbser/usbsacm/ |
H A D | usbsacm.c | 2396 int copylen; /* bytes copy from 'mp' to 'data' */ in usbsacm_tx_start() local 2446 copylen = min(MBLKL(mp), len - data_len); in usbsacm_tx_start() 2447 bcopy(mp->b_rptr, data->b_wptr, copylen); in usbsacm_tx_start() 2448 mp->b_rptr += copylen; in usbsacm_tx_start() 2449 data->b_wptr += copylen; in usbsacm_tx_start() 2450 data_len += copylen; in usbsacm_tx_start()
|
/titanic_50/usr/src/uts/common/io/usb/clients/usbser/usbser_keyspan/ |
H A D | keyspan_dsd.c | 2485 int copylen; /* # of bytes to copy from 'mp' to 'data' */ in keyspan_tx_copy_data() local 2500 copylen = min(MBLKL(mp), len - data_len); in keyspan_tx_copy_data() 2501 bcopy(mp->b_rptr, data->b_wptr, copylen); in keyspan_tx_copy_data() 2503 mp->b_rptr += copylen; in keyspan_tx_copy_data() 2504 data->b_wptr += copylen; in keyspan_tx_copy_data() 2505 data_len += copylen; in keyspan_tx_copy_data()
|
/titanic_50/usr/src/uts/common/inet/udp/ |
H A D | udp.c | 3292 uint_t copylen; in udp_prepend_header_template() local 3304 copylen = connp->conn_ht_iphc_len; in udp_prepend_header_template() 3305 alloclen = copylen + (insert_spi ? sizeof (uint32_t) : 0); in udp_prepend_header_template() 3331 bcopy(connp->conn_ht_iphc, iph, copylen); in udp_prepend_header_template()
|
/titanic_50/usr/src/uts/common/io/scsi/adapters/mpt_sas/ |
H A D | mptsas.c | 12826 int copylen; in mptsas_ioctl() local 12966 copylen = sizeof (mptsas_adapter_data_t); in mptsas_ioctl() 12973 copylen = sizeof (adapter_data.StructureLength); in mptsas_ioctl() 12977 copylen, mode) != 0) { in mptsas_ioctl()
|