Lines Matching defs:do_pages
1939 unsigned ofs, do_pages, u;
1945 do_pages = 1;
1980 do_pages = nr_pages;
1998 /* Get and lock @do_pages starting at index @start_idx. */
1999 status = __ntfs_grab_cache_pages(mapping, start_idx, do_pages,
2011 pages, do_pages, pos, bytes);
2016 unlock_page(pages[--do_pages]);
2017 page_cache_release(pages[do_pages]);
2018 } while (do_pages);
2034 copied = ntfs_copy_from_user(pages + u, do_pages - u,
2039 do_pages - u, ofs, &iov, &iov_ofs,
2041 ntfs_flush_dcache_pages(pages + u, do_pages - u);
2042 status = ntfs_commit_pages_after_write(pages, do_pages, pos,
2052 unlock_page(pages[--do_pages]);
2053 mark_page_accessed(pages[do_pages]);
2054 page_cache_release(pages[do_pages]);
2055 } while (do_pages);