Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 8 files:
- fs/btrfs/defrag.c, line 238
- fs/btrfs/export.c
- fs/btrfs/inode.c
- fs/btrfs/ioctl.c, line 1803
- fs/btrfs/relocation.c
- fs/btrfs/send.c
- fs/btrfs/super.c, line 982
- fs/btrfs/tree-log.c, line 265
Smatch caller information:
fs/btrfs/export.c btrfs_get_dentry() -> btrfs_iget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ino | 256-u64max |
| PARAM_VALUE | 1 | root | 4096-ptr_max |
| BUF_SIZE | 1 | root | (-1),2888 |
| BUF_SIZE | 1 | root | (-1),2888 |
| DATA_SOURCE | 0 | ino | $1 |
| DATA_SOURCE | 1 | root | r btrfs_get_fs_root |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ino | 256-u64max[u] |
| UNITS | 0 | ino | unit_byte |
fs/btrfs/export.c btrfs_get_parent() -> btrfs_iget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ino | unit_byte |
fs/btrfs/tree-log.c btrfs_iget_logging() -> btrfs_iget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | root | 4096-ptr_max |
| PARAM_VALUE | 1 | root->fs_info->sb->s_cop->empty_dir | 0,86,4096-ptr_max |
| PARAM_VALUE | 1 | root->fs_info->sb->s_cop->get_context | 0,706,4096-ptr_max |
| PARAM_VALUE | 1 | root->fs_info->sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648,2704,2712 |
| PARAM_VALUE | 1 | root->fs_info->sb->s_cop->set_context | 0,67,4096-ptr_max |
| DATA_SOURCE | 0 | ino | $0 |
| DATA_SOURCE | 1 | root | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ino | unit_byte |
fs/btrfs/inode.c btrfs_lookup_dentry() -> btrfs_iget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ino | unit_byte |
| HALF_LOCKED2 | &fs_info->subvol_sem |
fs/btrfs/inode.c btrfs_lookup_dentry() -> btrfs_iget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ino | unit_byte |
| HALF_LOCKED2 | &fs_info->subvol_sem |
fs/btrfs/inode.c btrfs_orphan_cleanup() -> btrfs_iget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | root | 4096-ptr_max |
| PARAM_VALUE | 1 | root->fs_info->commit_root_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | root->fs_info->commit_root_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | root->node->lock.first_waiter->type | 0-1 |
| DATA_SOURCE | 1 | root | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ino | unit_byte |
| HALF_LOCKED2 | &fs_info->cleanup_work_sem | ||
| HALF_LOCKED2 | &fs_info->subvol_sem |
fs/btrfs/relocation.c create_reloc_inode() -> btrfs_iget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ino | 0-18446744073709551359 |
| PARAM_VALUE | 1 | root | 4096-ptr_max |
| PARAM_VALUE | 1 | root->fs_info->qgroup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | root->objectid_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | root->objectid_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | root->objectid_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | root->objectid_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | root->objectid_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | root->objectid_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 1 | root->objectid_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | root->qgroup_meta_rsv_lock.rlock.dep_map->name | 0-255 |
fs/btrfs/relocation.c delete_block_group_cache() -> btrfs_iget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | ino | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ino | unit_byte |
| LOCK2 | &fs_info->cleaner_mutex | ||
| HALF_LOCKED2 | &fs_info->reclaim_bgs_lock | ||
| TYPE_LOCK | (struct btrfs_fs_info)->cleaner_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->reclaim_bgs_lock |
fs/btrfs/defrag.c btrfs_run_defrag_inode() -> btrfs_iget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | root | 4096-ptr_max |
| BUF_SIZE | 1 | root | (-1),2888 |
| BUF_SIZE | 1 | root | (-1),2888 |
| DATA_SOURCE | 1 | root | r btrfs_get_fs_root |
| UNITS | 0 | ino | unit_byte |
fs/btrfs/ioctl.c btrfs_search_path_in_tree_user() -> btrfs_iget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | root | 4096-ptr_max |
| BUF_SIZE | 1 | root | (-1),2888 |
| BUF_SIZE | 1 | root | (-1),2888 |
| DATA_SOURCE | 1 | root | r btrfs_get_fs_root |
| UNITS | 0 | ino | unit_byte |
fs/btrfs/super.c btrfs_fill_super() -> btrfs_iget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ino | 256 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/btrfs/send.c process_verity() -> btrfs_iget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| UNITS | 0 | ino | unit_byte |
fs/btrfs/send.c send_encoded_extent() -> btrfs_iget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | root | 4096-ptr_max |
| PARAM_VALUE | 1 | root->fs_info | 4096-ptr_max |
| UNITS | 0 | ino | unit_byte |
fs/btrfs/send.c send_extent_data() -> btrfs_iget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | root | 4096-ptr_max |
| PARAM_VALUE | 1 | root->fs_info | 4096-ptr_max |
| UNITS | 0 | ino | unit_byte |