Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/btrfs/tree-log.c btrfs_log_new_name() -> insert_dir_log_key()

Type Parameter Key Value
PARAM_VALUE 0 trans 4096-ptr_max
PARAM_VALUE 0 trans->block_rsv->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 trans->fs_info->commit_root_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 trans->fs_info->commit_root_sem.first_waiter->type 0-1
PARAM_VALUE 0 trans->fs_info->tree_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 trans->fs_info->tree_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 2 path 4096-ptr_max
PARAM_VALUE 2 *path->locks 0
PARAM_VALUE 2 *path->nodes 0
PARAM_VALUE 2 *path->slots 0
PARAM_VALUE 4 first_offset 0
PARAM_VALUE 5 last_offset 0
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
DATA_SOURCE 2 path r btrfs_alloc_path
DATA_SOURCE 4 first_offset $3
DATA_SOURCE 5 last_offset $3
RX_PATH
TASK_NOT_RUNNING
LOCK2 &old_dir->log_mutex
HALF_LOCKED2 &inode->i_rwsem
TYPE_LOCK (struct btrfs_inode)->log_mutex
TYPE_LOCK (struct inode)->i_rwsem

fs/btrfs/tree-log.c log_delayed_deletions_full() -> insert_dir_log_key()

Type Parameter Key Value
CAPPED_DATA 4 first_offset 1
CAPPED_DATA 4 first_offset 1
DATA_SOURCE 0 trans $0
DATA_SOURCE 2 path $2
PARAM_COMPARE 4 first_offset <= $5
PARAM_COMPARE 4 first_offset <= $5
PARAM_COMPARE 5 last_offset >= $4
UNITS 4 first_offset unit_byte
UNITS 5 last_offset unit_byte

fs/btrfs/tree-log.c log_delayed_deletions_incremental() -> insert_dir_log_key()

Type Parameter Key Value
PARAM_VALUE 2 path 4096-ptr_max
PARAM_VALUE 2 *path->locks 0-255
PARAM_VALUE 2 *path->slots s32min-s32max
CAPPED_DATA 4 first_offset 1
CAPPED_DATA 4 first_offset 1
DATA_SOURCE 0 trans $0
DATA_SOURCE 2 path $2
PARAM_COMPARE 4 first_offset <= $5
PARAM_COMPARE 4 first_offset <= $5
PARAM_COMPARE 5 last_offset >= $4
UNITS 3 dirid unit_byte
UNITS 4 first_offset unit_byte
UNITS 5 last_offset unit_byte

fs/btrfs/tree-log.c log_dir_items() -> insert_dir_log_key()

Type Parameter Key Value
PARAM_VALUE 0 trans 4096-ptr_max
PARAM_VALUE 2 path 4096-ptr_max
PARAM_VALUE 2 *path->locks 0-255
PARAM_VALUE 2 *path->nodes 0
PARAM_VALUE 2 *path->slots s32min-s32max
PARAM_VALUE 4 first_offset 1-u64max
PARAM_VALUE 5 last_offset 1-u64max
CAPPED_DATA 4 first_offset 1
DATA_SOURCE 0 trans $0
DATA_SOURCE 2 path $2
UNITS 3 dirid unit_byte
UNITS 4 first_offset unit_byte
UNITS 5 last_offset unit_byte

fs/btrfs/tree-log.c process_dir_items_leaf() -> insert_dir_log_key()

Type Parameter Key Value
PARAM_VALUE 0 trans 4096-ptr_max
PARAM_VALUE 0 trans->transid 1-u64max
PARAM_VALUE 4 first_offset 0-18446744073709551614
CAPPED_DATA 3 dirid 1
CAPPED_DATA 3 dirid 1
DATA_SOURCE 0 trans $0
DATA_SOURCE 2 path $3
UNITS 3 dirid unit_byte
UNITS 4 first_offset unit_byte
UNITS 5 last_offset unit_byte