Lines Matching refs:block_start

422 	unsigned block_start, block_end;  in walk_page_buffers()  local
427 for ( bh = head, block_start = 0; in walk_page_buffers()
428 ret == 0 && (bh != head || !block_start); in walk_page_buffers()
429 block_start = block_end, bh = next) in walk_page_buffers()
432 block_end = block_start + blocksize; in walk_page_buffers()
433 if (block_end <= from || block_start >= to) { in walk_page_buffers()
572 unsigned int block_start) in ocfs2_should_read_blk() argument
574 u64 offset = page_offset(page) + block_start; in ocfs2_should_read_blk()
598 unsigned int block_end, block_start; in ocfs2_map_page_blocks() local
605 for (bh = head, block_start = 0; bh != head || !block_start; in ocfs2_map_page_blocks()
606 bh = bh->b_this_page, block_start += bsize) { in ocfs2_map_page_blocks()
607 block_end = block_start + bsize; in ocfs2_map_page_blocks()
615 if (block_start >= to || block_end <= from) { in ocfs2_map_page_blocks()
637 ocfs2_should_read_blk(inode, page, block_start) && in ocfs2_map_page_blocks()
638 (block_start < from || block_end > to)) { in ocfs2_map_page_blocks()
663 block_start = 0; in ocfs2_map_page_blocks()
665 block_end = block_start + bsize; in ocfs2_map_page_blocks()
668 if (block_start >= to) in ocfs2_map_page_blocks()
671 zero_user(page, block_start, bh->b_size); in ocfs2_map_page_blocks()
676 block_start = block_end; in ocfs2_map_page_blocks()
877 unsigned int block_start, block_end; in ocfs2_zero_new_buffers() local
885 block_start = 0; in ocfs2_zero_new_buffers()
887 block_end = block_start + bh->b_size; in ocfs2_zero_new_buffers()
890 if (block_end > from && block_start < to) { in ocfs2_zero_new_buffers()
894 start = max(from, block_start); in ocfs2_zero_new_buffers()
906 block_start = block_end; in ocfs2_zero_new_buffers()