Lines Matching defs:reclaim
982 * reclaim buffers from previously completed transmission.
1125 * Second part: reclaim buffers for completed transmissions.
1127 * If there are unclaimed buffers, attempt to reclaim them.
1128 * If we don't manage to reclaim them all, and TX IRQs are not in use,
1380 * call txsync and reclaim more completed TX buffers.
3865 int reclaim;
3868 KASSERT(thresh >= 0, ("invalid threshold to reclaim"));
3875 reclaim = DESC_RECLAIMABLE(txq);
3877 if (reclaim <= thresh /* + MAX_TX_DESC(txq->ift_ctx) */) {
3880 printf("%s processed=%ju cleaned=%ju tx_nsegments=%d reclaim=%d thresh=%d\n", __func__,
3882 reclaim, thresh);
3887 iflib_tx_desc_free(txq, reclaim);
3888 txq->ift_cleaned += reclaim;
3889 txq->ift_in_use -= reclaim;
3891 return (reclaim);