Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/btrfs/inode.c btrfs_link() -> btrfs_set_inode_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dir | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 5966567853729292288 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/btrfs/transaction.c create_pending_snapshot() -> btrfs_set_inode_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dir | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->root | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->root->fs_info->btree_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max |
| PARAM_VALUE | 0 | dir->root->fs_info->fs_roots_radix_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dir->vfs_inode.i_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 1278875804948545536 |
| PARAM_VALUE | 1 | *index | 0 |
| CAPPED_DATA | 0 | dir->vfs_inode.i_sb->s_time_max | 1 |
| PARAM_COMPARE | 0 | dir->vfs_inode.i_sb->s_time_max | >= $0->vfs_inode.i_sb->s_time_min |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 |