Lines Matching refs:page_start
55 struct page **pages, int page_start, int page_end) in pcpu_free_pages() argument
61 for (i = page_start; i < page_end; i++) { in pcpu_free_pages()
83 struct page **pages, int page_start, int page_end, in pcpu_alloc_pages() argument
92 for (i = page_start; i < page_end; i++) { in pcpu_alloc_pages()
103 while (--i >= page_start) in pcpu_alloc_pages()
109 for (i = page_start; i < page_end; i++) in pcpu_alloc_pages()
128 int page_start, int page_end) in pcpu_pre_unmap_flush() argument
131 pcpu_chunk_addr(chunk, pcpu_low_unit_cpu, page_start), in pcpu_pre_unmap_flush()
154 struct page **pages, int page_start, int page_end) in pcpu_unmap_pages() argument
160 for (i = page_start; i < page_end; i++) { in pcpu_unmap_pages()
167 __pcpu_unmap_pages(pcpu_chunk_addr(chunk, cpu, page_start), in pcpu_unmap_pages()
168 page_end - page_start); in pcpu_unmap_pages()
186 int page_start, int page_end) in pcpu_post_unmap_tlb_flush() argument
189 pcpu_chunk_addr(chunk, pcpu_low_unit_cpu, page_start), in pcpu_post_unmap_tlb_flush()
215 struct page **pages, int page_start, int page_end) in pcpu_map_pages() argument
221 err = __pcpu_map_pages(pcpu_chunk_addr(chunk, cpu, page_start), in pcpu_map_pages()
222 &pages[pcpu_page_idx(cpu, page_start)], in pcpu_map_pages()
223 page_end - page_start); in pcpu_map_pages()
227 for (i = page_start; i < page_end; i++) in pcpu_map_pages()
236 __pcpu_unmap_pages(pcpu_chunk_addr(chunk, tcpu, page_start), in pcpu_map_pages()
237 page_end - page_start); in pcpu_map_pages()
239 pcpu_post_unmap_tlb_flush(chunk, page_start, page_end); in pcpu_map_pages()
256 int page_start, int page_end) in pcpu_post_map_flush() argument
259 pcpu_chunk_addr(chunk, pcpu_low_unit_cpu, page_start), in pcpu_post_map_flush()
277 int page_start, int page_end, gfp_t gfp) in pcpu_populate_chunk() argument
285 if (pcpu_alloc_pages(chunk, pages, page_start, page_end, gfp)) in pcpu_populate_chunk()
288 if (pcpu_map_pages(chunk, pages, page_start, page_end)) { in pcpu_populate_chunk()
289 pcpu_free_pages(chunk, pages, page_start, page_end); in pcpu_populate_chunk()
292 pcpu_post_map_flush(chunk, page_start, page_end); in pcpu_populate_chunk()
313 int page_start, int page_end) in pcpu_depopulate_chunk() argument
326 pcpu_pre_unmap_flush(chunk, page_start, page_end); in pcpu_depopulate_chunk()
328 pcpu_unmap_pages(chunk, pages, page_start, page_end); in pcpu_depopulate_chunk()
330 pcpu_free_pages(chunk, pages, page_start, page_end); in pcpu_depopulate_chunk()