Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/btrfs/extent-tree.c find_free_extent() -> block_group_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| DATA_SOURCE | 0 | cache | r btrfs_lookup_block_group |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fs_info->remap_mutex | ||
| HALF_LOCKED2 | &pool->lock |
fs/btrfs/extent-tree.c find_free_extent() -> block_group_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| CAPPED_DATA | 0 | &cache->list | 1 |
| BIT_INFO | 0 | cache->flags | 0x0,0xfffffffffffff7ff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | cache->delalloc_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | cache->reserved | |
| LOCK2 | &space_info->groups_sem | ||
| HALF_LOCKED2 | &fs_info->remap_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct btrfs_space_info)->groups_sem |
fs/btrfs/extent-tree.c find_free_extent_clustered() -> block_group_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| CAPPED_DATA | 0 | cache | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &last_ptr->refill_lock | ||
| LOCK2 | &space_info->groups_sem | ||
| HALF_LOCKED2 | &fs_info->remap_mutex | ||
| HALF_LOCKED2 | &last_ptr->block_group->data_rwsem | ||
| HALF_LOCKED2 | &root->objectid_mutex | ||
| TYPE_LOCK | (struct btrfs_free_cluster)->refill_lock | ||
| TYPE_LOCK | (struct btrfs_space_info)->groups_sem |
fs/btrfs/extent-tree.c prepare_allocation_zoned() -> block_group_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| CAPPED_DATA | 0 | &cache->active_bg_list | 1 |
| BIT_INFO | 1 | bits | 0x1,0xffffffffffffffff |
| BIT_INFO | 1 | bits | 0x1,0xffffffffffffffff |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &fs_info->zone_active_bgs_lock | ||
| HALF_LOCKED2 | &fs_info->remap_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &root->objectid_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->zone_active_bgs_lock |