/titanic_50/usr/src/cmd/spell/ |
H A D | malloc.c | 75 static union store *allocb = &alloca; /*arena base*/ variable 108 ASSERT(p==allocb); 109 if(p != allocb) 176 for(p=allocb; ; p=s) { 178 if(s==allocb) 190 if(allocb > q) 191 allocb = q; 192 allocp = allocb; 242 p = allocb; 249 return(r==allocb&(x==1|p==q)); [all …]
|
/titanic_50/usr/src/uts/common/io/ppp/sppp/ |
H A D | s_common.c | 49 if ((mp = allocb(4, BPRI_HI)) == NULL) { in putctl4() 72 if ((mp = allocb(8, BPRI_HI)) == NULL) { in putctl8() 118 if ((mp = allocb(sizeof (*plt), BPRI_HI)) == NULL) { in create_lsmsg()
|
/titanic_50/usr/src/uts/common/inet/sctp/ |
H A D | sctp_notify.c | 55 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 D | sctp_error.c | 62 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()
|
H A D | sctp_asconf.c | 154 wmp = allocb(sizeof (*wph) + sizeof (cid), BPRI_MED); in sctp_asconf_prepend_errwrap() 286 mp = allocb(msgsize, BPRI_MED); in sctp_asconf_send() 1044 mp = allocb(len, BPRI_MED); in sctp_asconf_adderr() 1483 mp = allocb(sizeof (*ad4), BPRI_MED); in sctp_add_ip() 1498 mp = allocb(sizeof (*ad6), BPRI_MED); in sctp_add_ip() 1638 mp = allocb(sizeof (*ad4), BPRI_MED); in sctp_del_ip() 1653 mp = allocb(sizeof (*ad6), BPRI_MED); in sctp_del_ip() 1759 mp = allocb(sizeof (*ad4), BPRI_MED); in sctp_set_peerprim() 1773 mp = allocb(sizeof (*ad6), BPRI_MED); in sctp_set_peerprim()
|
/titanic_50/usr/src/uts/common/io/ |
H A D | tty_common.c | 98 if ((mp = allocb(1, BPRI_HI)) != NULL) { in ttycommon_qfull() 273 if ((bp = allocb(1, BPRI_MED)) != NULL) { in ttycommon_ioctl() 314 if ((datap = allocb(sizeof (struct termios), in ttycommon_ioctl() 338 if ((datap = allocb(sizeof (struct termio), BPRI_HI)) == NULL) { in ttycommon_ioctl() 364 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) { in ttycommon_ioctl() 383 if ((datap = allocb(sizeof (struct winsize), in ttycommon_ioctl()
|
H A D | bufmod.c | 334 if ((mop = allocb(sizeof (struct stroptions), in sbioc() 371 if ((mop = allocb(sizeof (struct stroptions), in sbioc() 674 datamp = allocb(sizeof (*t32), BPRI_MED); in sbioctl() 693 datamp = allocb(sizeof (*t), BPRI_MED); in sbioctl() 735 if ((mop = allocb(sizeof (struct stroptions), in sbioctl() 769 datamp = allocb(sizeof (uint_t), BPRI_MED); in sbioctl() 811 if ((mop = allocb(sizeof (struct stroptions), in sbioctl() 849 datamp = allocb(sizeof (uint_t), BPRI_MED); in sbioctl() 896 datamp = allocb(sizeof (uint_t), BPRI_MED); in sbioctl() 1030 sbp->sb_head = allocb(sizeof (hp), BPRI_MED); in sbaddmsg() [all …]
|
H A D | ptem.c | 185 if ((ntp->dack_ptr = allocb(4, BPRI_MED)) == NULL) { in ptemopen() 194 mop = allocb(sizeof (struct stroptions), BPRI_MED); in ptemopen() 710 dp = allocb(sizeof (struct termio), BPRI_MED); in ptemwmsg() 722 dp = allocb(sizeof (struct termios), BPRI_MED); in ptemwmsg() 806 if ((bp = allocb(1, BPRI_MED)) == NULL) { in ptemwmsg() 909 tmp = allocb(sizeof (struct jwinsize), BPRI_MED); in ptioc() 939 tmp = allocb(sizeof (struct winsize), BPRI_MED); in ptioc()
|
H A D | vcons.c | 722 (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 D | kbd.c | 348 while ((datap = allocb(sizeof (struct termios), BPRI_HI)) == in kbdopen() 602 if ((datap = allocb(sizeof (uchar_t), BPRI_HI)) == NULL) { in kbdioctl() 615 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) { in kbdioctl() 631 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) { in kbdioctl() 710 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) { in kbdioctl() 731 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) { in kbdioctl() 791 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) { in kbdioctl() 804 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) { in kbdioctl() 828 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) { in kbdioctl() 858 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) { in kbdioctl() [all …]
|
H A D | consms.c | 484 ((datap = allocb(sizeof (int), BPRI_HI)) == NULL)) { 734 if (req && ((req->b_cont = allocb(sizeof (int), in consms_lqs_ack_complete() 755 if (req && ((req->b_cont = allocb(sizeof (int), in consms_lqs_ack_complete() 776 if (req && ((req->b_cont = allocb(sizeof (int), in consms_lqs_ack_complete() 795 if (req && ((req->b_cont = allocb(sizeof (wheel_state), in consms_lqs_ack_complete() 817 if (req && ((req->b_cont = allocb(sizeof (Ms_parms), in consms_lqs_ack_complete() 837 allocb(sizeof (Ms_screen_resolution), in consms_lqs_ack_complete() 972 if ((tmp = allocb(sizeof (Firm_event), BPRI_HI)) != NULL) { in consms_new_firm_event()
|
H A D | mouse8042.c | 283 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 D | llc1.c | 830 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 D | telmod.c | 246 while ((tmip->unbind_mp = allocb(sizeof (union T_primitives), in telmodopen() 268 while ((bp = allocb(sizeof (union T_primitives), BPRI_HI)) == NULL) { in telmodopen() 379 if ((newmp = allocb(sizeof (char), BPRI_MED)) == NULL) { in telmodrput() 528 if ((newmp = allocb(sizeof (char), in telmodrsrv() 1048 if ((newmp = allocb(sizeof (char), in rcv_parse() 1146 if ((newmp = allocb((2 * size)+1, BPRI_MED)) == NULL) { in snd_parse()
|
H A D | conskbd.c | 907 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) { in conskbd_virtual_kbd_ioctl() 998 datap = allocb(sizeof (int), BPRI_HI); in conskbd_virtual_kbd_ioctl() 1038 if ((datap = allocb(sizeof (int), BPRI_MED)) == NULL) { in conskbd_legacy_kbd_ioctl() 1424 req->b_cont = allocb(sizeof (int), BPRI_MED); in conskbd_ioc_plink() 1568 req->b_cont = allocb(sizeof (int), BPRI_MED); in conskbd_kioctype_complete() 1643 req->b_cont = allocb(sizeof (int), BPRI_MED); in conskbd_kioctrans_complete() 1682 if ((mb = allocb(sizeof (Firm_event), BPRI_HI)) != NULL) { in conskbd_alloc_firm_event() 1757 req->b_cont = allocb(sizeof (uchar_t), BPRI_MED); in conskbd_kioclayout_complete() 2151 req->b_cont = allocb(sizeof (uchar_t), BPRI_MED); in conskbd_streams_setled() 2256 if ((datap = allocb((int)sizeof (int), BPRI_MED)) == NULL) { in conskbd_override_kbtrans()
|
H A D | gldutil.c | 392 if ((nmp = allocb(hdrlen, BPRI_MED)) == NULL) in gld_unitdata_ether() 446 if ((nmp = allocb(sizeof (struct ether_vlan_header), in gld_insert_vtag_ether() 521 if ((nmp = allocb(hdrlen, BPRI_MED)) == NULL) in gld_fastpath_ether() 922 if ((nmp = allocb(hdrlen, BPRI_MED)) == NULL) in gld_unitdata_ib() 962 if ((nmp = allocb(hdrlen, BPRI_MED)) == NULL) in gld_fastpath_ib() 1184 if ((nmp = allocb(hdrlen, BPRI_MED)) == NULL) in gld_unitdata_fddi() 1247 if ((nmp = allocb(hdrlen, BPRI_MED)) == NULL) in gld_fastpath_fddi() 1614 if ((nmp = allocb(hdrlen, BPRI_MED)) == NULL) { in gld_unitdata_tr() 1724 if ((nmp = allocb(hdrlen, BPRI_MED)) == NULL) in gld_fastpath_tr() 1917 if ((nmp = allocb(nlen, BPRI_MED)) == NULL) in gld_send_rqr() [all …]
|
/titanic_50/usr/src/uts/common/inet/ |
H A D | snmpcom.c | 100 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 D | proto_set.c | 55 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 D | mi.c | 240 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() 1506 if ((mp = allocb(sizeof (struct T_ordrel_ind), BPRI_HI)) != NULL) { in mi_tpi_ordrel_ind() 1519 if ((mp = allocb(size, BPRI_MED)) != NULL) { in mi_tpi_trailer_alloc() 1537 if ((mp = allocb(len, BPRI_HI)) != NULL) { in mi_tpi_uderror_ind()
|
/titanic_50/usr/src/uts/common/io/vuidmice/ |
H A D | vuidmice.c | 384 mp->b_cont = allocb(sizeof (int), BPRI_MED); in vuidmice_wput() 427 mp->b_cont = allocb(sizeof (int), BPRI_MED); in vuidmice_wput() 492 while ((bp = allocb((int)sizeof (Firm_event), BPRI_HI)) == NULL) { in VUID_PUTNEXT() 678 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) in vuidmice_handle_wheel_resolution_ioctl() 700 if ((ioctmp = allocb(sizeof (Mouse_iocstate_t), in vuidmice_handle_wheel_resolution_ioctl() 718 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) { in vuidmice_handle_wheel_resolution_ioctl()
|
/titanic_50/usr/src/uts/common/io/kbtrans/ |
H A D | kbtrans_streams.c | 756 if ((datap = allocb(sizeof (uchar_t), BPRI_HI)) == NULL) { in kbtrans_ioctl() 771 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) { in kbtrans_ioctl() 788 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) { in kbtrans_ioctl() 882 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) { in kbtrans_ioctl() 905 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) { in kbtrans_ioctl() 970 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) { in kbtrans_ioctl() 984 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) { in kbtrans_ioctl() 1018 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) { in kbtrans_ioctl() 1057 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) { in kbtrans_ioctl() 1432 if ((bp = allocb(sizeof (uint_t), BPRI_HI)) == NULL) { in kbtrans_putcode() [all …]
|
/titanic_50/usr/src/uts/sun/io/ |
H A D | ms.c | 326 while ((datap = allocb(sizeof (struct termios), BPRI_HI)) == NULL) { 526 if ((bp = allocb(3, BPRI_HI)) != NULL) { 570 if ((bp = allocb(sizeof (Firm_event), 606 if ((bp = allocb(sizeof (Firm_event), 633 if ((bp = allocb(sizeof (Firm_event), 776 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) { 808 if ((datap = allocb(sizeof (Ms_parms), BPRI_HI)) == NULL) { 986 if ((datap = allocb(sizeof (struct termios),
|
/titanic_50/usr/src/uts/sun4v/io/ |
H A D | vnet_common.c | 94 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()
|
/titanic_50/usr/src/uts/common/io/usb/clients/usbms/ |
H A D | usbms.c | 510 if ((bp = allocb(3, BPRI_HI)) != NULL) { in usbms_rserv() 639 if ((tmp = allocb(sizeof (Firm_event), BPRI_HI)) != NULL) { in usbms_rserv_vuid_event_wheel() 731 if ((bp = allocb(sizeof (Firm_event), in usbms_rserv_vuid_button() 812 if ((bp = allocb(sizeof (Firm_event), in usbms_rserv_vuid_event_y() 903 if ((bp = allocb(sizeof (Firm_event), in usbms_rserv_vuid_event_x() 1069 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) { in usbms_ioctl() 1098 if ((datap = allocb(sizeof (Ms_parms), BPRI_HI)) == NULL) { in usbms_ioctl() 1117 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) { in usbms_ioctl() 1146 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) { in usbms_ioctl() 2053 ioctmp = (mblk_t *)allocb(pvtsize, BPRI_MED); in usbms_make_copyreq() [all …]
|
/titanic_50/usr/src/uts/common/io/ppp/spppasyn/ |
H A D | spppasyn.c | 820 np = allocb(sizeof (uint32_t), BPRI_HI); in spppasyn_wput() 842 np = allocb(sizeof (*psp), BPRI_HI); in spppasyn_wput() 862 np = allocb(sizeof (uint32_t), BPRI_HI); in spppasyn_wput() 1035 outmp = allocb(outmp_len, BPRI_MED); in ahdlc_encode() 1155 curout = allocb(outmp_len, BPRI_MED); in ahdlc_encode() 1175 curout = allocb(outmp_len, BPRI_MED); in ahdlc_encode() 1518 outmp = allocb(maxlen, BPRI_MED); in ahdlc_decode() 1603 outmp = allocb(0, BPRI_MED); in ahdlc_decode() 1760 if ((new_frame = allocb(PPP_HDRLEN+1, in spppasyn_muxencode() 1855 if ((new_frame = allocb(1, BPRI_MED)) in spppasyn_muxencode() [all …]
|