Lines Matching refs:map_length
1899 u64 map_length; in btrfs_merge_bio_hook() local
1906 map_length = length; in btrfs_merge_bio_hook()
1907 ret = btrfs_map_block(fs_info, btrfs_op(bio), logical, &map_length, in btrfs_merge_bio_hook()
1911 if (map_length < length + size) in btrfs_merge_bio_hook()
8267 u64 map_length; in btrfs_submit_direct_hook() local
8275 map_length = orig_bio->bi_iter.bi_size; in btrfs_submit_direct_hook()
8276 submit_len = map_length; in btrfs_submit_direct_hook()
8278 &map_length, NULL, 0); in btrfs_submit_direct_hook()
8282 if (map_length >= submit_len) { in btrfs_submit_direct_hook()
8295 ASSERT(map_length <= INT_MAX); in btrfs_submit_direct_hook()
8298 clone_len = min_t(int, submit_len, map_length); in btrfs_submit_direct_hook()
8335 map_length = submit_len; in btrfs_submit_direct_hook()
8337 start_sector << 9, &map_length, NULL, 0); in btrfs_submit_direct_hook()