Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- fs/btrfs/ctree.c, line 1499
- fs/btrfs/disk-io.c, line 1025
- fs/btrfs/extent-tree.c, line 5797
- fs/btrfs/extent_io.c
- fs/btrfs/tree-log.c, line 432
Smatch caller information:
fs/btrfs/tree-log.c process_one_buffer() -> btrfs_buffer_uptodate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eb | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->fs_info->btree_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max |
| PARAM_VALUE | 0 | eb->fs_info->stripe_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | eb->fs_info->stripe_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | eb->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | eb->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | check | 0 |
| BUF_SIZE | 0 | eb | (-1)-s32max |
| BUF_SIZE | 0 | eb | (-1)-s32max |
| CAPPED_DATA | 0 | eb->start | 1 |
| DATA_SOURCE | 0 | eb | $0 |
| DATA_SOURCE | 1 | parent_transid | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fs_info->transaction_kthread_mutex |
fs/btrfs/extent_io.c btrfs_readahead_tree_block() -> btrfs_buffer_uptodate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eb | 4096-ptr_max |
| PARAM_VALUE | 2 | check | 7073105183550627840 |
| PARAM_VALUE | 2 | check->owner_root | 0 |
| CAPPED_DATA | 0 | eb | 1 |
| DATA_SOURCE | 0 | eb | r btrfs_find_create_tree_block |
| DATA_SOURCE | 1 | parent_transid | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/btrfs/extent_io.c read_extent_buffer_pages_nowait() -> btrfs_buffer_uptodate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eb | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->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 | eb->fs_info->remap_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | eb->fs_info->remap_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | eb->fs_info->stripe_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | eb->fs_info->stripe_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | eb->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | eb->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | parent_transid | 0 |
| PARAM_VALUE | 2 | check | 4096-ptr_max |
| BUF_SIZE | 0 | eb | (-1)-s32max |
| BUF_SIZE | 0 | eb | (-1)-s32max |
| CAPPED_DATA | 0 | eb | 1 |
| DATA_SOURCE | 0 | eb | $0 |
| DATA_SOURCE | 2 | check | $2 |
| NOSPEC | 2 | check->owner_root | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | check->owner_root | 5,256-9223372036854775807[c] |
| HALF_LOCKED2 | &fs_info->cleaner_mutex | ||
| HALF_LOCKED2 | 0 | &eb->lock |
fs/btrfs/extent_io.c read_extent_buffer_pages_nowait() -> btrfs_buffer_uptodate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eb | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->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 | eb->fs_info->remap_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | eb->fs_info->remap_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | eb->fs_info->stripe_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | eb->fs_info->stripe_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | eb->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | eb->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | parent_transid | 0 |
| PARAM_VALUE | 2 | check | 4096-ptr_max |
| BUF_SIZE | 0 | eb | (-1)-s32max |
| BUF_SIZE | 0 | eb | (-1)-s32max |
| CAPPED_DATA | 0 | eb | 1 |
| DATA_SOURCE | 0 | eb | $0 |
| DATA_SOURCE | 2 | check | $2 |
| NOSPEC | 2 | check->owner_root | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | check->owner_root | 5,256-9223372036854775807[c] |
| HALF_LOCKED2 | &fs_info->cleaner_mutex | ||
| HALF_LOCKED2 | 0 | &eb->lock |
fs/btrfs/disk-io.c read_tree_root_path() -> btrfs_buffer_uptodate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eb | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->fs_info->block_group_cache_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | eb->fs_info->dev_replace.bio_counter.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | eb->fs_info->dev_replace.bio_counter.lock.owner | (-1) |
| PARAM_VALUE | 0 | eb->fs_info->dev_replace.bio_counter.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | eb->fs_info->dev_replace.replace_wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->fs_info->dev_replace.replace_wait.head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->fs_info->mapping_tree_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | eb->fs_info->stripe_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | eb->fs_info->stripe_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | check | 7683491576711512064 |
| PARAM_VALUE | 2 | check->first_key.objectid | 0 |
| PARAM_VALUE | 2 | check->first_key.offset | 0 |
| PARAM_VALUE | 2 | check->first_key.type | 0 |
| PARAM_VALUE | 2 | check->has_first_key | 0 |
| CAPPED_DATA | 0 | eb | 1 |
| DATA_SOURCE | 0 | eb | r read_tree_block |
| DATA_SOURCE | 1 | parent_transid | r btrfs_root_generation |
| NOSPEC | 2 | check->owner_root | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | check->owner_root | 5,256-9223372036854775807[c] |
fs/btrfs/extent-tree.c check_next_block_uptodate() -> btrfs_buffer_uptodate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eb | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->lock.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | eb->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | eb->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 2 | check | 8200820102902026240 |
| PARAM_VALUE | 2 | check->has_first_key | 1 |
| PARAM_VALUE | 2 | check->level | 0-254 |
| BUF_SIZE | 0 | eb | (-1)-s32max |
| BUF_SIZE | 0 | eb | (-1)-s32max |
| CAPPED_DATA | 0 | eb | 1 |
| DATA_SOURCE | 0 | eb | $4 |
| DATA_SOURCE | 1 | parent_transid | r btrfs_node_ptr_generation |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &fs_info->cleaner_mutex | ||
| LOCK2 | 0 | &eb->lock | |
| HALF_LOCKED2 | &next->lock | ||
| HALF_LOCKED2 | &node->lock | ||
| TYPE_LOCK | (struct btrfs_fs_info)->cleaner_mutex | ||
| TYPE_LOCK | (struct extent_buffer)->lock |
fs/btrfs/ctree.c read_block_for_search() -> btrfs_buffer_uptodate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eb | 4096-ptr_max |
| PARAM_VALUE | 2 | check | 7648449682210570240 |
| PARAM_VALUE | 2 | check->has_first_key | 1 |
| DATA_SOURCE | 0 | eb | r find_extent_buffer |
| DATA_SOURCE | 1 | parent_transid | r btrfs_node_ptr_generation |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | parent_transid | unit_byte |