Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

fs/btrfs/relocation.c btrfs_init_reloc_root() -> btrfs_set_root_last_trans()

Type Parameter Key Value
PARAM_VALUE 0 root 1-u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &fs_info->reloc_mutex

fs/btrfs/relocation.c create_reloc_root() -> btrfs_set_root_last_trans()

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 r btrfs_read_tree_root
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 root->fs_info->nodesize
NO_OVERFLOW_SIMPLE 0 root->fs_info->sectorsize
HALF_LOCKED2 &cow->lock
HALF_LOCKED2 &fs_info->reloc_mutex

fs/btrfs/relocation.c merge_reloc_root() -> btrfs_set_root_last_trans()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
NOCHECK_CALL

fs/btrfs/transaction.c record_root_in_trans() -> btrfs_set_root_last_trans()

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 $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &fs_info->reloc_mutex
HALF_LOCKED2 &cow->lock
HALF_LOCKED2 &fs_info->cleaner_mutex
HALF_LOCKED2 &fs_info->subvol_sem
TYPE_LOCK (struct btrfs_fs_info)->reloc_mutex

fs/btrfs/disk-io.c btrfs_add_log_tree() -> btrfs_set_root_last_trans()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
BUF_SIZE 0 root 2880
CAPPED_DATA 0 root 1
DATA_SOURCE 0 root r alloc_log_tree
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 root->dirty_log_pages.fs_info->nodesize
NO_OVERFLOW_SIMPLE 0 root->dirty_log_pages.fs_info->sectorsize
NO_OVERFLOW_SIMPLE 0 root->fs_info->nodesize
NO_OVERFLOW_SIMPLE 0 root->fs_info->sectorsize
NO_OVERFLOW_SIMPLE 0 root->log_csum_range.fs_info->nodesize
NO_OVERFLOW_SIMPLE 0 root->log_csum_range.fs_info->sectorsize
LOCK2 &root->log_mutex
HALF_LOCKED2 &inode->i_mmap_lock
HALF_LOCKED2 &inode->vfs_inode.i_rwsem
TYPE_LOCK (struct btrfs_root)->log_mutex