Searched refs:page_block (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/fs/ext4/
H A Dreadpage.c149 unsigned page_block; ext4_mpage_readpages() local
181 page_block = 0; ext4_mpage_readpages()
198 if (page_block == blocks_per_page) ext4_mpage_readpages()
200 blocks[page_block] = map.m_pblk + map_offset + ext4_mpage_readpages()
202 page_block++; ext4_mpage_readpages()
211 while (page_block < blocks_per_page) { ext4_mpage_readpages()
228 first_hole = page_block; ext4_mpage_readpages()
229 page_block++; ext4_mpage_readpages()
237 if (page_block && blocks[page_block-1] != map.m_pblk-1) ext4_mpage_readpages()
244 } else if (page_block == blocks_per_page) ext4_mpage_readpages()
246 blocks[page_block] = map.m_pblk+relative_block; ext4_mpage_readpages()
247 page_block++; ext4_mpage_readpages()
/linux-4.1.27/fs/
H A Dmpage.c98 map_buffer_to_page(struct page *page, struct buffer_head *bh, int page_block) map_buffer_to_page() argument
119 if (block == page_block) { map_buffer_to_page()
152 unsigned page_block; do_mpage_readpage() local
168 page_block = 0; do_mpage_readpage()
184 if (page_block == blocks_per_page) do_mpage_readpage()
186 blocks[page_block] = map_bh->b_blocknr + map_offset + do_mpage_readpage()
188 page_block++; do_mpage_readpage()
198 while (page_block < blocks_per_page) { do_mpage_readpage()
212 first_hole = page_block; do_mpage_readpage()
213 page_block++; do_mpage_readpage()
225 map_buffer_to_page(page, map_bh, page_block); do_mpage_readpage()
233 if (page_block && blocks[page_block-1] != map_bh->b_blocknr-1) do_mpage_readpage()
240 } else if (page_block == blocks_per_page) do_mpage_readpage()
242 blocks[page_block] = map_bh->b_blocknr+relative_block; do_mpage_readpage()
243 page_block++; do_mpage_readpage()
475 unsigned page_block; __mpage_writepage() local
491 page_block = 0; __mpage_writepage()
502 first_unmapped = page_block; __mpage_writepage()
511 if (page_block) { __mpage_writepage()
512 if (bh->b_blocknr != blocks[page_block-1] + 1) __mpage_writepage()
515 blocks[page_block++] = bh->b_blocknr; __mpage_writepage()
543 for (page_block = 0; page_block < blocks_per_page; ) { __mpage_writepage()
556 if (page_block) { __mpage_writepage()
557 if (map_bh.b_blocknr != blocks[page_block-1] + 1) __mpage_writepage()
560 blocks[page_block++] = map_bh.b_blocknr; __mpage_writepage()
567 BUG_ON(page_block == 0); __mpage_writepage()
569 first_unmapped = page_block; __mpage_writepage()
/linux-4.1.27/fs/ubifs/
H A Dfile.c616 unsigned int page_block; populate_page() local
632 page_block = page->index << UBIFS_BLOCKS_PER_PAGE_SHIFT; populate_page()
639 } else if (key_block(c, &bu->zbranch[nn].key) == page_block) { populate_page()
663 } else if (key_block(c, &bu->zbranch[nn].key) < page_block) { populate_page()
673 page_block += 1; populate_page()
702 page_block, inode->i_ino); populate_page()

Completed in 131 milliseconds