Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/btrfs/volumes.c init_first_rw_device() -> btrfs_metadata_alloc_profile()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPABLE | 0 | 21 | |
| UNITS | 0 | fs_info | unit_byte |
| LOCK2 | &fs_info->chunk_mutex | ||
| LOCK2 | &sb->s_umount | ||
| LOCK2 | global &uuid_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->chunk_mutex | ||
| TYPE_LOCK | (struct super_block)->s_umount |
fs/btrfs/space-info.c calc_available_free_space() -> btrfs_metadata_alloc_profile()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &space_info->lock | ||
| TYPE_LOCK | (struct btrfs_space_info)->lock |