Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/btrfs/block-group.c btrfs_chunk_alloc() -> btrfs_mixed_space_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | space_info | 4096-ptr_max |
| DATA_SOURCE | 0 | space_info | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | space_info->bytes_may_use | |
| LOCK2 | &fs_info->chunk_mutex | ||
| HALF_LOCKED2 | &fs_info->ro_block_group_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->chunk_mutex |
fs/btrfs/block-group.c btrfs_delete_unused_bgs() -> btrfs_mixed_space_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &fs_info->reclaim_bgs_lock | ||
| LOCK2 | &fs_info->unused_bgs_lock | ||
| TYPE_LOCK | (struct btrfs_fs_info)->reclaim_bgs_lock | ||
| TYPE_LOCK | (struct btrfs_fs_info)->unused_bgs_lock |
fs/btrfs/extent-tree.c fetch_cluster_info() -> btrfs_mixed_space_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | space_info | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |