Defined in 1 files as a function:
Referenced in 7 files:
- fs/btrfs/disk-io.c, line 306
- fs/btrfs/file.c, line 1507
- fs/btrfs/ioctl.c, line 3032
- fs/btrfs/scrub.c, line 2963
- fs/btrfs/super.c, line 2365
- fs/btrfs/transaction.c
- fs/btrfs/tree-checker.c, line 2714
Smatch caller information:
fs/btrfs/file.c skip_inode_logging() -> btrfs_get_last_trans_committed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | fs_info | unit_byte |
| HALF_LOCKED2 | &inode->i_mmap_lock | ||
| HALF_LOCKED2 | &inode->vfs_inode.i_rwsem |
fs/btrfs/scrub.c scrub_supers() -> btrfs_get_last_trans_committed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| BUF_SIZE | 0 | fs_info | (-1),128 |
| BUF_SIZE | 0 | fs_info | (-1),128 |
| CAPPED_DATA | 0 | fs_info->fs_devices | 1 |
| CAPPED_DATA | 0 | fs_info->nodesize | 1 |
| CAPABLE | 0 | 21 | |
| UNITS | 0 | fs_info | unit_byte |
| LOCK2 | &fs_info->fs_devices->device_list_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_devices)->device_list_mutex |
fs/btrfs/transaction.c btrfs_wait_for_commit() -> btrfs_get_last_trans_committed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | fs_info | (-1),1-s32max |
| BUF_SIZE | 0 | fs_info | (-1),1-s32max |
| DATA_SOURCE | 0 | fs_info | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | fs_info->fs_error | |
| UNITS | 0 | fs_info | unit_byte |
| HALF_LOCKED2 | 0 | &fs_info->transaction_kthread_mutex |
fs/btrfs/transaction.c btrfs_wait_for_commit() -> btrfs_get_last_trans_committed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->last_trans_committed | 0-18446744073709551614 |
| BUF_SIZE | 0 | fs_info | (-1),1-s32max |
| BUF_SIZE | 0 | fs_info | (-1),1-s32max |
| CAPPED_DATA | 0 | &fs_info->trans_list | 1 |
| DATA_SOURCE | 0 | fs_info | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | fs_info->fs_error | |
| UNITS | 0 | fs_info | unit_byte |
| HALF_LOCKED2 | 0 | &fs_info->transaction_kthread_mutex |
fs/btrfs/disk-io.c btree_csum_one_bio() -> btrfs_get_last_trans_committed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | fs_info | unit_byte |
| HALF_LOCKED2 | &pool->lock |
fs/btrfs/ioctl.c btrfs_ioctl_start_sync() -> btrfs_get_last_trans_committed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| UNITS | 0 | fs_info | unit_byte |
fs/btrfs/super.c check_dev_super() -> btrfs_get_last_trans_committed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| CAPPED_DATA | 0 | fs_info->csum_size | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | fs_info | unit_byte |
| HALF_LOCKED2 | &sb->s_umount |
fs/btrfs/tree-checker.c btrfs_verify_level_key() -> btrfs_get_last_trans_committed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | fs_info | unit_byte |
| HALF_LOCKED2 | &eb->lock | ||
| HALF_LOCKED2 | &fs_info->cleaner_mutex |