Searched refs:extent_map_end (Results 1 – 9 of 9) sorted by relevance
109 } 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()439 if (strict && !(end > em->start && start < extent_map_end(em))) in __lookup_extent_mapping()551 BUG_ON(map_start < em->start || map_start >= extent_map_end(em)); in merge_extent_mapping()561 start = prev ? extent_map_end(prev) : em->start; in merge_extent_mapping()[all …]
63 static inline u64 extent_map_end(struct extent_map *em) in extent_map_end() function
3118 start < extent_map_end(em)) { in __get_extent_map()3213 BUG_ON(extent_map_end(em) <= cur); in btrfs_do_readpage()3222 iosize = min(extent_map_end(em) - cur, end - cur + 1); in btrfs_do_readpage()3223 cur_end = min(extent_map_end(em) - 1, end); in btrfs_do_readpage()3513 em_end = extent_map_end(em); in __extent_writepage_io()4469 extent_map_end(em) - 1, in try_release_extent_mapping()4507 start = extent_map_end(em); in try_release_extent_mapping()4547 offset = extent_map_end(em); in get_extent_skip_holes()4775 if (em->start >= max || extent_map_end(em) < off) in extent_fiemap()4794 em_end = extent_map_end(em); in extent_fiemap()[all …]
1075 end = extent_map_end(em); in check_defrag_in_cache()1256 *defrag_end = extent_map_end(em); in should_defrag_range()1259 *skip = extent_map_end(em); in should_defrag_range()1417 search_start = extent_map_end(em); in cluster_pages_for_defrag()
566 (last_offset + PAGE_SIZE > extent_map_end(em)) || in add_ra_bio_pages()
3407 last_byte = min(extent_map_end(em), alloc_end); in btrfs_fallocate()3408 actual_end = min_t(u64, extent_map_end(em), offset + len); in btrfs_fallocate()
2288 search_start = extent_map_end(em); in btrfs_find_new_delalloc_bytes()4790 last_byte = min(extent_map_end(em), block_end); in btrfs_cont_expand()6766 extent_map_end(em) - 1, NULL, GFP_NOFS); in btrfs_get_extent()6777 if (em->start > start || extent_map_end(em) <= start) { in btrfs_get_extent()6862 const u64 hole_end = extent_map_end(hole_em); in btrfs_get_extent_fiemap()
7075 next_start = extent_map_end(em); in btrfs_check_rw_degradable()
122 (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()