Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/btrfs/ioctl.c _btrfs_ioctl_set_received_subvol() -> btrfs_uuid_tree_add()
| 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 |
| USER_DATA | 1 | *uuid | 0-255 |
| USER_PTR | 1 | uuid | |
| LOCK2 | &fs_info->subvol_sem | ||
| TYPE_LOCK | (struct btrfs_fs_info)->subvol_sem |
fs/btrfs/ioctl.c create_subvol() -> btrfs_uuid_tree_add()
| 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->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->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 | 2 | type | 251 |
| PARAM_VALUE | 3 | subid_cpu | 0-18446744073709551359 |
| BUF_SIZE | 1 | uuid | 16 |
| CAPPED_DATA | 3 | subid_cpu | 1 |
| CAPPED_DATA | 3 | subid_cpu | 1 |
| 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_scan_kthread() -> btrfs_uuid_tree_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | trans | 1-ptr_max |
| PARAM_VALUE | 2 | type | 251 |
| PARAM_VALUE | 3 | subid_cpu | 5,256-18446744073709551360 |
| BUF_SIZE | 1 | uuid | 16 |
| CAPPED_DATA | 0 | trans | 1 |
| UNITS | 3 | subid_cpu | unit_byte |
fs/btrfs/uuid-tree.c btrfs_uuid_scan_kthread() -> btrfs_uuid_tree_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | trans | 1-ptr_max |
| PARAM_VALUE | 2 | type | 252 |
| PARAM_VALUE | 3 | subid_cpu | 5,256-18446744073709551360 |
| BUF_SIZE | 1 | uuid | 16 |
| CAPPED_DATA | 0 | trans | 1 |
| UNITS | 3 | subid_cpu | unit_byte |