Home
last modified time | relevance | path

Searched refs:mp (Results 26 – 50 of 1067) sorted by relevance

12345678910>>...43

/illumos-gate/usr/src/uts/common/io/vuidmice/
H A Dvuidmice.c250 ASSERT(mp != NULL); in vuidmice_rput()
293 DB_TYPE(mp)); in vuidmice_rsrv()
361 qreply(qp, mp); in vuidmice_wput()
393 qreply(qp, mp); in vuidmice_wput()
436 qreply(qp, mp); in vuidmice_wput()
539 mp->b_wptr = mp->b_rptr + sizeof (struct iocblk); in vuidmice_miocdata()
582 mp->b_wptr = mp->b_rptr + sizeof (struct iocblk); in vuidmice_miocdata()
644 qreply(qp, mp); in vuidmice_miocdata()
680 qreply(qp, mp); in vuidmice_handle_wheel_resolution_ioctl()
705 qreply(qp, mp); in vuidmice_handle_wheel_resolution_ioctl()
[all …]
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_input.c257 for (mp = mp_chain; mp != NULL; mp = mp_chain) { in ip_input_common_v4()
293 if ((mp = ip_fix_dbref(mp, &iras)) == NULL) { in ip_input_common_v4()
593 mp = ip_check_length(mp, rptr, len, pkt_len, in ill_input_short_v4()
968 mp = ip_process(IPP_FWD_IN, mp, ill, ill); in ire_recv_forward_v4()
1806 mp = ip_input_fragment(mp, ipha, ira); in ip_input_local_v4()
2699 mp = zero_spi_check(mp, ira); in ip_fanout_v4()
2747 mp = ipsec_check_global_policy(mp, NULL, in ip_fanout_v4()
2777 mp = icmp_inbound_v4(mp, ira); in ip_fanout_v4()
2813 mp = igmp_input(mp, ira); in ip_fanout_v4()
2840 mp = pim_input(mp, ira); in ip_fanout_v4()
[all …]
H A Dip6_input.c253 for (mp = mp_chain; mp != NULL; mp = mp_chain) { in ip_input_common_v6()
286 if ((mp = ip_fix_dbref(mp, &iras)) == NULL) in ip_input_common_v6()
943 mp = ip_process(IPP_FWD_IN, mp, ill, ill); in ire_recv_forward_v6()
2160 mp = ipsec_check_inbound_policy(mp, connp, in ip_fanout_v6()
2325 mp = ipsec_check_inbound_policy(mp, connp, in ip_fanout_v6()
2378 mp = ipsec_check_global_policy(mp, NULL, in ip_fanout_v6()
2399 mp = icmp_inbound_v6(mp, ira); in ip_fanout_v6()
2414 mp = ipsec_early_ah_v6(mp, ira); in ip_fanout_v6()
2588 mp = ipsec_early_ah_v6(mp, ira); in ip_fanout_v6()
2658 mp = ipsec_inbound_esp_sa(mp, ira, &esph); in ip_fanout_v6()
[all …]
/illumos-gate/usr/src/uts/common/io/
H A Dbufmod.c415 sbioctl(wq, mp); in sbwput()
424 freemsg(mp); in sbwput()
437 sbioc(wq, mp); in sbwput()
447 putnext(wq, mp); in sbwput()
513 putnext(rq, mp); in sbrput()
521 freemsg(mp); in sbrput()
549 mblk_t *mp; in sbrsrv() local
1041 freemsg(mp); in sbaddmsg()
1168 mblk_t *mp; in sbclosechunk() local
1185 if (mp) { in sbclosechunk()
[all …]
H A Dconskbd.c603 mblk_t *mp; in conskbdclose() local
632 mp->b_next = mp->b_prev = NULL; in conskbdclose()
669 mblk_t *mp; in conskbduwsrv() local
813 mp->b_rptr = mp->b_datap->db_base; in conskbduwsrv()
814 mp->b_wptr = mp->b_rptr + sizeof (char); in conskbduwsrv()
1631 freemsg(mp); in conskbd_kioctype_complete()
1681 freemsg(mp); in conskbd_kioctrans_complete()
1872 ASSERT(mp->b_next == NULL && mp->b_prev == NULL); in conskbd_mux_upstream_msg()
1911 for (mp = msg->kpm_resp_list; mp; ) { in conskbd_mux_upstream_msg()
1961 for (mp = msg->kpm_resp_list; mp; ) { in conskbd_mux_upstream_msg()
[all …]
H A Dsundlpi.c44 mblk_t *mp, in dlbindack() argument
72 mblk_t *mp, in dlokack() argument
88 mblk_t *mp, in dlerrorack() argument
108 mblk_t *mp, in dluderrorind() argument
134 mblk_t *mp, in dlphysaddrack() argument
177 mblk_t *mp, in dlnotifyack() argument
237 *mpp = mp; in dl_op()
264 freemsg(mp); in dl_op()
286 mblk_t *mp; in dl_attach() local
407 mblk_t *mp; in dl_info() local
[all …]
H A Dpckt.c352 freemsg(mp); in pcktrput()
391 if ((mp = add_ctl_info(q, mp)) != NULL) in pcktrput()
423 mblk_t *mp; in pcktrsrv() local
460 if ((mp = add_ctl_info(q, mp)) == NULL) { in pcktrsrv()
514 return (mp); in pckt_reallocb()
537 freeb(mp); in pckt_reallocb()
631 if ((mp = pckt_reallocb(q, mp)) == (mblk_t *)0) in add_ctl_info()
649 mp->b_wptr = mp->b_rptr + sizeof (struct iocblk32); in add_ctl_info()
653 if ((mp = pckt_reallocb(q, mp)) == (mblk_t *)0) in add_ctl_info()
657 *(size32_t *)mp->b_rptr = *(size_t *)mp->b_rptr; in add_ctl_info()
[all …]
H A Dtimod.c493 mblk_t *mp; in timodclose() local
542 mp = nmp; in timodclose()
643 mblk_t *mp; in timodrsrv() local
1035 mp = tpi_ack_alloc(mp, in timodrproc()
1090 if (mp->b_datap->db_lim - mp->b_wptr < in timodrproc()
1101 mp->b_rptr = mp->b_datap->db_base; in timodrproc()
1851 mp->b_cont = tcsr_mp = tpi_ack_alloc(mp->b_cont, in timodwproc()
1908 tim_recover(q, mp, msgsize(mp)); in timodwproc()
2053 tim_recover(q, mp, msgsize(mp)); in timodwproc()
2776 mp->b_wptr = mp->b_rptr + iocbp->ioc_count; in tim_ioctl_send_reply()
[all …]
H A Dlogindmux.c528 mp = newmp; in logdmuxuwput()
568 freemsg(mp); in logdmuxuwput()
641 freemsg(mp); in logdmuxlrput()
744 freeb(mp); in logdmuxlrput()
776 mp->b_wptr = mp->b_rptr; in logdmuxlrput()
812 freemsg(mp); in logdmuxlrput()
818 freemsg(mp); in logdmuxlrput()
892 freeb(mp); in logdmuxlrsrv()
1074 mblk_t *mp; in logdmux_finish_unlink() local
1225 mp = nmp; in flushq_dataonly()
[all …]
H A Dconsms.c434 mp->b_rptr = mp->b_datap->db_base; in consmsuwput()
435 mp->b_wptr = mp->b_rptr + sizeof (char); in consmsuwput()
516 mblk_t *mp; in consmslwserv() local
734 if (!skipped && mp && mp->b_cont && in consms_lqs_ack_complete()
755 if (!skipped && mp && mp->b_cont && in consms_lqs_ack_complete()
908 mblk_t *mp; in consms_check_caps() local
1075 mp = NULL; in consms_mux_ack()
1090 mp = NULL; in consms_mux_ack()
1125 if (mp) { in consms_mux_ack()
1273 if (mp == NULL || mp->b_cont == NULL) in consms_mux_max_wheel_report()
[all …]
H A Dllc1.c70 mblk_t *mp);
73 mblk_t *mp);
76 mblk_t *mp);
1500 valid = adjmsg(mp->b_cont, i - msgdsize(mp)); in llc1_recv()
1544 mp = llc1_xid_reply(macinfo, mp, 0); in llc1_recv()
1546 mp = llc1_test_reply(macinfo, mp, 0); in llc1_recv()
1831 if (mp) { in llc1unattach()
2025 if (mp) { in llc1_send_disable_multi()
2083 mp->b_wptr = mp->b_rptr + DL_INFO_REQ_SIZE; in llc1_req_info()
2128 mp->b_wptr = mp->b_rptr + sizeof (dl_bind_req_t); in llc1_send_bindreq()
[all …]
/illumos-gate/usr/src/uts/common/io/ppp/sppp/
H A Ds_common.c46 mblk_t *mp; in putctl4() local
51 MTYPE(mp) = type; in putctl4()
54 mp->b_wptr += 4; in putctl4()
56 putnext(q, mp); in putctl4()
69 mblk_t *mp; in putctl8() local
77 mp->b_wptr += 8; in putctl8()
79 putnext(q, mp); in putctl8()
96 i -= MBLKL(mp); in msg_byte()
97 mp = mp->b_cont; in msg_byte()
114 mblk_t *mp; in create_lsmsg() local
[all …]
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Dspppcomp.c336 if ((mp = spppcomp_outpkt(q, mp)) != NULL) in spppcomp_wput()
405 (mp = spppcomp_outpkt(q, mp)) != NULL) in spppcomp_wsrv()
473 if (DB_REF(mp) == 1 && MBLKL(mp) >= tocopy && in spppcomp_outpkt()
662 mp->b_rptr[2] = mp->b_rptr[1]; in spppcomp_outpkt()
663 mp->b_rptr[1] = mp->b_rptr[0]; in spppcomp_outpkt()
924 mp->b_cont->b_wptr = mp->b_cont->b_rptr + len; in spppcomp_inner_ioctl()
1186 if ((mp = spppcomp_inpkt(q, mp)) != NULL) in spppcomp_rput()
1305 (mp = spppcomp_inpkt(q, mp)) != NULL) in spppcomp_rsrv()
1360 if (mp->b_rptr + hlen > mp->b_wptr) { in spppcomp_inpkt()
1410 if (mp->b_wptr < mp->b_rptr + len) { in spppcomp_inpkt()
[all …]
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_xml.c101 xmlattr_to_int(topo_mod_t *mp, in xmlattr_to_int() argument
126 xmlattr_to_double(topo_mod_t *mp, in xmlattr_to_double() argument
149 xmlattr_to_fmri(topo_mod_t *mp, in xmlattr_to_fmri() argument
520 prop_create(topo_mod_t *mp, in prop_create() argument
655 props_create(topo_mod_t *mp, in props_create() argument
1282 tf_pad_free(mp, new); in pad_process()
1330 tf_pad_free(mp, new); in pad_process()
1354 tmp_rd.rd_mod = mp; in pad_process()
1625 topo_hdl_t *thp = mp->tm_hdl; in enum_run()
1770 if (enum_run(mp, rd) < 0) { in topo_xml_range_process()
[all …]
H A Dtopo_parse.c43 tf_info_free(mp, r); in tf_info_new()
57 tf_rdata_free(mp, p->tf_rd); in tf_info_free()
93 r->rd_mod = mp; in tf_rdata_new()
104 tf_rdata_free(mp, r); in tf_rdata_new()
113 tf_rdata_free(mp, p->rd_next); in tf_rdata_free()
116 tf_edata_free(mp, p->rd_einfo); in tf_rdata_free()
118 tf_pad_free(mp, p->rd_pad); in tf_rdata_free()
140 tf_idata_free(mp, p->ti_next); in tf_idata_free()
141 tf_pad_free(mp, p->ti_pad); in tf_idata_free()
197 topo_mod_free(mp, in tf_pad_free()
[all …]
H A Dtopo_method.c52 for (mp = topo_list_next(&node->tn_methods); mp != NULL; in topo_method_lookup()
53 mp = topo_list_next(mp)) { in topo_method_lookup()
56 return (mp); in topo_method_lookup()
74 for (mp = topo_list_next(&node->tn_methods); mp != NULL; in topo_method_supported()
75 mp = topo_list_next(mp)) { in topo_method_supported()
92 (void) pthread_cond_wait(&mp->tim_cv, &mp->tim_lock); in topo_method_enter()
94 ++mp->tim_busy; in topo_method_enter()
197 for (mp = topo_list_next(&node->tn_methods); mp != NULL; in topo_method_unregister()
198 mp = topo_list_next(mp)) { in topo_method_unregister()
244 for (mp = topo_list_next(&node->tn_methods); mp != NULL; in topo_method_call()
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dstrsun.h42 #define DB_BASE(mp) ((mp)->b_datap->db_base) argument
43 #define DB_LIM(mp) ((mp)->b_datap->db_lim) argument
44 #define DB_REF(mp) ((mp)->b_datap->db_ref) argument
45 #define DB_TYPE(mp) ((mp)->b_datap->db_type) argument
46 #define DB_FLAGS(mp) ((mp)->b_datap->db_flags) argument
49 #define MBLKL(mp) _PTRDIFF((mp)->b_wptr, (mp)->b_rptr) argument
50 #define MBLKSIZE(mp) _PTRDIFF(DB_LIM(mp), DB_BASE(mp)) argument
51 #define MBLKHEAD(mp) _PTRDIFF((mp)->b_rptr, DB_BASE(mp)) argument
52 #define MBLKTAIL(mp) _PTRDIFF(DB_LIM(mp), (mp)->b_wptr) argument
53 #define MBLKIN(mp, off, len) (((off) <= MBLKL(mp)) && \ argument
[all …]
/illumos-gate/usr/src/uts/common/io/softmac/
H A Dsoftmac_pkt.c40 return (mp); in softmac_m_tx()
55 mp = next; in softmac_m_tx()
57 return (mp); in softmac_m_tx()
67 ASSERT((mp->b_next == NULL) && (mp->b_prev == NULL)); in softmac_rput_process_data()
80 freemsg(mp); in softmac_rput_process_data()
81 mp = tmp; in softmac_rput_process_data()
88 freemsg(mp); in softmac_rput_process_data()
154 *mpp = mp; in softmac_output()
156 freemsg(mp); in softmac_output()
186 *mpp = mp; in softmac_ioctl_tx()
[all …]
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfake_stream.c48 kmem_free(mp, sizeof (*mp)); in lastfree()
57 mblk_t *mp; in esballoca() local
60 mp = kmem_zalloc(sizeof (*mp), KM_SLEEP); in esballoca()
62 mp->b_datap = db; in esballoca()
63 db->db_mblk = mp; in esballoca()
78 mp->b_next = mp->b_prev = mp->b_cont = NULL; in esballoca()
79 mp->b_rptr = mp->b_wptr = base; in esballoca()
82 return (mp); in esballoca()
101 while (mp) { in freemsg()
106 ASSERT(mp->b_next == NULL && mp->b_prev == NULL); in freemsg()
[all …]
/illumos-gate/usr/src/uts/intel/io/viona/
H A Dviona_rx.c65 mblk_t *mp; in viona_rx_init() local
79 mblk_t *mp; in viona_rx_fini() local
84 VERIFY(mp != NULL && mp->b_cont == NULL); in viona_rx_fini()
85 freemsg(mp); in viona_rx_fini()
162 mp = mp->b_cont; in viona_copy_mblk()
181 mp = mp->b_cont; in viona_copy_mblk()
521 mp = next; in viona_rx_common()
610 mp = next; in viona_rx_common()
622 mp = mpdrop; in viona_rx_common()
628 mp = next; in viona_rx_common()
[all …]
/illumos-gate/usr/src/uts/common/io/dld/
H A Ddld_str.c807 if ((DB_REF(mp) > 1) || (MBLKL(mp) < len)) { in i_dld_ether_header_update_tag()
819 mp = hmp; in i_dld_ether_header_update_tag()
859 freeb(mp); in i_dld_ether_header_update_tag()
863 mp = hmp; in i_dld_ether_header_update_tag()
871 return (mp); in i_dld_ether_header_update_tag()
908 freemsg(mp); in str_mdata_fastpath_put()
938 mp = newmp; in str_mdata_raw_put()
1270 mp = next; in dld_str_rx_raw()
1320 ASSERT(mp->b_rptr >= DB_BASE(mp) + offset); in dld_str_rx_fastpath()
1333 mp = next; in dld_str_rx_fastpath()
[all …]
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_notify.c49 mblk_t *mp; in sctp_notify() local
130 mblk_t *mp; in sctp_assoc_event() local
167 mblk_t *mp; in sctp_sendfail() local
207 mblk_t *mp; in sctp_sendfail_sent() local
254 mblk_t *mp; in sctp_sendfail_event() local
299 mblk_t *mp; in sctp_regift_xmitlist() local
328 mblk_t *mp; in sctp_intf_event() local
366 mblk_t *mp; in sctp_error_event() local
424 mp->b_wptr = mp->b_rptr + len; in sctp_error_event()
432 mblk_t *mp; in sctp_shutdown_event() local
[all …]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_mem.c50 MATCHMAP *mp; in emlxs_mem_alloc_buffer() local
296 MATCHMAP *mp; in emlxs_mem_free_buffer() local
1012 mp, mp->tag, mp->flag); in emlxs_mem_pool_put()
1296 EMLXS_MPDATA_SYNC(mp->dma_handle, 0, mp->size, in emlxs_mem_get_vaddr()
1305 mp = (MATCHMAP *)mp->fc_mptr; in emlxs_mem_get_vaddr()
1331 EMLXS_MPDATA_SYNC(mp->dma_handle, 0, mp->size, in emlxs_mem_get_vaddr()
1340 mp = (MATCHMAP *)mp->fc_mptr; in emlxs_mem_get_vaddr()
1366 EMLXS_MPDATA_SYNC(mp->dma_handle, 0, mp->size, in emlxs_mem_get_vaddr()
1375 mp = (MATCHMAP *)mp->fc_mptr; in emlxs_mem_get_vaddr()
1401 EMLXS_MPDATA_SYNC(mp->dma_handle, 0, mp->size, in emlxs_mem_get_vaddr()
[all …]
/illumos-gate/usr/src/uts/common/inet/dlpistub/
H A Ddlpistub.c202 switch (DB_TYPE(mp)) { in ds_wput()
210 dlp = (void *)mp->b_rptr; in ds_wput()
239 mp = mexchange(q, mp, sizeof (dl_info_ack_t), in ds_wput()
241 if (mp != NULL) { in ds_wput()
246 qreply(q, mp); in ds_wput()
281 mblk_t *, mp); in ds_wput()
282 freemsg(mp); in ds_wput()
295 *mp->b_rptr &= ~FLUSHW; in ds_wput()
297 qreply(q, mp); in ds_wput()
299 freemsg(mp); in ds_wput()
[all …]
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_tpi.c224 if ((mp->b_wptr - mp->b_rptr) < sizeof (*tbr)) { in tcp_tpi_bind()
228 (uint_t)(mp->b_wptr - mp->b_rptr)); in tcp_tpi_bind()
239 mp = mp1; in tcp_tpi_bind()
333 mp = mi_tpi_ok_ack_alloc(mp); in tcp_tpi_unbind()
480 if (!mp) in tcp_conn_con()
726 mp = mi_tpi_err_ack_alloc(mp, -error, 0); in tcp_tpi_connect()
728 mp = mi_tpi_err_ack_alloc(mp, TSYSERR, error); in tcp_tpi_connect()
730 mp = mi_tpi_ok_ack_alloc(mp); in tcp_tpi_connect()
1117 mp->b_wptr = mp->b_rptr + in tcp_accept_finish()
1725 mp = mi_tpi_err_ack_alloc(mp, TPROTO, 0); in tcp_tpi_accept()
[all …]

12345678910>>...43