Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/btrfs/tree-log.c btrfs_sync_log() -> btrfs_need_log_full_commit()

Type Parameter Key Value
PARAM_VALUE 0 trans 4096-ptr_max
BUF_SIZE 0 trans (-1),4,24,64,168-s32max
BUF_SIZE 0 trans (-1),4,24,64,168-s32max
DATA_SOURCE 0 trans $0
RX_PATH
LOCK2 &root->log_mutex
TYPE_LOCK (struct btrfs_root)->log_mutex

fs/btrfs/tree-log.c btrfs_sync_log() -> btrfs_need_log_full_commit()

Type Parameter Key Value
PARAM_VALUE 0 trans 4096-ptr_max
BUF_SIZE 0 trans (-1),4,24,64,168-s32max
BUF_SIZE 0 trans (-1),4,24,64,168-s32max
DATA_SOURCE 0 trans $0
RX_PATH
LOCK2 &log_root_tree->log_mutex
TYPE_LOCK (struct btrfs_root)->log_mutex

fs/btrfs/tree-log.c start_log_trans() -> btrfs_need_log_full_commit()

Type Parameter Key Value
PARAM_VALUE 0 trans 4096-ptr_max
BUF_SIZE 0 trans (-1),1-s32max
BUF_SIZE 0 trans (-1),1-s32max
DATA_SOURCE 0 trans $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &root->log_mutex
HALF_LOCKED2 &inode->i_rwsem
TYPE_LOCK (struct btrfs_root)->log_mutex