Home
last modified time | relevance | path

Searched refs:extent_map_end (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.15/fs/btrfs/
Dextent_map.c109 } else if (em->start >= extent_map_end(entry)) { in tree_insert()
118 while (parent && em->start >= extent_map_end(entry)) { in tree_insert()
123 if (end > entry->start && em->start < extent_map_end(entry)) in tree_insert()
133 if (end > entry->start && em->start < extent_map_end(entry)) in tree_insert()
162 else if (offset >= extent_map_end(entry)) in __tree_search()
170 while (prev && offset >= extent_map_end(prev_entry)) { in __tree_search()
221 if (extent_map_end(prev) == next->start && in mergable_maps()
442 if (strict && !(end > em->start && start < extent_map_end(em))) in __lookup_extent_mapping()
554 BUG_ON(map_start < em->start || map_start >= extent_map_end(em)); in merge_extent_mapping()
564 start = prev ? extent_map_end(prev) : em->start; in merge_extent_mapping()
[all …]
Dextent_map.h63 static inline u64 extent_map_end(struct extent_map *em) in extent_map_end() function
Dextent_io.c3525 start < extent_map_end(em)) { in __get_extent_map()
3623 BUG_ON(extent_map_end(em) <= cur); in btrfs_do_readpage()
3632 iosize = min(extent_map_end(em) - cur, end - cur + 1); in btrfs_do_readpage()
3633 cur_end = min(extent_map_end(em) - 1, end); in btrfs_do_readpage()
3966 em_end = extent_map_end(em); in __extent_writepage_io()
5268 extent_map_end(em) - 1, in try_release_extent_mapping()
5306 start = extent_map_end(em); in try_release_extent_mapping()
5346 offset = extent_map_end(em); in get_extent_skip_holes()
5573 if (em->start >= max || extent_map_end(em) < off) in extent_fiemap()
5592 em_end = extent_map_end(em); in extent_fiemap()
[all …]
Dioctl.c1007 end = extent_map_end(em); in check_defrag_in_cache()
1188 *defrag_end = extent_map_end(em); in should_defrag_range()
1191 *skip = extent_map_end(em); in should_defrag_range()
1356 search_start = extent_map_end(em); in cluster_pages_for_defrag()
Dcompression.c624 (last_offset + PAGE_SIZE > extent_map_end(em)) || in add_ra_bio_pages()
Dfile.c3457 last_byte = min(extent_map_end(em), alloc_end); in btrfs_fallocate()
3458 actual_end = min_t(u64, extent_map_end(em), offset + len); in btrfs_fallocate()
Dinode.c2610 search_start = extent_map_end(em); in btrfs_find_new_delalloc_bytes()
5228 last_byte = min(extent_map_end(em), block_end); in btrfs_cont_expand()
7213 extent_map_end(em) - 1, NULL, GFP_NOFS); in btrfs_get_extent()
7224 if (em->start > start || extent_map_end(em) <= start) { in btrfs_get_extent()
7309 const u64 hole_end = extent_map_end(hole_em); in btrfs_get_extent_fiemap()
Dvolumes.c7433 next_start = extent_map_end(em); in btrfs_check_rw_degradable()
/Linux-v5.15/fs/btrfs/tests/
Dextent-map-tests.c122 (em->start != 0 || extent_map_end(em) != SZ_16K || in test_case_1()
210 (em->start != 0 || extent_map_end(em) != SZ_1K || in test_case_2()
277 (start < em->start || start + len > extent_map_end(em) || in __test_case_3()
391 if (em && (start < em->start || start + len > extent_map_end(em))) { in __test_case_4()