Searched refs:extent_map_end (Results 1 – 9 of 9) sorted by relevance
107 } else if (em->start >= extent_map_end(entry)) { in tree_insert()116 while (parent && em->start >= extent_map_end(entry)) { in tree_insert()121 if (end > entry->start && em->start < extent_map_end(entry)) in tree_insert()131 if (end > entry->start && em->start < extent_map_end(entry)) in tree_insert()161 else if (offset >= extent_map_end(entry)) in __tree_search()168 while (prev && offset >= extent_map_end(prev_entry)) { in __tree_search()225 if (extent_map_end(prev) == next->start && in mergable_maps()447 if (strict && !(end > em->start && start < extent_map_end(em))) in __lookup_extent_mapping()563 BUG_ON(map_start < em->start || map_start >= extent_map_end(em)); in merge_extent_mapping()573 start = prev ? extent_map_end(prev) : em->start; in merge_extent_mapping()[all …]
73 static inline u64 extent_map_end(struct extent_map *em) in extent_map_end() function
1716 start < extent_map_end(em)) { in __get_extent_map()1803 BUG_ON(extent_map_end(em) <= cur); in btrfs_do_readpage()1809 iosize = min(extent_map_end(em) - cur, end - cur + 1); in btrfs_do_readpage()2150 em_end = extent_map_end(em); in __extent_writepage_io()3449 extent_map_end(em) - 1, in try_release_extent_mapping()3487 start = extent_map_end(em); in try_release_extent_mapping()
3444 last_byte = min(extent_map_end(em), alloc_end); in btrfs_fallocate()3445 actual_end = min_t(u64, extent_map_end(em), offset + len); in btrfs_fallocate()3577 em_end = em ? extent_map_end(em) : 0; in find_delalloc_subrange()3592 em_end = next_em ? extent_map_end(next_em) : 0; in find_delalloc_subrange()
608 (cur + fs_info->sectorsize > extent_map_end(em)) || in add_ra_bio_pages()
2824 search_start = extent_map_end(em); in btrfs_find_new_delalloc_bytes()5083 last_byte = min(extent_map_end(em), block_end); in btrfs_cont_expand()7024 if (em->start > start || extent_map_end(em) <= start) { in btrfs_get_extent()10515 encoded->len = min_t(u64, extent_map_end(em), in btrfs_encoded_read()
1521 range_len = min(extent_map_end(em), start + len) - cur; in defrag_collect_targets()1552 cur = extent_map_end(em); in defrag_collect_targets()
7623 next_start = extent_map_end(em); in btrfs_check_rw_degradable()
124 (em->start != 0 || extent_map_end(em) != SZ_16K || in test_case_1()212 (em->start != 0 || extent_map_end(em) != SZ_1K || in test_case_2()279 (start < em->start || start + len > extent_map_end(em) || in __test_case_3()393 if (em && (start < em->start || start + len > extent_map_end(em))) { in __test_case_4()