/titanic_41/usr/src/uts/common/io/ |
H A D | bufmod.c | 576 mblk_t *datamp; in sbioctl() local 674 datamp = allocb(sizeof (*t32), BPRI_MED); in sbioctl() 675 if (datamp == NULL) { in sbioctl() 679 mcopyout(mp, NULL, sizeof (*t32), NULL, datamp); in sbioctl() 693 datamp = allocb(sizeof (*t), BPRI_MED); in sbioctl() 694 if (datamp == NULL) { in sbioctl() 698 mcopyout(mp, NULL, sizeof (*t), NULL, datamp); in sbioctl() 769 datamp = allocb(sizeof (uint_t), BPRI_MED); in sbioctl() 770 if (datamp == NULL) { in sbioctl() 774 mcopyout(mp, NULL, sizeof (uint_t), NULL, datamp); in sbioctl() [all …]
|
H A D | strsun.c | 202 mblk_t *datamp = iocmp->b_cont; in miocpullup() local 228 if (datamp == NULL) in miocpullup() 231 if (MBLKL(datamp) >= size) in miocpullup() 234 newdatamp = msgpullup(datamp, size); in miocpullup() 236 if (msgdsize(datamp) < size) in miocpullup() 242 freemsg(datamp); in miocpullup()
|
H A D | telmod.c | 942 mblk_t *protomp, *newmp, *datamp, *prevmp; in rcv_parse() local 948 datamp = mp; in rcv_parse() 977 datamp = mp->b_cont; in rcv_parse() 979 if (datamp == NULL) { in rcv_parse() 991 mp = datamp; in rcv_parse() 1015 msgsize = msgdsize(datamp); in rcv_parse() 1016 recover(q, datamp, msgsize); in rcv_parse() 1038 datamp = 0; in rcv_parse() 1040 if (datamp) { in rcv_parse() 1041 putnext(q, datamp); in rcv_parse() [all …]
|
H A D | ttcompat.c | 190 mblk_t *datamp; in ttcompatopen() local 249 if ((datamp = allocb(sizeof (struct termios), BPRI_HI)) == NULL) { in ttcompatopen() 256 bcopy(&base_termios, datamp->b_rptr, sizeof (struct termios)); in ttcompatopen() 257 datamp->b_wptr += sizeof (struct termios); in ttcompatopen() 258 mp->b_cont = datamp; in ttcompatopen()
|
H A D | ecpp.c | 1426 mblk_t *datamp; in ecpp_wput_iocdata_devid() local 1443 datamp = allocb(sizeof (int), BPRI_MED); in ecpp_wput_iocdata_devid() 1444 if (datamp == NULL) { in ecpp_wput_iocdata_devid() 1449 *(int *)datamp->b_rptr = in ecpp_wput_iocdata_devid() 1454 (char *)stp->uaddr + rlen_offset, datamp); in ecpp_wput_iocdata_devid() 2402 mblk_t *datamp; in ecpp_srvioc_devid() local 2451 if ((datamp = allocb(len, BPRI_MED)) == NULL) { in ecpp_srvioc_devid() 2457 error = ecpp_getdevid(pp, datamp->b_rptr, &len, mode); in ecpp_srvioc_devid() 2459 freemsg(datamp); in ecpp_srvioc_devid() 2463 datamp->b_wptr += len; in ecpp_srvioc_devid() [all …]
|
H A D | asy.c | 3317 mblk_t *datamp; in async_ioctl() local 3658 datamp = allocb(sizeof (int), BPRI_MED); in async_ioctl() 3659 if (datamp == NULL) { in async_ioctl() 3665 *(int *)datamp->b_rptr = asymctl(asy, 0, TIOCMGET); in async_ioctl() 3671 mcopyout(mp, NULL, sizeof (int), NULL, datamp); in async_ioctl() 3675 mioc2ack(mp, datamp, sizeof (int), 0); in async_ioctl()
|
/titanic_41/usr/src/uts/common/io/nxge/ |
H A D | nxge_send.c | 1271 mblk_t *datamp; in nxge_do_softlso() local 1363 datamp = mp; in nxge_do_softlso() 1366 datamp = mp->b_cont; in nxge_do_softlso() 1367 rptr = datamp->b_rptr; in nxge_do_softlso() 1376 (int)MBLKL(mp), (int)MBLKL(datamp))); in nxge_do_softlso() 1406 (int)MBLKL(datamp), in nxge_do_softlso() 1419 pktlen, (int)MBLKL(mp), (int)MBLKL(datamp), in nxge_do_softlso() 1463 nmp = dupb(datamp); in nxge_do_softlso() 1505 if (datamp->b_cont != NULL) { in nxge_do_softlso() 1506 datamp = datamp->b_cont; in nxge_do_softlso() [all …]
|
/titanic_41/usr/src/uts/sun4u/serengeti/io/ |
H A D | sgcn.c | 528 mblk_t *datamp; in sgcn_ioctl() local 572 datamp = allocb(sizeof (int), BPRI_MED); in sgcn_ioctl() 573 if (datamp == NULL) { in sgcn_ioctl() 578 *(int *)datamp->b_rptr = 0; in sgcn_ioctl() 581 mioc2ack(mp, datamp, sizeof (int), 0); in sgcn_ioctl() 583 mcopyout(mp, NULL, sizeof (int), NULL, datamp); in sgcn_ioctl()
|
/titanic_41/usr/src/uts/sun4v/io/ |
H A D | qcn.c | 696 mblk_t *datamp; in qcn_ioctl() local 770 datamp = allocb(sizeof (int), BPRI_MED); in qcn_ioctl() 771 if (datamp == NULL) { in qcn_ioctl() 776 *(int *)datamp->b_rptr = 0; in qcn_ioctl() 779 qcn_ack(mp, datamp, sizeof (int)); in qcn_ioctl() 781 mcopyout(mp, NULL, sizeof (int), NULL, datamp); in qcn_ioctl()
|
/titanic_41/usr/src/uts/sun4/io/ |
H A D | su_driver.c | 2773 mblk_t *datamp; in async_ioctl() local 3179 datamp = allocb(sizeof (int), BPRI_MED); in async_ioctl() 3180 if (datamp == NULL) { in async_ioctl() 3186 *(int *)datamp->b_rptr = asymctl(asy, 0, TIOCMGET); in async_ioctl() 3190 mcopyout(mp, NULL, sizeof (int), NULL, datamp); in async_ioctl() 3194 mp->b_cont = datamp; in async_ioctl()
|
/titanic_41/usr/src/uts/common/io/usb/clients/usbser/ |
H A D | usbser.c | 2589 mblk_t *datamp; in usbser_ioctl() local 2764 if ((datamp = allocb(sizeof (int), BPRI_MED)) == NULL) { in usbser_ioctl() 2768 rval = USBSER_DS_GET_MODEM_CTL(pp, -1, (int *)datamp->b_rptr); in usbser_ioctl() 2774 mcopyout(mp, NULL, sizeof (int), NULL, datamp); in usbser_ioctl() 2776 mioc2ack(mp, datamp, sizeof (int), 0); in usbser_ioctl()
|
/titanic_41/usr/src/uts/common/inet/tcp/ |
H A D | tcp_output.c | 1041 mblk_t *datamp = mp->b_cont; in tcp_wput_cmdblk() local 1046 if (datamp == NULL || MBLKL(datamp) < cmdp->cb_len) { in tcp_wput_cmdblk() 1052 data = datamp->b_rptr; in tcp_wput_cmdblk()
|
/titanic_41/usr/src/uts/common/inet/ip/ |
H A D | sadb.c | 4856 sadb_acquire(mblk_t *datamp, ip_xmit_attr_t *ixa, boolean_t need_ah, argument 4865 ipha_t *ipha = (ipha_t *)datamp->b_rptr; 4866 ip6_t *ip6h = (ip6_t *)datamp->b_rptr; 4942 ip_drop_packet(datamp, B_FALSE, NULL, 4970 ip_drop_packet(datamp, B_FALSE, NULL, 5018 linkb(asyncmp, datamp); 5031 ip_drop_output("No memory for asyncmp", datamp, NULL); 5032 freemsg(datamp);
|
/titanic_41/usr/src/uts/common/inet/udp/ |
H A D | udp.c | 4019 mblk_t *datamp = mp->b_cont; in udp_wput_cmdblk() local 4024 if (datamp == NULL || MBLKL(datamp) < cmdp->cb_len) { in udp_wput_cmdblk() 4029 data = datamp->b_rptr; in udp_wput_cmdblk()
|