Lines Matching refs:blocks_per_page
161 const unsigned blocks_per_page = PAGE_SIZE >> blkbits;
169 unsigned first_hole = blocks_per_page;
190 last_block = block_in_file + args->nr_pages * blocks_per_page;
211 if (page_block == blocks_per_page)
225 while (page_block < blocks_per_page) {
238 if (first_hole == blocks_per_page)
256 if (first_hole != blocks_per_page)
267 } else if (page_block == blocks_per_page)
276 if (first_hole != blocks_per_page) {
287 if (fully_mapped && blocks_per_page == 1 && !PageUptodate(page) &&
301 if (first_hole == blocks_per_page) {
323 (first_hole != blocks_per_page))
326 args->last_block_in_bio = blocks[blocks_per_page - 1];
489 const unsigned blocks_per_page = PAGE_SIZE >> blkbits;
494 unsigned first_unmapped = blocks_per_page;
520 if (first_unmapped == blocks_per_page)
525 if (first_unmapped != blocks_per_page)
562 for (page_block = 0; page_block < blocks_per_page; ) {
615 if (first_unmapped == blocks_per_page) {
646 if (boundary || (first_unmapped != blocks_per_page)) {
653 mpd->last_block_in_bio = blocks[blocks_per_page - 1];