Home
last modified time | relevance | path

Searched refs:extent_len (Results 1 – 6 of 6) sorted by relevance

/fs/btrfs/
Dscrub.c245 u64 extent_logical, u64 extent_len,
2838 u64 extent_len; in scrub_raid56_parity() local
2952 extent_len = bytes; in scrub_raid56_parity()
2955 extent_len -= logic_start - extent_logical; in scrub_raid56_parity()
2959 if (extent_logical + extent_len > in scrub_raid56_parity()
2961 extent_len = logic_start + map->stripe_len - in scrub_raid56_parity()
2965 extent_len); in scrub_raid56_parity()
2967 mapped_length = extent_len; in scrub_raid56_parity()
2973 if (!bbio || mapped_length < extent_len) in scrub_raid56_parity()
2987 extent_logical + extent_len - 1, in scrub_raid56_parity()
[all …]
Dextent_io.c2717 u64 extent_len = 0; in end_bio_extent_readpage() local
2823 if (extent_len) { in end_bio_extent_readpage()
2826 extent_len, 1); in end_bio_extent_readpage()
2828 extent_len = 0; in end_bio_extent_readpage()
2832 } else if (!extent_len) { in end_bio_extent_readpage()
2834 extent_len = end + 1 - start; in end_bio_extent_readpage()
2835 } else if (extent_start + extent_len == start) { in end_bio_extent_readpage()
2836 extent_len += end + 1 - start; in end_bio_extent_readpage()
2839 extent_len, uptodate); in end_bio_extent_readpage()
2841 extent_len = end + 1 - start; in end_bio_extent_readpage()
[all …]
Dsend.c1207 u64 extent_len; member
1282 offset + bctx->extent_len > in __iterate_backrefs()
1296 if (found->offset > offset + bctx->extent_len) in __iterate_backrefs()
1418 backref_ctx->extent_len = num_bytes; in find_extent_clone()
1439 backref_ctx->extent_len = ino_size - data_offset; in find_extent_clone()
Dctree.c4426 u64 extent_len = 0; in setup_leaf_for_split() local
4443 extent_len = btrfs_file_extent_num_bytes(leaf, fi); in setup_leaf_for_split()
4469 if (extent_len != btrfs_file_extent_num_bytes(leaf, fi)) in setup_leaf_for_split()
Dinode.c2919 u64 extent_len; in relink_extent_backref() local
2932 extent_len = btrfs_file_extent_num_bytes(leaf, fi); in relink_extent_backref()
2934 if (extent_len + found_key.offset == start && in relink_extent_backref()
2937 extent_len + len); in relink_extent_backref()
/fs/ocfs2/
Dfile.c2137 u32 cpos, clusters, extent_len, phys_cpos; in ocfs2_check_range_for_refcount() local
2149 ret = ocfs2_get_clusters(inode, cpos, &phys_cpos, &extent_len, in ocfs2_check_range_for_refcount()
2161 if (extent_len > clusters) in ocfs2_check_range_for_refcount()
2162 extent_len = clusters; in ocfs2_check_range_for_refcount()
2164 clusters -= extent_len; in ocfs2_check_range_for_refcount()
2165 cpos += extent_len; in ocfs2_check_range_for_refcount()