Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- fs/btrfs/ctree.c, line 2534
- fs/btrfs/fiemap.c, line 612
- fs/btrfs/raid-stripe-tree.c, line 141
- fs/btrfs/tree-log.c
- fs/btrfs/volumes.c
Smatch caller information:
fs/btrfs/raid-stripe-tree.c btrfs_delete_raid_extent() -> btrfs_previous_item()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 1-u64max |
| 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 | 1 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | path->nodes | 4096-ptr_max |
| PARAM_VALUE | 1 | path->slots | 4096-ptr_max |
| PARAM_VALUE | 2 | min_objectid | 0 |
| PARAM_VALUE | 3 | type | 230 |
| DATA_SOURCE | 1 | path | r btrfs_alloc_path |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/btrfs/volumes.c __btrfs_balance() -> btrfs_previous_item()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | path | 1-u64max |
| PARAM_VALUE | 2 | min_objectid | 0 |
| PARAM_VALUE | 3 | type | 228 |
| DATA_SOURCE | 1 | path | r btrfs_alloc_path |
| LOCK2 | &fs_info->reclaim_bgs_lock | ||
| TYPE_LOCK | (struct btrfs_fs_info)->reclaim_bgs_lock |
fs/btrfs/volumes.c btrfs_free_dev_extent() -> btrfs_previous_item()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | path | 1-u64max |
| PARAM_VALUE | 3 | type | 204 |
| DATA_SOURCE | 1 | path | r btrfs_alloc_path |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | min_objectid | unit_byte |
| LOCK2 | &fs_devices->device_list_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_devices)->device_list_mutex |
fs/btrfs/volumes.c btrfs_relocate_sys_chunks() -> btrfs_previous_item()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | path | 1-u64max |
| PARAM_VALUE | 2 | min_objectid | 256 |
| PARAM_VALUE | 3 | type | 228 |
| DATA_SOURCE | 1 | path | r btrfs_alloc_path |
| CAPABLE | 0 | 21 | |
| UNITS | 2 | min_objectid | unit_byte |
| LOCK2 | &fs_info->reclaim_bgs_lock | ||
| TYPE_LOCK | (struct btrfs_fs_info)->reclaim_bgs_lock |
fs/btrfs/volumes.c btrfs_shrink_device() -> btrfs_previous_item()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root->fs_info->qgroup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | root->qgroup_meta_rsv_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | path | 4096-ptr_max |
| PARAM_VALUE | 2 | min_objectid | 0 |
| DATA_SOURCE | 1 | path | r btrfs_alloc_path |
| CAPABLE | 0 | 21 | |
| LOCK2 | &fs_info->reclaim_bgs_lock | ||
| TYPE_LOCK | (struct btrfs_fs_info)->reclaim_bgs_lock |
fs/btrfs/volumes.c find_next_devid() -> btrfs_previous_item()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | path | 1-u64max |
| PARAM_VALUE | 2 | min_objectid | 1 |
| PARAM_VALUE | 3 | type | 216 |
| DATA_SOURCE | 1 | path | r btrfs_alloc_path |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| HALF_LOCKED2 | &sb->s_umount | ||
| HALF_LOCKED2 | global &uuid_mutex |
fs/btrfs/tree-log.c btrfs_log_prealloc_extents() -> btrfs_previous_item()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | *path->locks | 0-255 |
| PARAM_VALUE | 1 | *path->slots | s32min-s32max |
| PARAM_VALUE | 3 | type | 108 |
| DATA_SOURCE | 1 | path | $2 |
fs/btrfs/tree-log.c log_dir_items() -> btrfs_previous_item()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 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 | 0-255 |
| PARAM_VALUE | 1 | *path->nodes | 0 |
| PARAM_VALUE | 1 | *path->slots | s32min-s32max |
| PARAM_VALUE | 3 | type | 96 |
| DATA_SOURCE | 1 | path | $2 |
| UNITS | 2 | min_objectid | unit_byte |
fs/btrfs/tree-log.c log_dir_items() -> btrfs_previous_item()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 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 | 0-255 |
| PARAM_VALUE | 1 | *path->slots | s32min-s32max |
| PARAM_VALUE | 3 | type | 96 |
| CAPPED_DATA | 2 | min_objectid | 1 |
| CAPPED_DATA | 2 | min_objectid | 1 |
| DATA_SOURCE | 1 | path | $2 |
| UNITS | 2 | min_objectid | unit_byte |
fs/btrfs/ctree.c btrfs_search_backwards() -> btrfs_previous_item()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | path | 1-u64max |
| BUF_SIZE | 0 | root | (-1),2888 |
| BUF_SIZE | 0 | root | (-1),2888 |
| DATA_SOURCE | 0 | root | $0 |
| DATA_SOURCE | 1 | path | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | min_objectid | 0-u64max |
| UNITS | 2 | min_objectid | unit_byte |
| HALF_LOCKED2 | &fs_info->chunk_mutex |
fs/btrfs/fiemap.c fiemap_find_last_extent_offset() -> btrfs_previous_item()
| 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 | 1 | *path->locks | 0-255 |
| PARAM_VALUE | 1 | *path->slots | s32min-s32max |
| PARAM_VALUE | 3 | type | 108 |
| CAPPED_DATA | 2 | min_objectid | 1 |
| CAPPED_DATA | 2 | min_objectid | 1 |
| DATA_SOURCE | 1 | path | $1 |
| UNITS | 2 | min_objectid | unit_byte |
| LOCK2 | &inode->vfs_inode.i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |