Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/btrfs/scrub.c scrub_simple_stripe() -> scrub_simple_mirror()

Type Parameter Key Value
PARAM_VALUE 0 sctx 4096-ptr_max
PARAM_VALUE 0 sctx->cancel_req.counter 0
PARAM_VALUE 0 sctx->extent_path.nodes 4096-ptr_max
PARAM_VALUE 0 sctx->first_free 0
PARAM_VALUE 0 sctx->fs_info 4096-ptr_max
PARAM_VALUE 0 sctx->fs_info->block_group_cache_lock.dep_map->name 0-255
PARAM_VALUE 0 sctx->fs_info->dev_replace.rwsem.first_waiter->handoff_set 1
PARAM_VALUE 0 sctx->fs_info->dev_replace.rwsem.first_waiter->type 0-1
PARAM_VALUE 0 sctx->fs_info->dev_replace.rwsem.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 sctx->fs_info->dev_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 sctx->fs_info->dev_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 sctx->fs_info->mapping_tree_lock.dep_map->name 0-255
PARAM_VALUE 0 sctx->fs_info->scrub_lock.dep_map->name 0-255
PARAM_VALUE 0 sctx->fs_info->scrub_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 sctx->fs_info->scrub_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 sctx->fs_info->scrub_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 sctx->fs_info->scrub_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 sctx->fs_info->scrub_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 sctx->fs_info->scrub_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 sctx->fs_info->scrub_lock.first_waiter->task->blocked_on 0
PARAM_VALUE 0 sctx->fs_info->scrub_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 sctx->fs_info->scrub_pause_wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 sctx->fs_info->scrub_pause_wait.head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 sctx->fs_info->stripe_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 sctx->fs_info->stripe_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 sctx->readonly 0
PARAM_VALUE 0 sctx->refs.refs.counter 1
PARAM_VALUE 0 sctx->wr_lock.dep_map->name 0-255
PARAM_VALUE 0 sctx->wr_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 sctx->wr_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 sctx->wr_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 sctx->wr_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 sctx->wr_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 sctx->wr_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 sctx->wr_tgtdev 4096-ptr_max
PARAM_VALUE 0 sctx->wr_tgtdev->fs_info->stripe_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 sctx->wr_tgtdev->fs_info->stripe_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 1 bg 4096-ptr_max
PARAM_VALUE 1 bg->fs_info 4096-ptr_max
PARAM_VALUE 1 bg->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 bg->start 0-18446744073709551614
PARAM_VALUE 2 logical_start 0-18446744073709551614
PARAM_VALUE 3 logical_length 65536
PARAM_VALUE 4 device 4096-ptr_max
PARAM_VALUE 4 device->bdev->bd_mapping->invalidate_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 4 device->bdev->bd_mapping->invalidate_lock.first_waiter->type 0-1
PARAM_VALUE 4 device->scrub_ctx 4096-ptr_max
PARAM_VALUE 4 device->scrub_ctx->csum_path.search_commit_root 1
PARAM_VALUE 4 device->scrub_ctx->csum_path.skip_locking 1
PARAM_VALUE 4 device->scrub_ctx->extent_path.search_commit_root 1
PARAM_VALUE 4 device->scrub_ctx->extent_path.skip_locking 1
PARAM_VALUE 4 device->scrub_ctx->first_free 0
PARAM_VALUE 4 device->scrub_ctx->fs_info 4096-ptr_max
PARAM_VALUE 4 device->scrub_ctx->readonly 0
PARAM_VALUE 4 device->scrub_ctx->refs.refs.counter 1
PARAM_VALUE 4 device->scrub_ctx->throttle_deadline 0
PARAM_VALUE 4 device->scrub_ctx->wr_lock.magic 4096-ptr_max
BUF_SIZE 4 device->scrub_ctx 72344
CAPPED_DATA 0 sctx->fs_info->nodesize 1
CAPPED_DATA 1 bg->start 1
CAPPED_DATA 2 logical_start 1
CAPPED_DATA 2 logical_start 1
CAPPED_DATA 4 device 1
CAPPED_DATA 4 device->bdev 1
CAPPED_DATA 4 device->devid 1
CAPPED_DATA 6 mirror_num 1
DATA_SOURCE 0 sctx $0
DATA_SOURCE 1 bg $1
DATA_SOURCE 4 device $3
DATA_SOURCE 6 mirror_num r simple_stripe_mirror_num
USER_DATA 0 sctx->stat.last_physical 0-u64max
USER_DATA 4 device->scrub_ctx->stat.last_physical 0-u64max
UNITS 5 physical unit_byte

fs/btrfs/scrub.c scrub_stripe() -> scrub_simple_mirror()

Type Parameter Key Value
PARAM_VALUE 0 sctx 4096-ptr_max
PARAM_VALUE 0 sctx->extent_path.nodes 4096-ptr_max
PARAM_VALUE 0 sctx->fs_info 4096-ptr_max
PARAM_VALUE 0 sctx->fs_info->block_group_cache_lock.dep_map->name 0-255
PARAM_VALUE 0 sctx->fs_info->dev_replace.rwsem.first_waiter->handoff_set 1
PARAM_VALUE 0 sctx->fs_info->dev_replace.rwsem.first_waiter->type 0-1
PARAM_VALUE 0 sctx->fs_info->dev_replace.rwsem.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 sctx->fs_info->dev_replace.rwsem.wait_lock.owner (-1)
PARAM_VALUE 0 sctx->fs_info->dev_replace.rwsem.wait_lock.owner_cpu u32max
PARAM_VALUE 0 sctx->fs_info->dev_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 sctx->fs_info->dev_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 sctx->fs_info->mapping_tree_lock.dep_map->name 0-255
PARAM_VALUE 0 sctx->fs_info->scrub_lock.dep_map->name 0-255
PARAM_VALUE 0 sctx->fs_info->scrub_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 sctx->fs_info->scrub_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 sctx->fs_info->scrub_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 sctx->fs_info->scrub_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 sctx->fs_info->scrub_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 sctx->fs_info->scrub_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 sctx->fs_info->scrub_lock.first_waiter->task->blocked_on 0
PARAM_VALUE 0 sctx->fs_info->scrub_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 sctx->fs_info->scrub_pause_wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 sctx->fs_info->scrub_pause_wait.head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 sctx->wr_lock.dep_map->name 0-255
PARAM_VALUE 0 sctx->wr_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 sctx->wr_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 sctx->wr_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 sctx->wr_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 sctx->wr_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 sctx->wr_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 sctx->wr_tgtdev 4096-ptr_max
PARAM_VALUE 1 bg 4096-ptr_max
PARAM_VALUE 1 bg->fs_info->sb->s_cop->inode_info_offs 1632,1808,2632,2648
PARAM_VALUE 1 bg->lock.rlock.dep_map->name 0-255
PARAM_VALUE 4 device 4096-ptr_max
PARAM_VALUE 4 device->bdev->bd_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 4 device->bdev->bd_mapping->invalidate_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 4 device->bdev->bd_mapping->invalidate_lock.first_waiter->type 0-1
PARAM_VALUE 4 device->scrub_ctx->csum_path.search_commit_root 1
PARAM_VALUE 4 device->scrub_ctx->csum_path.skip_locking 1
PARAM_VALUE 4 device->scrub_ctx->extent_path.search_commit_root 1
PARAM_VALUE 4 device->scrub_ctx->extent_path.skip_locking 1
PARAM_VALUE 4 device->scrub_ctx->first_free 0
PARAM_VALUE 4 device->scrub_ctx->fs_info 4096-ptr_max
PARAM_VALUE 4 device->scrub_ctx->readonly 0
PARAM_VALUE 4 device->scrub_ctx->refs.refs.counter 1
PARAM_VALUE 4 device->scrub_ctx->throttle_deadline 0
PARAM_VALUE 4 device->scrub_ctx->wr_lock.magic 4096-ptr_max
BUF_SIZE 0 sctx->fs_info (-1),128
BUF_SIZE 0 sctx->raid56_data_stripes 0-u64max
BUF_SIZE 4 device->scrub_ctx (-1),72344
CAPPED_DATA 4 device 1
CAPPED_DATA 4 device->bdev 1
CAPPED_DATA 6 mirror_num 1
DATA_SOURCE 0 sctx $0
DATA_SOURCE 1 bg $1
DATA_SOURCE 4 device $3
USER_DATA 0 sctx->stat.last_physical 0-u64max
USER_DATA 4 device->scrub_ctx->stat.last_physical 0-u64max
UNITS 2 logical_start unit_byte
UNITS 3 logical_length unit_byte
UNITS 5 physical unit_byte

fs/btrfs/scrub.c scrub_stripe() -> scrub_simple_mirror()

Type Parameter Key Value
PARAM_VALUE 0 sctx 4096-ptr_max
PARAM_VALUE 0 sctx->extent_path.nodes 4096-ptr_max
PARAM_VALUE 0 sctx->fs_info 4096-ptr_max
PARAM_VALUE 0 sctx->fs_info->block_group_cache_lock.dep_map->name 0-255
PARAM_VALUE 0 sctx->fs_info->dev_replace.rwsem.first_waiter->handoff_set 1
PARAM_VALUE 0 sctx->fs_info->dev_replace.rwsem.first_waiter->type 0-1
PARAM_VALUE 0 sctx->fs_info->dev_replace.rwsem.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 sctx->fs_info->dev_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 sctx->fs_info->dev_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 sctx->fs_info->mapping_tree_lock.dep_map->name 0-255
PARAM_VALUE 0 sctx->fs_info->scrub_lock.dep_map->name 0-255
PARAM_VALUE 0 sctx->fs_info->scrub_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 sctx->fs_info->scrub_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 sctx->fs_info->scrub_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 sctx->fs_info->scrub_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 sctx->fs_info->scrub_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 sctx->fs_info->scrub_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 sctx->fs_info->scrub_lock.first_waiter->task->blocked_on 0
PARAM_VALUE 0 sctx->fs_info->scrub_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 sctx->fs_info->scrub_pause_wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 sctx->fs_info->scrub_pause_wait.head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 sctx->wr_lock.dep_map->name 0-255
PARAM_VALUE 0 sctx->wr_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 sctx->wr_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 sctx->wr_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 sctx->wr_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 sctx->wr_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 sctx->wr_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 sctx->wr_tgtdev 4096-ptr_max
PARAM_VALUE 1 bg 4096-ptr_max
PARAM_VALUE 1 bg->fs_info->sb->s_cop->inode_info_offs 1632,1808,2632,2648
PARAM_VALUE 1 bg->lock.rlock.dep_map->name 0-255
PARAM_VALUE 3 logical_length 65536
PARAM_VALUE 4 device 4096-ptr_max
PARAM_VALUE 4 device->bdev->bd_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 4 device->bdev->bd_mapping->invalidate_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 4 device->bdev->bd_mapping->invalidate_lock.first_waiter->type 0-1
PARAM_VALUE 4 device->scrub_ctx->csum_path.search_commit_root 1
PARAM_VALUE 4 device->scrub_ctx->csum_path.skip_locking 1
PARAM_VALUE 4 device->scrub_ctx->extent_path.search_commit_root 1
PARAM_VALUE 4 device->scrub_ctx->extent_path.skip_locking 1
PARAM_VALUE 4 device->scrub_ctx->first_free 0
PARAM_VALUE 4 device->scrub_ctx->fs_info 4096-ptr_max
PARAM_VALUE 4 device->scrub_ctx->readonly 0
PARAM_VALUE 4 device->scrub_ctx->refs.refs.counter 1
PARAM_VALUE 4 device->scrub_ctx->throttle_deadline 0
PARAM_VALUE 4 device->scrub_ctx->wr_lock.magic 4096-ptr_max
PARAM_VALUE 5 physical 0-18446744073709551614
PARAM_VALUE 6 mirror_num 1
BUF_SIZE 0 sctx->fs_info (-1),128
BUF_SIZE 0 sctx->raid56_data_stripes 0-u64max
BUF_SIZE 4 device->scrub_ctx (-1),72344
CAPPED_DATA 4 device 1
CAPPED_DATA 4 device->bdev 1
CAPPED_DATA 5 physical 1
CAPPED_DATA 5 physical 1
DATA_SOURCE 0 sctx $0
DATA_SOURCE 1 bg $1
DATA_SOURCE 4 device $3
USER_DATA 0 sctx->stat.last_physical 0-u64max
USER_DATA 4 device->scrub_ctx->stat.last_physical 0-u64max
UNITS 5 physical unit_byte