Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/fungible/funeth/
Dfuneth_tx.c427 unsigned int head, limit, reclaim_idx; in fun_txq_reclaim() local
432 for (head = txq_hw_head(q), reclaim_idx = q->cons_cnt & q->mask; in fun_txq_reclaim()
433 head != reclaim_idx && npkts < limit; head = txq_hw_head(q)) { in fun_txq_reclaim()
442 unsigned int pkt_desc = fun_unmap_pkt(q, reclaim_idx); in fun_txq_reclaim()
443 struct sk_buff *skb = q->info[reclaim_idx].skb; in fun_txq_reclaim()
445 trace_funeth_tx_free(q, reclaim_idx, pkt_desc, head); in fun_txq_reclaim()
450 reclaim_idx = (reclaim_idx + pkt_desc) & q->mask; in fun_txq_reclaim()
452 } while (reclaim_idx != head && npkts < limit); in fun_txq_reclaim()
465 return reclaim_idx != head; in fun_txq_reclaim()
487 unsigned int npkts = 0, ndesc = 0, head, reclaim_idx; in fun_xdpq_clean() local
[all …]
/linux-6.1.9/mm/
Dvmscan.c150 s8 reclaim_idx; member
2205 if (folio_zonenum(folio) > sc->reclaim_idx) { in isolate_lru_folios()
2266 trace_mm_vmscan_lru_isolate(sc->reclaim_idx, sc->order, nr_to_scan, in isolate_lru_folios()
2993 lruvec_size = lruvec_lru_size(lruvec, lru, sc->reclaim_idx); in get_scan_count()
4833 for (zone = sc->reclaim_idx; zone >= 0; zone--) { in scan_folios()
5146 for (i = 0; i <= sc->reclaim_idx; i++) { in should_abort_scan()
5721 .reclaim_idx = MAX_NR_ZONES - 1, in lru_gen_seq_write()
6039 for (z = 0; z <= sc->reclaim_idx; z++) { in should_continue_reclaim()
6044 switch (compaction_suitable(zone, sc->order, 0, sc->reclaim_idx)) { in should_continue_reclaim()
6240 suitable = compaction_suitable(zone, sc->order, 0, sc->reclaim_idx); in compaction_ready()
[all …]