Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/btrfs/dir-item.c btrfs_check_dir_item_collision() -> btrfs_lookup_match_dir()

Type Parameter Key Value
PARAM_VALUE 0 trans 0
PARAM_VALUE 2 path 1-u64max
PARAM_VALUE 3 key 8224806327119196160
PARAM_VALUE 3 key->offset 0-u32max
PARAM_VALUE 3 key->type 84
PARAM_VALUE 6 mod 0
BUF_SIZE 4 name s32min-(-2),1-s32max
DATA_SOURCE 1 root $0
DATA_SOURCE 2 path r btrfs_alloc_path
RX_PATH
TASK_NOT_RUNNING
UNITS 5 name_len unit_byte

fs/btrfs/dir-item.c btrfs_lookup_dir_index_item() -> btrfs_lookup_match_dir()

Type Parameter Key Value
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 1 root->fs_info->commit_root_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 1 root->fs_info->commit_root_sem.first_waiter->type 0-1
PARAM_VALUE 1 root->fs_info->sb->s_cop->empty_dir 0,86,4096-ptr_max
PARAM_VALUE 1 root->fs_info->sb->s_cop->get_context 0,706,4096-ptr_max
PARAM_VALUE 1 root->fs_info->sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648,2704,2712
PARAM_VALUE 1 root->fs_info->sb->s_cop->set_context 0,67,4096-ptr_max
PARAM_VALUE 1 root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 1 root->node->lock.first_waiter->type 0-1
PARAM_VALUE 2 path 1-u64max
PARAM_VALUE 3 key 8267773177106448384
PARAM_VALUE 3 key->type 96
PARAM_VALUE 6 mod (-1)-1
BUF_SIZE 0 trans (-1),1-s32max
BUF_SIZE 0 trans (-1),1-s32max
BUF_SIZE 4 name s32min-(-2),1-s32max
DATA_SOURCE 0 trans $0
DATA_SOURCE 1 root $1
DATA_SOURCE 2 path $2
DATA_SOURCE 6 mod $6
HARD_MAX 6 mod 1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 5 name_len
UNITS 5 name_len unit_byte

fs/btrfs/dir-item.c btrfs_lookup_dir_item() -> btrfs_lookup_match_dir()

Type Parameter Key Value
PARAM_VALUE 1 root->fs_info->commit_root_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 1 root->fs_info->commit_root_sem.first_waiter->type 0-1
PARAM_VALUE 1 root->fs_info->sb->s_cop->empty_dir 0,86,4096-ptr_max
PARAM_VALUE 1 root->fs_info->sb->s_cop->get_context 0,706,4096-ptr_max
PARAM_VALUE 1 root->fs_info->sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648,2704,2712
PARAM_VALUE 1 root->fs_info->sb->s_cop->set_context 0,67,4096-ptr_max
PARAM_VALUE 1 root->fs_info->tree_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 1 root->fs_info->tree_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 1 root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 1 root->node->lock.first_waiter->type 0-1
PARAM_VALUE 2 *path->locks 0-255
PARAM_VALUE 2 *path->slots s32min-s32max
PARAM_VALUE 3 key 8039678746705338368
PARAM_VALUE 3 key->offset 0-u32max
PARAM_VALUE 3 key->type 84
PARAM_VALUE 6 mod (-1)-1
BUF_SIZE 0 trans (-1),1-s32max
BUF_SIZE 0 trans (-1),1-s32max
BUF_SIZE 0 trans->block_rsv (-1),120
BUF_SIZE 4 name s32min-(-2),1-s32max
DATA_SOURCE 0 trans $0
DATA_SOURCE 1 root $1
DATA_SOURCE 2 path $2
DATA_SOURCE 6 mod $5
HARD_MAX 6 mod 1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 root->dirty_log_pages.inode->disk_i_size
NO_OVERFLOW_SIMPLE 1 root->dirty_log_pages.inode->vfs_inode.i_size
NO_OVERFLOW_SIMPLE 5 name_len
UNITS 5 name_len unit_byte
HALF_LOCKED2 &fs_info->reloc_mutex
HALF_LOCKED2 &fs_info->subvol_sem

fs/btrfs/dir-item.c btrfs_lookup_xattr() -> btrfs_lookup_match_dir()

Type Parameter Key Value
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 1-u64max
PARAM_VALUE 3 key 7372962091479150592
PARAM_VALUE 3 key->offset 0-u32max
PARAM_VALUE 3 key->type 24
PARAM_VALUE 6 mod (-1)-0
BUF_SIZE 0 trans (-1),1-s32max
BUF_SIZE 0 trans (-1),1-s32max
BUF_SIZE 4 name (-1)-u16max
BUF_SIZE 4 name (-1)-u16max
DATA_SOURCE 0 trans $0
DATA_SOURCE 1 root $1
DATA_SOURCE 2 path $2
DATA_SOURCE 4 name $4
DATA_SOURCE 5 name_len $5
DATA_SOURCE 6 mod $6
STR_LEN 0 trans (-1),17,19,23-24
STR_LEN 0 trans (-1),17,19,23-24
STR_LEN 1 root (-1)
STR_LEN 1 root (-1)
STR_LEN 2 path (-1),23-24
STR_LEN 4 name (-1),23-24
HARD_MAX 6 mod 0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 5 name_len
UNITS 5 name_len unit_byte
BYTE_COUNT 4 ==name5 8050