/fs/isofs/ |
D | compress.c | 43 static loff_t zisofs_uncompress_block(struct inode *inode, loff_t block_start, in zisofs_uncompress_block() argument 52 int i, block_size = block_end - block_start; in zisofs_uncompress_block() 57 int needblocks = (block_size + (block_start & bufmask) + bufmask) in zisofs_uncompress_block() 81 blocknum = block_start >> bufshift; in zisofs_uncompress_block() 138 (block_start & bufmask); in zisofs_uncompress_block() 140 (block_start & bufmask), in zisofs_uncompress_block() 143 block_start = 0; in zisofs_uncompress_block() 203 loff_t block_start, block_end; in zisofs_fill_pages() local 239 block_start = le32_to_cpu(*(__le32 *) in zisofs_fill_pages() 255 if (block_start > block_end) { in zisofs_fill_pages() [all …]
|
/fs/btrfs/ |
D | extent_map.c | 188 ((next->block_start == EXTENT_MAP_HOLE && in mergable_maps() 189 prev->block_start == EXTENT_MAP_HOLE) || in mergable_maps() 190 (next->block_start == EXTENT_MAP_INLINE && in mergable_maps() 191 prev->block_start == EXTENT_MAP_INLINE) || in mergable_maps() 192 (next->block_start == EXTENT_MAP_DELALLOC && in mergable_maps() 193 prev->block_start == EXTENT_MAP_DELALLOC) || in mergable_maps() 194 (next->block_start < EXTENT_MAP_LAST_BYTE - 1 && in mergable_maps() 195 next->block_start == extent_map_block_end(prev)))) { in mergable_maps() 215 em->block_start = merge->block_start; in try_merge_map()
|
D | extent_map.h | 30 u64 block_start; member 56 if (em->block_start + em->block_len < em->block_start) in extent_map_block_end() 58 return em->block_start + em->block_len; in extent_map_block_end()
|
D | file.c | 603 if (em->block_start < EXTENT_MAP_LAST_BYTE && in btrfs_drop_extent_cache() 608 split->block_start = em->block_start; in btrfs_drop_extent_cache() 627 if (em->block_start < EXTENT_MAP_LAST_BYTE && in btrfs_drop_extent_cache() 643 split->block_start = em->block_start; in btrfs_drop_extent_cache() 647 split->block_start = em->block_start + diff; in btrfs_drop_extent_cache() 1922 hole_em->block_start = EXTENT_MAP_HOLE; in fill_holes() 2244 if (em->block_start == EXTENT_MAP_HOLE || in btrfs_fallocate() 2336 if (em->block_start == EXTENT_MAP_DELALLOC) in find_desired_extent() 2348 if (em->block_start == EXTENT_MAP_HOLE) { in find_desired_extent() 2364 if (em->block_start == EXTENT_MAP_DELALLOC) { in find_desired_extent() [all …]
|
D | extent_io.c | 2223 logical = em->block_start + logical; in bio_readpage_error() 2225 logical = em->block_start; in bio_readpage_error() 2721 u64 block_start; in __extent_read_full_page() local 2807 sector = em->block_start >> 9; in __extent_read_full_page() 2809 sector = (em->block_start + extent_offset) >> 9; in __extent_read_full_page() 2813 block_start = em->block_start; in __extent_read_full_page() 2815 block_start = EXTENT_MAP_HOLE; in __extent_read_full_page() 2820 if (block_start == EXTENT_MAP_HOLE) { in __extent_read_full_page() 2849 if (block_start == EXTENT_MAP_INLINE) { in __extent_read_full_page() 2926 u64 block_start; in __extent_writepage() local [all …]
|
D | inode.c | 103 u64 block_start, u64 block_len, 728 em->block_start = ins.objectid; in submit_compressed_extents() 824 if (em->block_start >= EXTENT_MAP_LAST_BYTE) { in get_extent_allocation_hint() 827 if (em && em->block_start < EXTENT_MAP_LAST_BYTE) in get_extent_allocation_hint() 828 alloc_hint = em->block_start; in get_extent_allocation_hint() 832 alloc_hint = em->block_start; in get_extent_allocation_hint() 939 em->block_start = ins.objectid; in __cow_file_range() 1386 em->block_start = disk_bytenr; in run_delalloc_nocow() 4467 hole_em->block_start = EXTENT_MAP_HOLE; in btrfs_cont_expand() 5991 if (em->block_start < EXTENT_MAP_LAST_BYTE && in merge_extent_mapping() [all …]
|
D | tree-log.c | 3317 if (em->block_start == 0) in log_one_extent() 3324 em->block_start, in log_one_extent() 3328 } else if (em->block_start < EXTENT_MAP_LAST_BYTE) { in log_one_extent() 3330 em->block_start - in log_one_extent() 3452 em->block_start + csum_offset, in log_one_extent() 3453 em->block_start + csum_offset + in log_one_extent()
|
D | compression.c | 511 (em->block_start >> 9) != cb->orig_bio->bi_sector) { in add_ra_bio_pages()
|
D | relocation.c | 2976 u64 block_start) argument 2990 em->block_start = block_start;
|
D | ioctl.c | 915 if (!next || next->block_start >= EXTENT_MAP_LAST_BYTE) in defrag_check_next_extent() 944 if (em->block_start >= EXTENT_MAP_LAST_BYTE) { in should_defrag_range()
|
D | volumes.c | 3922 em->block_start = 0; in __btrfs_alloc_chunk() 5427 em->block_start = 0; in read_one_chunk()
|
D | disk-io.c | 224 em->block_start = 0; in btree_get_extent()
|
/fs/reiserfs/ |
D | file.c | 172 unsigned block_start, block_end; in reiserfs_commit_page() local 194 for (bh = head = page_buffers(page), block_start = 0; in reiserfs_commit_page() 195 bh != head || !block_start; in reiserfs_commit_page() 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/ocfs2/ |
D | aops.c | 427 unsigned block_start, block_end; in walk_page_buffers() local 432 for ( bh = head, block_start = 0; in walk_page_buffers() 433 ret == 0 && (bh != head || !block_start); in walk_page_buffers() 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() 709 unsigned int block_start) in ocfs2_should_read_blk() argument 711 u64 offset = page_offset(page) + block_start; in ocfs2_should_read_blk() 735 unsigned int block_end, block_start; in ocfs2_map_page_blocks() local 742 for (bh = head, block_start = 0; bh != head || !block_start; in ocfs2_map_page_blocks() [all …]
|
D | file.c | 766 unsigned zero_from, zero_to, block_start, block_end; in ocfs2_write_zero_page() local 792 for (block_start = zero_from; block_start < zero_to; in ocfs2_write_zero_page() 793 block_start = block_end) { in ocfs2_write_zero_page() 794 block_end = block_start + (1 << inode->i_blkbits); in ocfs2_write_zero_page() 801 ret = __block_write_begin(page, block_start + 1, 0, in ocfs2_write_zero_page() 818 ret = block_commit_write(page, block_start + 1, in ocfs2_write_zero_page() 819 block_start + 1); in ocfs2_write_zero_page()
|
/fs/ |
D | buffer.c | 1807 unsigned int block_start, block_end; in page_zero_new_buffers() local 1815 block_start = 0; in page_zero_new_buffers() 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() 1824 start = max(from, block_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 1865 for(bh = head, block_start = 0; bh != head || !block_start; in __block_write_begin() 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() [all …]
|
/fs/ext4/ |
D | move_extent.c | 185 unsigned int blocksize, block_start, block_end; in mext_page_mkuptodate() local 199 for (bh = head, block_start = 0; bh != head || !block_start; in mext_page_mkuptodate() 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() 216 zero_user(page, block_start, blocksize); in mext_page_mkuptodate()
|
D | page-io.c | 428 unsigned block_start, blocksize; in ext4_bio_write_page() local 464 block_start = bh_offset(bh); in ext4_bio_write_page() 465 if (block_start >= len) { in ext4_bio_write_page()
|
D | inode.c | 821 unsigned block_start, block_end; in ext4_walk_page_buffers() local 826 for (bh = head, block_start = 0; in ext4_walk_page_buffers() 827 ret == 0 && (bh != head || !block_start); in ext4_walk_page_buffers() 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 921 for (bh = head, block_start = 0; bh != head || !block_start; in ext4_block_write_begin() 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() [all …]
|
/fs/nilfs2/ |
D | page.c | 448 unsigned block_start, block_end; in nilfs_page_count_clean_buffers() local 452 for (bh = head = page_buffers(page), block_start = 0; in nilfs_page_count_clean_buffers() 453 bh != head || !block_start; in nilfs_page_count_clean_buffers() 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/ntfs/ |
D | mft.c | 475 unsigned int block_start, block_end, m_start, m_end, page_ofs; in ntfs_sync_mft_mirror() local 522 block_start = 0; in ntfs_sync_mft_mirror() 526 block_end = block_start + blocksize; in ntfs_sync_mft_mirror() 530 if (unlikely(block_start >= m_end)) in ntfs_sync_mft_mirror() 541 (block_start - m_start); in ntfs_sync_mft_mirror() 577 BUG_ON(!nr_bhs && (m_start != block_start)); 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 698 block_start = 0; in write_mft_record_nolock() 702 block_end = block_start + blocksize; in write_mft_record_nolock() [all …]
|
/fs/xfs/ |
D | xfs_aops.c | 1501 loff_t block_start; in xfs_vm_write_failed() local 1510 block_start = 0; in xfs_vm_write_failed() 1511 for (bh = head; bh != head || !block_start; in xfs_vm_write_failed() 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() 1521 if (block_start >= to) in xfs_vm_write_failed()
|
/fs/ext3/ |
D | inode.c | 1158 unsigned block_start, block_end; in walk_page_buffers() local 1163 for ( bh = head, block_start = 0; in walk_page_buffers() 1164 ret == 0 && (bh != head || !block_start); in walk_page_buffers() 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()
|