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.c1841 unsigned int block_start, block_end; in page_zero_new_buffers() local
1851 block_end = block_start + bh->b_size; in page_zero_new_buffers()
1854 if (block_end > from && block_start < to) { in page_zero_new_buffers()
1859 size = min(to, block_end) - start; in page_zero_new_buffers()
1870 block_start = block_end; in page_zero_new_buffers()
1937 unsigned block_start, block_end; in __block_write_begin_int() local
1955 block++, block_start=block_end, bh = bh->b_this_page) { in __block_write_begin_int()
1956 block_end = block_start + blocksize; in __block_write_begin_int()
1957 if (block_end <= from || block_start >= to) { in __block_write_begin_int()
1984 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.c759 unsigned zero_from, zero_to, block_start, block_end; in ocfs2_write_zero_page() local
795 block_start = block_end) { in ocfs2_write_zero_page()
796 block_end = block_start + i_blocksize(inode); in ocfs2_write_zero_page()
/fs/nilfs2/
Dpage.c427 unsigned int block_start, block_end; in nilfs_page_count_clean_buffers() local
433 block_start = block_end, bh = bh->b_this_page) { in nilfs_page_count_clean_buffers()
434 block_end = block_start + bh->b_size; in nilfs_page_count_clean_buffers()
435 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.c1100 unsigned block_start, block_end; in ext4_walk_page_buffers() local
1107 block_start = block_end, bh = next) { in ext4_walk_page_buffers()
1109 block_end = block_start + blocksize; in ext4_walk_page_buffers()
1110 if (block_end <= from || block_start >= to) { in ext4_walk_page_buffers()
1178 unsigned block_start, block_end; in ext4_block_write_begin() local
1199 block++, block_start = block_end, bh = bh->b_this_page) { in ext4_block_write_begin()
1200 block_end = block_start + blocksize; in ext4_block_write_begin()
1201 if (block_end <= from || block_start >= to) { in ext4_block_write_begin()
1222 if (block_end > to || block_start < from) in ext4_block_write_begin()
1223 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
285 block_end(bh), depth); in free_branches()
330 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
355 block_end(bh), depth); in free_branches()
405 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.c556 loff_t block_end = (pos + len + block_size - 1) & ~(block_size - 1); in __iomap_write_begin() local
565 block_end - block_start, &poff, &plen); in __iomap_write_begin()
577 } while ((block_start += plen) < block_end); in __iomap_write_begin()
/fs/btrfs/
Dinode.c4980 u64 block_end; in btrfs_truncate_block() local
4987 block_end = block_start + blocksize - 1; in btrfs_truncate_block()
5019 lock_extent_bits(io_tree, block_start, block_end, &cached_state); in btrfs_truncate_block()
5024 unlock_extent_cached(io_tree, block_start, block_end, in btrfs_truncate_block()
5033 clear_extent_bit(&BTRFS_I(inode)->io_tree, block_start, block_end, in btrfs_truncate_block()
5037 ret = btrfs_set_extent_delalloc(inode, block_start, block_end, 0, in btrfs_truncate_block()
5040 unlock_extent_cached(io_tree, block_start, block_end, in btrfs_truncate_block()
5060 unlock_extent_cached(io_tree, block_start, block_end, &cached_state); in btrfs_truncate_block()
5133 u64 block_end = ALIGN(size, fs_info->sectorsize); in btrfs_cont_expand() local
5152 block_end - 1, &cached_state); in btrfs_cont_expand()
[all …]