Home
last modified time | relevance | path

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

/fs/btrfs/
Dextent_map.c196 ((next->block_start == EXTENT_MAP_HOLE && in mergable_maps()
197 prev->block_start == EXTENT_MAP_HOLE) || in mergable_maps()
198 (next->block_start == EXTENT_MAP_INLINE && in mergable_maps()
199 prev->block_start == EXTENT_MAP_INLINE) || in mergable_maps()
200 (next->block_start == EXTENT_MAP_DELALLOC && in mergable_maps()
201 prev->block_start == EXTENT_MAP_DELALLOC) || in mergable_maps()
202 (next->block_start < EXTENT_MAP_LAST_BYTE - 1 && in mergable_maps()
203 next->block_start == extent_map_block_end(prev)))) { in mergable_maps()
249 em->block_start = merge->block_start; in add_extent_mapping()
Dextent_map.h24 u64 block_start; member
46 if (em->block_start + em->block_len < em->block_start) in extent_map_block_end()
48 return em->block_start + em->block_len; in extent_map_block_end()
Dextent_io.c1952 u64 block_start; in __extent_read_full_page() local
2014 sector = em->block_start >> 9; in __extent_read_full_page()
2016 sector = (em->block_start + extent_offset) >> 9; in __extent_read_full_page()
2020 block_start = em->block_start; in __extent_read_full_page()
2022 block_start = EXTENT_MAP_HOLE; in __extent_read_full_page()
2027 if (block_start == EXTENT_MAP_HOLE) { in __extent_read_full_page()
2052 if (block_start == EXTENT_MAP_INLINE) { in __extent_read_full_page()
2123 u64 block_start; in __extent_writepage() local
2248 sector = (em->block_start + extent_offset) >> 9; in __extent_writepage()
2250 block_start = em->block_start; in __extent_writepage()
[all …]
Dfile.c217 if (em->block_start < EXTENT_MAP_LAST_BYTE && in btrfs_drop_extent_cache()
222 split->block_start = em->block_start; in btrfs_drop_extent_cache()
237 if (em->block_start < EXTENT_MAP_LAST_BYTE && in btrfs_drop_extent_cache()
248 split->block_start = em->block_start; in btrfs_drop_extent_cache()
252 split->block_start = em->block_start + diff; in btrfs_drop_extent_cache()
Ddisk-io.h70 u64 block_start,
Dinode.c609 em->block_start = ins.objectid; in submit_compressed_extents()
746 em->block_start = ins.objectid; in cow_file_range()
1082 em->block_start = disk_bytenr; in run_delalloc_nocow()
1627 logical = em->block_start + logical; in btrfs_io_failed_hook()
1629 logical = em->block_start; in btrfs_io_failed_hook()
3832 if (em->block_start < EXTENT_MAP_LAST_BYTE && in merge_extent_mapping()
3834 em->block_start += start_diff; in merge_extent_mapping()
3917 else if (em->block_start == EXTENT_MAP_INLINE && page) in btrfs_get_extent()
4007 em->block_start = EXTENT_MAP_HOLE; in btrfs_get_extent()
4012 em->block_start = bytenr; in btrfs_get_extent()
[all …]
Dcompression.c517 (em->block_start >> 9) != cb->orig_bio->bi_sector) { in add_ra_bio_pages()
Ddisk-io.c142 em->block_start = 0; in btree_get_extent()
1332 if (em->block_start >= EXTENT_MAP_LAST_BYTE) { in btrfs_unplug_io_fn()
1339 em->block_start + offset, page); in btrfs_unplug_io_fn()
Dextent-tree.c4585 em->block_start = extent_key->objectid; in relocate_data_extent()
5886 u64 block_start = ref_path->nodes[level]; in relocate_one_extent() local
5889 eb = read_tree_block(found_root, block_start, in relocate_one_extent()
5901 prev_block = block_start; in relocate_one_extent()
Dvolumes.c2115 em->block_start = 0; in __btrfs_alloc_chunk()
2918 em->block_start = 0; in read_one_chunk()
/fs/ocfs2/
Daops.c437 unsigned block_start, block_end; in walk_page_buffers() local
442 for ( bh = head, block_start = 0; in walk_page_buffers()
443 ret == 0 && (bh != head || !block_start); in walk_page_buffers()
444 block_start = block_end, bh = next) in walk_page_buffers()
447 block_end = block_start + blocksize; in walk_page_buffers()
448 if (block_end <= from || block_start >= to) { in walk_page_buffers()
765 unsigned int block_start) in ocfs2_should_read_blk() argument
767 u64 offset = page_offset(page) + block_start; in ocfs2_should_read_blk()
791 unsigned int block_end, block_start; in ocfs2_map_page_blocks() local
798 for (bh = head, block_start = 0; bh != head || !block_start; in ocfs2_map_page_blocks()
[all …]
/fs/reiserfs/
Dfile.c160 unsigned block_start, block_end; in reiserfs_commit_page() local
182 for (bh = head = page_buffers(page), block_start = 0; in reiserfs_commit_page()
183 bh != head || !block_start; in reiserfs_commit_page()
184 block_start = block_end, bh = bh->b_this_page) { in reiserfs_commit_page()
188 block_end = block_start + blocksize; in reiserfs_commit_page()
189 if (block_end <= from || block_start >= to) { in reiserfs_commit_page()
/fs/
Dbuffer.c1878 unsigned int block_start, block_end; in page_zero_new_buffers() local
1886 block_start = 0; in page_zero_new_buffers()
1888 block_end = block_start + bh->b_size; in page_zero_new_buffers()
1891 if (block_end > from && block_start < to) { in page_zero_new_buffers()
1895 start = max(from, block_start); in page_zero_new_buffers()
1907 block_start = block_end; in page_zero_new_buffers()
1916 unsigned block_start, block_end; in __block_prepare_write() local
1935 for(bh = head, block_start = 0; bh != head || !block_start; in __block_prepare_write()
1936 block++, block_start=block_end, bh = bh->b_this_page) { in __block_prepare_write()
1937 block_end = block_start + blocksize; in __block_prepare_write()
[all …]
/fs/ntfs/
Dmft.c475 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/ext3/
Dinode.c1091 unsigned block_start, block_end; in walk_page_buffers() local
1096 for ( bh = head, block_start = 0; in walk_page_buffers()
1097 ret == 0 && (bh != head || !block_start); in walk_page_buffers()
1098 block_start = block_end, bh = next) in walk_page_buffers()
1101 block_end = block_start + blocksize; in walk_page_buffers()
1102 if (block_end <= from || block_start >= to) { in walk_page_buffers()
/fs/ext4/
Dinode.c1288 unsigned block_start, block_end; in walk_page_buffers() local
1293 for (bh = head, block_start = 0; in walk_page_buffers()
1294 ret == 0 && (bh != head || !block_start); in walk_page_buffers()
1295 block_start = block_end, bh = next) in walk_page_buffers()
1298 block_end = block_start + blocksize; in walk_page_buffers()
1299 if (block_end <= from || block_start >= to) { in walk_page_buffers()