Lines Matching refs:split_mp
1501 mblk_t *split_mp = mp;
1504 while ((split_mp->b_wptr - split_mp->b_rptr) < wheretodiv) {
1505 wheretodiv -= (split_mp->b_wptr - split_mp->b_rptr);
1506 split_mp = split_mp->b_cont;
1507 ASSERT(split_mp != NULL);
1510 if (split_mp->b_wptr - split_mp->b_rptr != wheretodiv) {
1513 /* "scratch" is the 2nd half, split_mp is the first. */
1514 scratch = dupb(split_mp);
1521 scratch->b_cont = split_mp->b_cont;
1523 split_mp->b_wptr = split_mp->b_rptr + wheretodiv;
1524 split_mp->b_cont = scratch;
1527 * At this point, split_mp is exactly "wheretodiv" bytes long, and
1530 esp_mp->b_cont = split_mp->b_cont;
1531 split_mp->b_cont = esp_mp;