Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/btrfs/block-group.c load_extent_tree_free() -> btrfs_find_next_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| PARAM_VALUE | 1 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | path->nodes | 4096-ptr_max |
| PARAM_VALUE | 1 | path->slots | 4096-ptr_max |
| PARAM_VALUE | 2 | key | 4049891118680719360 |
| PARAM_VALUE | 3 | level | 0 |
| PARAM_VALUE | 4 | min_trans | 0 |
| DATA_SOURCE | 0 | root | r btrfs_extent_root |
| DATA_SOURCE | 1 | path | r btrfs_alloc_path |
| LOCK2 | &caching_ctl->mutex | ||
| LOCK2 | &fs_info->commit_root_sem | ||
| HALF_LOCKED2 | &fs_info->commit_root_sem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct btrfs_caching_control)->mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->commit_root_sem |
fs/btrfs/defrag.c btrfs_defrag_leaves() -> btrfs_find_next_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| PARAM_VALUE | 0 | root->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 | root->node->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | root->node->lock.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | root->node->lock.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | path->locks | 4096-ptr_max |
| PARAM_VALUE | 1 | path->nodes | 4096-ptr_max |
| PARAM_VALUE | 1 | path->slots | 4096-ptr_max |
| PARAM_VALUE | 1 | *path->locks | 0-255 |
| PARAM_VALUE | 1 | *path->nodes | 0 |
| PARAM_VALUE | 1 | *path->slots | s32min-s32max |
| PARAM_VALUE | 2 | key | 607953117779128320 |
| PARAM_VALUE | 3 | level | 1 |
| PARAM_VALUE | 4 | min_trans | 0 |
| CAPPED_DATA | 0 | root | 1 |
| DATA_SOURCE | 0 | root | $1 |
| DATA_SOURCE | 1 | path | r btrfs_alloc_path |
| CAPABLE | 0 | 21 |
fs/btrfs/ctree.c btrfs_search_forward() -> btrfs_find_next_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| PARAM_VALUE | 0 | root->node | 4096-ptr_max |
| PARAM_VALUE | 0 | root->node->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | root->node->lock.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | root->node->lock.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | path->locks | 4096-ptr_max |
| PARAM_VALUE | 1 | path->nodes | 4096-ptr_max |
| PARAM_VALUE | 1 | path->slots | 4096-ptr_max |
| PARAM_VALUE | 2 | key | 607953117779128320,2407305197628338176,3531071578656346112,6261413631930257408,7217413690763591680,8829450759068741632 |
| PARAM_VALUE | 3 | level | 0-255 |
| BUF_SIZE | 0 | root | (-1),2888 |
| BUF_SIZE | 0 | root | (-1),2888 |
| CAPPED_DATA | 0 | root->node | 1 |
| CAPPED_DATA | 4 | min_trans | 1 |
| CAPPED_DATA | 4 | min_trans | 1 |
| DATA_SOURCE | 0 | root | $0 |
| DATA_SOURCE | 1 | path | $2 |
| DATA_SOURCE | 2 | key | $1 |
| DATA_SOURCE | 3 | level | r btrfs_header_level |
| DATA_SOURCE | 4 | min_trans | $3 |
| NOSPEC | 2 | key->offset | |
| NOSPEC | 4 | min_trans | |
| USER_DATA | 2 | key->objectid | 0-u64max |
| USER_DATA | 2 | key->offset | 0-u64max |
| USER_DATA | 2 | key->type | 0-255 |
| USER_DATA | 4 | min_trans | 0-s32max[c] |
| HALF_LOCKED2 | &cur->lock | ||
| HALF_LOCKED2 | &inode->vfs_inode.i_rwsem |