Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/btrfs/block-group.c btrfs_reclaim_block_group() -> btrfs_need_cleaner_sleep()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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/disk-io.c cleaner_kthread() -> btrfs_need_cleaner_sleep()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| DATA_SOURCE | 0 | fs_info | $0 |
fs/btrfs/disk-io.c cleaner_kthread() -> btrfs_need_cleaner_sleep()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| CAPPED_DATA | 0 | &fs_info->cleaner_mutex | 1 |
| DATA_SOURCE | 0 | fs_info | $0 |
| LOCK2 | 0 | &fs_info->cleaner_mutex | |
| TYPE_LOCK | (struct btrfs_fs_info)->cleaner_mutex |
fs/btrfs/extent-tree.c btrfs_drop_snapshot() -> btrfs_need_cleaner_sleep()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| UNITS | 0 | fs_info | unit_byte |
| LOCK2 | &fs_info->cleaner_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->cleaner_mutex |
fs/btrfs/extent-tree.c btrfs_drop_snapshot() -> btrfs_need_cleaner_sleep()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| UNITS | 0 | fs_info | unit_byte |
| LOCK2 | &fs_info->cleaner_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->cleaner_mutex |