Searched refs:num_stripes (Results 1 – 5 of 5) sorted by relevance
39 int num_stripes; member1519 u32 num_stripes; in btrfs_del_sys_chunk() local1538 num_stripes = btrfs_stack_chunk_num_stripes(chunk); in btrfs_del_sys_chunk()1539 len += btrfs_chunk_item_size(num_stripes); in btrfs_del_sys_chunk()1596 for (i = 0; i < map->num_stripes; i++) { in btrfs_relocate_chunk()1921 int num_stripes, int sub_stripes) in chunk_bytes_by_type() argument1926 return calc_size * (num_stripes / sub_stripes); in chunk_bytes_by_type()1928 return calc_size * num_stripes; in chunk_bytes_by_type()1952 int num_stripes = 1; in __btrfs_alloc_chunk() local1969 num_stripes = fs_devices->rw_devices; in __btrfs_alloc_chunk()[all …]
25 int num_stripes = btrfs_chunk_num_stripes(eb, chunk); in print_chunk() local32 num_stripes); in print_chunk()33 for (i = 0 ; i < num_stripes ; i++) { in print_chunk()
112 int num_stripes; member
244 __le16 num_stripes; member252 static inline unsigned long btrfs_chunk_item_size(int num_stripes) in btrfs_chunk_item_size() argument254 BUG_ON(num_stripes == 0); in btrfs_chunk_item_size()256 sizeof(struct btrfs_stripe) * (num_stripes - 1); in btrfs_chunk_item_size()1092 BTRFS_SETGET_FUNCS(chunk_num_stripes, struct btrfs_chunk, num_stripes, 16);1114 num_stripes, 16);
916 for (i = 0; i < multi->num_stripes; i++, stripe++) { in btrfs_discard_extent()