Lines Matching defs:page
125 struct page **ring_pages;
163 struct page *internal_pages[AIO_RING_PAGES];
333 * accesses to the kioctx from page migration.
338 struct page *page;
339 pr_debug("pid(%d) [%d] page->count=%d\n", current->pid, i,
341 page = ctx->ring_pages[i];
342 if (!page)
345 put_page(page);
434 * to the ring's head, and prevents page migration from mucking in
445 if (ctx->ring_pages[idx] != &src->page)
469 BUG_ON(ctx->ring_pages[idx] != &src->page);
470 ctx->ring_pages[idx] = &dst->page;
522 ctx->ring_pages = kcalloc(nr_pages, sizeof(struct page *),
531 struct page *page;
532 page = find_or_create_page(file->f_mapping,
534 if (!page)
536 pr_debug("pid(%d) page[%d]->count=%d\n",
537 current->pid, i, page_count(page));
538 SetPageUptodate(page);
539 unlock_page(page);
541 ctx->ring_pages[i] = page;
688 * we are protected from page migration
778 /* Protect against page migration throughout kiotx setup by keeping
1241 struct page *page;
1248 page = ctx->ring_pages[pos / AIO_EVENTS_PER_PAGE];
1254 ev = page_address(page);