Searched refs:extent_start (Results 1 – 8 of 8) sorted by relevance
/fs/btrfs/tests/ |
D | free-space-tree-tests.c | 29 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/ |
D | file-item.c | 1206 u64 extent_start, extent_end; in btrfs_extent_item_to_extent_map() local 1212 extent_start = key.offset; in btrfs_extent_item_to_extent_map() 1217 em->start = extent_start; in btrfs_extent_item_to_extent_map() 1218 em->len = extent_end - extent_start; in btrfs_extent_item_to_extent_map() 1219 em->orig_start = extent_start - in btrfs_extent_item_to_extent_map() 1241 em->start = extent_start; in btrfs_extent_item_to_extent_map() 1242 em->len = extent_end - extent_start; in btrfs_extent_item_to_extent_map() 1256 "root %llu", type, btrfs_ino(inode), extent_start, in btrfs_extent_item_to_extent_map()
|
D | free-space-cache.c | 1152 u64 start, extent_start, extent_end, len; in write_pinned_extent_entries() local 1172 &extent_start, &extent_end, in write_pinned_extent_entries() 1178 if (extent_start >= block_group->start + block_group->length) in write_pinned_extent_entries() 1181 extent_start = max(extent_start, start); in write_pinned_extent_entries() 1184 len = extent_end - extent_start; in write_pinned_extent_entries() 1187 ret = io_ctl_add_entry(io_ctl, extent_start, len, NULL); in write_pinned_extent_entries() 3568 u64 extent_start; in trim_no_bitmap() local 3600 extent_start = entry->offset; in trim_no_bitmap() 3629 start = max(start, extent_start); in trim_no_bitmap() 3630 bytes = min(extent_start + extent_bytes, end) - start; in trim_no_bitmap() [all …]
|
D | free-space-tree.c | 1405 u64 extent_start = 0; in load_free_space_bitmaps() local 1438 extent_start = offset; in load_free_space_bitmaps() 1441 extent_start, in load_free_space_bitmaps() 1454 total_found += add_new_free_space(block_group, extent_start, in load_free_space_bitmaps()
|
D | block-group.c | 478 u64 extent_start, extent_end, size, total_added = 0; in add_new_free_space() local 483 &extent_start, &extent_end, in add_new_free_space() 489 if (extent_start <= start) { in add_new_free_space() 491 } else if (extent_start > start && extent_start < end) { in add_new_free_space() 492 size = extent_start - start; in add_new_free_space()
|
D | inode.c | 4728 u64 extent_start = 0; in btrfs_truncate_inode_items() local 4873 extent_start = btrfs_file_extent_disk_bytenr(leaf, fi); in btrfs_truncate_inode_items() 4887 extent_start != 0) in btrfs_truncate_inode_items() 4900 if (extent_start != 0) { in btrfs_truncate_inode_items() 4987 extent_start, extent_num_bytes, 0); in btrfs_truncate_inode_items() 7154 u64 extent_start = 0; in btrfs_get_extent() local 7235 extent_start = found_key.offset; in btrfs_get_extent() 7248 extent_start); in btrfs_get_extent() 7252 extent_start); in btrfs_get_extent() 7299 extent_offset = page_offset(page) + pg_offset - extent_start; in btrfs_get_extent() [all …]
|
D | relocation.c | 3027 u64 extent_start = cluster->boundary[*cluster_nr] - offset; in relocate_one_page() local 3030 u64 clamped_start = max(page_start, extent_start); in relocate_one_page()
|
/fs/ksmbd/ |
D | vfs.c | 996 loff_t extent_start, extent_end; in ksmbd_vfs_fqar_lseek() local 1017 extent_start = vfs_llseek(f, start, SEEK_DATA); in ksmbd_vfs_fqar_lseek() 1018 if (extent_start < 0) { in ksmbd_vfs_fqar_lseek() 1019 if (extent_start != -ENXIO) in ksmbd_vfs_fqar_lseek() 1020 ret = (int)extent_start; in ksmbd_vfs_fqar_lseek() 1024 if (extent_start >= end) in ksmbd_vfs_fqar_lseek() 1027 extent_end = vfs_llseek(f, extent_start, SEEK_HOLE); in ksmbd_vfs_fqar_lseek() 1032 } else if (extent_start >= extent_end) { in ksmbd_vfs_fqar_lseek() 1036 ranges[*out_count].file_offset = cpu_to_le64(extent_start); in ksmbd_vfs_fqar_lseek() 1038 cpu_to_le64(min(extent_end, end) - extent_start); in ksmbd_vfs_fqar_lseek()
|