Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/btrfs/scrub.c flush_scrub_stripes() -> scrub_write_sectors()

Type Parameter Key Value
PARAM_VALUE 0 sctx 4096-ptr_max
PARAM_VALUE 0 sctx->cancel_req.counter 0
PARAM_VALUE 0 sctx->cur_stripe 1-s32max
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->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_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->remap_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 sctx->fs_info->remap_root->node->lock.first_waiter->type 0-1
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->magic 5159360019465732096
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->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->is_dev_replace 1
PARAM_VALUE 0 sctx->readonly 0
PARAM_VALUE 0 sctx->refs.refs.counter 1
PARAM_VALUE 0 sctx->stripes 4096-ptr_max
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->remap_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 sctx->wr_tgtdev->fs_info->remap_root->node->lock.first_waiter->type 0-1
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 0 *sctx->fs_info->scrub_lock.first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 stripe 4096-ptr_max
PARAM_VALUE 1 stripe->io_wait.head.prev->next 4096-ptr_max
PARAM_VALUE 1 stripe->io_wait.head.prev->next->next 4096-ptr_max
PARAM_VALUE 1 stripe->nr_sectors 1-64
PARAM_VALUE 1 stripe->repair_wait.lock.rlock.dep_map->name 0-255
PARAM_VALUE 3 dev_replace 1
BUF_SIZE 0 sctx->fs_info (-1),128
CAPPED_DATA 0 sctx->fs_info->nodesize 1
CAPPED_DATA 1 stripe->dev 1
CAPPED_DATA 1 stripe->nr_sectors 1
DATA_SOURCE 0 sctx $0
NOCHECK_CALL
USER_DATA 0 sctx->stat.last_physical 0-u64max

fs/btrfs/scrub.c scrub_stripe_read_repair_worker() -> scrub_write_sectors()

Type Parameter Key Value
PARAM_VALUE 0 sctx 4096-ptr_max
PARAM_VALUE 0 sctx->fs_info 4096-ptr_max
PARAM_VALUE 0 sctx->fs_info->mapping_tree_lock.dep_map->name 0-255
PARAM_VALUE 0 sctx->readonly 0
PARAM_VALUE 1 stripe 4096-ptr_max
PARAM_VALUE 1 stripe->bg 4096-ptr_max
PARAM_VALUE 1 stripe->bg->fs_info 4096-ptr_max
PARAM_VALUE 1 stripe->bg->fs_info->csum_type 0-3
PARAM_VALUE 1 stripe->io_wait.head.prev->next 4096-ptr_max
PARAM_VALUE 1 stripe->io_wait.head.prev->next->next 4096-ptr_max
PARAM_VALUE 1 stripe->nr_sectors 1-64
PARAM_VALUE 1 stripe->sctx 4096-ptr_max
PARAM_VALUE 1 stripe->sctx->fs_info->mapping_tree_lock.dep_map->name 0-255
PARAM_VALUE 1 stripe->sctx->readonly 0
PARAM_VALUE 3 dev_replace 0
CAPPED_DATA 1 stripe->nr_sectors 1
NOCHECK_CALL
HALF_LOCKED2 &pool->lock