Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/fungible/funeth/
Dfuneth_tx.c386 unsigned int head, limit, reclaim_idx; in fun_txq_reclaim() local
391 for (head = txq_hw_head(q), reclaim_idx = q->cons_cnt & q->mask; in fun_txq_reclaim()
392 head != reclaim_idx && npkts < limit; head = txq_hw_head(q)) { in fun_txq_reclaim()
401 unsigned int pkt_desc = unmap_skb(q, reclaim_idx); in fun_txq_reclaim()
402 struct sk_buff *skb = q->info[reclaim_idx].skb; in fun_txq_reclaim()
404 trace_funeth_tx_free(q, reclaim_idx, pkt_desc, head); in fun_txq_reclaim()
409 reclaim_idx = (reclaim_idx + pkt_desc) & q->mask; in fun_txq_reclaim()
411 } while (reclaim_idx != head && npkts < limit); in fun_txq_reclaim()
424 return reclaim_idx != head; in fun_txq_reclaim()
456 unsigned int npkts = 0, head, reclaim_idx; in fun_xdpq_clean() local
[all …]
/linux-5.19.10/mm/
Dvmscan.c137 s8 reclaim_idx; member
2102 if (page_zonenum(page) > sc->reclaim_idx) { in isolate_lru_pages()
2163 trace_mm_vmscan_lru_isolate(sc->reclaim_idx, sc->order, nr_to_scan, in isolate_lru_pages()
2775 lruvec_size = lruvec_lru_size(lruvec, lru, sc->reclaim_idx); in get_scan_count()
3051 for (z = 0; z <= sc->reclaim_idx; z++) { in should_continue_reclaim()
3056 switch (compaction_suitable(zone, sc->order, 0, sc->reclaim_idx)) { in should_continue_reclaim()
3343 suitable = compaction_suitable(zone, sc->order, 0, sc->reclaim_idx); in compaction_ready()
3362 return zone_watermark_ok_safe(zone, 0, watermark, sc->reclaim_idx); in compaction_ready()
3421 sc->reclaim_idx = gfp_zone(sc->gfp_mask); in shrink_zones()
3425 sc->reclaim_idx, sc->nodemask) { in shrink_zones()
[all …]