Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/cavium/thunder/
Dnicvf_queues.c92 static inline struct pgcache *nicvf_alloc_page(struct nicvf *nic, in nicvf_alloc_page()
97 struct pgcache *pgcache, *next; in nicvf_alloc_page() local
100 pgcache = &rbdr->pgcache[rbdr->pgidx]; in nicvf_alloc_page()
101 page = pgcache->page; in nicvf_alloc_page()
111 if (ref_count == pgcache->ref_count) in nicvf_alloc_page()
112 pgcache->ref_count--; in nicvf_alloc_page()
135 pgcache->page = page; in nicvf_alloc_page()
136 pgcache->dma_addr = 0; in nicvf_alloc_page()
137 pgcache->ref_count = 0; in nicvf_alloc_page()
150 if (!pgcache->ref_count) { in nicvf_alloc_page()
[all …]
Dnicvf_queues.h215 struct pgcache { struct
236 struct pgcache *pgcache; argument