Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

fs/btrfs/volumes.c btrfs_close_one_device() -> btrfs_extent_io_tree_release()

Type Parameter Key Value
PARAM_VALUE 0 tree 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &uuid_mutex

fs/btrfs/volumes.c btrfs_free_device() -> btrfs_extent_io_tree_release()

Type Parameter Key Value
PARAM_VALUE 0 tree 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &fs_devices->device_list_mutex
HALF_LOCKED2 global &uuid_mutex

fs/btrfs/tree-log.c free_log_tree() -> btrfs_extent_io_tree_release()

Type Parameter Key Value
PARAM_VALUE 0 tree 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &fs_info->transaction_kthread_mutex

fs/btrfs/tree-log.c free_log_tree() -> btrfs_extent_io_tree_release()

Type Parameter Key Value
PARAM_VALUE 0 tree 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &fs_info->transaction_kthread_mutex

fs/btrfs/tests/btrfs-tests.c btrfs_free_dummy_device() -> btrfs_extent_io_tree_release()

Type Parameter Key Value
PARAM_VALUE 0 tree 4096-ptr_max
NOCHECK_CALL

fs/btrfs/transaction.c btrfs_write_and_wait_transaction() -> btrfs_extent_io_tree_release()

Type Parameter Key Value
PARAM_VALUE 0 tree 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &cow->lock
LOCK2 &fs_info->reloc_mutex
HALF_LOCKED2 &dev_replace->lock_finishing_cancel_unmount
HALF_LOCKED2 &fs_info->cleaner_mutex
HALF_LOCKED2 &fs_info->subvol_sem
HALF_LOCKED2 &fs_info->transaction_kthread_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct btrfs_fs_info)->reloc_mutex

fs/btrfs/transaction.c switch_commit_roots() -> btrfs_extent_io_tree_release()

Type Parameter Key Value
PARAM_VALUE 0 tree 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &cow->lock
LOCK2 &fs_info->commit_root_sem
LOCK2 &fs_info->reloc_mutex
HALF_LOCKED2 &dev_replace->lock_finishing_cancel_unmount
HALF_LOCKED2 &fs_info->cleaner_mutex
HALF_LOCKED2 &fs_info->subvol_sem
HALF_LOCKED2 &fs_info->transaction_kthread_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct btrfs_fs_info)->commit_root_sem
TYPE_LOCK (struct btrfs_fs_info)->reloc_mutex

fs/btrfs/disk-io.c btrfs_destroy_marked_extents() -> btrfs_extent_io_tree_release()

Type Parameter Key Value
PARAM_VALUE 0 tree 4096-ptr_max
PARAM_VALUE 0 tree->lock.rlock.dep_map->name 0-255
DATA_SOURCE 0 tree $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &fs_info->transaction_kthread_mutex