Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 8 files:
- fs/btrfs/dir-item.c, line 429
- fs/btrfs/extent-tree.c, line 1232
- fs/btrfs/file-item.c
- fs/btrfs/inode-item.c
- fs/btrfs/relocation.c, line 4808
- fs/btrfs/tree-log.c, line 589
- fs/btrfs/uuid-tree.c, line 194
- fs/btrfs/xattr.c, line 180
Smatch caller information:
fs/btrfs/dir-item.c btrfs_delete_one_dir_name() -> btrfs_truncate_item()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 | 1 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | path->nodes | 4096-ptr_max |
| PARAM_VALUE | 1 | path->slots | 4096-ptr_max |
| PARAM_VALUE | 3 | from_end | 1 |
| BUF_SIZE | 0 | trans | (-1),1-s32max |
| BUF_SIZE | 0 | trans | (-1),1-s32max |
| DATA_SOURCE | 0 | trans | $0 |
| DATA_SOURCE | 1 | path | $2 |
| STR_LEN | 0 | trans | (-1)-1010101 |
| STR_LEN | 0 | trans | (-1)-1010101 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | new_size | unit_byte |
fs/btrfs/xattr.c btrfs_setxattr() -> btrfs_truncate_item()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | trans | 1-u64max |
| 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 | 1 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | path->nodes | 4096-ptr_max |
| PARAM_VALUE | 1 | path->slots | 4096-ptr_max |
| PARAM_VALUE | 1 | *path->locks | 0-255 |
| PARAM_VALUE | 1 | *path->slots | s32min-s32max |
| PARAM_VALUE | 3 | from_end | 1 |
| BUF_SIZE | 0 | trans | (-1),1-s32max |
| BUF_SIZE | 0 | trans | (-1),1-s32max |
| DATA_SOURCE | 0 | trans | $0 |
| DATA_SOURCE | 1 | path | r btrfs_alloc_path |
| STR_LEN | 0 | trans | (-1)-1010101 |
| STR_LEN | 0 | trans | (-1)-1010101 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | new_size | 30-4065565[c] |
| UNITS | 2 | new_size | unit_byte |
fs/btrfs/tree-log.c overwrite_item() -> btrfs_truncate_item()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | path->nodes | 4096-ptr_max |
| PARAM_VALUE | 1 | path->skip_release_on_error | 0 |
| PARAM_VALUE | 1 | path->slots | 4096-ptr_max |
| PARAM_VALUE | 1 | *path->locks | 0-255 |
| PARAM_VALUE | 1 | *path->slots | s32min-s32max |
| PARAM_VALUE | 2 | new_size | 0-4294967294 |
| PARAM_VALUE | 3 | from_end | 1 |
| CAPPED_DATA | 2 | new_size | 1 |
| DATA_SOURCE | 2 | new_size | r btrfs_item_size |
| NOCHECK_CALL |
fs/btrfs/inode-item.c btrfs_del_inode_extref() -> btrfs_truncate_item()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 | 1 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | path->nodes | 4096-ptr_max |
| PARAM_VALUE | 1 | path->slots | 4096-ptr_max |
| PARAM_VALUE | 3 | from_end | 1 |
| BUF_SIZE | 0 | trans | (-1),1-s32max |
| BUF_SIZE | 0 | trans | (-1),1-s32max |
| DATA_SOURCE | 0 | trans | $0 |
| DATA_SOURCE | 1 | path | r btrfs_alloc_path |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | new_size | unit_byte |
| HALF_LOCKED2 | &inode->log_mutex |
fs/btrfs/inode-item.c btrfs_del_inode_ref() -> btrfs_truncate_item()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 | 1 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | path->nodes | 4096-ptr_max |
| PARAM_VALUE | 1 | path->slots | 4096-ptr_max |
| PARAM_VALUE | 3 | from_end | 1 |
| BUF_SIZE | 0 | trans | (-1),1-s32max |
| BUF_SIZE | 0 | trans | (-1),1-s32max |
| DATA_SOURCE | 0 | trans | $0 |
| DATA_SOURCE | 1 | path | r btrfs_alloc_path |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | new_size | unit_byte |
| HALF_LOCKED2 | &inode->log_mutex |
fs/btrfs/inode-item.c btrfs_truncate_inode_items() -> btrfs_truncate_item()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | trans->fs_info->chunk_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->chunk_root->node->lock.first_waiter->type | 0-1 |
| 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->dev_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->dev_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->remap_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->remap_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->sb->s_umount.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->sb->s_umount.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->stripe_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->stripe_root->node->lock.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 | 1 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | path->nodes | 4096-ptr_max |
| PARAM_VALUE | 1 | path->slots | 4096-ptr_max |
| PARAM_VALUE | 1 | *path->locks | 0-255 |
| PARAM_VALUE | 1 | *path->slots | s32min-s32max |
| PARAM_VALUE | 3 | from_end | 1 |
| BUF_SIZE | 0 | trans | (-1)-s32max |
| BUF_SIZE | 0 | trans | (-1)-s32max |
| CAPPED_DATA | 2 | new_size | 1 |
| DATA_SOURCE | 0 | trans | $0 |
| DATA_SOURCE | 1 | path | r btrfs_alloc_path |
| DATA_SOURCE | 2 | new_size | r btrfs_file_extent_calc_inline_size |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | trans->transaction->dirty_pages.inode->vfs_inode.i_bytes | |
| UNITS | 2 | new_size | unit_byte |
| USER_PTR | 0 | trans->pending_snapshot->inherit | |
| HALF_LOCKED2 | 0 | &trans->transaction->cache_write_mutex |
fs/btrfs/file-item.c truncate_one_csum() -> btrfs_truncate_item()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | trans | 4096-ptr_max |
| PARAM_VALUE | 0 | trans->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | trans->fs_info->block_group_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->block_group_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->chunk_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->chunk_root->node->lock.first_waiter->type | 0-1 |
| 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->dev_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->dev_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->quota_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->quota_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->remap_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->remap_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->sb->s_umount.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->sb->s_umount.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->stripe_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->stripe_root->node->lock.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->fs_info->uuid_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->uuid_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | path->nodes | 4096-ptr_max |
| PARAM_VALUE | 1 | path->slots | 4096-ptr_max |
| PARAM_VALUE | 3 | from_end | 1 |
| BUF_SIZE | 0 | trans | (-1),1-s32max |
| BUF_SIZE | 0 | trans | (-1),1-s32max |
| DATA_SOURCE | 0 | trans | $0 |
| DATA_SOURCE | 1 | path | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | trans->fs_info->tree_root->dirty_log_pages.inode->disk_i_size | |
| NO_OVERFLOW_SIMPLE | 0 | trans->fs_info->tree_root->dirty_log_pages.inode->vfs_inode.i_size | |
| NO_OVERFLOW_SIMPLE | 0 | trans->transaction->dirty_pages.inode->disk_i_size | |
| NO_OVERFLOW_SIMPLE | 0 | trans->transaction->dirty_pages.inode->vfs_inode.i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | trans->transaction->dirty_pages.inode->vfs_inode.i_size | |
| NO_OVERFLOW_SIMPLE | 0 | trans->transaction->pinned_extents.inode->vfs_inode.i_bytes | |
| USER_PTR | 0 | trans->pending_snapshot->inherit |
fs/btrfs/file-item.c truncate_one_csum() -> btrfs_truncate_item()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | trans | 4096-ptr_max |
| PARAM_VALUE | 0 | trans->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | trans->fs_info->block_group_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->block_group_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->chunk_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->chunk_root->node->lock.first_waiter->type | 0-1 |
| 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->dev_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->dev_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->quota_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->quota_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->remap_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->remap_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->sb->s_umount.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->sb->s_umount.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->stripe_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->stripe_root->node->lock.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->fs_info->uuid_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->uuid_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | path->nodes | 4096-ptr_max |
| PARAM_VALUE | 1 | path->slots | 4096-ptr_max |
| PARAM_VALUE | 3 | from_end | 0 |
| BUF_SIZE | 0 | trans | (-1),1-s32max |
| BUF_SIZE | 0 | trans | (-1),1-s32max |
| DATA_SOURCE | 0 | trans | $0 |
| DATA_SOURCE | 1 | path | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | trans->fs_info->tree_root->dirty_log_pages.inode->disk_i_size | |
| NO_OVERFLOW_SIMPLE | 0 | trans->fs_info->tree_root->dirty_log_pages.inode->vfs_inode.i_size | |
| NO_OVERFLOW_SIMPLE | 0 | trans->transaction->dirty_pages.inode->disk_i_size | |
| NO_OVERFLOW_SIMPLE | 0 | trans->transaction->dirty_pages.inode->vfs_inode.i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | trans->transaction->dirty_pages.inode->vfs_inode.i_size | |
| NO_OVERFLOW_SIMPLE | 0 | trans->transaction->pinned_extents.inode->vfs_inode.i_bytes | |
| USER_PTR | 0 | trans->pending_snapshot->inherit |
fs/btrfs/relocation.c remove_chunk_stripes() -> btrfs_truncate_item()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | trans | 4096-ptr_max |
| PARAM_VALUE | 0 | trans->fs_info->chunk_block_rsv.space_info->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | trans->fs_info->chunk_block_rsv.space_info->priority_tickets.prev->next | 643370198843097104 |
| PARAM_VALUE | 0 | trans->fs_info->chunk_block_rsv.space_info->priority_tickets.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | trans->fs_info->chunk_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | trans->fs_info->chunk_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | trans->fs_info->chunk_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | trans->fs_info->chunk_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | trans->fs_info->chunk_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | trans->fs_info->chunk_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | trans->fs_info->chunk_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | trans->fs_info->chunk_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | trans->fs_info->chunk_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | trans->fs_info->chunk_mutex.wait_lock.dep_map->name | 0-255 |
| 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->fs_devices | 4096-ptr_max |
| PARAM_VALUE | 0 | trans->fs_info->fs_devices->device_list_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | trans->fs_info->fs_devices->device_list_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | trans->fs_info->fs_devices->device_list_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | trans->fs_info->fs_devices->device_list_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | trans->fs_info->fs_devices->per_profile_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | trans->fs_info->global_block_rsv.space_info->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | trans->fs_info->global_root_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | trans->fs_info->mapping_tree_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | trans->fs_info->profiles_lock.seqcount.seqcount.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | trans->fs_info->super_lock.rlock.dep_map->name | 0-255 |
| 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 | 1 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | path->nodes | 4096-ptr_max |
| PARAM_VALUE | 1 | path->slots | 4096-ptr_max |
| PARAM_VALUE | 2 | new_size | 48 |
| PARAM_VALUE | 3 | from_end | 1 |
| BUF_SIZE | 0 | trans | (-1),4,24,64,168-s32max |
| BUF_SIZE | 0 | trans | (-1),4,24,64,168-s32max |
| DATA_SOURCE | 0 | trans | $0 |
| DATA_SOURCE | 1 | path | $2 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
fs/btrfs/extent-tree.c update_inline_extent_backref() -> btrfs_truncate_item()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | trans | 4096-ptr_max |
| PARAM_VALUE | 0 | trans->fs_info->block_group_cache_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | trans->fs_info->block_group_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->block_group_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->chunk_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->chunk_root->node->lock.first_waiter->type | 0-1 |
| 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->dev_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->dev_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->global_root_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | trans->fs_info->quota_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->quota_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->remap_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->remap_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->sb->s_umount.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->sb->s_umount.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->stripe_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->stripe_root->node->lock.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->fs_info->uuid_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | trans->fs_info->uuid_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | trans->pending_snapshot->anon_dev | 0-s32max |
| PARAM_VALUE | 0 | trans->pending_snapshot->error | 0 |
| PARAM_VALUE | 0 | trans->pending_snapshot->snap | 0 |
| PARAM_VALUE | 0 | trans->transaction->aborted | s32min-(-27),(-17),(-12),(-5),(-2) |
| PARAM_VALUE | 1 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | path->nodes | 4096-ptr_max |
| PARAM_VALUE | 1 | path->slots | 4096-ptr_max |
| PARAM_VALUE | 1 | *path->locks | 0-255 |
| PARAM_VALUE | 1 | *path->slots | s32min-s32max |
| PARAM_VALUE | 3 | from_end | 1 |
| BUF_SIZE | 0 | trans | (-1),1-s32max |
| BUF_SIZE | 0 | trans | (-1),1-s32max |
| DATA_SOURCE | 0 | trans | $0 |
| DATA_SOURCE | 1 | path | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | trans->fs_info->chunk_root->dirty_log_pages.inode->disk_i_size | |
| NO_OVERFLOW_SIMPLE | 0 | trans->fs_info->chunk_root->dirty_log_pages.inode->vfs_inode.i_size | |
| NO_OVERFLOW_SIMPLE | 0 | trans->fs_info->tree_root->dirty_log_pages.inode->disk_i_size | |
| NO_OVERFLOW_SIMPLE | 0 | trans->fs_info->tree_root->dirty_log_pages.inode->vfs_inode.i_size | |
| NO_OVERFLOW_SIMPLE | 0 | trans->transaction->dirty_pages.inode->disk_i_size | |
| NO_OVERFLOW_SIMPLE | 0 | trans->transaction->dirty_pages.inode->vfs_inode.i_size | |
| NO_OVERFLOW_SIMPLE | 0 | trans->transaction->pinned_extents.inode->vfs_inode.i_bytes | |
| USER_PTR | 0 | trans->pending_snapshot->inherit | |
| HALF_LOCKED2 | &fs_info->reloc_mutex | ||
| HALF_LOCKED2 | &href->mutex |
fs/btrfs/uuid-tree.c btrfs_uuid_tree_remove() -> btrfs_truncate_item()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | trans | 4096-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 | 1 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | path->nodes | 4096-ptr_max |
| PARAM_VALUE | 1 | path->slots | 4096-ptr_max |
| PARAM_VALUE | 2 | new_size | 1-u32max |
| PARAM_VALUE | 3 | from_end | 1 |
| BUF_SIZE | 0 | trans | (-1),4,24,64,168-s32max |
| BUF_SIZE | 0 | trans | (-1),4,24,64,168-s32max |
| DATA_SOURCE | 0 | trans | $0 |
| DATA_SOURCE | 1 | path | r btrfs_alloc_path |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | new_size | unit_byte |
| HALF_LOCKED2 | &fs_info->subvol_sem |