Home
last modified time | relevance | path

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

/fs/btrfs/
Dstruct-funcs.c54 if (eb->map_token && offset >= eb->map_start && \
55 offset + sizeof(((type *)0)->member) <= eb->map_start + \
57 p = (type *)(eb->kaddr + part_offset - eb->map_start); \
65 unsigned long map_start; \
71 &map_start, &map_len, KM_USER1); \
77 p = (type *)(kaddr + part_offset - map_start); \
91 if (eb->map_token && offset >= eb->map_start && \
92 offset + sizeof(((type *)0)->member) <= eb->map_start + \
94 p = (type *)(eb->kaddr + part_offset - eb->map_start); \
103 unsigned long map_start; \
[all …]
Dextent_io.h99 unsigned long map_start; member
265 unsigned long *map_start,
269 unsigned long *map_start,
Dctree.c564 &parent->map_start, &parent->map_len, in btrfs_realloc_node()
795 unsigned long map_start = 0; in generic_bin_search() local
803 if (!map_token || offset < map_start || in generic_bin_search()
805 map_start + map_len) { in generic_bin_search()
814 &map_start, &map_len, KM_USER0); in generic_bin_search()
818 map_start); in generic_bin_search()
827 map_start); in generic_bin_search()
2421 &left->map_start, &left->map_len, in push_leaf_right()
2484 &right->map_start, &right->map_len, in push_leaf_right()
2603 &right->map_start, &right->map_len, in push_leaf_left()
[all …]
Dfile-item.c635 unsigned long map_start; in btrfs_csum_file_blocks() local
783 (unsigned long)item + csum_size >= map_start + map_len) { in btrfs_csum_file_blocks()
792 &map_start, &map_len, KM_USER1); in btrfs_csum_file_blocks()
Dextent_io.c3445 unsigned long *map_start, in map_private_extent_buffer() argument
3461 *map_start = 0; in map_private_extent_buffer()
3464 *map_start = ((u64)i << PAGE_CACHE_SHIFT) - start_offset; in map_private_extent_buffer()
3485 unsigned long *map_start, in map_extent_buffer() argument
3496 map_start, map_len, km); in map_extent_buffer()
3500 eb->map_start = *map_start; in map_extent_buffer()
Ddisk-io.c197 unsigned long map_start; in csum_tree_block() local
207 &map_start, &map_len, KM_USER0); in csum_tree_block()
210 cur_len = min(len, map_len - (offset - map_start)); in csum_tree_block()
211 crc = btrfs_csum_data(root, kaddr + offset - map_start, in csum_tree_block()
Dinode.c3824 u64 map_start, u64 map_len) in merge_extent_mapping() argument
3828 BUG_ON(map_start < em->start || map_start >= extent_map_end(em)); in merge_extent_mapping()
3829 start_diff = map_start - em->start; in merge_extent_mapping()
3830 em->start = map_start; in merge_extent_mapping()
/fs/ocfs2/
Dextent_map.c701 u64 map_start) in ocfs2_fiemap_inline() argument
713 if (map_start < id_count) { in ocfs2_fiemap_inline()
729 u64 map_start, u64 map_len) in ocfs2_fiemap() argument
755 ret = ocfs2_fiemap_inline(inode, di_bh, fieinfo, map_start); in ocfs2_fiemap()
759 cpos = map_start >> osb->s_clustersize_bits; in ocfs2_fiemap()
761 map_start + map_len); in ocfs2_fiemap()
Dextent_map.h54 u64 map_start, u64 map_len);