| /OK3568_Linux_fs/kernel/fs/btrfs/ |
| H A 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,
|
| H A D | raid56.c | 105 int stripe_len; member 537 if (size != rbio->nr_data * rbio->stripe_len) in rbio_is_full() 539 BUG_ON(size > rbio->nr_data * rbio->stripe_len); in rbio_is_full() 955 chunk_page = index * (rbio->stripe_len >> PAGE_SHIFT) + pagenr; in page_in_rbio() 971 static unsigned long rbio_nr_pages(unsigned long stripe_len, int nr_stripes) in rbio_nr_pages() argument 973 return DIV_ROUND_UP(stripe_len, PAGE_SIZE) * nr_stripes; in rbio_nr_pages() 982 u64 stripe_len) in alloc_rbio() argument 987 int num_pages = rbio_nr_pages(stripe_len, real_stripes); in alloc_rbio() 988 int stripe_npages = DIV_ROUND_UP(stripe_len, PAGE_SIZE); in alloc_rbio() 1009 rbio->stripe_len = stripe_len; in alloc_rbio() [all …]
|
| H A D | scrub.c | 134 u64 stripe_len; member 2305 if (len >= sparity->stripe_len) { in __scrub_mark_bitmap() 2311 start = div64_u64_rem(start, sparity->stripe_len, &offset); in __scrub_mark_bitmap() 2413 blocksize = map->stripe_len; in scrub_extent() 2422 blocksize = map->stripe_len; in scrub_extent() 2557 blocksize = sparity->stripe_len; in scrub_extent_for_parity() 2559 blocksize = sparity->stripe_len; in scrub_extent_for_parity() 2613 *offset = last_offset + i * map->stripe_len; in get_raid56_logic_offset() 2615 stripe_nr = div64_u64(*offset, map->stripe_len); in get_raid56_logic_offset() 2628 *offset = last_offset + j * map->stripe_len; in get_raid56_logic_offset() [all …]
|
| H A D | volumes.c | 5142 map->stripe_len = BTRFS_STRIPE_LEN; in create_chunk() 5338 btrfs_set_stack_chunk_stripe_len(chunk, map->stripe_len); in btrfs_finish_chunk_alloc() 5341 btrfs_set_stack_chunk_io_align(chunk, map->stripe_len); in btrfs_finish_chunk_alloc() 5342 btrfs_set_stack_chunk_io_width(chunk, map->stripe_len); in btrfs_finish_chunk_alloc() 5502 len = map->stripe_len * nr_data_stripes(map); in btrfs_full_stripe_len() 5650 u64 stripe_len; in __btrfs_map_block_for_discard() local 5680 stripe_len = map->stripe_len; in __btrfs_map_block_for_discard() 5685 stripe_nr = div64_u64(offset, stripe_len); in __btrfs_map_block_for_discard() 5688 stripe_offset = offset - stripe_nr * stripe_len; in __btrfs_map_block_for_discard() 5690 stripe_nr_end = round_up(offset + length, map->stripe_len); in __btrfs_map_block_for_discard() [all …]
|
| H A D | block-group.c | 1659 u64 physical, u64 **logical, int *naddrs, int *stripe_len) in btrfs_rmap_block() argument 1676 io_stripe_size = map->stripe_len; in btrfs_rmap_block() 1680 io_stripe_size = map->stripe_len * nr_data_stripes(map); in btrfs_rmap_block() 1698 stripe_nr = div64_u64(stripe_nr, map->stripe_len); in btrfs_rmap_block() 1728 *stripe_len = io_stripe_size; in btrfs_rmap_block() 1739 int stripe_len; in exclude_super_stripes() local 1743 stripe_len = BTRFS_SUPER_INFO_OFFSET - cache->start; in exclude_super_stripes() 1744 cache->bytes_super += stripe_len; in exclude_super_stripes() 1746 stripe_len); in exclude_super_stripes() 1754 bytenr, &logical, &nr, &stripe_len); in exclude_super_stripes() [all …]
|
| H A D | volumes.h | 26 u64 stripe_len; member 374 u64 stripe_len; member
|
| H A D | tree-checker.c | 758 u64 stripe_len; in btrfs_check_chunk_valid() local 769 stripe_len = btrfs_chunk_stripe_len(leaf, chunk); in btrfs_check_chunk_valid() 818 if (!is_power_of_2(stripe_len) || stripe_len != BTRFS_STRIPE_LEN) { in btrfs_check_chunk_valid() 821 stripe_len); in btrfs_check_chunk_valid()
|
| H A D | block-group.h | 305 u64 physical, u64 **logical, int *naddrs, int *stripe_len);
|
| H A D | ctree.h | 1586 BTRFS_SETGET_FUNCS(chunk_stripe_len, struct btrfs_chunk, stripe_len, 64); 1604 stripe_len, 64);
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/ |
| H A D | btrfs_tree.h | 411 __le64 stripe_len; member
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | btrfs_tree.h | 423 __le64 stripe_len; member
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/ |
| H A D | btrfs_tree.h | 411 __le64 stripe_len; member
|
| /OK3568_Linux_fs/kernel/fs/btrfs/tests/ |
| H A D | extent-map-tests.c | 487 map->stripe_len = BTRFS_STRIPE_LEN; in test_rmap_block()
|