Home
last modified time | relevance | path

Searched refs:block_end (Results 1 – 15 of 15) 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.c173 unsigned block_start, block_end; in reiserfs_commit_page() local
197 block_start = block_end, bh = bh->b_this_page) { in reiserfs_commit_page()
201 block_end = block_start + blocksize; in reiserfs_commit_page()
202 if (block_end <= from || block_start >= to) { in reiserfs_commit_page()
/fs/
Dbuffer.c1911 unsigned int block_start, block_end; in page_zero_new_buffers() local
1921 block_end = block_start + bh->b_size; in page_zero_new_buffers()
1924 if (block_end > from && block_start < to) { in page_zero_new_buffers()
1929 size = min(to, block_end) - start; in page_zero_new_buffers()
1940 block_start = block_end; in page_zero_new_buffers()
2007 unsigned block_start, block_end; in __block_write_begin_int() local
2025 block++, block_start=block_end, bh = bh->b_this_page) { in __block_write_begin_int()
2026 block_end = block_start + blocksize; in __block_write_begin_int()
2027 if (block_end <= from || block_start >= to) { in __block_write_begin_int()
2054 if (block_end > to || block_start < from) in __block_write_begin_int()
[all …]
/fs/ocfs2/
Daops.c425 unsigned block_start, block_end; in walk_page_buffers() local
432 block_start = block_end, bh = next) in walk_page_buffers()
435 block_end = block_start + blocksize; in walk_page_buffers()
436 if (block_end <= from || block_start >= to) { in walk_page_buffers()
601 unsigned int block_end, block_start; in ocfs2_map_page_blocks() local
610 block_end = block_start + bsize; in ocfs2_map_page_blocks()
618 if (block_start >= to || block_end <= from) { in ocfs2_map_page_blocks()
642 (block_start < from || block_end > to)) { in ocfs2_map_page_blocks()
669 block_end = block_start + bsize; in ocfs2_map_page_blocks()
670 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.c433 unsigned int block_start, block_end; in nilfs_page_count_clean_buffers() local
439 block_start = block_end, bh = bh->b_this_page) { in nilfs_page_count_clean_buffers()
440 block_end = block_start + bh->b_size; in nilfs_page_count_clean_buffers()
441 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.c959 unsigned block_start, block_end; in ext4_walk_page_buffers() local
966 block_start = block_end, bh = next) { in ext4_walk_page_buffers()
968 block_end = block_start + blocksize; in ext4_walk_page_buffers()
969 if (block_end <= from || block_start >= to) { in ext4_walk_page_buffers()
1037 unsigned block_start, block_end; in ext4_block_write_begin() local
1058 block++, block_start = block_end, bh = bh->b_this_page) { in ext4_block_write_begin()
1059 block_end = block_start + blocksize; in ext4_block_write_begin()
1060 if (block_end <= from || block_start >= to) { in ext4_block_write_begin()
1081 if (block_end > to || block_start < from) in ext4_block_write_begin()
1082 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/squashfs/
Dblock.c83 const sector_t block_end = read_end >> msblk->devblksize_log2; in squashfs_bio_read() local
85 int total_len = (block_end - block) << msblk->devblksize_log2; in squashfs_bio_read()
/fs/sysv/
Ditree.c80 static inline sysv_zone_t *block_end(struct buffer_head *bh) in block_end() function
359 block_end(bh), depth); in free_branches()
409 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/fat/
Dfatent.c651 sector_t blocknr, block_end; in fat_ra_init() local
670 ops->ent_blocknr(sb, ent_limit - 1, &offset, &block_end); in fat_ra_init()
672 ra->limit = (block_end + 1) - blocknr; in fat_ra_init()
/fs/iomap/
Dbuffered-io.c557 loff_t block_end = round_up(pos + len, block_size); in __iomap_write_begin() local
566 block_end - block_start, &poff, &plen); in __iomap_write_begin()
586 } while ((block_start += plen) < block_end); in __iomap_write_begin()
/fs/btrfs/
Dinode.c4586 u64 block_end; in btrfs_truncate_block() local
4593 block_end = block_start + blocksize - 1; in btrfs_truncate_block()
4638 lock_extent_bits(io_tree, block_start, block_end, &cached_state); in btrfs_truncate_block()
4643 unlock_extent_cached(io_tree, block_start, block_end, in btrfs_truncate_block()
4652 clear_extent_bit(&BTRFS_I(inode)->io_tree, block_start, block_end, in btrfs_truncate_block()
4656 ret = btrfs_set_extent_delalloc(BTRFS_I(inode), block_start, block_end, 0, in btrfs_truncate_block()
4659 unlock_extent_cached(io_tree, block_start, block_end, in btrfs_truncate_block()
4679 unlock_extent_cached(io_tree, block_start, block_end, &cached_state); in btrfs_truncate_block()
4683 block_end, EXTENT_NORESERVE, NULL, NULL, in btrfs_truncate_block()
4764 u64 block_end = ALIGN(size, fs_info->sectorsize); in btrfs_cont_expand() local
[all …]