Home
last modified time | relevance | path

Searched refs:allocb (Results 1 – 25 of 280) sorted by relevance

12345678910>>...12

/illumos-gate/usr/src/uts/common/io/ppp/sppp/
H A Ds_common.c48 if ((mp = allocb(4, BPRI_HI)) == NULL) { in putctl4()
71 if ((mp = allocb(8, BPRI_HI)) == NULL) { in putctl8()
117 if ((mp = allocb(sizeof (*plt), BPRI_HI)) == NULL) { in create_lsmsg()
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_notify.c55 if ((mp = allocb(sizeof (*tudi) + sizeof (void *) + in sctp_notify()
139 if ((mp = allocb(sizeof (*sacp) + ch_len, BPRI_MED)) == NULL) { in sctp_assoc_event()
171 if ((mp = allocb(sizeof (*sfp), BPRI_MED)) == NULL) { in sctp_sendfail()
334 if ((mp = allocb(sizeof (*spc), BPRI_MED)) == NULL) { in sctp_intf_event()
410 if ((mp = allocb(len, BPRI_MED)) == NULL) { in sctp_error_event()
438 if ((mp = allocb(sizeof (*sse), BPRI_MED)) == NULL) { in sctp_shutdown_event()
461 if ((mp = allocb(sizeof (*sai), BPRI_MED)) == NULL) { in sctp_adaptation_event()
491 if ((mp = allocb(sizeof (*pdapi), BPRI_MED)) == NULL) in sctp_partial_delivery_event()
H A Dsctp_error.c62 amp = allocb(alen, BPRI_MED); in sctp_link_abort()
204 hmp = allocb(sctps->sctps_wroff_xtra + ahlen, BPRI_MED); in sctp_send_abort()
353 mp = allocb(ahlen + sctps->sctps_wroff_xtra, BPRI_MED); in sctp_ootb_send_abort()
483 emp = allocb(elen + pad, BPRI_MED); in sctp_make_err()
/illumos-gate/usr/src/uts/common/io/
H A Dstream_test.c26 mblk_t *mp1 = allocb(64, 0); in mblkl_test()
41 mblk_t *mp1 = allocb(14, 0); in msgsize_test()
42 mblk_t *mp2 = allocb(20, 0); in msgsize_test()
H A Dtty_common.c99 if ((mp = allocb(1, BPRI_HI)) != NULL) { in ttycommon_qfull()
274 if ((bp = allocb(1, BPRI_MED)) != NULL) { in ttycommon_ioctl()
315 if ((datap = allocb(sizeof (struct termios), in ttycommon_ioctl()
339 if ((datap = allocb(sizeof (struct termio), BPRI_HI)) == NULL) { in ttycommon_ioctl()
365 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) { in ttycommon_ioctl()
384 if ((datap = allocb(sizeof (struct winsize), in ttycommon_ioctl()
H A Dbufmod.c333 if ((mop = allocb(sizeof (struct stroptions), in sbioc()
370 if ((mop = allocb(sizeof (struct stroptions), in sbioc()
676 datamp = allocb(sizeof (*t32), BPRI_MED); in sbioctl()
695 datamp = allocb(sizeof (*t), BPRI_MED); in sbioctl()
737 if ((mop = allocb(sizeof (struct stroptions), in sbioctl()
771 datamp = allocb(sizeof (uint_t), BPRI_MED); in sbioctl()
813 if ((mop = allocb(sizeof (struct stroptions), in sbioctl()
851 datamp = allocb(sizeof (uint_t), BPRI_MED); in sbioctl()
898 datamp = allocb(sizeof (uint_t), BPRI_MED); in sbioctl()
1032 sbp->sb_head = allocb(sizeof (hp), BPRI_MED); in sbaddmsg()
[all …]
H A Dptem.c184 if ((ntp->dack_ptr = allocb(4, BPRI_MED)) == NULL) { in ptemopen()
193 mop = allocb(sizeof (struct stroptions), BPRI_MED); in ptemopen()
714 dp = allocb(sizeof (struct termio), BPRI_MED); in ptemwmsg()
726 dp = allocb(sizeof (struct termios), BPRI_MED); in ptemwmsg()
810 if ((bp = allocb(1, BPRI_MED)) == NULL) { in ptemwmsg()
915 tmp = allocb(sizeof (struct jwinsize), BPRI_MED); in ptioc()
936 tmp = allocb(sizeof (struct winsize), BPRI_MED); in ptioc()
H A Dvcons.c722 (mp = allocb(sizeof (unsigned char), BPRI_HI))) { in vt_switch()
892 if (!(tmp = allocb(sizeof (int), BPRI_MED))) { in vt_ioctl()
915 if (!(tmp = allocb(sizeof (int), BPRI_MED))) { in vt_ioctl()
925 if (!(tmp = allocb(sizeof (int), BPRI_MED))) { in vt_ioctl()
948 if (!(tmp = allocb(sizeof (struct vt_mode), BPRI_MED))) { in vt_ioctl()
977 if (!(tmp = allocb(sizeof (struct vt_dispinfo), BPRI_MED))) { in vt_ioctl()
1050 if (!(tmp = allocb(sizeof (struct vt_stat), BPRI_MED))) { in vt_ioctl()
1071 if (!(tmp = allocb(sizeof (int), BPRI_MED))) { in vt_ioctl()
1081 if (!(tmp = allocb(sizeof (int), BPRI_MED))) { in vt_ioctl()
H A Dconsms.c474 ((datap = allocb(sizeof (int), BPRI_HI)) == NULL)) { in consmsioctl()
723 if (req && ((req->b_cont = allocb(sizeof (int), in consms_lqs_ack_complete()
744 if (req && ((req->b_cont = allocb(sizeof (int), in consms_lqs_ack_complete()
765 if (req && ((req->b_cont = allocb(sizeof (int), in consms_lqs_ack_complete()
784 if (req && ((req->b_cont = allocb(sizeof (wheel_state), in consms_lqs_ack_complete()
806 if (req && ((req->b_cont = allocb(sizeof (Ms_parms), in consms_lqs_ack_complete()
826 allocb(sizeof (Ms_screen_resolution), in consms_lqs_ack_complete()
961 if ((tmp = allocb(sizeof (Firm_event), BPRI_HI)) != NULL) { in consms_new_firm_event()
H A Dmouse8042.c283 if (mp = allocb(1, BPRI_MED)) { in mouse8042_attach()
287 if (mp = allocb(1, BPRI_MED)) { in mouse8042_attach()
701 state->reply_mp = allocb(2, BPRI_MED); in mouse8042_initiate_reset()
703 state->reset_ack_mp = allocb(1, BPRI_MED); in mouse8042_initiate_reset()
1062 if (state->ms_rqp != NULL && (mp = allocb(1, BPRI_MED))) { in mouse8042_intr()
H A Dllc1.c830 tmp = allocb(sizeof (llc_mac_info_t), BPRI_MED); in llc1_ioctl()
932 mp->b_cont = allocb(sizeof (struct ll_snioc), BPRI_MED); in llc1_ioctl()
1352 nmp = allocb(macinfo->llcp_addrlen * 2 + 2 + 8, BPRI_MED); in llc1_unitdata()
1416 nmp = allocb(sizeof (struct llchdr)+sizeof (struct snaphdr), in llc1_unitdata()
2024 mp = allocb(sizeof (dl_disabmulti_req_t) + ETHERADDRL, BPRI_MED); in llc1_send_disable_multi()
2078 mp = allocb(DL_INFO_REQ_SIZE, BPRI_MED); in llc1_req_info()
2123 mp = allocb(sizeof (dl_bind_req_t), BPRI_MED); in llc1_send_bindreq()
2158 udmp = allocb(sizeof (dl_unitdata_ind_t) + in llc1_form_udata()
2226 udmp = allocb(MBLKL(mp) + 4, BPRI_MED); in llc1_form_udata()
2288 nmp = allocb(msgdsize(mp) + LLC_XID_INFO_SIZE, BPRI_MED); in llc1_xid_reply()
[all …]
H A Dtelmod.c244 while ((tmip->unbind_mp = allocb(sizeof (union T_primitives), in telmodopen()
266 while ((bp = allocb(sizeof (union T_primitives), BPRI_HI)) == NULL) { in telmodopen()
377 if ((newmp = allocb(sizeof (char), BPRI_MED)) == NULL) { in telmodrput()
527 if ((newmp = allocb(sizeof (char), in telmodrsrv()
1050 if ((newmp = allocb(sizeof (char), in rcv_parse()
1148 if ((newmp = allocb((2 * size)+1, BPRI_MED)) == NULL) { in snd_parse()
H A Dconskbd.c908 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) { in conskbd_virtual_kbd_ioctl()
999 datap = allocb(sizeof (int), BPRI_HI); in conskbd_virtual_kbd_ioctl()
1039 if ((datap = allocb(sizeof (int), BPRI_MED)) == NULL) { in conskbd_legacy_kbd_ioctl()
1436 req->b_cont = allocb(sizeof (int), BPRI_MED); in conskbd_ioc_plink()
1580 req->b_cont = allocb(sizeof (int), BPRI_MED); in conskbd_kioctype_complete()
1655 req->b_cont = allocb(sizeof (int), BPRI_MED); in conskbd_kioctrans_complete()
1694 if ((mb = allocb(sizeof (Firm_event), BPRI_HI)) != NULL) { in conskbd_alloc_firm_event()
1769 req->b_cont = allocb(sizeof (uchar_t), BPRI_MED); in conskbd_kioclayout_complete()
2163 req->b_cont = allocb(sizeof (uchar_t), BPRI_MED); in conskbd_streams_setled()
2268 if ((datap = allocb((int)sizeof (int), BPRI_MED)) == NULL) { in conskbd_override_kbtrans()
H A Dgldutil.c391 if ((nmp = allocb(hdrlen, BPRI_MED)) == NULL) in gld_unitdata_ether()
445 if ((nmp = allocb(sizeof (struct ether_vlan_header), in gld_insert_vtag_ether()
520 if ((nmp = allocb(hdrlen, BPRI_MED)) == NULL) in gld_fastpath_ether()
839 if ((nmp = allocb(hdrlen, BPRI_MED)) == NULL) in gld_unitdata_ib()
879 if ((nmp = allocb(hdrlen, BPRI_MED)) == NULL) in gld_fastpath_ib()
1101 if ((nmp = allocb(hdrlen, BPRI_MED)) == NULL) in gld_unitdata_fddi()
1164 if ((nmp = allocb(hdrlen, BPRI_MED)) == NULL) in gld_fastpath_fddi()
1531 if ((nmp = allocb(hdrlen, BPRI_MED)) == NULL) { in gld_unitdata_tr()
1641 if ((nmp = allocb(hdrlen, BPRI_MED)) == NULL) in gld_fastpath_tr()
1834 if ((nmp = allocb(nlen, BPRI_MED)) == NULL) in gld_send_rqr()
[all …]
H A Dldterm.c653 while ((mp = allocb(len, BPRI_MED)) == NULL) { in open_mblk()
738 if ((tp->t_eucp_mp = allocb(_TTY_BUFSIZ, BPRI_HI)) != NULL) { in ldtermopen()
1021 if ((mp = allocb(3, BPRI_HI)) == NULL) { in ldtermrput()
1060 if ((mp = allocb(3, BPRI_HI)) == NULL) { in ldtermrput()
1075 if ((mp = allocb(1, BPRI_HI)) == NULL) { in ldtermrput()
1957 if ((bpt = allocb(IBSIZE, BPRI_MED)) == NULL) in ldterm_docanon()
2755 if ((bpt = allocb(IBSIZE, BPRI_MED)) == NULL) { in ldterm_dononcanon()
2925 if ((mp = allocb(4, BPRI_HI)) == NULL) { in ldterm_outchar()
2942 if ((newbp = allocb(bsize, BPRI_HI)) == NULL) { in ldterm_outchar()
2951 if ((curbp = allocb(bsize, BPRI_HI)) == NULL) { in ldterm_outchar()
[all …]
/illumos-gate/usr/src/uts/common/inet/
H A Dsnmpcom.c100 mpdata->b_cont = allocb(DATA_MBLK_SIZE, BPRI_HI); in snmp_append_data()
126 (*last_mpp)->b_cont = allocb(DATA_MBLK_SIZE, BPRI_HI); in snmp_append_data2()
238 mpctl = allocb(TOAHDR_SIZE, BPRI_MED); in snmpcom_req()
243 mpctl->b_cont = allocb(DATA_MBLK_SIZE, BPRI_MED); in snmpcom_req()
H A Dproto_set.c55 if (!(mp = allocb(sizeof (*stropt), BPRI_LO))) in proto_set_rx_hiwat()
82 if (!(mp = allocb(sizeof (*stropt), BPRI_LO))) in proto_set_rx_lowat()
146 if (!(mp = allocb(sizeof (*stropt), BPRI_LO))) in proto_set_tx_maxblk()
172 if (!(mp = allocb(sizeof (*stropt), BPRI_LO))) in proto_set_tx_copyopt()
201 if (!(mp = allocb(sizeof (*stropt), BPRI_LO))) in proto_set_tx_wroff()
H A Dmi.c240 mp1 = allocb(0, BPRI_MED); in mi_copyin()
380 mp1 = allocb(0, BPRI_MED); in mi_copyout_alloc()
401 mp1 = allocb(len, BPRI_MED); in mi_copyout_alloc()
677 mp->b_cont = allocb(1024, BPRI_HI); in mi_mpprintf_putc()
1155 if ((mp = allocb(size + sizeof (MTB), BPRI_HI)) != NULL) { in mi_timer_alloc()
1508 if ((mp = allocb(sizeof (struct T_ordrel_ind), BPRI_HI)) != NULL) { in mi_tpi_ordrel_ind()
1521 if ((mp = allocb(size, BPRI_MED)) != NULL) { in mi_tpi_trailer_alloc()
1539 if ((mp = allocb(len, BPRI_HI)) != NULL) { in mi_tpi_uderror_ind()
/illumos-gate/usr/src/uts/common/io/vuidmice/
H A Dvuidmice.c381 mp->b_cont = allocb(sizeof (int), BPRI_MED); in vuidmice_wput()
424 mp->b_cont = allocb(sizeof (int), BPRI_MED); in vuidmice_wput()
489 while ((bp = allocb((int)sizeof (Firm_event), BPRI_HI)) == NULL) { in VUID_PUTNEXT()
675 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) in vuidmice_handle_wheel_resolution_ioctl()
697 if ((ioctmp = allocb(sizeof (Mouse_iocstate_t), in vuidmice_handle_wheel_resolution_ioctl()
715 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) { in vuidmice_handle_wheel_resolution_ioctl()
/illumos-gate/usr/src/uts/common/io/kbtrans/
H A Dkbtrans_streams.c751 if ((datap = allocb(sizeof (uchar_t), BPRI_HI)) == NULL) { in kbtrans_ioctl()
766 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) { in kbtrans_ioctl()
783 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) { in kbtrans_ioctl()
877 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) { in kbtrans_ioctl()
900 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) { in kbtrans_ioctl()
965 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) { in kbtrans_ioctl()
979 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) { in kbtrans_ioctl()
1013 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) { in kbtrans_ioctl()
1050 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) { in kbtrans_ioctl()
1089 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) { in kbtrans_ioctl()
[all …]
/illumos-gate/usr/src/uts/sun/io/
H A Dms.c315 while ((datap = allocb(sizeof (struct termios), BPRI_HI)) == NULL) { in msopen()
511 if ((bp = allocb(3, BPRI_HI)) != NULL) { in msrserv()
555 if ((bp = allocb(sizeof (Firm_event), in msrserv()
591 if ((bp = allocb(sizeof (Firm_event), in msrserv()
618 if ((bp = allocb(sizeof (Firm_event), in msrserv()
759 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) { in msioctl()
791 if ((datap = allocb(sizeof (Ms_parms), BPRI_HI)) == NULL) { in msioctl()
964 if ((datap = allocb(sizeof (struct termios), in msrput()
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvnet_common.c94 nmp = allocb(sizeof (struct ether_vlan_header), in vnet_vlan_insert_tag()
150 nmp = allocb(sizeof (struct ether_header), BPRI_MED); in vnet_vlan_remove_tag()
/illumos-gate/usr/src/uts/common/io/usb/clients/usbms/
H A Dusbms.c466 if ((bp = allocb(3, BPRI_HI)) != NULL) { in usbms_rserv()
594 if ((tmp = allocb(sizeof (Firm_event), BPRI_HI)) != NULL) { in usbms_rserv_vuid_event_wheel()
684 if ((bp = allocb(sizeof (Firm_event), in usbms_rserv_vuid_button()
763 if ((bp = allocb(sizeof (Firm_event), in usbms_rserv_vuid_event_y()
852 if ((bp = allocb(sizeof (Firm_event), in usbms_rserv_vuid_event_x()
1016 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) { in usbms_ioctl()
1045 if ((datap = allocb(sizeof (Ms_parms), BPRI_HI)) == NULL) { in usbms_ioctl()
1064 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) { in usbms_ioctl()
1093 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) { in usbms_ioctl()
1991 ioctmp = (mblk_t *)allocb(pvtsize, BPRI_MED); in usbms_make_copyreq()
[all …]
/illumos-gate/usr/src/uts/common/io/ppp/spppasyn/
H A Dspppasyn.c819 np = allocb(sizeof (uint32_t), BPRI_HI); in spppasyn_wput()
841 np = allocb(sizeof (*psp), BPRI_HI); in spppasyn_wput()
861 np = allocb(sizeof (uint32_t), BPRI_HI); in spppasyn_wput()
1034 outmp = allocb(outmp_len, BPRI_MED); in ahdlc_encode()
1154 curout = allocb(outmp_len, BPRI_MED); in ahdlc_encode()
1174 curout = allocb(outmp_len, BPRI_MED); in ahdlc_encode()
1517 outmp = allocb(maxlen, BPRI_MED); in ahdlc_decode()
1602 outmp = allocb(0, BPRI_MED); in ahdlc_decode()
1759 if ((new_frame = allocb(PPP_HDRLEN+1, in spppasyn_muxencode()
1854 if ((new_frame = allocb(1, BPRI_MED)) in spppasyn_muxencode()
[all …]
/illumos-gate/usr/src/lib/smbclnt/libfknsmb/common/
H A Dfake_stream.c297 allocb(size_t size, uint_t pri) in allocb() function
338 mblk_t *mp = allocb(size, 0); in allocb_tmpl()
358 mblk_t *mp = allocb(size, 0); in allocb_cred()
500 return (allocb(size, BPRI_HI)); in reallocb()
828 if ((bp = allocb(size, BPRI_HI)) != NULL) in allocb_tryhard()
873 while ((mp = allocb(size, pri)) == NULL) { in allocb_wait()
906 if ((mp = allocb(sizeof (union ioctypes), BPRI_MED)) == NULL) in mkiocb()

12345678910>>...12