Lines Matching defs:page

8  * Chunks are mapped into vmalloc areas and populated page by page.
13 static struct page *pcpu_chunk_page(struct pcpu_chunk *chunk,
25 * Returns pointer to array of pointers to struct page which can be indexed
32 static struct page **pcpu_get_pages(void)
34 static struct page **pages;
48 * @page_start: page index of the first page to be freed
49 * @page_end: page index of the last page to be freed + 1
55 struct page **pages, int page_start, int page_end)
62 struct page *page = pages[pcpu_page_idx(cpu, i)];
64 if (page)
65 __free_page(page);
74 * @page_start: page index of the first page to be allocated
75 * @page_end: page index of the last page to be allocated + 1
83 struct page **pages, int page_start, int page_end,
93 struct page **pagep = &pages[pcpu_page_idx(cpu, i)];
118 * @page_start: page index of the first page to be flushed
119 * @page_end: page index of the last page to be flushed + 1
144 * @page_start: page index of the first page to unmap
145 * @page_end: page index of the last page to unmap + 1
154 struct page **pages, int page_start, int page_end)
161 struct page *page;
163 page = pcpu_chunk_page(chunk, cpu, i);
164 WARN_ON(!page);
165 pages[pcpu_page_idx(cpu, i)] = page;
175 * @page_start: page index of the first page to be flushed
176 * @page_end: page index of the last page to be flushed + 1
193 static int __pcpu_map_pages(unsigned long addr, struct page **pages,
204 * @page_start: page index of the first page to map
205 * @page_end: page index of the last page to map + 1
215 struct page **pages, int page_start, int page_end)
246 * @page_start: page index of the first page to be flushed
247 * @page_end: page index of the last page to be flushed + 1
266 * @page_start: the start page
267 * @page_end: the end page
279 struct page **pages;
300 * @page_start: the start page
301 * @page_end: the end page
315 struct page **pages;
371 static struct page *pcpu_addr_to_page(void *addr)