Defined in 1 files as a function:
Referenced in 11 files:
- fs/btrfs/block-group.c
- fs/btrfs/defrag.c
- fs/btrfs/extent_map.c
- fs/btrfs/fs.h
- fs/btrfs/inode.c, line 2974
- fs/btrfs/qgroup.c, line 3841
- fs/btrfs/relocation.c, line 5464
- fs/btrfs/scrub.c, line 3058
- fs/btrfs/space-info.c, line 1092
- fs/btrfs/uuid-tree.c
- fs/btrfs/volumes.c, line 4898
Smatch caller information:
fs/btrfs/volumes.c btrfs_balance() -> btrfs_fs_closing()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| BUF_SIZE | 0 | fs_info | (-1),128 |
| BUF_SIZE | 0 | fs_info | (-1),128 |
| DATA_SOURCE | 0 | fs_info | $0 |
| UNITS | 0 | fs_info | unit_byte |
| HALF_LOCKED2 | 0 | &fs_info->balance_mutex |
fs/btrfs/space-info.c need_preemptive_reclaim() -> btrfs_fs_closing()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &space_info->lock | ||
| TYPE_LOCK | (struct btrfs_space_info)->lock |
fs/btrfs/inode.c btrfs_queue_writepage_fixup() -> btrfs_fs_closing()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | fs_info | unit_byte |
| HALF_LOCKED2 | &mapping->invalidate_lock |
fs/btrfs/scrub.c btrfs_scrub_dev() -> btrfs_fs_closing()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| BUF_SIZE | 0 | fs_info | (-1),128 |
| BUF_SIZE | 0 | fs_info | (-1),128 |
| DATA_SOURCE | 0 | fs_info | $0 |
| UNITS | 0 | fs_info | unit_byte |
fs/btrfs/qgroup.c rescan_should_stop() -> btrfs_fs_closing()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| DATA_SOURCE | 0 | fs_info | $0 |
| HALF_LOCKED2 | &pool->lock |
fs/btrfs/block-group.c btrfs_delete_unused_bgs() -> btrfs_fs_closing()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| BUF_SIZE | 0 | fs_info | (-1),1-s32max |
| BUF_SIZE | 0 | fs_info | (-1),1-s32max |
| DATA_SOURCE | 0 | fs_info | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | fs_info->fs_error | |
| UNITS | 0 | fs_info | unit_byte |
fs/btrfs/block-group.c btrfs_fs_closing_done() -> btrfs_fs_closing()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| DATA_SOURCE | 0 | fs_info | $0 |
| UNITS | 0 | fs_info | unit_byte |
| LOCK2 | &caching_ctl->mutex | ||
| LOCK2 | &fs_info->commit_root_sem | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | 0 | &fs_info->commit_root_sem | |
| TYPE_LOCK | (struct btrfs_caching_control)->mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->commit_root_sem |
fs/btrfs/block-group.c btrfs_need_cleaner_sleep() -> btrfs_fs_closing()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| DATA_SOURCE | 0 | fs_info | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | fs_info | unit_byte |
| LOCK2 | &fs_info->reclaim_bgs_lock | ||
| LOCK2 | &space_info->groups_sem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct btrfs_fs_info)->reclaim_bgs_lock | ||
| TYPE_LOCK | (struct btrfs_space_info)->groups_sem |
fs/btrfs/block-group.c btrfs_should_reclaim() -> btrfs_fs_closing()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| DATA_SOURCE | 0 | fs_info | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
fs/btrfs/defrag.c btrfs_defrag_root() -> btrfs_fs_closing()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPABLE | 0 | 21 | |
| UNITS | 0 | fs_info | unit_byte |
fs/btrfs/defrag.c need_auto_defrag() -> btrfs_fs_closing()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| DATA_SOURCE | 0 | fs_info | $0 |
| BIT_INFO | 0 | fs_info->mount_opt | 0x10000,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | fs_info | unit_byte |
fs/btrfs/extent_map.c btrfs_extent_map_shrinker_worker() -> btrfs_fs_closing()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| HALF_LOCKED2 | &pool->lock |
fs/btrfs/extent_map.c btrfs_extent_map_shrinker_worker() -> btrfs_fs_closing()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| HALF_LOCKED2 | &pool->lock |
fs/btrfs/extent_map.c btrfs_scan_inode() -> btrfs_fs_closing()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| UNITS | 0 | fs_info | unit_byte |
| LOCK2 | &inode->i_mmap_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct btrfs_inode)->i_mmap_lock |
fs/btrfs/extent_map.c btrfs_scan_root() -> btrfs_fs_closing()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| UNITS | 0 | fs_info | unit_byte |
| HALF_LOCKED2 | &pool->lock |
fs/btrfs/disk-io.c btrfs_need_cleaner_sleep() -> btrfs_fs_closing()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| DATA_SOURCE | 0 | fs_info | $0 |
| HALF_LOCKED2 | 0 | &fs_info->cleaner_mutex |
fs/btrfs/extent-tree.c btrfs_need_cleaner_sleep() -> btrfs_fs_closing()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| DATA_SOURCE | 0 | fs_info | $0 |
| UNITS | 0 | fs_info | unit_byte |
| LOCK2 | &fs_info->cleaner_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->cleaner_mutex |
fs/btrfs/uuid-tree.c btrfs_uuid_scan_kthread() -> btrfs_fs_closing()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| BUF_SIZE | 0 | fs_info | 128 |
| BUF_SIZE | 0 | fs_info | 128 |
| DATA_SOURCE | 0 | fs_info | $0 |
fs/btrfs/uuid-tree.c btrfs_uuid_tree_iterate() -> btrfs_fs_closing()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| BUF_SIZE | 0 | fs_info | 128 |
| BUF_SIZE | 0 | fs_info | 128 |
| DATA_SOURCE | 0 | fs_info | $0 |