Defined in 2 files as a prototype:

Defined in 1 files as a macro:

Defined in 2 files as a function:

Referenced in 4 files:

Smatch caller information:

fs/hfs/dir.c hfs_lookup() -> hfs_brec_read()

Type Parameter Key Value
PARAM_VALUE 0 fd 9304401533386752
PARAM_VALUE 0 fd->bnode 0
PARAM_VALUE 0 fd->search_key 4096-ptr_max
PARAM_VALUE 0 fd->tree 4096-ptr_max
PARAM_VALUE 1 rec 8601396312409157632
PARAM_VALUE 2 rec_len 102
BUF_SIZE 1 rec 102
RX_PATH
TASK_NOT_RUNNING
UNITS 2 rec_len unit_byte
LOCK2 &((dir->i_sb)->s_fs_info)->cat_tree->tree_lock
HALF_LOCKED2 &dir->i_rwsem

fs/hfs/inode.c hfs_file_lookup() -> hfs_brec_read()

Type Parameter Key Value
PARAM_VALUE 0 fd 1542785176487387136
PARAM_VALUE 0 fd->bnode 0
PARAM_VALUE 0 fd->search_key 4096-ptr_max
PARAM_VALUE 0 fd->tree 4096-ptr_max
PARAM_VALUE 1 rec 3093810546347655168
PARAM_VALUE 2 rec_len 102
BUF_SIZE 1 rec 102
RX_PATH
TASK_NOT_RUNNING
UNITS 2 rec_len unit_byte
LOCK2 &((dir->i_sb)->s_fs_info)->cat_tree->tree_lock
HALF_LOCKED2 &dir->i_rwsem

fs/hfs/catalog.c hfs_cat_find_brec() -> hfs_brec_read()

Type Parameter Key Value
PARAM_VALUE 0 fd 7507428667945369600
PARAM_VALUE 0 fd->bnode 0
PARAM_VALUE 0 fd->search_key 4096-ptr_max
PARAM_VALUE 0 fd->search_key->cat.CName.len 0
PARAM_VALUE 0 fd->search_key->cat.ParID 2
PARAM_VALUE 0 fd->search_key->cat.reserved 0
PARAM_VALUE 0 fd->search_key->key_len 6
PARAM_VALUE 0 fd->tree 4096-ptr_max
PARAM_VALUE 1 rec 4983030133950083072
PARAM_VALUE 2 rec_len 102
BUF_SIZE 1 rec 102
DATA_SOURCE 0 fd $2
MEM_ZERO 0 &fd->search_key->cat.CName
RX_PATH
TASK_NOT_RUNNING
UNITS 2 rec_len unit_byte
LOCK2 &(sb->s_fs_info)->cat_tree->tree_lock
HALF_LOCKED2 &fc->uapi_mutex