Lines Matching refs:netpage
227 struct page *netpage, in cachefiles_read_backing_file_one() argument
240 netpage, netpage->index, page_count(netpage)); in cachefiles_read_backing_file_one()
246 monitor->netfs_page = netpage; in cachefiles_read_backing_file_one()
256 backpage = find_get_page(bmapping, netpage->index); in cachefiles_read_backing_file_one()
267 netpage->index, GFP_KERNEL); in cachefiles_read_backing_file_one()
338 pagevec_add(pagevec, netpage); in cachefiles_read_backing_file_one()
341 copy_highpage(netpage, backpage); in cachefiles_read_backing_file_one()
342 fscache_end_io(op, netpage, 0); in cachefiles_read_backing_file_one()
474 struct page *newpage = NULL, *netpage, *_n, *backpage = NULL; in cachefiles_read_backing_file() local
481 list_for_each_entry_safe(netpage, _n, list, lru) { in cachefiles_read_backing_file()
482 list_del(&netpage->lru); in cachefiles_read_backing_file()
485 netpage, netpage->index, page_count(netpage)); in cachefiles_read_backing_file()
498 backpage = find_get_page(bmapping, netpage->index); in cachefiles_read_backing_file()
509 netpage->index, GFP_KERNEL); in cachefiles_read_backing_file()
538 ret = add_to_page_cache(netpage, op->mapping, netpage->index, in cachefiles_read_backing_file()
542 page_cache_release(netpage); in cachefiles_read_backing_file()
548 page_cache_get(netpage); in cachefiles_read_backing_file()
549 if (!pagevec_add(&lru_pvec, netpage)) in cachefiles_read_backing_file()
553 page_cache_get(netpage); in cachefiles_read_backing_file()
554 monitor->netfs_page = netpage; in cachefiles_read_backing_file()
573 page_cache_release(netpage); in cachefiles_read_backing_file()
574 netpage = NULL; in cachefiles_read_backing_file()
614 ret = add_to_page_cache(netpage, op->mapping, netpage->index, in cachefiles_read_backing_file()
618 page_cache_release(netpage); in cachefiles_read_backing_file()
624 copy_highpage(netpage, backpage); in cachefiles_read_backing_file()
629 if (!pagevec_add(mark_pvec, netpage)) in cachefiles_read_backing_file()
632 page_cache_get(netpage); in cachefiles_read_backing_file()
633 if (!pagevec_add(&lru_pvec, netpage)) in cachefiles_read_backing_file()
636 fscache_end_io(op, netpage, 0); in cachefiles_read_backing_file()
637 page_cache_release(netpage); in cachefiles_read_backing_file()
638 netpage = NULL; in cachefiles_read_backing_file()
642 netpage = NULL; in cachefiles_read_backing_file()
652 if (netpage) in cachefiles_read_backing_file()
653 page_cache_release(netpage); in cachefiles_read_backing_file()
661 list_for_each_entry_safe(netpage, _n, list, lru) { in cachefiles_read_backing_file()
662 list_del(&netpage->lru); in cachefiles_read_backing_file()
663 page_cache_release(netpage); in cachefiles_read_backing_file()