Home
last modified time | relevance | path

Searched refs:reclaim_idx (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/fungible/funeth/
Dfuneth_tx.c426 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.6.21/mm/
Dvmscan.c147 s8 reclaim_idx; member
2329 if (folio_zonenum(folio) > sc->reclaim_idx || in isolate_lru_folios()
2391 trace_mm_vmscan_lru_isolate(sc->reclaim_idx, sc->order, nr_to_scan, in isolate_lru_folios()
3120 lruvec_size = lruvec_lru_size(lruvec, lru, sc->reclaim_idx); in get_scan_count()
4953 if (zone > sc->reclaim_idx || skip_cma(folio, sc)) { in sort_folio()
5027 int zone = (sc->reclaim_idx + i) % MAX_NR_ZONES; in scan_folios()
5373 for (i = 0; i <= sc->reclaim_idx; i++) { in should_abort_scan()
5377 if (managed_zone(zone) && !zone_watermark_ok(zone, 0, size, sc->reclaim_idx, 0)) in should_abort_scan()
6131 .reclaim_idx = MAX_NR_ZONES - 1, in lru_gen_seq_write()
6470 for (z = 0; z <= sc->reclaim_idx; z++) { in should_continue_reclaim()
[all …]