Home
last modified time | relevance | path

Searched refs:extent_start (Results 1 – 7 of 7) sorted by relevance

/fs/btrfs/
Dfile-item.c951 u64 extent_start, extent_end; in btrfs_extent_item_to_extent_map() local
958 extent_start = key.offset; in btrfs_extent_item_to_extent_map()
962 extent_end = extent_start + in btrfs_extent_item_to_extent_map()
967 extent_end = ALIGN(extent_start + size, in btrfs_extent_item_to_extent_map()
974 em->start = extent_start; in btrfs_extent_item_to_extent_map()
975 em->len = extent_end - extent_start; in btrfs_extent_item_to_extent_map()
976 em->orig_start = extent_start - in btrfs_extent_item_to_extent_map()
998 em->start = extent_start; in btrfs_extent_item_to_extent_map()
999 em->len = extent_end - extent_start; in btrfs_extent_item_to_extent_map()
1013 "root %llu", type, btrfs_ino(inode), extent_start, in btrfs_extent_item_to_extent_map()
Dfree-space-cache.c1059 u64 start, extent_start, extent_end, len; in write_pinned_extent_entries() local
1079 &extent_start, &extent_end, in write_pinned_extent_entries()
1085 if (extent_start >= block_group->key.objectid + in write_pinned_extent_entries()
1089 extent_start = max(extent_start, start); in write_pinned_extent_entries()
1092 len = extent_end - extent_start; in write_pinned_extent_entries()
1095 ret = io_ctl_add_entry(io_ctl, extent_start, len, NULL); in write_pinned_extent_entries()
3207 u64 extent_start; in trim_no_bitmap() local
3248 extent_start = entry->offset; in trim_no_bitmap()
3250 start = max(start, extent_start); in trim_no_bitmap()
3251 bytes = min(extent_start + extent_bytes, end) - start; in trim_no_bitmap()
[all …]
Dfree-space-tree.c1408 u64 extent_start = 0; in load_free_space_bitmaps() local
1441 extent_start = offset; in load_free_space_bitmaps()
1444 extent_start, in load_free_space_bitmaps()
1457 total_found += add_new_free_space(block_group, extent_start, in load_free_space_bitmaps()
Dblock-group.c457 u64 extent_start, extent_end, size, total_added = 0; in add_new_free_space() local
462 &extent_start, &extent_end, in add_new_free_space()
468 if (extent_start <= start) { in add_new_free_space()
470 } else if (extent_start > start && extent_start < end) { in add_new_free_space()
471 size = extent_start - start; in add_new_free_space()
Dextent_io.c2716 u64 extent_start = 0; in end_bio_extent_readpage() local
2825 extent_start, in end_bio_extent_readpage()
2827 extent_start = 0; in end_bio_extent_readpage()
2833 extent_start = start; in end_bio_extent_readpage()
2835 } else if (extent_start + extent_len == start) { in end_bio_extent_readpage()
2838 endio_readpage_release_extent(tree, extent_start, in end_bio_extent_readpage()
2840 extent_start = start; in end_bio_extent_readpage()
2846 endio_readpage_release_extent(tree, extent_start, extent_len, in end_bio_extent_readpage()
Dinode.c4820 u64 extent_start = 0; in btrfs_truncate_inode_items() local
4959 extent_start = btrfs_file_extent_disk_bytenr(leaf, fi); in btrfs_truncate_inode_items()
4972 extent_start != 0) in btrfs_truncate_inode_items()
4984 if (extent_start != 0) { in btrfs_truncate_inode_items()
5048 extent_start, extent_num_bytes, 0); in btrfs_truncate_inode_items()
7148 u64 extent_start = 0; in btrfs_get_extent() local
7229 extent_start = found_key.offset; in btrfs_get_extent()
7240 extent_end = extent_start + in btrfs_get_extent()
7244 extent_start); in btrfs_get_extent()
7249 extent_end = ALIGN(extent_start + size, in btrfs_get_extent()
[all …]
/fs/btrfs/tests/
Dfree-space-tree-tests.c29 u64 extent_start = 0, offset, end; in __check_free_space_extents() local
61 extent_start = offset; in __check_free_space_extents()
66 extent_start != extents[i].start || in __check_free_space_extents()
67 offset - extent_start != extents[i].length) in __check_free_space_extents()
77 extent_start != extents[i].start || in __check_free_space_extents()
78 end - extent_start != extents[i].length) in __check_free_space_extents()