Searched refs:locked_pages (Results 1 – 2 of 2) sorted by relevance
852 unsigned i, pvec_pages, max_pages, locked_pages = 0; in ceph_writepages_start() local864 max_pages - locked_pages); in ceph_writepages_start()866 if (!pvec_pages && !locked_pages) in ceph_writepages_start()868 for (i = 0; i < pvec_pages && locked_pages < max_pages; i++) { in ceph_writepages_start()871 if (locked_pages == 0) in ceph_writepages_start()933 if (locked_pages == 0) { in ceph_writepages_start()988 pages[locked_pages++] = page; in ceph_writepages_start()995 if (!locked_pages) in ceph_writepages_start()1010 locked_pages < max_pages) { in ceph_writepages_start()1039 BUG_ON(len < page_offset(pages[locked_pages - 1]) + in ceph_writepages_start()[all …]
5479 int locked_pages = 0; in read_extent_buffer_pages() local5499 locked_pages++; in read_extent_buffer_pages()5578 while (locked_pages > 0) { in read_extent_buffer_pages()5579 locked_pages--; in read_extent_buffer_pages()5580 page = eb->pages[locked_pages]; in read_extent_buffer_pages()