Defined in 1 files as a function:
Referenced in 8 files:
- fs/btrfs/bio.c
- fs/btrfs/dev-replace.c
- fs/btrfs/disk-io.c, line 3842
- fs/btrfs/extent-tree.c
- fs/btrfs/ioctl.c
- fs/btrfs/scrub.c
- fs/btrfs/super.c, line 2420
- fs/btrfs/volumes.c
Smatch caller information:
fs/btrfs/dev-replace.c btrfs_dev_replace_cancel() -> btrfs_dev_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPABLE | 0 | 21 | |
| LOCK2 | &dev_replace->lock_finishing_cancel_unmount | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct btrfs_dev_replace)->lock_finishing_cancel_unmount |
fs/btrfs/dev-replace.c btrfs_dev_replace_cancel() -> btrfs_dev_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPABLE | 0 | 21 | |
| LOCK2 | &dev_replace->lock_finishing_cancel_unmount | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct btrfs_dev_replace)->lock_finishing_cancel_unmount |
fs/btrfs/dev-replace.c btrfs_dev_replace_cancel() -> btrfs_dev_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPABLE | 0 | 21 | |
| LOCK2 | &dev_replace->lock_finishing_cancel_unmount | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct btrfs_dev_replace)->lock_finishing_cancel_unmount |
fs/btrfs/dev-replace.c btrfs_dev_replace_cancel() -> btrfs_dev_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPABLE | 0 | 21 | |
| LOCK2 | &dev_replace->lock_finishing_cancel_unmount | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct btrfs_dev_replace)->lock_finishing_cancel_unmount |
fs/btrfs/dev-replace.c btrfs_dev_replace_finishing() -> btrfs_dev_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->post_commit_list.next | 4096-ptr_max |
| CAPPED_DATA | 0 | &device->post_commit_list | 1 |
| PARAM_COMPARE | 0 | &device->post_commit_list | == $0->post_commit_list.next |
| LOCK2 | &dev_replace->lock_finishing_cancel_unmount | ||
| LOCK2 | &dev_replace->rwsem | ||
| LOCK2 | &fs_devices->device_list_mutex | ||
| LOCK2 | &fs_info->chunk_mutex | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct btrfs_dev_replace)->lock_finishing_cancel_unmount | ||
| TYPE_LOCK | (struct btrfs_dev_replace)->rwsem | ||
| TYPE_LOCK | (struct btrfs_fs_devices)->device_list_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->chunk_mutex |
fs/btrfs/dev-replace.c btrfs_dev_replace_finishing() -> btrfs_dev_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 0,4096-ptr_max |
| LOCK2 | &dev_replace->lock_finishing_cancel_unmount | ||
| LOCK2 | &dev_replace->rwsem | ||
| LOCK2 | &fs_devices->device_list_mutex | ||
| LOCK2 | &fs_info->chunk_mutex | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct btrfs_dev_replace)->lock_finishing_cancel_unmount | ||
| TYPE_LOCK | (struct btrfs_dev_replace)->rwsem | ||
| TYPE_LOCK | (struct btrfs_fs_devices)->device_list_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->chunk_mutex |
fs/btrfs/dev-replace.c btrfs_dev_replace_finishing() -> btrfs_dev_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->post_commit_list.next | 4096-ptr_max |
| CAPPED_DATA | 0 | device | 1 |
| CAPPED_DATA | 0 | &device->post_commit_list | 1 |
| PARAM_COMPARE | 0 | &device->post_commit_list | == $0->post_commit_list.next |
| LOCK2 | &dev_replace->lock_finishing_cancel_unmount | ||
| LOCK2 | &dev_replace->rwsem | ||
| LOCK2 | &fs_devices->device_list_mutex | ||
| LOCK2 | &fs_info->chunk_mutex | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct btrfs_dev_replace)->lock_finishing_cancel_unmount | ||
| TYPE_LOCK | (struct btrfs_dev_replace)->rwsem | ||
| TYPE_LOCK | (struct btrfs_fs_devices)->device_list_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->chunk_mutex |
fs/btrfs/dev-replace.c btrfs_dev_replace_finishing() -> btrfs_dev_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 0,4096-ptr_max |
| LOCK2 | &dev_replace->lock_finishing_cancel_unmount | ||
| LOCK2 | &dev_replace->rwsem | ||
| LOCK2 | &fs_devices->device_list_mutex | ||
| LOCK2 | &fs_info->chunk_mutex | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct btrfs_dev_replace)->lock_finishing_cancel_unmount | ||
| TYPE_LOCK | (struct btrfs_dev_replace)->rwsem | ||
| TYPE_LOCK | (struct btrfs_fs_devices)->device_list_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->chunk_mutex |
fs/btrfs/dev-replace.c btrfs_dev_replace_kthread() -> btrfs_dev_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | rcu_read |
fs/btrfs/dev-replace.c btrfs_dev_replace_kthread() -> btrfs_dev_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | rcu_read |
fs/btrfs/dev-replace.c btrfs_dev_replace_start() -> btrfs_dev_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| CAPPED_DATA | 0 | device | 1 |
| DATA_SOURCE | 0 | device | r btrfs_find_device_by_devspec |
| CAPABLE | 0 | 21 | |
| LOCK2 | rcu_read |
fs/btrfs/dev-replace.c btrfs_dev_replace_start() -> btrfs_dev_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->bdev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | device->bdev->bd_fsfreeze_count.counter | 0-s32max |
| PARAM_VALUE | 0 | device->fs_devices | 4096-ptr_max |
| PARAM_VALUE | 0 | device->fs_devices->seeding | 0 |
| CAPPED_DATA | 0 | device | 1 |
| DATA_SOURCE | 0 | device | r btrfs_find_device_by_devspec |
| CAPABLE | 0 | 21 | |
| LOCK2 | &dev_replace->rwsem | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct btrfs_dev_replace)->rwsem |
fs/btrfs/dev-replace.c btrfs_dev_replace_start() -> btrfs_dev_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->alloc_state.owner | 10 |
| PARAM_VALUE | 0 | device->dev_stats_valid | 1 |
| PARAM_VALUE | 0 | device->devt | 1-4294967295 |
| PARAM_VALUE | 0 | device->fs_info | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | device->generation | 0 |
| CAPABLE | 0 | 21 | |
| LOCK2 | &dev_replace->rwsem | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct btrfs_dev_replace)->rwsem |
fs/btrfs/volumes.c btrfs_dev_stat_inc_and_print() -> btrfs_dev_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->dev_stats_valid | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | device | (-1)-s32max |
| BUF_SIZE | 0 | device | (-1)-s32max |
| DATA_SOURCE | 0 | device | $0 |
| STR_LEN | 0 | device | (-1),8,11-12,14,17,19-20,23,26-27,29,31-32 |
| STR_LEN | 0 | device | (-1),8,11-12,14,17,19-20,23,26-27,29,31-32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &fs_info->tree_log_mutex | ||
| HALF_LOCKED2 | &info->fs_devices->device_list_mutex |
fs/btrfs/volumes.c btrfs_dev_stat_print_on_load() -> btrfs_dev_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->dev_stats_valid | 1 |
| PARAM_VALUE | 0 | device->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | device->fs_info->dev_root | 1-u64max |
| DATA_SOURCE | 0 | device | $0 |
| LOCK2 | &fs_devices->device_list_mutex | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct btrfs_fs_devices)->device_list_mutex |
fs/btrfs/volumes.c btrfs_rm_device() -> btrfs_dev_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| CAPPED_DATA | 0 | device | 1 |
| DATA_SOURCE | 0 | device | r btrfs_find_device |
| CAPABLE | 0 | 21 | |
| LOCK2 | rcu_read |
fs/btrfs/volumes.c btrfs_verify_dev_items() -> btrfs_dev_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->devid | 1-u64max |
| LOCK2 | global &uuid_mutex | ||
| LOCK2 | rcu_read |
fs/btrfs/volumes.c btrfs_verify_dev_items() -> btrfs_dev_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| LOCK2 | global &uuid_mutex | ||
| LOCK2 | rcu_read |
fs/btrfs/volumes.c device_list_add() -> btrfs_dev_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->bdev | 1-u64max |
| PARAM_VALUE | 0 | device->devt | 1-u32max |
| PARAM_VALUE | 0 | device->name | 0 |
| CAPPED_DATA | 0 | device->devt | 1 |
| DATA_SOURCE | 0 | device | r btrfs_find_device |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &fs_devices->device_list_mutex | ||
| LOCK2 | global &uuid_mutex | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct btrfs_fs_devices)->device_list_mutex |
fs/btrfs/volumes.c update_dev_stat_item() -> btrfs_dev_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->dev_stats_ccnt.counter | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | device->dev_stats_valid | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | device | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &fs_devices->device_list_mutex | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &cow->lock | ||
| HALF_LOCKED2 | &fs_info->reloc_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_devices)->device_list_mutex |
fs/btrfs/volumes.c update_dev_stat_item() -> btrfs_dev_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->dev_stats_ccnt.counter | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | device->dev_stats_valid | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | device | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &fs_devices->device_list_mutex | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &cow->lock | ||
| HALF_LOCKED2 | &fs_info->reloc_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_devices)->device_list_mutex |
fs/btrfs/volumes.c update_dev_stat_item() -> btrfs_dev_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->dev_stats_ccnt.counter | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | device->dev_stats_valid | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | device | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &fs_devices->device_list_mutex | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &cow->lock | ||
| HALF_LOCKED2 | &fs_info->reloc_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_devices)->device_list_mutex |
fs/btrfs/scrub.c btrfs_scrub_dev() -> btrfs_dev_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| DATA_SOURCE | 0 | device | r btrfs_find_device |
| CAPABLE | 0 | 21 | |
| LOCK2 | rcu_read |
fs/btrfs/scrub.c scrub_print_common_warning() -> btrfs_dev_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->fs_info->btree_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max |
| PARAM_VALUE | 0 | device->fs_info->commit_root_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | device->fs_info->commit_root_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | device->fs_info->tree_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | device->fs_info->tree_root->node->lock.first_waiter->type | 0-1 |
| DATA_SOURCE | 0 | device | $1 |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &pool->lock |
fs/btrfs/scrub.c scrub_print_common_warning() -> btrfs_dev_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | device->fs_info->block_group_cache_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | device->fs_info->btree_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max |
| PARAM_VALUE | 0 | device->fs_info->commit_root_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | device->fs_info->commit_root_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | device->fs_info->global_root_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | device->fs_info->tree_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | device->fs_info->tree_root->node->lock.first_waiter->type | 0-1 |
| DATA_SOURCE | 0 | device | $1 |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &pool->lock |
fs/btrfs/scrub.c scrub_print_warning_inode() -> btrfs_dev_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->fs_info->block_group_root->refs.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | device->fs_info->chunk_root->refs.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | device->fs_info->dev_root->refs.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | device->fs_info->fs_roots_radix_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | device->fs_info->quota_root->refs.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | device->fs_info->remap_root->refs.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | device->fs_info->stripe_root->refs.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | device->fs_info->tree_root->refs.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | device->fs_info->uuid_root->refs.refs.counter | (-1073741824),0-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &fs_info->commit_root_sem |
fs/btrfs/scrub.c scrub_print_warning_inode() -> btrfs_dev_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->fs_info->block_group_root->refs.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | device->fs_info->chunk_root->refs.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | device->fs_info->dev_root->refs.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | device->fs_info->fs_roots_radix_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | device->fs_info->quota_root->refs.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | device->fs_info->remap_root->refs.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | device->fs_info->stripe_root->refs.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | device->fs_info->tree_root->refs.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | device->fs_info->uuid_root->refs.refs.counter | (-1073741824),0-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &fs_info->commit_root_sem |
fs/btrfs/scrub.c scrub_stripe_report_errors() -> btrfs_dev_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 1-u64max |
| PARAM_VALUE | 0 | device->fs_info->btree_inode->i_mapping->host->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max |
| PARAM_VALUE | 0 | device->fs_info->btree_inode->i_mapping->host->i_sb->s_export_op->fh_to_parent | 0,4672,5297,4573560380487,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000-s64max |
| PARAM_VALUE | 0 | device->fs_info->btree_inode->i_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| PARAM_VALUE | 0 | device->fs_info->commit_root_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | device->fs_info->commit_root_sem.first_waiter->type | 0-1 |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &pool->lock |
fs/btrfs/scrub.c scrub_stripe_report_errors() -> btrfs_dev_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 1-u64max |
| PARAM_VALUE | 0 | device->fs_info->btree_inode->i_mapping->host->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max |
| PARAM_VALUE | 0 | device->fs_info->btree_inode->i_mapping->host->i_sb->s_export_op->fh_to_parent | 0,4672,5297,4573560380487,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000-s64max |
| PARAM_VALUE | 0 | device->fs_info->btree_inode->i_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| PARAM_VALUE | 0 | device->fs_info->commit_root_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | device->fs_info->commit_root_sem.first_waiter->type | 0-1 |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &pool->lock |
fs/btrfs/disk-io.c btrfs_end_super_write() -> btrfs_dev_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| BUF_SIZE | 0 | device | (-1)-s32max |
| BUF_SIZE | 0 | device | (-1)-s32max |
| STR_LEN | 0 | device | (-1),8,11-12,14,17,19-20,23,26-27,29,31-32 |
| STR_LEN | 0 | device | (-1),8,11-12,14,17,19-20,23,26-27,29,31-32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
fs/btrfs/ioctl.c btrfs_ioctl_dev_info() -> btrfs_dev_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->fs_devices | 4096-ptr_max |
| PARAM_VALUE | 0 | device->name | 1-u64max |
| DATA_SOURCE | 0 | device | r btrfs_find_device |
| LOCK2 | rcu_read |
fs/btrfs/ioctl.c btrfs_ioctl_resize() -> btrfs_dev_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->bdev | 4096-ptr_max |
| PARAM_VALUE | 0 | device->disk_total_bytes | 0-18446744073709551104 |
| PARAM_VALUE | 0 | device->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | device->fs_info->chunk_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | device->fs_info->chunk_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | device->fs_info->chunk_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | device->fs_info->chunk_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | device->fs_info->chunk_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | device->fs_info->chunk_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | device->fs_info->chunk_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | device->fs_info->chunk_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | device->fs_info->fs_devices->per_profile_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | device->post_commit_list.next | 4096-ptr_max |
| DATA_SOURCE | 0 | device | r btrfs_find_device |
| CAPABLE | 0 | 21 | |
| NOSPEC | 0 | device->disk_total_bytes | |
| NOSPEC | 0 | device->total_bytes | |
| USER_DATA | 0 | device->disk_total_bytes | 0-s32max[c] |
| USER_DATA | 0 | device->total_bytes | 0-s32max[c] |
| LOCK2 | rcu_read |
fs/btrfs/extent-tree.c btrfs_trim_free_extents() -> btrfs_dev_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->bytes_used | 0-18446744073709551614 |
| PARAM_VALUE | 0 | device->fs_info->chunk_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | device->fs_info->chunk_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | device->fs_info->chunk_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | device->total_bytes | 1-u64max |
| CAPPED_DATA | 0 | device | 1 |
| CAPPED_DATA | 0 | device->bytes_used | 1 |
| CAPPED_DATA | 0 | device->total_bytes | 1 |
| CAPABLE | 0 | 21 | |
| PARAM_COMPARE | 0 | device->bytes_used | < $0->total_bytes |
| LOCK2 | &fs_devices->device_list_mutex | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct btrfs_fs_devices)->device_list_mutex |
fs/btrfs/extent-tree.c btrfs_trim_free_extents_throttle() -> btrfs_dev_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->alloc_state.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | device->bdev | 4096-ptr_max |
| PARAM_VALUE | 0 | device->bytes_used | 0-18446744073709551614 |
| PARAM_VALUE | 0 | device->fs_info->chunk_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | device->fs_info->chunk_mutex.first_waiter | 0,4096-5159360019465732095,5159360019465732097-ptr_max |
| PARAM_VALUE | 0 | device->fs_info->chunk_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | device->fs_info->chunk_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | device->fs_info->chunk_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | device->fs_info->chunk_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | device->fs_info->chunk_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | device->total_bytes | 1-18446744073709551614 |
| CAPPED_DATA | 0 | device | 1 |
| CAPPED_DATA | 0 | device->bytes_used | 1 |
| CAPPED_DATA | 0 | device->total_bytes | 1 |
| DATA_SOURCE | 0 | device | $0 |
| CAPABLE | 0 | 21 | |
| PARAM_COMPARE | 0 | device->bytes_used | < $0->total_bytes |
| LOCK2 | &fs_devices->device_list_mutex | ||
| LOCK2 | &fs_info->chunk_mutex | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct btrfs_fs_devices)->device_list_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->chunk_mutex |
fs/btrfs/super.c btrfs_show_devname() -> btrfs_dev_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | global &namespace_sem |
fs/btrfs/bio.c btrfs_log_dev_io_error() -> btrfs_dev_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->bdev | 1-u64max |
| BUF_SIZE | 0 | device | (-1)-s32max |
| BUF_SIZE | 0 | device | (-1)-s32max |
| DATA_SOURCE | 0 | device | $1 |
| STR_LEN | 0 | device | (-1),8,11-12,14,17,19-20,23,26-27,29,31-32 |
| STR_LEN | 0 | device | (-1),8,11-12,14,17,19-20,23,26-27,29,31-32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
fs/btrfs/bio.c btrfs_repair_io_failure() -> btrfs_dev_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->bdev | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
fs/btrfs/bio.c btrfs_submit_dev_bio() -> btrfs_dev_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->bdev | 4096-ptr_max |
| PARAM_VALUE | 0 | device->bdev->bd_dev | 0-u32max |
| CAPPED_DATA | 0 | device->bdev | 1 |
| DATA_SOURCE | 0 | device | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &pool->lock |