Defined in 1 files as a function:
Referenced in 10 files:
- fs/btrfs/bio.c
- fs/btrfs/btrfs_inode.h, line 479
- fs/btrfs/delalloc-space.c
- fs/btrfs/disk-io.c, line 1083
- fs/btrfs/extent-tree.c
- fs/btrfs/file-item.c, line 493
- fs/btrfs/inode.c
- fs/btrfs/relocation.c, line 5871
- fs/btrfs/zoned.c, line 2066
- fs/btrfs/zoned.h
Smatch caller information:
fs/btrfs/inode.c btrfs_clear_delalloc_extent() -> btrfs_is_data_reloc_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| CAPPED_DATA | 0 | root | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tree->lock | ||
| TYPE_LOCK | (struct extent_io_tree)->lock |
fs/btrfs/inode.c btrfs_data_csum_ok() -> btrfs_is_data_reloc_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
fs/btrfs/inode.c btrfs_destroy_inode() -> btrfs_is_data_reloc_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/btrfs/inode.c btrfs_inode_can_compress() -> btrfs_is_data_reloc_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/btrfs/inode.c btrfs_print_data_csum_error() -> btrfs_is_data_reloc_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
fs/btrfs/inode.c btrfs_update_inode() -> btrfs_is_data_reloc_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/btrfs/inode.c cow_file_range() -> btrfs_is_data_reloc_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/btrfs/inode.c cow_one_range() -> btrfs_is_data_reloc_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| CAPPED_DATA | 0 | root | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/btrfs/inode.c fallback_to_cow() -> btrfs_is_data_reloc_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| CAPPED_DATA | 0 | root | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mapping->invalidate_lock |
fs/btrfs/inode.c nocow_one_range() -> btrfs_is_data_reloc_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| CAPPED_DATA | 0 | root | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mapping->invalidate_lock |
fs/btrfs/inode.c run_delalloc_nocow() -> btrfs_is_data_reloc_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mapping->invalidate_lock |
fs/btrfs/props.c btrfs_inode_can_compress() -> btrfs_is_data_reloc_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/btrfs/file-item.c btrfs_lookup_bio_sums() -> btrfs_is_data_reloc_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
fs/btrfs/extent_io.c btrfs_zoned_data_reloc_lock() -> btrfs_is_data_reloc_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/btrfs/extent_io.c btrfs_zoned_data_reloc_unlock() -> btrfs_is_data_reloc_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/btrfs/relocation.c btrfs_reloc_cow_block() -> btrfs_is_data_reloc_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| BUF_SIZE | 0 | root | (-1),2888 |
| BUF_SIZE | 0 | root | (-1),2888 |
| CAPPED_DATA | 0 | root | 1 |
| DATA_SOURCE | 0 | root | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | root->dirty_log_pages.inode->vfs_inode.i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | root->log_csum_range.inode->vfs_inode.i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | root->node->start | |
| HALF_LOCKED2 | &buf->lock | ||
| HALF_LOCKED2 | &trans->fs_info->commit_root_sem | ||
| HALF_LOCKED2 | &trans->fs_info->fs_devices->device_list_mutex | ||
| HALF_LOCKED2 | &trans->fs_info->fs_roots_radix_lock | ||
| HALF_LOCKED2 | &trans->fs_info->qgroup_ioctl_lock | ||
| HALF_LOCKED2 | &trans->fs_info->qgroup_lock | ||
| HALF_LOCKED2 | &trans->fs_info->unused_bg_unpin_mutex | ||
| HALF_LOCKED2 | &trans->transaction->delayed_refs.lock |
fs/btrfs/delalloc-space.c btrfs_alloc_data_chunk_ondemand() -> btrfs_is_data_reloc_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/btrfs/delalloc-space.c data_sinfo_for_inode() -> btrfs_is_data_reloc_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/btrfs/zoned.c btrfs_use_zone_append() -> btrfs_is_data_reloc_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
fs/btrfs/disk-io.c btrfs_init_fs_root() -> btrfs_is_data_reloc_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| PARAM_VALUE | 0 | root->root_key.objectid | 0-18446744073709551609,18446744073709551611-u64max |
| BUF_SIZE | 0 | root | (-1),2888 |
| BUF_SIZE | 0 | root | (-1),2888 |
| DATA_SOURCE | 0 | root | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | root->fs_info->nodesize | |
| NO_OVERFLOW_SIMPLE | 0 | root->fs_info->sectorsize | |
| HALF_LOCKED2 | &fs_info->subvol_sem |
fs/btrfs/extent-tree.c btrfs_alloc_reserved_file_extent() -> btrfs_is_data_reloc_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| DATA_SOURCE | 0 | root | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/btrfs/extent-tree.c btrfs_cross_ref_exist() -> btrfs_is_data_reloc_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/btrfs/extent-tree.c btrfs_reserve_extent() -> btrfs_is_data_reloc_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| BUF_SIZE | 0 | root | (-1),2888 |
| BUF_SIZE | 0 | root | (-1),2888 |
| DATA_SOURCE | 0 | root | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | root->dirty_log_pages.inode->disk_i_size | |
| NO_OVERFLOW_SIMPLE | 0 | root->dirty_log_pages.inode->vfs_inode.i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | root->dirty_log_pages.inode->vfs_inode.i_size | |
| NO_OVERFLOW_SIMPLE | 0 | root->fs_info->nodesize | |
| NO_OVERFLOW_SIMPLE | 0 | root->fs_info->sectorsize | |
| NO_OVERFLOW_SIMPLE | 0 | root->log_csum_range.inode->vfs_inode.i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | root->node->start | |
| NO_OVERFLOW_SIMPLE | 0 | root->root_item.flags | |
| HALF_LOCKED2 | &fs_info->remap_mutex | ||
| HALF_LOCKED2 | &pool->lock |
fs/btrfs/bio.c btrfs_submit_chunk() -> btrfs_is_data_reloc_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fs_info->remap_mutex | ||
| HALF_LOCKED2 | &pool->lock |
fs/btrfs/bio.c btrfs_submit_chunk() -> btrfs_is_data_reloc_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fs_info->remap_mutex | ||
| HALF_LOCKED2 | &pool->lock |