Lines Matching refs:current
406 struct net_buf *prev, *current; in fragment_move_back() local
409 current = pkt->buffer; in fragment_move_back()
411 while (current && current != stop) { in fragment_move_back()
412 if (fragment_offset(frag) < fragment_offset(current)) { in fragment_move_back()
417 frag->frags = current; in fragment_move_back()
421 prev = current; in fragment_move_back()
422 current = current->frags; in fragment_move_back()
447 struct net_buf *prev, *current, *next; in fragment_reconstruct_packet() local
450 current = pkt->buffer; in fragment_reconstruct_packet()
452 while (current) { in fragment_reconstruct_packet()
453 next = current->frags; in fragment_reconstruct_packet()
455 if (!prev || (fragment_offset(prev) > fragment_offset(current))) { in fragment_reconstruct_packet()
456 prev = current; in fragment_reconstruct_packet()
458 fragment_move_back(pkt, current, prev); in fragment_reconstruct_packet()
461 current = next; in fragment_reconstruct_packet()