Home
last modified time | relevance | path

Searched refs:extent_end (Results 1 – 14 of 14) sorted by relevance

/openbmc/linux/fs/btrfs/
H A Dfile.c215 u64 extent_end = 0; in btrfs_drop_extents() local
318 if (extent_end == key.offset && extent_end >= search_start) { in btrfs_drop_extents()
319 last_end = extent_end; in btrfs_drop_extents()
394 last_end = extent_end; in btrfs_drop_extents()
461 extent_end = ALIGN(extent_end, in btrfs_drop_extents()
560 u64 extent_end; in extent_mergeable() local
583 *end = extent_end; in extent_mergeable()
606 u64 extent_end; in btrfs_mark_extent_written() local
766 extent_end = end; in btrfs_mark_extent_written()
3593 u64 extent_end; in find_desired_extent() local
[all …]
H A Dfile-item.c1274 u64 extent_start, extent_end; in btrfs_extent_item_to_extent_map() local
1281 extent_end = btrfs_file_extent_end(path); in btrfs_extent_item_to_extent_map()
1287 em->len = extent_end - extent_start; in btrfs_extent_item_to_extent_map()
1311 em->len = extent_end - extent_start; in btrfs_extent_item_to_extent_map()
H A Ddefrag.c540 u64 extent_end; in defrag_get_extent() local
575 extent_end = btrfs_file_extent_end(&path); in defrag_get_extent()
583 if (extent_end <= start) in defrag_get_extent()
H A Dextent_io.c3057 u64 extent_end; in extent_fiemap() local
3070 extent_end = btrfs_file_extent_end(path); in extent_fiemap()
3076 if (extent_end <= range_start) in extent_fiemap()
3104 extent_len = extent_end - key.offset; in extent_fiemap()
3131 extent_end - 1); in extent_fiemap()
3137 key.offset, extent_end - 1); in extent_fiemap()
3164 prev_extent_end = extent_end; in extent_fiemap()
H A Dtree-log.c652 u64 extent_end; in replay_one_extent() local
666 extent_end = start + nbytes; in replay_one_extent()
677 extent_end = ALIGN(start + size, in replay_one_extent()
728 drop_args.end = extent_end; in replay_one_extent()
906 extent_end - start); in replay_one_extent()
4778 u64 extent_end; in btrfs_log_prealloc_extents() local
4781 extent_end = key.offset + in btrfs_log_prealloc_extents()
4784 if (extent_end > i_size) in btrfs_log_prealloc_extents()
4785 truncate_offset = extent_end; in btrfs_log_prealloc_extents()
H A Dfree-space-cache.c1204 u64 start, extent_start, extent_end, len; in write_pinned_extent_entries() local
1224 &extent_start, &extent_end, in write_pinned_extent_entries()
1233 extent_end = min(block_group->start + block_group->length, in write_pinned_extent_entries()
1234 extent_end + 1); in write_pinned_extent_entries()
1235 len = extent_end - extent_start; in write_pinned_extent_entries()
1242 start = extent_end; in write_pinned_extent_entries()
H A Dinode.c1862 u64 extent_end; in can_nocow_file_extent() local
1903 extent_end = btrfs_file_extent_end(path); in can_nocow_file_extent()
2000 u64 extent_end; in run_delalloc_nocow() local
2062 extent_end = found_key.offset; in run_delalloc_nocow()
2081 extent_end = btrfs_file_extent_end(path); in run_delalloc_nocow()
2087 if (extent_end <= cur_offset) { in run_delalloc_nocow()
2112 cur_offset = extent_end; in run_delalloc_nocow()
2189 cur_offset = extent_end; in run_delalloc_nocow()
6775 u64 extent_end = 0; in btrfs_get_extent() local
6849 extent_end = start; in btrfs_get_extent()
[all …]
H A Dblock-group.c523 u64 extent_start, extent_end, size; in btrfs_add_new_free_space() local
531 &extent_start, &extent_end, in btrfs_add_new_free_space()
537 start = extent_end + 1; in btrfs_add_new_free_space()
546 start = extent_end + 1; in btrfs_add_new_free_space()
H A Dtree-checker.c211 u64 extent_end; in check_extent_data_item() local
311 key->offset, &extent_end))) { in check_extent_data_item()
H A Drelocation.c2977 u64 extent_end = get_cluster_boundary_end(cluster, in relocate_one_page() local
2980 u64 clamped_end = min(page_end, extent_end); in relocate_one_page()
3032 if (cur >= extent_end) { in relocate_one_page()
H A Dvolumes.c1605 u64 extent_end; in find_free_dev_extent() local
1693 extent_end = key.offset + btrfs_dev_extent_length(l, in find_free_dev_extent()
1695 if (extent_end > search_start) in find_free_dev_extent()
1696 search_start = extent_end; in find_free_dev_extent()
H A Dsend.c6480 u64 extent_end; in range_is_hole_in_parent() local
6501 extent_end = btrfs_file_extent_end(path); in range_is_hole_in_parent()
6502 if (extent_end <= start) in range_is_hole_in_parent()
6505 search_start = extent_end; in range_is_hole_in_parent()
/openbmc/linux/fs/smb/server/
H A Dvfs.c1005 loff_t extent_start, extent_end; in ksmbd_vfs_fqar_lseek() local
1036 extent_end = vfs_llseek(f, extent_start, SEEK_HOLE); in ksmbd_vfs_fqar_lseek()
1037 if (extent_end < 0) { in ksmbd_vfs_fqar_lseek()
1038 if (extent_end != -ENXIO) in ksmbd_vfs_fqar_lseek()
1039 ret = (int)extent_end; in ksmbd_vfs_fqar_lseek()
1041 } else if (extent_start >= extent_end) { in ksmbd_vfs_fqar_lseek()
1047 cpu_to_le64(min(extent_end, end) - extent_start); in ksmbd_vfs_fqar_lseek()
1049 start = extent_end; in ksmbd_vfs_fqar_lseek()
/openbmc/linux/include/trace/events/
H A Dbtrfs.h391 __field( u64, extent_end )
407 __entry->extent_end = (start + __entry->num_bytes);
419 __entry->extent_end, __entry->num_bytes, __entry->ram_bytes,
441 __field( u64, extent_end )
453 __entry->extent_end = (start + btrfs_file_extent_ram_bytes(l, fi));
462 __entry->extent_end, __print_symbolic(__entry->extent_type, FI_TYPES),