Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/btrfs/volumes.c btrfs_calc_stripe_length() -> calc_data_stripes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| UNITS | 1 | num_stripes | unit_array_size |
fs/btrfs/volumes.c chunk_drange_filter() -> calc_data_stripes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | num_stripes | 0-u16max |
| DATA_SOURCE | 0 | type | r btrfs_chunk_type |
| DATA_SOURCE | 1 | num_stripes | r btrfs_chunk_num_stripes |
| LOCK2 | &fs_info->reclaim_bgs_lock | ||
| TYPE_LOCK | (struct btrfs_fs_info)->reclaim_bgs_lock |