Lines Matching defs:found_packet
3642 struct wrpacket *packet, *found_packet;
3658 found_packet = NULL;
3661 found_packet = packet;
3667 if (found_packet) {
3668 uint64_t base = found_packet->start_sectornr;
3672 memcpy(found_packet->packet_data +
3675 found_packet->present |= ((uint64_t) 1 << rel_loc);
3681 /* we purge the queue and reset found_packet! */
3706 if (found_packet) {
3707 TAILQ_INSERT_AFTER(&write_queue, found_packet, packet, next);
3720 struct wrpacket *packet, *found_packet;
3728 found_packet = NULL;
3731 found_packet = packet;
3737 if (found_packet) {
3738 uint64_t base = found_packet->start_sectornr;
3742 if (found_packet->present & ((uint64_t) 1 << rel_loc)) {
3743 memcpy(sector, found_packet->packet_data +
3752 memcpy(found_packet->packet_data +
3755 found_packet->present |= ((uint64_t) 1 << rel_loc);