Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/btrfs/relocation.c handle_useless_nodes() -> btrfs_backref_free_edge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->rb_root.rb_node | 4096-ptr_max |
| PARAM_VALUE | 1 | edge | 4096-ptr_max |
| PARAM_VALUE | 1 | edge->list | 4096-ptr_max |
| PARAM_VALUE | 1 | edge->node | 4096-ptr_max |
| BUF_SIZE | 0 | cache | 264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &fs_info->cleaner_mutex | ||
| HALF_LOCKED2 | &fs_info->reclaim_bgs_lock | ||
| TYPE_LOCK | (struct btrfs_fs_info)->cleaner_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->reclaim_bgs_lock |
fs/btrfs/backref.c btrfs_backref_cleanup_node() -> btrfs_backref_free_edge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| PARAM_VALUE | 1 | edge->list | 4096-ptr_max |
| BUF_SIZE | 0 | cache | (-1),264 |
| BUF_SIZE | 0 | cache | (-1),264 |
| DATA_SOURCE | 0 | cache | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &fs_info->cleaner_mutex |
fs/btrfs/backref.c btrfs_backref_error_cleanup() -> btrfs_backref_free_edge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| PARAM_VALUE | 1 | edge | 4096-ptr_max |
| PARAM_VALUE | 1 | edge->list | 4096-ptr_max |
| PARAM_VALUE | 1 | edge->node | 4096-ptr_max |
| BUF_SIZE | 0 | cache | 264 |
| CAPPED_DATA | 0 | &cache->pending_edge | 1 |
| CAPPED_DATA | 0 | &cache->useless_node | 1 |
| DATA_SOURCE | 0 | cache | $0 |
| PARAM_COMPARE | 0 | &cache->pending_edge | != $0->pending_edge.next |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &fs_info->cleaner_mutex | ||
| HALF_LOCKED2 | &fs_info->reclaim_bgs_lock | ||
| TYPE_LOCK | (struct btrfs_fs_info)->cleaner_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->reclaim_bgs_lock |
fs/btrfs/backref.c btrfs_backref_finish_upper_links() -> btrfs_backref_free_edge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->rb_root.rb_node | 4096-ptr_max |
| PARAM_VALUE | 1 | edge | 4096-ptr_max |
| PARAM_VALUE | 1 | edge->list | 4096-ptr_max |
| PARAM_VALUE | 1 | edge->node | 4096-ptr_max |
| BUF_SIZE | 0 | cache | 264 |
| DATA_SOURCE | 0 | cache | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &fs_info->cleaner_mutex | ||
| HALF_LOCKED2 | &fs_info->reclaim_bgs_lock | ||
| TYPE_LOCK | (struct btrfs_fs_info)->cleaner_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->reclaim_bgs_lock |
fs/btrfs/backref.c handle_direct_tree_backref() -> btrfs_backref_free_edge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->rb_root.rb_node | 0,4096-ptr_max |
| PARAM_VALUE | 1 | edge | 4096-ptr_max |
| BUF_SIZE | 0 | cache | 264 |
| BUF_SIZE | 1 | edge | 48 |
| DATA_SOURCE | 0 | cache | $0 |
| DATA_SOURCE | 1 | edge | r btrfs_backref_alloc_edge |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &fs_info->cleaner_mutex | ||
| HALF_LOCKED2 | &fs_info->reclaim_bgs_lock | ||
| TYPE_LOCK | (struct btrfs_fs_info)->cleaner_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->reclaim_bgs_lock |
fs/btrfs/backref.c handle_indirect_tree_backref() -> btrfs_backref_free_edge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->fs_info->block_group_root->refs.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | cache->fs_info->chunk_root->refs.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | cache->fs_info->dev_root->refs.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | cache->fs_info->fs_roots_radix_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cache->fs_info->quota_root->refs.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | cache->fs_info->remap_root->refs.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | cache->fs_info->stripe_root->refs.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | cache->fs_info->tree_root->refs.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | cache->fs_info->uuid_root->refs.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | cache->rb_root.rb_node | 0,4096-ptr_max |
| PARAM_VALUE | 1 | edge | 4096-ptr_max |
| BUF_SIZE | 0 | cache | 264 |
| BUF_SIZE | 1 | edge | 48 |
| DATA_SOURCE | 0 | cache | $1 |
| DATA_SOURCE | 1 | edge | r btrfs_backref_alloc_edge |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &fs_info->cleaner_mutex | ||
| HALF_LOCKED2 | &fs_info->reclaim_bgs_lock | ||
| TYPE_LOCK | (struct btrfs_fs_info)->cleaner_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->reclaim_bgs_lock |
fs/btrfs/backref.c handle_indirect_tree_backref() -> btrfs_backref_free_edge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->fs_info->block_group_root->refs.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | cache->fs_info->chunk_root->refs.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | cache->fs_info->dev_root->refs.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | cache->fs_info->fs_roots_radix_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cache->fs_info->quota_root->refs.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | cache->fs_info->remap_root->refs.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | cache->fs_info->stripe_root->refs.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | cache->fs_info->tree_root->refs.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | cache->fs_info->uuid_root->refs.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | cache->rb_root.rb_node | 0,4096-ptr_max |
| PARAM_VALUE | 1 | edge | 4096-ptr_max |
| BUF_SIZE | 0 | cache | 264 |
| BUF_SIZE | 1 | edge | 48 |
| DATA_SOURCE | 0 | cache | $1 |
| DATA_SOURCE | 1 | edge | r btrfs_backref_alloc_edge |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &fs_info->cleaner_mutex | ||
| HALF_LOCKED2 | &fs_info->reclaim_bgs_lock | ||
| TYPE_LOCK | (struct btrfs_fs_info)->cleaner_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->reclaim_bgs_lock |