Lines Matching defs:mp_head
558 * Move a mblk chain (mp_head, mp_last_head) to the sonode's rcv queue so it
562 so_process_new_message(struct sonode *so, mblk_t *mp_head, mblk_t *mp_last_head)
565 (mp_head = sof_filter_data_in_proc(so, mp_head,
569 ASSERT(mp_head->b_prev != NULL);
571 so->so_rcv_q_head = mp_head;
575 boolean_t flag_equal = ((DB_FLAGS(mp_head) & DBLK_UIOA) ==
578 if (mp_head->b_next == NULL &&
579 DB_TYPE(mp_head) == M_DATA &&
581 so->so_rcv_q_last_head->b_prev->b_cont = mp_head;
582 so->so_rcv_q_last_head->b_prev = mp_head->b_prev;
583 mp_head->b_prev = NULL;
584 } else if (flag_equal && (DB_FLAGS(mp_head) & DBLK_UIOA)) {
587 * mp_head and last_head are I/OAT mblks.
589 ASSERT(mp_head->b_next != NULL);
590 so->so_rcv_q_last_head->b_prev->b_cont = mp_head;
591 so->so_rcv_q_last_head->b_prev = mp_head->b_prev;
592 mp_head->b_prev = NULL;
594 so->so_rcv_q_last_head->b_next = mp_head->b_next;
595 mp_head->b_next = NULL;
601 tmp_mblk = mp_head;
608 so->so_rcv_q_last_head->b_next = mp_head;