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 clean_dirty_subvols() -> btrfs_drop_snapshot()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 1-u64max |
| PARAM_VALUE | 1 | update_ref | 0 |
| PARAM_VALUE | 2 | for_reloc | 1 |
fs/btrfs/relocation.c clean_dirty_subvols() -> btrfs_drop_snapshot()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| PARAM_VALUE | 0 | root->root_key.objectid | 18446744073709551608 |
| PARAM_VALUE | 1 | update_ref | 0 |
| PARAM_VALUE | 2 | for_reloc | 1 |
| CAPPED_DATA | 0 | &root->reloc_dirty_list | 1 |
fs/btrfs/transaction.c btrfs_clean_one_deleted_snapshot() -> btrfs_drop_snapshot()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| PARAM_VALUE | 0 | root->delayed_nodes.xa_head | 0 |
| PARAM_VALUE | 0 | root->node | 4096-ptr_max |
| PARAM_VALUE | 0 | root->root_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | root->root_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | update_ref | 0 |
| PARAM_VALUE | 2 | for_reloc | 0 |
| LOCK2 | &fs_info->cleaner_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->cleaner_mutex |
fs/btrfs/transaction.c btrfs_clean_one_deleted_snapshot() -> btrfs_drop_snapshot()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| PARAM_VALUE | 0 | root->delayed_nodes.xa_head | 0 |
| PARAM_VALUE | 0 | root->node | 4096-ptr_max |
| PARAM_VALUE | 0 | root->root_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | root->root_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | update_ref | 1 |
| PARAM_VALUE | 2 | for_reloc | 0 |
| LOCK2 | &fs_info->cleaner_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->cleaner_mutex |