Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/btrfs/block-group.c btrfs_make_block_group() -> btrfs_add_block_group_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | block_group | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->active_bg_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->active_bg_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->active_bg_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->bg_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->bg_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->bg_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->bg_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->cluster_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->cluster_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->cluster_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->data_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | block_group->dirty_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->dirty_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->dirty_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->discard_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->discard_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->discard_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->block_group | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->block_group->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->cache_writeout_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | block_group->free_space_ctl->cache_writeout_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->extents_thresh | 157 |
| PARAM_VALUE | 0 | block_group->free_space_ctl->total_bitmaps | 0-s32max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->tree_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | block_group->free_space_ctl->trimming_ranges.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->trimming_ranges.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->trimming_ranges.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->trimming_ranges.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->trimming_ranges.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl->work.timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.block_group | 0,4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.timer.is_queued | 0-1 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.entry.next | 1-u64max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.entry.next->next | 1-u64max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.entry.prev | 1-u64max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.entry.prev->next | 1-u64max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.entry.prev->prev | 1-u64max |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.is_hard | 0-1 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.is_lazy | 0-1 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.is_queued | 0-1 |
| PARAM_VALUE | 0 | block_group->fs_info->discard_ctl.work.work.is_soft | 0-1 |
| PARAM_VALUE | 0 | block_group->fs_info->mapping_tree_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | block_group->fs_info->reclaim_bgs.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->reclaim_bgs.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->reclaim_bgs.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->unused_bgs.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->unused_bgs.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->unused_bgs.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->fs_info->unused_bgs_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | block_group->io_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->io_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->io_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->ro_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->ro_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->ro_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->space_info | 4096-ptr_max |
| PARAM_VALUE | 0 | *block_group->fs_info->discard_ctl.work.timer->entry->next->pprev | 1-u64max |
| PARAM_VALUE | 0 | *block_group->fs_info->discard_ctl.work.timer->entry.pprev | 4096-ptr_max |
| DATA_SOURCE | 0 | block_group | r btrfs_create_block_group |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | block_group->free_space_ctl->block_group->full_stripe_len | |
| LOCK2 | &fs_info->chunk_mutex | ||
| HALF_LOCKED2 | &sb->s_umount | ||
| HALF_LOCKED2 | global &uuid_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->chunk_mutex |
fs/btrfs/block-group.c fill_dummy_bgs() -> btrfs_add_block_group_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | block_group | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->active_bg_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->active_bg_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->active_bg_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->active_bg_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->active_bg_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->bg_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->bg_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->bg_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->bg_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->bg_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->cached | 2 |
| PARAM_VALUE | 0 | block_group->cluster_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->cluster_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->cluster_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->cluster_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->cluster_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->data_rwsem.count.counter | 0 |
| PARAM_VALUE | 0 | block_group->data_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | block_group->data_rwsem.first_waiter | 0 |
| PARAM_VALUE | 0 | block_group->data_rwsem.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->data_rwsem.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | block_group->data_rwsem.owner.counter | 0 |
| PARAM_VALUE | 0 | block_group->dirty_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->dirty_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->dirty_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->dirty_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->dirty_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->discard_index | 0 |
| PARAM_VALUE | 0 | block_group->discard_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->discard_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->discard_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->discard_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->discard_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->block_group | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->block_group->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->cache_writeout_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | block_group->free_space_ctl->cache_writeout_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->extents_thresh | 157 |
| PARAM_VALUE | 0 | block_group->free_space_ctl->trimming_ranges.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->trimming_ranges.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->trimming_ranges.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->trimming_ranges.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->trimming_ranges.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | block_group->free_space_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | block_group->free_space_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | block_group->free_space_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | block_group->frozen.counter | 0 |
| PARAM_VALUE | 0 | block_group->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->full_stripe_len | 0-18446744073709486080 |
| PARAM_VALUE | 0 | block_group->io_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->io_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->io_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->io_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->io_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->refs.refs.counter | 1 |
| PARAM_VALUE | 0 | block_group->ro_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->ro_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->ro_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->ro_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->ro_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->space_info | 0,4096-ptr_max |
| DATA_SOURCE | 0 | block_group | r btrfs_create_block_group |
| NO_OVERFLOW_SIMPLE | 0 | block_group->free_space_ctl->block_group->full_stripe_len |
fs/btrfs/block-group.c read_one_block_group() -> btrfs_add_block_group_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | block_group | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->active_bg_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->active_bg_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->active_bg_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->bg_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->bg_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->bg_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->cluster_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->cluster_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->cluster_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->data_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | block_group->dirty_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->dirty_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->dirty_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->discard_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->discard_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->discard_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->block_group | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->block_group->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->cache_writeout_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | block_group->free_space_ctl->cache_writeout_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->extents_thresh | 157 |
| PARAM_VALUE | 0 | block_group->free_space_ctl->trimming_ranges.next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->trimming_ranges.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->trimming_ranges.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->trimming_ranges.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_ctl->trimming_ranges.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->free_space_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | block_group->fs_info->mapping_tree_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | block_group->io_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->io_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->io_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->ro_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->ro_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | block_group->ro_list.prev->prev | 4096-ptr_max |
| DATA_SOURCE | 0 | block_group | r btrfs_create_block_group |
| NO_OVERFLOW_SIMPLE | 0 | block_group->free_space_ctl->block_group->full_stripe_len |