Home
last modified time | relevance | path

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

/linux-4.19.296/fs/btrfs/
Dscrub.c243 u64 extent_logical, u64 extent_len,
2836 u64 extent_len; in scrub_raid56_parity() local
2950 extent_len = bytes; in scrub_raid56_parity()
2953 extent_len -= logic_start - extent_logical; in scrub_raid56_parity()
2957 if (extent_logical + extent_len > in scrub_raid56_parity()
2959 extent_len = logic_start + map->stripe_len - in scrub_raid56_parity()
2963 extent_len); in scrub_raid56_parity()
2965 mapped_length = extent_len; in scrub_raid56_parity()
2971 if (!bbio || mapped_length < extent_len) in scrub_raid56_parity()
2985 extent_logical + extent_len - 1, in scrub_raid56_parity()
[all …]
Dextent_io.c2564 u64 extent_len = 0; in end_bio_extent_readpage() local
2671 if (extent_len) { in end_bio_extent_readpage()
2674 extent_len, 1); in end_bio_extent_readpage()
2676 extent_len = 0; in end_bio_extent_readpage()
2680 } else if (!extent_len) { in end_bio_extent_readpage()
2682 extent_len = end + 1 - start; in end_bio_extent_readpage()
2683 } else if (extent_start + extent_len == start) { in end_bio_extent_readpage()
2684 extent_len += end + 1 - start; in end_bio_extent_readpage()
2687 extent_len, uptodate); in end_bio_extent_readpage()
2689 extent_len = end + 1 - start; in end_bio_extent_readpage()
[all …]
Dsend.c1185 u64 extent_len; member
1253 if (offset + bctx->data_offset + bctx->extent_len > i_size) in __iterate_backrefs()
1280 if (found->offset > offset + bctx->extent_len) in __iterate_backrefs()
1413 backref_ctx->extent_len = num_bytes; in find_extent_clone()
1434 backref_ctx->extent_len = ino_size - data_offset; in find_extent_clone()
Dctree.c4432 u64 extent_len = 0; in setup_leaf_for_split() local
4449 extent_len = btrfs_file_extent_num_bytes(leaf, fi); in setup_leaf_for_split()
4475 if (extent_len != btrfs_file_extent_num_bytes(leaf, fi)) in setup_leaf_for_split()
Dinode.c2720 u64 extent_len; in relink_extent_backref() local
2733 extent_len = btrfs_file_extent_num_bytes(leaf, fi); in relink_extent_backref()
2735 if (extent_len + found_key.offset == start && in relink_extent_backref()
2738 extent_len + len); in relink_extent_backref()
/linux-4.19.296/fs/ocfs2/
Dfile.c2145 u32 cpos, clusters, extent_len, phys_cpos; in ocfs2_check_range_for_refcount() local
2157 ret = ocfs2_get_clusters(inode, cpos, &phys_cpos, &extent_len, in ocfs2_check_range_for_refcount()
2169 if (extent_len > clusters) in ocfs2_check_range_for_refcount()
2170 extent_len = clusters; in ocfs2_check_range_for_refcount()
2172 clusters -= extent_len; in ocfs2_check_range_for_refcount()
2173 cpos += extent_len; in ocfs2_check_range_for_refcount()