/illumos-gate/usr/src/uts/common/io/aggr/ |
H A D | aggr_recv.c | 98 head = cmp->b_next; in aggr_recv_path_cb() 99 cmp->b_next = NULL; in aggr_recv_path_cb() 104 last->b_next = NULL; in aggr_recv_path_cb() 111 head = cmp->b_next; in aggr_recv_path_cb() 112 cmp->b_next = NULL; in aggr_recv_path_cb() 131 head = cmp->b_next; in aggr_recv_path_cb() 132 cmp->b_next = NULL; in aggr_recv_path_cb() 139 last->b_next = NULL; in aggr_recv_path_cb() 147 head = cmp->b_next; in aggr_recv_path_cb() 148 cmp->b_next = NULL; in aggr_recv_path_cb() [all …]
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_output.c | 288 sctp->sctp_xmit_unsent_tail->b_next = mproto; in sctp_sendmsg() 372 ASSERT(chunk_mp->b_next != NULL); in sctp_chunkify() 373 mdblk->b_cont = chunk_mp->b_next; in sctp_chunkify() 374 chunk_mp->b_next = NULL; in sctp_chunkify() 377 while (mp->b_next != NULL) in sctp_chunkify() 378 mp = mp->b_next; in sctp_chunkify() 388 sctp->sctp_xmit_unsent = mdblk->b_next; in sctp_chunkify() 393 mdblk->b_next = NULL; in sctp_chunkify() 427 ASSERT(chunk_head->b_next == NULL); in sctp_chunkify() 428 chunk_head->b_next = mdblk->b_cont; in sctp_chunkify() [all …]
|
H A D | sctp_input.c | 637 mpnext = mp->b_next; in sctp_free_reass() 638 mp->b_next = NULL; in sctp_free_reass() 695 dmp->b_next = hmp; in sctp_uodata_frag() 699 dmp->b_next = hmp; in sctp_uodata_frag() 701 hmp->b_prev->b_next = dmp; in sctp_uodata_frag() 706 if (hmp->b_next == NULL) { in sctp_uodata_frag() 707 hmp->b_next = dmp; in sctp_uodata_frag() 711 hmp = hmp->b_next; in sctp_uodata_frag() 742 for (hmp = dmp->b_next; hmp != NULL; hmp = hmp->b_next) { in sctp_uodata_frag() 761 sctp->sctp_uo_frags = end->b_next; in sctp_uodata_frag() [all …]
|
H A D | sctp_notify.c | 223 mp = nmp->b_next; in sctp_sendfail_sent() 224 nmp->b_next = NULL; in sctp_sendfail_sent() 277 while ((nmp = mp->b_next) != NULL) { in sctp_sendfail_event() 278 mp->b_next = nmp->b_next; in sctp_sendfail_event() 279 nmp->b_next = NULL; in sctp_sendfail_event() 306 sctp->sctp_xmit_head = mp->b_next; in sctp_regift_xmitlist() 307 mp->b_next = NULL; in sctp_regift_xmitlist() 313 sctp->sctp_xmit_unsent = mp->b_next; in sctp_regift_xmitlist() 314 mp->b_next = NULL; in sctp_regift_xmitlist()
|
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | sodirect.c | 192 mp->b_next = mp1; in sod_uioa_mblk_init() 310 if (in_rcv_q && (bp == NULL || bp->b_next == NULL)) { in sod_uioa_so_init() 341 if ((wbp->b_next = bp->b_next) == NULL) { in sod_uioa_so_init() 347 bp->b_next = wbp; in sod_uioa_so_init() 348 bp->b_next->b_prev = bp->b_prev; in sod_uioa_so_init() 419 so->so_rcv_q_head = mp->b_next; in sod_uioa_mblk() 423 mp->b_next = NULL; in sod_uioa_mblk() 434 so->so_rcv_head = mp->b_next; in sod_uioa_mblk() 437 mp->b_prev = mp->b_next = NULL; in sod_uioa_mblk() 449 m = m->b_next; in sod_uioa_mblk() [all …]
|
H A D | sockcommon_subr.c | 548 mp->b_next = so->so_rcv_q_head; in so_prepend_msg() 592 if (mp_head->b_next == NULL && in so_process_new_message() 603 ASSERT(mp_head->b_next != NULL); in so_process_new_message() 608 so->so_rcv_q_last_head->b_next = mp_head->b_next; in so_process_new_message() 609 mp_head->b_next = NULL; in so_process_new_message() 618 tmp_mblk = tmp_mblk->b_next; in so_process_new_message() 622 so->so_rcv_q_last_head->b_next = mp_head; in so_process_new_message() 754 so->so_rcv_q_head = mp->b_next; in so_dequeue_msg() 758 mp->b_next = NULL; in so_dequeue_msg() 1055 so->so_rcv_last_head->b_next = mp; in so_enqueue_msg() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/udfs/fsck/ |
H A D | utilities.c | 264 bufhead.b_next = bufhead.b_prev = &bufhead; in bufinit() 278 bp->b_next = bufhead.b_next; in bufinit() 279 bufhead.b_next->b_prev = bp; in bufinit() 280 bufhead.b_next = bp; in bufinit() 294 for (bp = bufhead.b_next; bp != &bufhead; bp = bp->b_next) in getdatablk() 306 bp->b_prev->b_next = bp->b_next; in getdatablk() 307 bp->b_next->b_prev = bp->b_prev; in getdatablk() 309 bp->b_next = bufhead.b_next; in getdatablk() 310 bufhead.b_next->b_prev = bp; in getdatablk() 311 bufhead.b_next = bp; in getdatablk()
|
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_util.c | 86 ASSERT3P(mp->b_next, ==, NULL); in mac_drop_pkt() 114 next = mp->b_next; in mac_drop_chain() 116 mp->b_next = NULL; in mac_drop_chain() 149 for (; mp != NULL; mp = mp->b_next) { in mac_copymsgchain_cksum() 155 nmpp = &((*nmpp)->b_next); in mac_copymsgchain_cksum() 176 VERIFY3P(mp->b_next, ==, NULL); in mac_sw_cksum() 727 ASSERT3P(omp->b_next, ==, NULL); in mac_sw_lso() 946 tmptail->b_next = nhdrmp; in mac_sw_lso() 1026 next_nhdrmp = nhdrmp->b_next; in mac_sw_lso() 1027 nhdrmp->b_next = NULL; in mac_sw_lso() [all …]
|
H A D | mac_sched.c | 1151 (mac_srs)->srs_last->b_next = (head); \ 1387 ASSERT(mp->b_next == NULL); in mac_rx_drop_pkt() 1441 ASSERT((tail)->b_next == NULL); \ 1442 (tail)->b_next = (mp); \ 1541 head = head->b_next; in mac_rx_srs_proto_fanout() 1542 mp->b_next = NULL; in mac_rx_srs_proto_fanout() 1678 ASSERT(tailmp[type]->b_next == NULL); in mac_rx_srs_proto_fanout() 1968 head = head->b_next; in mac_rx_srs_fanout() 1969 mp->b_next = NULL; in mac_rx_srs_fanout() 2173 ASSERT(tailmp[type][i]->b_next == NULL); in mac_rx_srs_fanout() [all …]
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | stream.c | 438 mp->b_next = mp->b_prev = mp->b_cont = NULL; in allocb() 643 ASSERT(mp->b_next == NULL && mp->b_prev == NULL); in freeb() 660 ASSERT(mp->b_next == NULL && mp->b_prev == NULL); in freemsg() 778 new_mp->b_next = new_mp->b_prev = new_mp->b_cont = NULL; in dupb() 873 mp->b_next = mp->b_prev = mp->b_cont = NULL; in gesballoc() 1136 mp->b_next = mp->b_prev = mp->b_cont = NULL; in bcache_allocb() 1230 mp->b_next = mp->b_prev = mp->b_cont = NULL; in allocb_wait() 1587 ASSERT(mp->b_next == NULL && mp->b_prev == NULL); in pullupmsg() 2016 if ((mp2->b_next = bp->b_next) == NULL) in getq_noenab() 2019 bp->b_next->b_prev = mp2; in getq_noenab() [all …]
|
H A D | tirdwr.c | 383 for (mp = q->q_next->q_first; mp != NULL; mp = mp->b_next) { in check_strhead() 437 tmp = mp->b_next; in strip_strhead() 443 emp = mp->b_next; in strip_strhead() 456 mp = mp->b_next; in strip_strhead() 460 mp = mp->b_next; in strip_strhead()
|
/illumos-gate/usr/src/uts/intel/io/viona/ |
H A D | viona_rx.c | 496 mblk_t *next = mp->b_next; in viona_rx_common() 501 mp->b_next = NULL; in viona_rx_common() 515 mpdrop_prevp = &mp->b_next; in viona_rx_common() 571 tail->b_next = next; in viona_rx_common() 572 next = mp->b_next; in viona_rx_common() 573 mp->b_next = NULL; in viona_rx_common() 647 mpdrop_prevp = &mp->b_next; in viona_rx_common() 655 mp->b_next = next; in viona_rx_common() 668 mprx_prevp = &mp->b_next; in viona_rx_common() 686 mblk_t *next = mp->b_next; in viona_rx_common() [all …]
|
/illumos-gate/usr/src/lib/smbclnt/libfknsmb/common/ |
H A D | fake_strsubr.c | 109 nextmp = mp->b_next; in esballoc_mblk_free() 110 mp->b_next = NULL; in esballoc_mblk_free() 121 mp->b_next = NULL; in mblk_free()
|
/illumos-gate/usr/src/uts/common/inet/ |
H A D | mi.c | 332 mp1->b_next = NULL; in mi_copyout() 337 mp1->b_next = NULL; in mi_copyout() 360 cq->cq_addr = (char *)mp2->b_cont->b_next; in mi_copyout() 365 mp1->b_next = NULL; in mi_copyout() 408 mp1->b_next = (MBLKP)uaddr; in mi_copyout_alloc() 432 mp1->b_next = NULL; in mi_copy_done() 1102 mp->b_prev || mp->b_next); in mi_timer() 1112 mp->b_prev || mp->b_next); in mi_timer() 1120 mp->b_prev || mp->b_next); in mi_timer() 1205 mp->b_prev || mp->b_next); in mi_timer_free() [all …]
|
/illumos-gate/usr/src/uts/common/io/softmac/ |
H A D | softmac_pkt.c | 38 if (mp->b_next == NULL) { in softmac_m_tx() 48 mblk_t *next = mp->b_next; in softmac_m_tx() 52 mp->b_next = NULL; in softmac_m_tx() 67 ASSERT((mp->b_next == NULL) && (mp->b_prev == NULL)); in softmac_rput_process_data()
|
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/ |
H A D | utilities.c | 209 bufhead.b_next = bufhead.b_prev = &bufhead; in bufinit() 231 bp->b_next = bufhead.b_next; in bufinit() 232 bufhead.b_next->b_prev = bp; in bufinit() 233 bufhead.b_next = bp; in bufinit() 266 nbp->b_next = bp->b_next; in unbufinit() 267 bp->b_next->b_prev = nbp; in unbufinit() 285 for (bp = bufhead.b_next; bp != &bufhead; bp = bp->b_next) in getdatablk() 313 if (bufhead.b_next != bp) { in getdatablk() 314 bp->b_prev->b_next = bp->b_next; in getdatablk() 315 bp->b_next->b_prev = bp->b_prev; in getdatablk() [all …]
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip6_asp.c | 158 (mp->b_next == NULL)); in ip6_asp_pending_op() 161 mp->b_next = NULL; in ip6_asp_pending_op() 169 ipst->ips_ip6_asp_pending_ops_tail->b_next = mp; in ip6_asp_pending_op() 185 ipst->ips_ip6_asp_pending_ops = mp->b_next; in ip6_asp_complete_op() 186 mp->b_next = NULL; in ip6_asp_complete_op()
|
/illumos-gate/usr/src/uts/common/io/dls/ |
H A D | dls_link.c | 114 mblk_t *nextp = (mp)->b_next; \ 122 (mp)->b_next = NULL; \ 127 (mp)->b_next = nextp; \ 160 for (prevp = mp; (mp = mp->b_next) != NULL; prevp = mp) { in i_dls_link_subchain() 169 prevp->b_next = mp; in i_dls_link_subchain() 216 prevp->b_next = NULL; in i_dls_link_subchain() 370 nextp = mp->b_next; in i_dls_link_rx() 371 mp->b_next = NULL; in i_dls_link_rx() 572 ASSERT3P(mp->b_next, ==, NULL); in dls_rx_promisc()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | squeue.h | 42 ASSERT((mp)->b_next == NULL); \ 56 ASSERT(mp->b_next == NULL); \
|
H A D | softmac_impl.h | 335 (sup)->su_pending_tail->b_next = (mp); \ 345 if (((sup)->su_pending_head = (*(mpp))->b_next) == NULL)\ 347 (*(mpp))->b_next = NULL; \
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | serializer.c | 178 s->ser_last->b_next = mp; in serializer_enqueue() 199 if ((s->ser_first = s->ser_first->b_next) == NULL) { in serializer_drain() 202 mp->b_next = NULL; in serializer_drain() 256 ASSERT(mp->b_next == NULL); in serializer_enter()
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vsw_switching.c | 1269 bpn = bp->b_next; in vsw_vlan_frame_pretag() 1270 bp->b_next = bp->b_prev = NULL; in vsw_vlan_frame_pretag() 1290 bpt->b_next = bp; in vsw_vlan_frame_pretag() 1366 while (bp->b_next != NULL) { in vsw_vlan_frame_untag() 1367 bp = bp->b_next; in vsw_vlan_frame_untag() 1379 bpn = bp->b_next; in vsw_vlan_frame_untag() 1380 bp->b_next = bp->b_prev = NULL; in vsw_vlan_frame_untag() 1456 bpt->b_next = bp; in vsw_vlan_frame_untag() 1904 nbp = bp->b_next; in vsw_get_same_dest_list() 1911 prev->b_next = nbp; in vsw_get_same_dest_list() [all …]
|
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/ |
H A D | fake_stream.c | 78 mp->b_next = mp->b_prev = mp->b_cont = NULL; in esballoca() 106 ASSERT(mp->b_next == NULL && mp->b_prev == NULL); in freemsg()
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | subr_mchain.c | 672 mdp->md_top = m->b_next; in md_done() 673 m->b_next = NULL; in md_done() 692 top->b_next = NULL; in md_append_record() 699 while (m->b_next) in md_append_record() 700 m = m->b_next; in md_append_record() 701 m->b_next = top; in md_append_record() 721 m = top->b_next; in md_next_record() 722 top->b_next = NULL; in md_next_record()
|
/illumos-gate/usr/src/uts/common/inet/tcp/ |
H A D | tcp_timers.c | 151 tcp->tcp_timercache = mp->b_next; in tcp_timeout() 152 mp->b_next = NULL; in tcp_timeout() 286 mp->b_next = mp->b_prev = NULL; in tcp_timermp_alloc() 312 mp->b_next = mp->b_prev = NULL; in tcp_timermp_alloc() 337 tcp->tcp_timercache = tcp->tcp_timercache->b_next; in tcp_timermp_free() 361 } else if (mp1 == NULL || mp1->b_next == NULL) { in tcp_timer_free() 364 mp->b_next = mp1; in tcp_timer_free()
|