Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/btrfs/block-rsv.c btrfs_init_global_block_rsv() -> btrfs_update_global_block_rsv()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->chunk_block_rsv.space_info | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->delayed_block_rsv.space_info | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->delayed_refs_rsv.space_info | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->empty_block_rsv.space_info | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->global_block_rsv.space_info | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->remap_block_rsv.space_info | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->trans_block_rsv.space_info | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->treelog_rsv.space_info | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->zone_size | 1-u64max |
| DATA_SOURCE | 0 | fs_info | $0 |
| NOCHECK_CALL |
fs/btrfs/block-rsv.c btrfs_use_block_rsv() -> btrfs_update_global_block_rsv()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | fs_info->nodesize | |
| NO_OVERFLOW_SIMPLE | 0 | fs_info->sectorsize | |
| UNITS | 0 | fs_info | unit_byte |
| HALF_LOCKED2 | &fs_info->subvol_sem | ||
| HALF_LOCKED2 | &trans->fs_info->commit_root_sem | ||
| HALF_LOCKED2 | &trans->fs_info->fs_devices->device_list_mutex | ||
| HALF_LOCKED2 | &trans->fs_info->fs_roots_radix_lock | ||
| HALF_LOCKED2 | &trans->fs_info->qgroup_ioctl_lock | ||
| HALF_LOCKED2 | &trans->fs_info->qgroup_lock | ||
| HALF_LOCKED2 | &trans->fs_info->unused_bg_unpin_mutex | ||
| HALF_LOCKED2 | &trans->transaction->delayed_refs.lock |
fs/btrfs/block-group.c btrfs_make_block_group() -> btrfs_update_global_block_rsv()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->fs_devices | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->mapping_tree.rb_leftmost | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->mapping_tree.rb_root.rb_node | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->mapping_tree_lock.dep_map->name | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | fs_info | unit_byte |
| LOCK2 | &fs_info->chunk_mutex | ||
| HALF_LOCKED2 | &sb->s_umount | ||
| HALF_LOCKED2 | global &uuid_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->chunk_mutex |