Home
last modified time | relevance | path

Searched refs:datamp (Results 1 – 14 of 14) sorted by relevance

/titanic_41/usr/src/uts/common/io/
H A Dbufmod.c576 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 Dstrsun.c202 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 Dtelmod.c942 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 Dttcompat.c190 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 Decpp.c1426 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 Dasy.c3317 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 Dnxge_send.c1271 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 Dsgcn.c528 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 Dqcn.c696 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 Dsu_driver.c2773 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 Dusbser.c2589 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 Dtcp_output.c1041 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 Dsadb.c4856 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 Dudp.c4019 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()