Lines Matching refs:npkts
257 cur->hdr.npkts = 0;
280 assert(cur->hdr.npkts < BT_MAX_PKTS);
283 cur->pkts[cur->hdr.npkts++] = iop; // Struct copy
575 assert(0 < hdrp->npkts && hdrp->npkts <= BT_MAX_PKTS);
589 (unsigned long long)hdrp->npkts);
600 size_t npkts = stream->cur->hdr.npkts;
602 assert(0 < npkts && npkts <= BT_MAX_PKTS);
603 if (fwrite(p, sizeof(struct io_pkt), npkts, stream->ofp) != npkts) {
612 for (i = 0; i < npkts; i++, p++)
629 if (cur->hdr.npkts) {
630 assert(cur->hdr.npkts <= BT_MAX_PKTS);
635 stream->pkts += cur->hdr.npkts;
648 if (stream->cur->hdr.npkts >= max_pkts_per_bunch)