Home
last modified time | relevance | path

Searched refs:num_stripes (Results 1 – 5 of 5) sorted by relevance

/fs/btrfs/
Dvolumes.c39 int num_stripes; member
1519 u32 num_stripes; in btrfs_del_sys_chunk() local
1538 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() argument
1926 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() local
1969 num_stripes = fs_devices->rw_devices; in __btrfs_alloc_chunk()
[all …]
Dprint-tree.c25 int num_stripes = btrfs_chunk_num_stripes(eb, chunk); in print_chunk() local
32 num_stripes); in print_chunk()
33 for (i = 0 ; i < num_stripes ; i++) { in print_chunk()
Dvolumes.h112 int num_stripes; member
Dctree.h244 __le16 num_stripes; member
252 static inline unsigned long btrfs_chunk_item_size(int num_stripes) in btrfs_chunk_item_size() argument
254 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);
Dextent-tree.c916 for (i = 0; i < multi->num_stripes; i++, stripe++) { in btrfs_discard_extent()