Home
last modified time | relevance | path

Searched refs:block_end (Results 1 – 16 of 16) sorted by relevance

/fs/isofs/
Dcompress.c44 loff_t block_end, int pcount, in zisofs_uncompress_block() argument
52 int i, block_size = block_end - block_start; in zisofs_uncompress_block()
203 loff_t block_start, block_end; in zisofs_fill_pages() local
253 block_end = le32_to_cpu(*(__le32 *) in zisofs_fill_pages()
255 if (block_start > block_end) { in zisofs_fill_pages()
260 ret = zisofs_uncompress_block(inode, block_start, block_end, in zisofs_fill_pages()
279 block_start = block_end; in zisofs_fill_pages()
/fs/reiserfs/
Dfile.c172 unsigned block_start, block_end; in reiserfs_commit_page() local
196 block_start = block_end, bh = bh->b_this_page) { in reiserfs_commit_page()
200 block_end = block_start + blocksize; in reiserfs_commit_page()
201 if (block_end <= from || block_start >= to) { in reiserfs_commit_page()
/fs/
Dbuffer.c1807 unsigned int block_start, block_end; in page_zero_new_buffers() local
1817 block_end = block_start + bh->b_size; in page_zero_new_buffers()
1820 if (block_end > from && block_start < to) { in page_zero_new_buffers()
1825 size = min(to, block_end) - start; in page_zero_new_buffers()
1836 block_start = block_end; in page_zero_new_buffers()
1848 unsigned block_start, block_end; in __block_write_begin() local
1866 block++, block_start=block_end, bh = bh->b_this_page) { in __block_write_begin()
1867 block_end = block_start + blocksize; in __block_write_begin()
1868 if (block_end <= from || block_start >= to) { in __block_write_begin()
1891 if (block_end > to || block_start < from) in __block_write_begin()
[all …]
/fs/ocfs2/
Daops.c427 unsigned block_start, block_end; in walk_page_buffers() local
434 block_start = block_end, bh = next) in walk_page_buffers()
437 block_end = block_start + blocksize; in walk_page_buffers()
438 if (block_end <= from || block_start >= to) { in walk_page_buffers()
735 unsigned int block_end, block_start; in ocfs2_map_page_blocks() local
744 block_end = block_start + bsize; in ocfs2_map_page_blocks()
752 if (block_start >= to || block_end <= from) { in ocfs2_map_page_blocks()
776 (block_start < from || block_end > to)) { in ocfs2_map_page_blocks()
803 block_end = block_start + bsize; in ocfs2_map_page_blocks()
804 if (block_end <= from) in ocfs2_map_page_blocks()
[all …]
Dfile.c766 unsigned zero_from, zero_to, block_start, block_end; in ocfs2_write_zero_page() local
793 block_start = block_end) { in ocfs2_write_zero_page()
794 block_end = block_start + (1 << inode->i_blkbits); in ocfs2_write_zero_page()
/fs/squashfs/
Dfile_direct.c131 u64 block_end = block + msblk->block_size; in squashfs_readpages_block() local
134 actor_pages = (block_end - block) / PAGE_SIZE; in squashfs_readpages_block()
Dblock.c266 sector_t block_end = read_end >> msblk->devblksize_log2; in squashfs_bio_submit() local
268 int nr_buffers = block_end - block; in squashfs_bio_submit()
/fs/nilfs2/
Dpage.c448 unsigned block_start, block_end; in nilfs_page_count_clean_buffers() local
454 block_start = block_end, bh = bh->b_this_page) { in nilfs_page_count_clean_buffers()
455 block_end = block_start + bh->b_size; in nilfs_page_count_clean_buffers()
456 if (block_end > from && block_start < to && !buffer_dirty(bh)) in nilfs_page_count_clean_buffers()
/fs/ext4/
Dmove_extent.c185 unsigned int blocksize, block_start, block_end; in mext_page_mkuptodate() local
200 block++, block_start = block_end, bh = bh->b_this_page) { in mext_page_mkuptodate()
201 block_end = block_start + blocksize; in mext_page_mkuptodate()
202 if (block_end <= from || block_start >= to) { in mext_page_mkuptodate()
Dinode.c821 unsigned block_start, block_end; in ext4_walk_page_buffers() local
828 block_start = block_end, bh = next) { in ext4_walk_page_buffers()
830 block_end = block_start + blocksize; in ext4_walk_page_buffers()
831 if (block_end <= from || block_start >= to) { in ext4_walk_page_buffers()
902 unsigned block_start, block_end; in ext4_block_write_begin() local
922 block++, block_start = block_end, bh = bh->b_this_page) { in ext4_block_write_begin()
923 block_end = block_start + blocksize; in ext4_block_write_begin()
924 if (block_end <= from || block_start >= to) { in ext4_block_write_begin()
947 if (block_end > to || block_start < from) in ext4_block_write_begin()
948 zero_user_segments(page, to, block_end, in ext4_block_write_begin()
[all …]
/fs/minix/
Ditree_common.c24 static inline block_t *block_end(struct buffer_head *bh) in block_end() function
284 block_end(bh), depth); in free_branches()
329 free_branches(inode, partial->p + 1, block_end(partial->bh), in truncate()
/fs/sysv/
Ditree.c79 static inline sysv_zone_t *block_end(struct buffer_head *bh) in block_end() function
354 block_end(bh), depth); in free_branches()
404 free_branches(inode, partial->p + 1, block_end(partial->bh), in sysv_truncate()
/fs/ntfs/
Dmft.c475 unsigned int block_start, block_end, m_start, m_end, page_ofs; in ntfs_sync_mft_mirror() local
526 block_end = block_start + blocksize; in ntfs_sync_mft_mirror()
528 if (block_end <= m_start) in ntfs_sync_mft_mirror()
580 BUG_ON((nr_bhs >= max_bhs) && (m_end != block_end)); in ntfs_sync_mft_mirror()
581 } while (block_start = block_end, (bh = bh->b_this_page) != head); in ntfs_sync_mft_mirror()
679 unsigned int block_start, block_end, m_start, m_end; in write_mft_record_nolock() local
702 block_end = block_start + blocksize; in write_mft_record_nolock()
704 if (block_end <= m_start) in write_mft_record_nolock()
763 BUG_ON((nr_bhs >= max_bhs) && (m_end != block_end)); in write_mft_record_nolock()
764 } while (block_start = block_end, (bh = bh->b_this_page) != head); in write_mft_record_nolock()
/fs/xfs/
Dxfs_aops.c1502 loff_t block_end; in xfs_vm_write_failed() local
1512 bh = bh->b_this_page, block_start = block_end, in xfs_vm_write_failed()
1514 block_end = block_start + bh->b_size; in xfs_vm_write_failed()
1517 if (block_end <= from) in xfs_vm_write_failed()
/fs/ext3/
Dinode.c1158 unsigned block_start, block_end; in walk_page_buffers() local
1165 block_start = block_end, bh = next) in walk_page_buffers()
1168 block_end = block_start + blocksize; in walk_page_buffers()
1169 if (block_end <= from || block_start >= to) { in walk_page_buffers()
/fs/btrfs/
Dinode.c4392 u64 block_end = ALIGN(size, root->sectorsize); in btrfs_cont_expand() local
4404 block_end - hole_start); in btrfs_cont_expand()
4405 lock_extent_bits(io_tree, hole_start, block_end - 1, 0, in btrfs_cont_expand()
4410 unlock_extent_cached(io_tree, hole_start, block_end - 1, in btrfs_cont_expand()
4418 block_end - cur_offset, 0); in btrfs_cont_expand()
4424 last_byte = min(extent_map_end(em), block_end); in btrfs_cont_expand()
4493 if (cur_offset >= block_end) in btrfs_cont_expand()
4498 unlock_extent_cached(io_tree, hole_start, block_end - 1, &cached_state, in btrfs_cont_expand()