Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/btrfs/tree-log.c btrfs_inode_in_log() -> btrfs_get_root_last_log_commit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &inode->lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct btrfs_inode)->lock |
fs/btrfs/tree-log.c btrfs_sync_log() -> btrfs_get_root_last_log_commit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| CAPPED_DATA | 0 | root->log_transid_committed | 1 |
| CAPPED_DATA | 0 | &root->log_mutex | 1 |
| DATA_SOURCE | 0 | root | $1 |
| RX_PATH |
fs/btrfs/tree-log.c btrfs_sync_log() -> btrfs_get_root_last_log_commit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| CAPPED_DATA | 0 | root->log_transid_committed | 1 |
| CAPPED_DATA | 0 | &root->log_mutex | 1 |
| DATA_SOURCE | 0 | root | $1 |
| RX_PATH |
fs/btrfs/tree-log.c btrfs_sync_log() -> btrfs_get_root_last_log_commit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| PARAM_VALUE | 0 | root->last_log_commit | (-2147483646)-s32max |
| CAPPED_DATA | 0 | root->log_transid_committed | 1 |
| CAPPED_DATA | 0 | &root->log_mutex | 1 |
| DATA_SOURCE | 0 | root | $1 |
| RX_PATH |
fs/btrfs/file.c btrfs_inode_in_log() -> btrfs_get_root_last_log_commit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &inode->lock | ||
| HALF_LOCKED2 | &inode->i_mmap_lock | ||
| HALF_LOCKED2 | &inode->vfs_inode.i_rwsem | ||
| TYPE_LOCK | (struct btrfs_inode)->lock |