Searched refs:extent_map_end (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/fs/btrfs/ |
H A D | extent_map.c | 99 } else if (em->start >= extent_map_end(entry)) { in tree_insert() 108 while (parent && em->start >= extent_map_end(entry)) { in tree_insert() 113 if (end > entry->start && em->start < extent_map_end(entry)) in tree_insert() 153 else if (offset >= extent_map_end(entry)) in __tree_search() 160 while (prev && offset >= extent_map_end(prev_entry)) { in __tree_search() 217 if (extent_map_end(prev) == next->start && in mergable_maps() 571 start = prev ? extent_map_end(prev) : em->start; in merge_extent_mapping() 573 end = next ? next->start : extent_map_end(em); in merge_extent_mapping() 574 end = min_t(u64, end, extent_map_end(em)); in merge_extent_mapping() 640 start < extent_map_end(existing)) { in btrfs_add_extent_mapping() [all …]
|
H A D | extent_map.h | 73 static inline u64 extent_map_end(struct extent_map *em) in extent_map_end() function
|
H A D | defrag.c | 944 range_len = min(extent_map_end(em), start + len) - cur; in defrag_collect_targets() 975 cur = extent_map_end(em); in defrag_collect_targets()
|
H A D | extent_io.c | 938 start < extent_map_end(em)) { in __get_extent_map() 1018 BUG_ON(extent_map_end(em) <= cur); in btrfs_do_readpage() 1024 iosize = min(extent_map_end(em) - cur, end - cur + 1); in btrfs_do_readpage() 1337 em_end = extent_map_end(em); in __extent_writepage_io() 2351 extent_map_end(em) - 1, in try_release_extent_mapping() 2389 start = extent_map_end(em); in try_release_extent_mapping()
|
H A D | compression.c | 415 (cur + fs_info->sectorsize > extent_map_end(em)) || in add_ra_bio_pages()
|
H A D | file.c | 3156 last_byte = min(extent_map_end(em), alloc_end); in btrfs_fallocate() 3157 actual_end = min_t(u64, extent_map_end(em), offset + len); in btrfs_fallocate()
|
H A D | inode.c | 2642 search_start = extent_map_end(em); in btrfs_find_new_delalloc_bytes() 4922 last_byte = min(extent_map_end(em), block_end); in btrfs_cont_expand() 6936 if (em->start > start || extent_map_end(em) <= start) { in btrfs_get_extent() 10160 encoded->len = min_t(u64, extent_map_end(em), in btrfs_encoded_read()
|
H A D | volumes.c | 7227 next_start = extent_map_end(em); in btrfs_check_rw_degradable()
|
/openbmc/linux/fs/btrfs/tests/ |
H A D | extent-map-tests.c | 125 (em->start != 0 || extent_map_end(em) != SZ_16K || in test_case_1() 213 (em->start != 0 || extent_map_end(em) != SZ_1K || in test_case_2() 280 (start < em->start || start + len > extent_map_end(em) || in __test_case_3() 394 if (em && (start < em->start || start + len > extent_map_end(em))) { in __test_case_4()
|