Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/btrfs/backref.c btrfs_find_all_leafs() -> find_parent_nodes()

Type Parameter Key Value
PARAM_VALUE 0 ctx 574985749575487488,2780444160863600640,5145653887037206528,7838806114221654016,8313958914452783104
PARAM_VALUE 0 ctx->cache_lookup 0,7669883241497063424
PARAM_VALUE 0 ctx->cache_store 0,2393895259414908928
PARAM_VALUE 0 ctx->check_extent_item 0,4540522658273419264
PARAM_VALUE 0 ctx->fs_info 4096-ptr_max
PARAM_VALUE 0 ctx->fs_info->commit_root_sem.first_waiter->type 0-1
PARAM_VALUE 0 ctx->indirect_ref_iterator 0,5033003436201418752
PARAM_VALUE 0 ctx->refs 4096-ptr_max
PARAM_VALUE 0 ctx->refs->nnodes 0
PARAM_VALUE 0 ctx->refs->prealloc 0
PARAM_VALUE 0 ctx->roots 0
PARAM_VALUE 0 ctx->skip_data_ref 0,884653050063826944
PARAM_VALUE 0 ctx->trans 0-ptr_max
PARAM_VALUE 0 ctx->user_ctx 0,3690204927062323200
PARAM_VALUE 1 sc 0
BUF_SIZE 0 ctx->refs 40
DATA_SOURCE 0 ctx $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 0 &ctx->fs_info->commit_root_sem

fs/btrfs/backref.c btrfs_find_all_roots_safe() -> find_parent_nodes()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->cache_lookup 0,7669883241497063424
PARAM_VALUE 0 ctx->check_extent_item 0,4540522658273419264
PARAM_VALUE 0 ctx->fs_info 4096-ptr_max
PARAM_VALUE 0 ctx->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 ctx->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 ctx->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 ctx->fs_info->commit_root_sem.first_waiter->type 0-1
PARAM_VALUE 0 ctx->indirect_ref_iterator 0,5033003436201418752
PARAM_VALUE 0 ctx->refs 4096-ptr_max
PARAM_VALUE 0 ctx->refs->prealloc 0
PARAM_VALUE 0 ctx->roots 4096-ptr_max
PARAM_VALUE 0 ctx->roots->nodes.next->next 4096-ptr_max
PARAM_VALUE 0 ctx->roots->nodes.prev->next 4096-ptr_max
PARAM_VALUE 0 ctx->roots->nodes.prev->next->next 4096-ptr_max
PARAM_VALUE 0 ctx->roots->nodes.prev->prev 4096-ptr_max
PARAM_VALUE 0 ctx->roots->prealloc 0
PARAM_VALUE 0 ctx->skip_data_ref 0,884653050063826944
PARAM_VALUE 0 ctx->skip_inode_ref_list 1
PARAM_VALUE 0 ctx->trans 0-ptr_max
PARAM_VALUE 0 ctx->user_ctx 0,3690204927062323200
PARAM_VALUE 1 sc 0
BUF_SIZE 0 ctx->refs 40
BUF_SIZE 0 ctx->roots (-1),40
DATA_SOURCE 0 ctx $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 ctx->bytenr
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 0 &ctx->fs_info->commit_root_sem

fs/btrfs/backref.c btrfs_is_data_extent_shared() -> find_parent_nodes()

Type Parameter Key Value
PARAM_VALUE 0 ctx 3297440178281078784
PARAM_VALUE 0 ctx->cache_lookup 0
PARAM_VALUE 0 ctx->check_extent_item 0
PARAM_VALUE 0 ctx->extent_item_pos 0
PARAM_VALUE 0 ctx->fs_info 4096-ptr_max
PARAM_VALUE 0 ctx->ignore_extent_item_pos 0
PARAM_VALUE 0 ctx->indirect_ref_iterator 0
PARAM_VALUE 0 ctx->refs 4096-ptr_max
PARAM_VALUE 0 ctx->roots 0
PARAM_VALUE 0 ctx->skip_data_ref 0
PARAM_VALUE 0 ctx->skip_inode_ref_list 1
PARAM_VALUE 0 ctx->trans 0-ptr_max
PARAM_VALUE 0 ctx->user_ctx 0
PARAM_VALUE 1 sc 1504840461724635136
PARAM_VALUE 1 sc->ctx 4096-ptr_max
PARAM_VALUE 1 sc->have_delayed_delete_refs 0
PARAM_VALUE 1 sc->root 4096-ptr_max
PARAM_VALUE 1 sc->share_count 0
HALF_LOCKED2 &fs_info->commit_root_sem
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &inode->vfs_inode.i_rwsem
TYPE_LOCK (struct inode)->i_rwsem