• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/btrfs/

Lines Matching refs:pages

1067  * helper function to set pages and extents in the tree dirty
1086 * helper function to set both pages and extents in the tree writeback
1240 struct page *pages[16];
1252 ARRAY_SIZE(pages)), pages);
1254 if (pages[i] != locked_page)
1255 unlock_page(pages[i]);
1256 page_cache_release(pages[i]);
1274 struct page *pages[16];
1288 nrpages, ARRAY_SIZE(pages)), pages);
1293 /* now we have an array of pages, lock them all */
1299 if (pages[i] != locked_page) {
1300 lock_page(pages[i]);
1301 if (!PageDirty(pages[i]) ||
1302 pages[i]->mapping != inode->i_mapping) {
1304 unlock_page(pages[i]);
1305 page_cache_release(pages[i]);
1309 page_cache_release(pages[i]);
1361 * pages in order, so we can't process delalloc bytes before
1368 * make sure to limit the number of pages we try to lock down
1374 /* step two, lock all the pages after the page that has start */
1378 /* some of the pages are gone, lets avoid looping by
1422 struct page *pages[16];
1446 nr_pages, ARRAY_SIZE(pages)), pages);
1450 SetPagePrivate2(pages[i]);
1452 if (pages[i] == locked_page) {
1453 page_cache_release(pages[i]);
1457 clear_page_dirty_for_io(pages[i]);
1459 set_page_writeback(pages[i]);
1461 end_page_writeback(pages[i]);
1463 unlock_page(pages[i]);
1464 page_cache_release(pages[i]);
2448 * write_cache_pages - walk the list of dirty pages of the given address space and write all of them.
2450 * @wbc: subtract the number of written pages from *@wbc->nr_to_write
2498 struct page *page = pvec.pages[i];
2679 struct list_head *pages, unsigned nr_pages,
2687 struct page *page = list_entry(pages->prev, struct page, lru);
2698 BUG_ON(!list_empty(pages));
2732 * the pages and the extent records as dirty