Searched refs:calc_size (Results 1 – 1 of 1) sorted by relevance
1920 static noinline u64 chunk_bytes_by_type(u64 type, u64 calc_size, in chunk_bytes_by_type() argument1924 return calc_size; in chunk_bytes_by_type()1926 return calc_size * (num_stripes / sub_stripes); in chunk_bytes_by_type()1928 return calc_size * num_stripes; in chunk_bytes_by_type()1946 u64 calc_size = 1024 * 1024 * 1024; in __btrfs_alloc_chunk() local1947 u64 max_chunk_size = calc_size; in __btrfs_alloc_chunk()1992 max_chunk_size = 10 * calc_size; in __btrfs_alloc_chunk()1995 max_chunk_size = 4 * calc_size; in __btrfs_alloc_chunk()1998 calc_size = 8 * 1024 * 1024; in __btrfs_alloc_chunk()1999 max_chunk_size = calc_size * 2; in __btrfs_alloc_chunk()[all …]