Searched refs:reclaim_idx (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/fungible/funeth/ |
D | funeth_tx.c | 426 unsigned int head, limit, reclaim_idx; in fun_txq_reclaim() local 431 for (head = txq_hw_head(q), reclaim_idx = q->cons_cnt & q->mask; in fun_txq_reclaim() 432 head != reclaim_idx && npkts < limit; head = txq_hw_head(q)) { in fun_txq_reclaim() 441 unsigned int pkt_desc = fun_unmap_pkt(q, reclaim_idx); in fun_txq_reclaim() 442 struct sk_buff *skb = q->info[reclaim_idx].skb; in fun_txq_reclaim() 444 trace_funeth_tx_free(q, reclaim_idx, pkt_desc, head); in fun_txq_reclaim() 449 reclaim_idx = (reclaim_idx + pkt_desc) & q->mask; in fun_txq_reclaim() 451 } while (reclaim_idx != head && npkts < limit); in fun_txq_reclaim() 464 return reclaim_idx != head; in fun_txq_reclaim() 486 unsigned int npkts = 0, ndesc = 0, head, reclaim_idx; in fun_xdpq_clean() local [all …]
|
/linux-6.12.1/mm/ |
D | vmscan.c | 161 s8 reclaim_idx; member 1674 if (folio_zonenum(folio) > sc->reclaim_idx) { in isolate_lru_folios() 1735 trace_mm_vmscan_lru_isolate(sc->reclaim_idx, sc->order, nr_to_scan, in isolate_lru_folios() 2464 lruvec_size = lruvec_lru_size(lruvec, lru, sc->reclaim_idx); in get_scan_count() 4332 if (!folio_test_lru(folio) || zone > sc->reclaim_idx) { in sort_folio() 4407 int zone = (sc->reclaim_idx + i) % MAX_NR_ZONES; in scan_folios() 4453 trace_mm_vmscan_lru_isolate(sc->reclaim_idx, sc->order, MAX_LRU_BATCH, in scan_folios() 4759 for (i = 0; i <= sc->reclaim_idx; i++) { in should_abort_scan() 4763 if (managed_zone(zone) && !zone_watermark_ok(zone, 0, size, sc->reclaim_idx, 0)) in should_abort_scan() 5477 .reclaim_idx = MAX_NR_ZONES - 1, in lru_gen_seq_write() [all …]
|