Searched refs:stripe_len (Results 1 – 12 of 12) sorted by relevance
| /Linux-v5.15/fs/btrfs/ |
| D | raid56.h | 34 struct btrfs_bio *bbio, u64 stripe_len, 37 struct btrfs_bio *bbio, u64 stripe_len); 44 struct btrfs_bio *bbio, u64 stripe_len,
|
| D | raid56.c | 106 int stripe_len; member 526 if (size != rbio->nr_data * rbio->stripe_len) in rbio_is_full() 528 BUG_ON(size > rbio->nr_data * rbio->stripe_len); in rbio_is_full() 938 chunk_page = index * (rbio->stripe_len >> PAGE_SHIFT) + pagenr; in page_in_rbio() 954 static unsigned long rbio_nr_pages(unsigned long stripe_len, int nr_stripes) in rbio_nr_pages() argument 956 return DIV_ROUND_UP(stripe_len, PAGE_SIZE) * nr_stripes; in rbio_nr_pages() 965 u64 stripe_len) in alloc_rbio() argument 970 int num_pages = rbio_nr_pages(stripe_len, real_stripes); in alloc_rbio() 971 int stripe_npages = DIV_ROUND_UP(stripe_len, PAGE_SIZE); in alloc_rbio() 992 rbio->stripe_len = stripe_len; in alloc_rbio() [all …]
|
| D | scrub.c | 133 u32 stripe_len; member 2417 if (len >= sparity->stripe_len) { in __scrub_mark_bitmap() 2423 start = div64_u64_rem(start, sparity->stripe_len, &offset); in __scrub_mark_bitmap() 2551 blocksize = map->stripe_len; in scrub_extent() 2560 blocksize = map->stripe_len; in scrub_extent() 2700 blocksize = sparity->stripe_len; in scrub_extent_for_parity() 2702 blocksize = sparity->stripe_len; in scrub_extent_for_parity() 2756 *offset = last_offset + i * map->stripe_len; in get_raid56_logic_offset() 2758 stripe_nr = div64_u64(*offset, map->stripe_len); in get_raid56_logic_offset() 2771 *offset = last_offset + j * map->stripe_len; in get_raid56_logic_offset() [all …]
|
| D | volumes.c | 5313 map->stripe_len = BTRFS_STRIPE_LEN; in create_chunk() 5522 btrfs_set_stack_chunk_stripe_len(chunk, map->stripe_len); in btrfs_chunk_alloc_add_chunk_item() 5525 btrfs_set_stack_chunk_io_align(chunk, map->stripe_len); in btrfs_chunk_alloc_add_chunk_item() 5526 btrfs_set_stack_chunk_io_width(chunk, map->stripe_len); in btrfs_chunk_alloc_add_chunk_item() 5714 len = map->stripe_len * nr_data_stripes(map); in btrfs_full_stripe_len() 5873 u64 stripe_len; in __btrfs_map_block_for_discard() local 5903 stripe_len = map->stripe_len; in __btrfs_map_block_for_discard() 5908 stripe_nr = div64_u64(offset, stripe_len); in __btrfs_map_block_for_discard() 5911 stripe_offset = offset - stripe_nr * stripe_len; in __btrfs_map_block_for_discard() 5913 stripe_nr_end = round_up(offset + length, map->stripe_len); in __btrfs_map_block_for_discard() [all …]
|
| D | volumes.h | 26 u64 stripe_len; member 395 u64 stripe_len; member
|
| D | block-group.c | 1724 int *naddrs, int *stripe_len) in btrfs_rmap_block() argument 1741 io_stripe_size = map->stripe_len; in btrfs_rmap_block() 1746 io_stripe_size = map->stripe_len * nr_data_stripes(map); in btrfs_rmap_block() 1768 stripe_nr = div64_u64_rem(stripe_nr, map->stripe_len, &offset); in btrfs_rmap_block() 1798 *stripe_len = io_stripe_size; in btrfs_rmap_block() 1810 int stripe_len; in exclude_super_stripes() local 1814 stripe_len = BTRFS_SUPER_INFO_OFFSET - cache->start; in exclude_super_stripes() 1815 cache->bytes_super += stripe_len; in exclude_super_stripes() 1817 stripe_len); in exclude_super_stripes() 1825 bytenr, &logical, &nr, &stripe_len); in exclude_super_stripes() [all …]
|
| D | tree-checker.c | 765 u64 stripe_len; in btrfs_check_chunk_valid() local 776 stripe_len = btrfs_chunk_stripe_len(leaf, chunk); in btrfs_check_chunk_valid() 825 if (unlikely(!is_power_of_2(stripe_len) || stripe_len != BTRFS_STRIPE_LEN)) { in btrfs_check_chunk_valid() 828 stripe_len); in btrfs_check_chunk_valid()
|
| D | block-group.h | 299 int *naddrs, int *stripe_len);
|
| D | zoned.c | 1346 int nr, stripe_len; in btrfs_rewrite_logical_zoned() local 1355 &stripe_len))) in btrfs_rewrite_logical_zoned()
|
| D | ctree.h | 1698 BTRFS_SETGET_FUNCS(chunk_stripe_len, struct btrfs_chunk, stripe_len, 64); 1716 stripe_len, 64);
|
| /Linux-v5.15/include/uapi/linux/ |
| D | btrfs_tree.h | 447 __le64 stripe_len; member
|
| /Linux-v5.15/fs/btrfs/tests/ |
| D | extent-map-tests.c | 487 map->stripe_len = BTRFS_STRIPE_LEN; in test_rmap_block()
|