Searched refs:extent_map_end (Results 1 – 7 of 7) sorted by relevance
96 else if (offset >= extent_map_end(entry)) in tree_insert()132 else if (offset >= extent_map_end(entry)) in __tree_search()140 while (prev && offset >= extent_map_end(prev_entry)) { in __tree_search()172 if (extent_map_end(prev) == next->start && in mergable_maps()327 if (end > em->start && start < extent_map_end(em)) in lookup_extent_mapping()332 if (end > em->start && start < extent_map_end(em)) in lookup_extent_mapping()344 if (end > em->start && start < extent_map_end(em)) in lookup_extent_mapping()
38 static inline u64 extent_map_end(struct extent_map *em) in extent_map_end() function
2065 BUG_ON(extent_map_end(em) <= cur); in __extent_read_full_page()2074 iosize = min(extent_map_end(em) - cur, end - cur + 1); in __extent_read_full_page()2075 cur_end = min(extent_map_end(em) - 1, end); in __extent_read_full_page()2350 BUG_ON(extent_map_end(em) <= cur); in __extent_writepage()2352 iosize = min(extent_map_end(em) - cur, end - cur + 1); in __extent_writepage()2775 cur_end = min(block_end, extent_map_end(em) - 1); in extent_prepare_write()2913 extent_map_end(em) - 1, in try_release_extent_mapping()2920 start = extent_map_end(em); in try_release_extent_mapping()2989 offset = extent_map_end(em); in get_extent_skip_holes()3088 if (em->start >= max || extent_map_end(em) < off) in extent_fiemap()[all …]
499 (last_offset + PAGE_CACHE_SIZE > extent_map_end(em)) || in add_ra_bio_pages()
718 *defrag_end = extent_map_end(em); in should_defrag_range()721 *skip = extent_map_end(em); in should_defrag_range()
3639 last_byte = min(extent_map_end(em), block_end); in btrfs_cont_expand()4974 BUG_ON(map_start < em->start || map_start >= extent_map_end(em)); in merge_extent_mapping()5239 extent_map_end(em) - 1, NULL, GFP_NOFS); in btrfs_get_extent()5253 if (em->start > start || extent_map_end(em) <= start) { in btrfs_get_extent()5399 u64 calc_end = extent_map_end(hole_em); in btrfs_get_extent_fiemap()
1379 last_byte = min(extent_map_end(em), alloc_end); in btrfs_fallocate()