Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/btrfs/disk-io.c barrier_all_devices() -> btrfs_check_rw_degradable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->block_group_cache_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->chunk_root | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->chunk_root->node | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->fs_devices->device_list_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->fs_devices->device_list_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | fs_info->fs_devices->device_list_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | fs_info->fs_devices->device_list_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->fs_devices->device_list_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | fs_info->fs_devices->device_list_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | fs_info->fs_root | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->fs_root->node | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->global_root_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->tree_root | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->tree_root->node | 4096-ptr_max |
| PARAM_VALUE | 1 | failing_dev | 0 |
| DATA_SOURCE | 0 | fs_info | $0 |
| BIT_INFO | 0 | fs_info->mount_opt | 0x0,0xfffffffffffffffb |
| RX_PATH | |||
| UNITS | 0 | fs_info | unit_byte |
| LOCK2 | &fs_info->tree_log_mutex | ||
| LOCK2 | 0 | &fs_info->fs_devices->device_list_mutex | |
| TYPE_LOCK | (struct btrfs_fs_devices)->device_list_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->tree_log_mutex |
fs/btrfs/super.c btrfs_remount_rw() -> btrfs_check_rw_degradable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->compress_type | 0-15 |
| PARAM_VALUE | 0 | fs_info->fs_devices | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->fs_devices->rw_devices | 1-u64max |
| PARAM_VALUE | 0 | fs_info->fs_error | 0 |
| PARAM_VALUE | 0 | fs_info->mount_opt | 0,4096-u64max |
| PARAM_VALUE | 0 | fs_info->sb->s_bdi->wb_switch_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->sb->s_bdi->wb_switch_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_info->sb->s_bdi->wb_switch_rwsem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | fs_info->sb->s_bdi->wb_switch_rwsem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | fs_info->sb->s_bdi->wb_switch_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fs_info->sb->s_inode_wblist_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->sb->s_inodes_wb.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->sb->s_inodes_wb.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->sb->s_sync_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->sb->s_sync_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->sb->s_sync_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | fs_info->sb->s_sync_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | fs_info->sb->s_sync_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->sb->s_sync_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | fs_info->sb->s_sync_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | fs_info->sb->s_sync_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | fs_info->sb->s_sync_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | fs_info->sb->s_sync_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | fs_info->super_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->transaction_wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->transaction_wait.head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | failing_dev | 0 |
| BUF_SIZE | 0 | fs_info | 1-s32max |
| BUF_SIZE | 0 | fs_info | 1-s32max |
| DATA_SOURCE | 0 | fs_info | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | fs_info | unit_byte |
fs/btrfs/super.c btrfs_remove_bdev() -> btrfs_check_rw_degradable()
| 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->fs_devices->device_list_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->fs_devices->device_list_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | fs_info->fs_devices->device_list_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | fs_info->fs_devices->device_list_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->fs_devices->device_list_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | fs_info->fs_devices->device_list_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | failing_dev | 4096-ptr_max |
| PARAM_VALUE | 1 | failing_dev->fs_devices | 4096-ptr_max |
| BUF_SIZE | 0 | fs_info | 1-s32max |
| BUF_SIZE | 0 | fs_info | 1-s32max |
| CAPPED_DATA | 0 | &fs_info->fs_devices->device_list_mutex | 1 |
| DATA_SOURCE | 1 | failing_dev | r btrfs_find_device |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | fs_info | unit_byte |
| LOCK2 | &sb->s_umount | ||
| LOCK2 | 0 | &fs_info->fs_devices->device_list_mutex | |
| HALF_LOCKED2 | global &floppy_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_devices)->device_list_mutex | ||
| TYPE_LOCK | (struct super_block)->s_umount |