Lines Matching refs:progress
1264 int progress = 0, length; in m_defrag() local
1293 while (progress < m0->m_pkthdr.len) { in m_defrag()
1294 length = m0->m_pkthdr.len - progress; in m_defrag()
1307 m_copydata(m0, progress, length, mtod(m_new, caddr_t)); in m_defrag()
1308 progress += length; in m_defrag()
1441 int divisor = 255, progress = 0, fraglen; in m_fragment() local
1468 while (progress < m0->m_pkthdr.len) { in m_fragment()
1471 if (fraglen > m0->m_pkthdr.len - progress) in m_fragment()
1472 fraglen = m0->m_pkthdr.len - progress; in m_fragment()
1474 if (progress != 0) { in m_fragment()
1483 m_copydata(m0, progress, fraglen, mtod(m_last, caddr_t)); in m_fragment()
1484 progress += fraglen; in m_fragment()
1509 int progress = 0; in m_uiotombuf() local
1538 length = min(M_TRAILINGSPACE(mb), total - progress); in m_uiotombuf()
1547 progress += length; in m_uiotombuf()
1551 KASSERT(progress == total, ("%s: progress != total", __func__)); in m_uiotombuf()
1563 int progress = 0; in m_mbuftouio() local
1572 length = min(m->m_len, total - progress); in m_mbuftouio()
1578 progress += length; in m_mbuftouio()