Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/fungible/funeth/
Dfuneth_rx.c40 if (unlikely(buf->pg_refs < MIN_PAGE_REFS)) { in refresh_refs()
41 buf->pg_refs += EXTRA_PAGE_REFS; in refresh_refs()
60 __page_frag_cache_drain(buf->page, buf->pg_refs); in cache_offer()
76 if (page_ref_count(buf->page) == buf->pg_refs) { in cache_get()
90 __page_frag_cache_drain(buf->page, buf->pg_refs); in cache_get()
121 rb->pg_refs = 1; in funeth_alloc_page()
132 __page_frag_cache_drain(rb->page, rb->pg_refs); in funeth_free_page()
188 q->cur_buf->pg_refs++; /* return frags' page reference */ in fun_run_xdp()
192 q->cur_buf->pg_refs++; in fun_run_xdp()
267 if ((page_ref_count(buf->page) == buf->pg_refs && in get_buf()
[all …]
Dfuneth_txrx.h151 int pg_refs; /* page refs held by driver */ member