Lines Matching refs:mp1
283 mblk_t *mp = input->cd_mp, *mp1, *mp2;
287 mp1 = advance_position(mp, input->cd_offset, &start);
289 if (mp1 == NULL)
299 while (mp1 != NULL) {
300 if (_PTRDIFF(mp1->b_wptr, start) > left) {
303 mp1 = NULL;
305 len = _PTRDIFF(mp1->b_wptr, start);
307 mp1 = mp1->b_cont;
308 start = mp1->b_rptr;
393 mblk_t *mp = input->cd_mp, *mp1, *mp2;
397 mp1 = advance_position(mp, input->cd_offset, &start);
399 if (mp1 == NULL)
409 while (mp1 != NULL) {
410 if (_PTRDIFF(mp1->b_wptr, start) > left) {
416 mp1 = NULL;
418 len = _PTRDIFF(mp1->b_wptr, start);
423 mp1 = mp1->b_cont;
424 start = mp1->b_rptr;
557 mblk_t *mp = out->cd_mp, *mp1, *mp2;
561 mp1 = advance_position(mp, out->cd_offset, &start);
563 if (mp1 == NULL)
573 while (mp1 != NULL) {
574 if (_PTRDIFF(mp1->b_wptr, start) > left) {
577 mp1 = NULL;
579 len = _PTRDIFF(mp1->b_wptr, start);
581 mp1 = mp1->b_cont;
582 start = mp1->b_rptr;
644 mblk_t *mp1 = mp;
648 while (mp1 != NULL) {
649 l = MBLKL(mp1);
653 mp1 = mp1->b_cont;
655 *cpp = (uchar_t *)(mp1->b_rptr + o);
659 return (mp1);