Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/btrfs/inode.c btrfs_delete_subvolume() -> btrfs_uuid_tree_remove()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | trans | 4096-ptr_max |
| PARAM_VALUE | 0 | trans->block_rsv->failfast | 0 |
| PARAM_VALUE | 0 | trans->block_rsv->full | 0 |
| PARAM_VALUE | 0 | trans->block_rsv->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | trans->block_rsv->qgroup_rsv_reserved | 0-u32max |
| PARAM_VALUE | 0 | trans->block_rsv->qgroup_rsv_size | 0 |
| PARAM_VALUE | 0 | trans->block_rsv->space_info | 0,4096-ptr_max |
| PARAM_VALUE | 0 | trans->block_rsv->type | 9 |
| PARAM_VALUE | 0 | trans->fs_info->commit_root_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->commit_root_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->ref_verify_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | trans->fs_info->tree_root->accounting_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | trans->fs_info->tree_root->dirty_log_pages.inode->delalloc_inodes.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | trans->fs_info->tree_root->dirty_log_pages.inode->root->delalloc_root.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | trans->fs_info->tree_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->tree_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | trans->transaction->dirty_pages.inode->delalloc_inodes.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | trans->transaction->dirty_pages.inode->root->delalloc_root.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | trans->transaction->pinned_extents.inode->delalloc_inodes.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | trans->transaction->pinned_extents.inode->root->delalloc_root.next->prev | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 251 |
| BUF_SIZE | 1 | uuid | 16 |
| DATA_SOURCE | 0 | trans | r btrfs_start_transaction |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &fs_info->subvol_sem | ||
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| TYPE_LOCK | (struct btrfs_fs_info)->subvol_sem |
fs/btrfs/inode.c btrfs_delete_subvolume() -> btrfs_uuid_tree_remove()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | trans | 4096-ptr_max |
| PARAM_VALUE | 0 | trans->block_rsv->failfast | 0 |
| PARAM_VALUE | 0 | trans->block_rsv->full | 0 |
| PARAM_VALUE | 0 | trans->block_rsv->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | trans->block_rsv->qgroup_rsv_reserved | 0-u32max |
| PARAM_VALUE | 0 | trans->block_rsv->qgroup_rsv_size | 0 |
| PARAM_VALUE | 0 | trans->block_rsv->space_info | 0,4096-ptr_max |
| PARAM_VALUE | 0 | trans->block_rsv->type | 9 |
| PARAM_VALUE | 0 | trans->fs_info->commit_root_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->commit_root_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->ref_verify_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | trans->fs_info->tree_root->accounting_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | trans->fs_info->tree_root->dirty_log_pages.inode->delalloc_inodes.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | trans->fs_info->tree_root->dirty_log_pages.inode->root->delalloc_root.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | trans->fs_info->tree_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->tree_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->uuid_root | 1-u64max |
| PARAM_VALUE | 0 | trans->transaction->dirty_pages.inode->delalloc_inodes.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | trans->transaction->dirty_pages.inode->root->delalloc_root.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | trans->transaction->pinned_extents.inode->delalloc_inodes.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | trans->transaction->pinned_extents.inode->root->delalloc_root.next->prev | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 252 |
| BUF_SIZE | 1 | uuid | 16 |
| DATA_SOURCE | 0 | trans | r btrfs_start_transaction |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &fs_info->subvol_sem | ||
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| TYPE_LOCK | (struct btrfs_fs_info)->subvol_sem |
fs/btrfs/ioctl.c _btrfs_ioctl_set_received_subvol() -> btrfs_uuid_tree_remove()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | trans | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 252 |
| BUF_SIZE | 1 | uuid | 16 |
| DATA_SOURCE | 0 | trans | r btrfs_start_transaction |
| LOCK2 | &fs_info->subvol_sem | ||
| TYPE_LOCK | (struct btrfs_fs_info)->subvol_sem |
fs/btrfs/uuid-tree.c btrfs_uuid_iter_rem() -> btrfs_uuid_tree_remove()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | trans | 0-ptr_max |
| PARAM_VALUE | 1 | uuid | 6554929381791883264 |
| PARAM_VALUE | 2 | type | 251-252 |
| BUF_SIZE | 1 | uuid | 16 |
| BUF_SIZE | 1 | uuid | 16 |
| DATA_SOURCE | 0 | trans | r btrfs_start_transaction |
| DATA_SOURCE | 1 | uuid | $1 |
| DATA_SOURCE | 2 | type | $2 |
| DATA_SOURCE | 3 | subid | $3 |
| BIT_INFO | 2 | type | 0xf8,0xff |