Home
last modified time | relevance | path

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

/fs/isofs/
Dcompress.c41 loff_t block_end, int pcount, in zisofs_uncompress_block() argument
49 int i, block_size = block_end - block_start; in zisofs_uncompress_block()
205 loff_t block_start, block_end; in zisofs_fill_pages() local
255 block_end = le32_to_cpu(*(__le32 *) in zisofs_fill_pages()
257 if (block_start > block_end) { in zisofs_fill_pages()
262 ret = zisofs_uncompress_block(inode, block_start, block_end, in zisofs_fill_pages()
281 block_start = block_end; in zisofs_fill_pages()
/fs/reiserfs/
Dfile.c179 unsigned block_start, block_end; in reiserfs_commit_page() local
203 block_start = block_end, bh = bh->b_this_page) { in reiserfs_commit_page()
207 block_end = block_start + blocksize; in reiserfs_commit_page()
208 if (block_end <= from || block_start >= to) { in reiserfs_commit_page()
/fs/
Dbuffer.c1852 unsigned int block_start, block_end; in page_zero_new_buffers() local
1862 block_end = block_start + bh->b_size; in page_zero_new_buffers()
1865 if (block_end > from && block_start < to) { in page_zero_new_buffers()
1870 size = min(to, block_end) - start; in page_zero_new_buffers()
1881 block_start = block_end; in page_zero_new_buffers()
1948 unsigned block_start, block_end; in __block_write_begin_int() local
1966 block++, block_start=block_end, bh = bh->b_this_page) { in __block_write_begin_int()
1967 block_end = block_start + blocksize; in __block_write_begin_int()
1968 if (block_end <= from || block_start >= to) { in __block_write_begin_int()
1995 if (block_end > to || block_start < from) in __block_write_begin_int()
[all …]
/fs/ocfs2/
Daops.c434 unsigned block_start, block_end; in walk_page_buffers() local
441 block_start = block_end, bh = next) in walk_page_buffers()
444 block_end = block_start + blocksize; in walk_page_buffers()
445 if (block_end <= from || block_start >= to) { in walk_page_buffers()
610 unsigned int block_end, block_start; in ocfs2_map_page_blocks() local
619 block_end = block_start + bsize; in ocfs2_map_page_blocks()
627 if (block_start >= to || block_end <= from) { in ocfs2_map_page_blocks()
651 (block_start < from || block_end > to)) { in ocfs2_map_page_blocks()
678 block_end = block_start + bsize; in ocfs2_map_page_blocks()
679 if (block_end <= from) in ocfs2_map_page_blocks()
[all …]
Dfile.c763 unsigned zero_from, zero_to, block_start, block_end; in ocfs2_write_zero_page() local
799 block_start = block_end) { in ocfs2_write_zero_page()
800 block_end = block_start + i_blocksize(inode); in ocfs2_write_zero_page()
/fs/nilfs2/
Dpage.c434 unsigned int block_start, block_end; in nilfs_page_count_clean_buffers() local
440 block_start = block_end, bh = bh->b_this_page) { in nilfs_page_count_clean_buffers()
441 block_end = block_start + bh->b_size; in nilfs_page_count_clean_buffers()
442 if (block_end > from && block_start < to && !buffer_dirty(bh)) in nilfs_page_count_clean_buffers()
/fs/ext4/
Dmove_extent.c172 unsigned int blocksize, block_start, block_end; in mext_page_mkuptodate() local
187 block++, block_start = block_end, bh = bh->b_this_page) { in mext_page_mkuptodate()
188 block_end = block_start + blocksize; in mext_page_mkuptodate()
189 if (block_end <= from || block_start >= to) { in mext_page_mkuptodate()
Dinode.c1101 unsigned block_start, block_end; in ext4_walk_page_buffers() local
1108 block_start = block_end, bh = next) { in ext4_walk_page_buffers()
1110 block_end = block_start + blocksize; in ext4_walk_page_buffers()
1111 if (block_end <= from || block_start >= to) { in ext4_walk_page_buffers()
1179 unsigned block_start, block_end; in ext4_block_write_begin() local
1200 block++, block_start = block_end, bh = bh->b_this_page) { in ext4_block_write_begin()
1201 block_end = block_start + blocksize; in ext4_block_write_begin()
1202 if (block_end <= from || block_start >= to) { in ext4_block_write_begin()
1223 if (block_end > to || block_start < from) in ext4_block_write_begin()
1224 zero_user_segments(page, to, block_end, in ext4_block_write_begin()
[all …]
/fs/minix/
Ditree_common.c25 static inline block_t *block_end(struct buffer_head *bh) in block_end() function
291 block_end(bh), depth); in free_branches()
336 free_branches(inode, partial->p + 1, block_end(partial->bh), in truncate()
/fs/sysv/
Ditree.c80 static inline sysv_zone_t *block_end(struct buffer_head *bh) in block_end() function
357 block_end(bh), depth); in free_branches()
407 free_branches(inode, partial->p + 1, block_end(partial->bh), in sysv_truncate()
/fs/ntfs/
Dmft.c464 unsigned int block_start, block_end, m_start, m_end, page_ofs; in ntfs_sync_mft_mirror() local
517 block_end = block_start + blocksize; in ntfs_sync_mft_mirror()
519 if (block_end <= m_start) in ntfs_sync_mft_mirror()
571 BUG_ON((nr_bhs >= max_bhs) && (m_end != block_end)); in ntfs_sync_mft_mirror()
572 } while (block_start = block_end, (bh = bh->b_this_page) != head); in ntfs_sync_mft_mirror()
670 unsigned int block_start, block_end, m_start, m_end; in write_mft_record_nolock() local
697 block_end = block_start + blocksize; in write_mft_record_nolock()
699 if (block_end <= m_start) in write_mft_record_nolock()
758 BUG_ON((nr_bhs >= max_bhs) && (m_end != block_end)); in write_mft_record_nolock()
759 } while (block_start = block_end, (bh = bh->b_this_page) != head); in write_mft_record_nolock()
/fs/iomap/
Dbuffered-io.c574 loff_t block_end = (pos + len + block_size - 1) & ~(block_size - 1); in __iomap_write_begin() local
584 block_end - block_start, &poff, &plen); in __iomap_write_begin()
596 } while ((block_start += plen) < block_end); in __iomap_write_begin()
/fs/btrfs/
Dinode.c5158 u64 block_end; in btrfs_truncate_block() local
5165 block_end = block_start + blocksize - 1; in btrfs_truncate_block()
5213 lock_extent_bits(io_tree, block_start, block_end, &cached_state); in btrfs_truncate_block()
5218 unlock_extent_cached(io_tree, block_start, block_end, in btrfs_truncate_block()
5227 clear_extent_bit(&BTRFS_I(inode)->io_tree, block_start, block_end, in btrfs_truncate_block()
5231 ret = btrfs_set_extent_delalloc(inode, block_start, block_end, 0, in btrfs_truncate_block()
5234 unlock_extent_cached(io_tree, block_start, block_end, in btrfs_truncate_block()
5254 unlock_extent_cached(io_tree, block_start, block_end, &cached_state); in btrfs_truncate_block()
5258 block_end, EXTENT_NORESERVE, NULL, NULL, in btrfs_truncate_block()
5339 u64 block_end = ALIGN(size, fs_info->sectorsize); in btrfs_cont_expand() local
[all …]