Home
last modified time | relevance | path

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

/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()
64 extent_start != extents[i].start || in __check_free_space_extents()
65 offset - extent_start != extents[i].length) in __check_free_space_extents()
75 extent_start != extents[i].start || in __check_free_space_extents()
76 end - extent_start != extents[i].length) in __check_free_space_extents()
/fs/btrfs/
Dfile-item.c1057 u64 extent_start, extent_end; in btrfs_extent_item_to_extent_map() local
1063 extent_start = key.offset; in btrfs_extent_item_to_extent_map()
1068 em->start = extent_start; in btrfs_extent_item_to_extent_map()
1069 em->len = extent_end - extent_start; in btrfs_extent_item_to_extent_map()
1070 em->orig_start = extent_start - in btrfs_extent_item_to_extent_map()
1092 em->start = extent_start; in btrfs_extent_item_to_extent_map()
1093 em->len = extent_end - extent_start; in btrfs_extent_item_to_extent_map()
1107 "root %llu", type, btrfs_ino(inode), extent_start, in btrfs_extent_item_to_extent_map()
Dfree-space-cache.c1077 u64 start, extent_start, extent_end, len; in write_pinned_extent_entries() local
1097 &extent_start, &extent_end, in write_pinned_extent_entries()
1103 if (extent_start >= block_group->start + block_group->length) in write_pinned_extent_entries()
1106 extent_start = max(extent_start, start); in write_pinned_extent_entries()
1109 len = extent_end - extent_start; in write_pinned_extent_entries()
1112 ret = io_ctl_add_entry(io_ctl, extent_start, len, NULL); in write_pinned_extent_entries()
3461 u64 extent_start; in trim_no_bitmap() local
3493 extent_start = entry->offset; in trim_no_bitmap()
3522 start = max(start, extent_start); in trim_no_bitmap()
3523 bytes = min(extent_start + extent_bytes, end) - start; in trim_no_bitmap()
[all …]
Dfree-space-tree.c1409 u64 extent_start = 0; in load_free_space_bitmaps() local
1442 extent_start = offset; in load_free_space_bitmaps()
1445 extent_start, in load_free_space_bitmaps()
1458 total_found += add_new_free_space(block_group, extent_start, in load_free_space_bitmaps()
Dblock-group.c464 u64 extent_start, extent_end, size, total_added = 0; in add_new_free_space() local
469 &extent_start, &extent_end, in add_new_free_space()
475 if (extent_start <= start) { in add_new_free_space()
477 } else if (extent_start > start && extent_start < end) { in add_new_free_space()
478 size = extent_start - start; in add_new_free_space()
Dextent_io.c2809 u64 extent_start = 0; in end_bio_extent_readpage() local
2920 extent_start, in end_bio_extent_readpage()
2922 extent_start = 0; in end_bio_extent_readpage()
2928 extent_start = start; in end_bio_extent_readpage()
2930 } else if (extent_start + extent_len == start) { in end_bio_extent_readpage()
2933 endio_readpage_release_extent(tree, extent_start, in end_bio_extent_readpage()
2935 extent_start = start; in end_bio_extent_readpage()
2941 endio_readpage_release_extent(tree, extent_start, extent_len, in end_bio_extent_readpage()
Dinode.c4222 u64 extent_start = 0; in btrfs_truncate_inode_items() local
4365 extent_start = btrfs_file_extent_disk_bytenr(leaf, fi); in btrfs_truncate_inode_items()
4379 extent_start != 0) in btrfs_truncate_inode_items()
4391 if (extent_start != 0) { in btrfs_truncate_inode_items()
4476 extent_start, extent_num_bytes, 0); in btrfs_truncate_inode_items()
6595 u64 extent_start = 0; in btrfs_get_extent() local
6674 extent_start = found_key.offset; in btrfs_get_extent()
6687 extent_start); in btrfs_get_extent()
6691 extent_start); in btrfs_get_extent()
6738 extent_offset = page_offset(page) + pg_offset - extent_start; in btrfs_get_extent()
[all …]