Home
last modified time | relevance | path

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

/linux-4.19.296/fs/btrfs/
Dextent_map.c107 else if (em->start >= extent_map_end(entry)) in tree_insert()
114 while (parent && em->start >= extent_map_end(entry)) { in tree_insert()
119 if (end > entry->start && em->start < extent_map_end(entry)) in tree_insert()
129 if (end > entry->start && em->start < extent_map_end(entry)) in tree_insert()
158 else if (offset >= extent_map_end(entry)) in __tree_search()
166 while (prev && offset >= extent_map_end(prev_entry)) { in __tree_search()
210 if (extent_map_end(prev) == next->start && in mergable_maps()
393 if (strict && !(end > em->start && start < extent_map_end(em))) in __lookup_extent_mapping()
505 BUG_ON(map_start < em->start || map_start >= extent_map_end(em)); in merge_extent_mapping()
515 start = prev ? extent_map_end(prev) : em->start; in merge_extent_mapping()
[all …]
Dextent_map.h62 static inline u64 extent_map_end(struct extent_map *em) in extent_map_end() function
Dextent_io.c2879 start < extent_map_end(em)) { in __get_extent_map()
2978 BUG_ON(extent_map_end(em) <= cur); in __do_readpage()
2987 iosize = min(extent_map_end(em) - cur, end - cur + 1); in __do_readpage()
2988 cur_end = min(extent_map_end(em) - 1, end); in __do_readpage()
3402 em_end = extent_map_end(em); in __extent_writepage_io()
4377 extent_map_end(em) - 1, in try_release_extent_mapping()
4386 start = extent_map_end(em); in try_release_extent_mapping()
4427 offset = extent_map_end(em); in get_extent_skip_holes()
4643 if (em->start >= max || extent_map_end(em) < off) in extent_fiemap()
4662 em_end = extent_map_end(em); in extent_fiemap()
[all …]
Dfile.c498 search_start = extent_map_end(em); in btrfs_find_new_delalloc_bytes()
3178 last_byte = min(extent_map_end(em), alloc_end); in btrfs_fallocate()
3179 actual_end = min_t(u64, extent_map_end(em), offset + len); in btrfs_fallocate()
Dcompression.c489 (last_offset + PAGE_SIZE > extent_map_end(em)) || in add_ra_bio_pages()
Dioctl.c1040 end = extent_map_end(em); in check_defrag_in_cache()
1221 *defrag_end = extent_map_end(em); in should_defrag_range()
1224 *skip = extent_map_end(em); in should_defrag_range()
Dinode.c5164 last_byte = min(extent_map_end(em), block_end); in btrfs_cont_expand()
7133 extent_map_end(em) - 1, NULL, GFP_NOFS); in btrfs_get_extent()
7144 if (em->start > start || extent_map_end(em) <= start) { in btrfs_get_extent()
7247 u64 calc_end = extent_map_end(hole_em); in btrfs_get_extent_fiemap()
Dvolumes.c6842 next_start = extent_map_end(em); in btrfs_check_rw_degradable()
/linux-4.19.296/fs/btrfs/tests/
Dextent-map-tests.c98 (em->start != 0 || extent_map_end(em) != SZ_16K || in test_case_1()
162 (em->start != 0 || extent_map_end(em) != SZ_1K || in test_case_2()
213 (start < em->start || start + len > extent_map_end(em) || in __test_case_3()
296 (start < em->start || start + len > extent_map_end(em))) in __test_case_4()