Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- fs/btrfs/extent-tree.c, line 6454
- fs/btrfs/free-space-tree.c, line 1305
- fs/btrfs/qgroup.c, line 1419
Smatch caller information:
fs/btrfs/free-space-tree.c btrfs_delete_free_space_tree() -> btrfs_del_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | trans | 0-ptr_max |
| PARAM_VALUE | 1 | key | 503,4096-ptr_max |
| DATA_SOURCE | 0 | trans | r btrfs_start_transaction |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/btrfs/qgroup.c btrfs_quota_disable() -> btrfs_del_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | trans | 0-ptr_max |
| PARAM_VALUE | 1 | key | 4096-ptr_max |
| DATA_SOURCE | 0 | trans | r btrfs_start_transaction |
| CAPABLE | 0 | 21 | |
| LOCK2 | &fs_info->cleaner_mutex | ||
| LOCK2 | &fs_info->qgroup_ioctl_lock | ||
| LOCK2 | &fs_info->subvol_sem | ||
| TYPE_LOCK | (struct btrfs_fs_info)->cleaner_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->qgroup_ioctl_lock | ||
| TYPE_LOCK | (struct btrfs_fs_info)->subvol_sem |
fs/btrfs/extent-tree.c btrfs_drop_snapshot() -> btrfs_del_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | trans | 0-ptr_max |
| 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->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->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 | 1 | key | 4096-ptr_max |
| HALF_LOCKED2 | &fs_info->cleaner_mutex |