Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/btrfs/tests/raid-stripe-tree-tests.c test_create_update_delete() -> btrfs_delete_raid_extent()

Type Parameter Key Value
PARAM_VALUE 0 trans 7861692711811600384
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->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 start 1048576
PARAM_VALUE 2 length 65536
DATA_SOURCE 0 trans $0
MEM_ZERO 0 trans
UNITS 1 start unit_byte

fs/btrfs/tests/raid-stripe-tree-tests.c test_delete_two_extents() -> btrfs_delete_raid_extent()

Type Parameter Key Value
PARAM_VALUE 0 trans 7861692711811600384
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->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 start 1048576
PARAM_VALUE 2 length 2097152
DATA_SOURCE 0 trans $0
MEM_ZERO 0 trans

fs/btrfs/tests/raid-stripe-tree-tests.c test_delete_two_extents() -> btrfs_delete_raid_extent()

Type Parameter Key Value
PARAM_VALUE 0 trans 7861692711811600384
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->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 start 3145728
PARAM_VALUE 2 length 1048576
DATA_SOURCE 0 trans $0
MEM_ZERO 0 trans
UNITS 1 start unit_byte

fs/btrfs/tests/raid-stripe-tree-tests.c test_front_delete() -> btrfs_delete_raid_extent()

Type Parameter Key Value
PARAM_VALUE 0 trans 7861692711811600384
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->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 start 1048576
PARAM_VALUE 2 length 16384
DATA_SOURCE 0 trans $0
MEM_ZERO 0 trans
UNITS 1 start unit_byte

fs/btrfs/tests/raid-stripe-tree-tests.c test_front_delete() -> btrfs_delete_raid_extent()

Type Parameter Key Value
PARAM_VALUE 0 trans 7861692711811600384
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->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 2 length 49152
CAPPED_DATA 1 start 1
DATA_SOURCE 0 trans $0
MEM_ZERO 0 trans
UNITS 1 start unit_byte

fs/btrfs/tests/raid-stripe-tree-tests.c test_front_delete_prev_item() -> btrfs_delete_raid_extent()

Type Parameter Key Value
PARAM_VALUE 0 trans 7861692711811600384
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->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 start 1572864
PARAM_VALUE 2 length 1048576
DATA_SOURCE 0 trans $0
MEM_ZERO 0 trans

fs/btrfs/tests/raid-stripe-tree-tests.c test_front_delete_prev_item() -> btrfs_delete_raid_extent()

Type Parameter Key Value
PARAM_VALUE 0 trans 7861692711811600384
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->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 2 length 524288
CAPPED_DATA 1 start 1
CAPPED_DATA 1 start 1
DATA_SOURCE 0 trans $0
BIT_INFO 1 start 0x100000,0x100000
MEM_ZERO 0 trans
UNITS 1 start unit_byte

fs/btrfs/tests/raid-stripe-tree-tests.c test_front_delete_prev_item() -> btrfs_delete_raid_extent()

Type Parameter Key Value
PARAM_VALUE 0 trans 7861692711811600384
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->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 2 length 524288
DATA_SOURCE 0 trans $0
MEM_ZERO 0 trans

fs/btrfs/tests/raid-stripe-tree-tests.c test_punch_hole() -> btrfs_delete_raid_extent()

Type Parameter Key Value
PARAM_VALUE 0 trans 7861692711811600384
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->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 start 1081344
PARAM_VALUE 2 length 65536
DATA_SOURCE 0 trans $0
MEM_ZERO 0 trans

fs/btrfs/tests/raid-stripe-tree-tests.c test_punch_hole() -> btrfs_delete_raid_extent()

Type Parameter Key Value
PARAM_VALUE 0 trans 7861692711811600384
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->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 start 1048576
PARAM_VALUE 2 length 32768
DATA_SOURCE 0 trans $0
MEM_ZERO 0 trans
UNITS 1 start unit_byte

fs/btrfs/tests/raid-stripe-tree-tests.c test_punch_hole() -> btrfs_delete_raid_extent()

Type Parameter Key Value
PARAM_VALUE 0 trans 7861692711811600384
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->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 start 1146880
PARAM_VALUE 2 length 950272
DATA_SOURCE 0 trans $0
MEM_ZERO 0 trans
UNITS 1 start unit_byte

fs/btrfs/tests/raid-stripe-tree-tests.c test_punch_hole_3extents() -> btrfs_delete_raid_extent()

Type Parameter Key Value
PARAM_VALUE 0 trans 7861692711811600384
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->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 start 1310720
PARAM_VALUE 2 length 2097152
DATA_SOURCE 0 trans $0
MEM_ZERO 0 trans

fs/btrfs/tests/raid-stripe-tree-tests.c test_punch_hole_3extents() -> btrfs_delete_raid_extent()

Type Parameter Key Value
PARAM_VALUE 0 trans 7861692711811600384
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->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 start 1048576
PARAM_VALUE 2 length 262144
DATA_SOURCE 0 trans $0
MEM_ZERO 0 trans
UNITS 1 start unit_byte

fs/btrfs/tests/raid-stripe-tree-tests.c test_punch_hole_3extents() -> btrfs_delete_raid_extent()

Type Parameter Key Value
PARAM_VALUE 0 trans 7861692711811600384
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->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 start 3407872
PARAM_VALUE 2 length 786432
DATA_SOURCE 0 trans $0
MEM_ZERO 0 trans
UNITS 1 start unit_byte

fs/btrfs/tests/raid-stripe-tree-tests.c test_simple_create_delete() -> btrfs_delete_raid_extent()

Type Parameter Key Value
PARAM_VALUE 0 trans 7861692711811600384
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->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 start 1048576
PARAM_VALUE 2 length 65536
DATA_SOURCE 0 trans $0
MEM_ZERO 0 trans
UNITS 1 start unit_byte

fs/btrfs/tests/raid-stripe-tree-tests.c test_tail_delete() -> btrfs_delete_raid_extent()

Type Parameter Key Value
PARAM_VALUE 0 trans 7861692711811600384
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->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 start 1097728
PARAM_VALUE 2 length 16384
DATA_SOURCE 0 trans $0
MEM_ZERO 0 trans
UNITS 1 start unit_byte

fs/btrfs/tests/raid-stripe-tree-tests.c test_tail_delete() -> btrfs_delete_raid_extent()

Type Parameter Key Value
PARAM_VALUE 0 trans 7861692711811600384
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->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
CAPPED_DATA 1 start 1
CAPPED_DATA 1 start 1
DATA_SOURCE 0 trans $0
BIT_INFO 1 start 0x100000,0x100000
MEM_ZERO 0 trans
UNITS 1 start unit_byte

fs/btrfs/extent-tree.c do_free_extent_accounting() -> btrfs_delete_raid_extent()

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
BUF_SIZE 0 trans (-1),1-s32max
BUF_SIZE 0 trans (-1),1-s32max
DATA_SOURCE 0 trans $0
DATA_SOURCE 1 start $1
RX_PATH
TASK_NOT_RUNNING
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
UNITS 1 start unit_byte
UNITS 2 length unit_byte
USER_PTR 0 trans->pending_snapshot->inherit
HALF_LOCKED2 &cow->lock
HALF_LOCKED2 &fs_info->reloc_mutex
HALF_LOCKED2 &href->mutex