Home
last modified time | relevance | path

Searched refs:stripe_len (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/fs/btrfs/
Dscrub.c140 u32 stripe_len; member
2539 if (len >= sparity->stripe_len) { in __scrub_mark_bitmap()
2545 start = div64_u64_rem(start, sparity->stripe_len, &offset); in __scrub_mark_bitmap()
2677 blocksize = map->stripe_len; in scrub_extent()
2686 blocksize = map->stripe_len; in scrub_extent()
2819 blocksize = sparity->stripe_len; in scrub_extent_for_parity()
2821 blocksize = sparity->stripe_len; in scrub_extent_for_parity()
2875 *offset = last_offset + i * map->stripe_len; in get_raid56_logic_offset()
2877 stripe_nr = div64_u64(*offset, map->stripe_len); in get_raid56_logic_offset()
2890 *offset = last_offset + j * map->stripe_len; in get_raid56_logic_offset()
[all …]
Dvolumes.c5397 map->stripe_len = BTRFS_STRIPE_LEN; in create_chunk()
5605 btrfs_set_stack_chunk_stripe_len(chunk, map->stripe_len); in btrfs_chunk_alloc_add_chunk_item()
5608 btrfs_set_stack_chunk_io_align(chunk, map->stripe_len); in btrfs_chunk_alloc_add_chunk_item()
5609 btrfs_set_stack_chunk_io_width(chunk, map->stripe_len); in btrfs_chunk_alloc_add_chunk_item()
5799 len = map->stripe_len * nr_data_stripes(map); in btrfs_full_stripe_len()
5962 u64 stripe_len; in btrfs_map_discard() local
5989 stripe_len = map->stripe_len; in btrfs_map_discard()
5994 stripe_nr = div64_u64(offset, stripe_len); in btrfs_map_discard()
5997 stripe_offset = offset - stripe_nr * stripe_len; in btrfs_map_discard()
5999 stripe_nr_end = round_up(offset + length, map->stripe_len); in btrfs_map_discard()
[all …]
Dblock-group.c1760 int *naddrs, int *stripe_len) in btrfs_rmap_block() argument
1777 io_stripe_size = map->stripe_len; in btrfs_rmap_block()
1782 io_stripe_size = map->stripe_len * nr_data_stripes(map); in btrfs_rmap_block()
1804 stripe_nr = div64_u64_rem(stripe_nr, map->stripe_len, &offset); in btrfs_rmap_block()
1833 *stripe_len = io_stripe_size; in btrfs_rmap_block()
1845 int stripe_len; in exclude_super_stripes() local
1849 stripe_len = BTRFS_SUPER_INFO_OFFSET - cache->start; in exclude_super_stripes()
1850 cache->bytes_super += stripe_len; in exclude_super_stripes()
1852 stripe_len); in exclude_super_stripes()
1860 bytenr, &logical, &nr, &stripe_len); in exclude_super_stripes()
[all …]
Dvolumes.h60 u32 stripe_len; member
545 u32 stripe_len; member
Dtree-checker.c782 u64 stripe_len; in btrfs_check_chunk_valid() local
793 stripe_len = btrfs_chunk_stripe_len(leaf, chunk); in btrfs_check_chunk_valid()
842 if (unlikely(!is_power_of_2(stripe_len) || stripe_len != BTRFS_STRIPE_LEN)) { in btrfs_check_chunk_valid()
845 stripe_len); in btrfs_check_chunk_valid()
Dblock-group.h327 int *naddrs, int *stripe_len);
Dzoned.c1687 int nr, stripe_len; in btrfs_rewrite_logical_zoned() local
1696 &stripe_len))) in btrfs_rewrite_logical_zoned()
Dctree.h1909 BTRFS_SETGET_FUNCS(chunk_stripe_len, struct btrfs_chunk, stripe_len, 64);
1927 stripe_len, 64);
/linux-6.1.9/include/uapi/linux/
Dbtrfs_tree.h452 __le64 stripe_len; member
/linux-6.1.9/fs/btrfs/tests/
Dextent-map-tests.c489 map->stripe_len = BTRFS_STRIPE_LEN; in test_rmap_block()