Lines Matching refs:block_start
437 unsigned block_start, block_end; in walk_page_buffers() local
442 for ( bh = head, block_start = 0; in walk_page_buffers()
443 ret == 0 && (bh != head || !block_start); in walk_page_buffers()
444 block_start = block_end, bh = next) in walk_page_buffers()
447 block_end = block_start + blocksize; in walk_page_buffers()
448 if (block_end <= from || block_start >= to) { in walk_page_buffers()
765 unsigned int block_start) in ocfs2_should_read_blk() argument
767 u64 offset = page_offset(page) + block_start; in ocfs2_should_read_blk()
791 unsigned int block_end, block_start; in ocfs2_map_page_blocks() local
798 for (bh = head, block_start = 0; bh != head || !block_start; in ocfs2_map_page_blocks()
799 bh = bh->b_this_page, block_start += bsize) { in ocfs2_map_page_blocks()
800 block_end = block_start + bsize; in ocfs2_map_page_blocks()
808 if (block_start >= to || block_end <= from) { in ocfs2_map_page_blocks()
831 ocfs2_should_read_blk(inode, page, block_start) && in ocfs2_map_page_blocks()
832 (block_start < from || block_end > to)) { in ocfs2_map_page_blocks()
857 block_start = 0; in ocfs2_map_page_blocks()
859 block_end = block_start + bsize; in ocfs2_map_page_blocks()
862 if (block_start >= to) in ocfs2_map_page_blocks()
865 zero_user(page, block_start, bh->b_size); in ocfs2_map_page_blocks()
870 block_start = block_end; in ocfs2_map_page_blocks()
1010 unsigned int block_start, block_end; in ocfs2_zero_new_buffers() local
1018 block_start = 0; in ocfs2_zero_new_buffers()
1020 block_end = block_start + bh->b_size; in ocfs2_zero_new_buffers()
1023 if (block_end > from && block_start < to) { in ocfs2_zero_new_buffers()
1027 start = max(from, block_start); in ocfs2_zero_new_buffers()
1039 block_start = block_end; in ocfs2_zero_new_buffers()