Defined in 2 files as a prototype:

Defined in 1 files as a macro:

Defined in 2 files as a function:

Referenced in 13 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 fd 9304401533386752
PARAM_VALUE 0 fd->bnode 0,4096-ptr_max
PARAM_VALUE 0 fd->entrylength (-65535)-65534
PARAM_VALUE 0 fd->entryoffset (-1),1-131070
PARAM_VALUE 0 fd->keylength (-1),1-u16max
PARAM_VALUE 0 fd->keyoffset (-1)-u16max
PARAM_VALUE 0 fd->search_key 4096-ptr_max
PARAM_VALUE 0 fd->tree 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &((dir->i_sb)->s_fs_info)->cat_tree->tree_lock
HALF_LOCKED2 &dir->i_rwsem

fs/hfs/dir.c hfs_readdir() -> hfs_find_exit()

Type Parameter Key Value
PARAM_VALUE 0 fd 4464444554722107392
PARAM_VALUE 0 fd->bnode 0,4096-ptr_max
PARAM_VALUE 0 fd->entrylength (-65535)-65534
PARAM_VALUE 0 fd->entryoffset (-1),1-131070
PARAM_VALUE 0 fd->keylength (-1),1-u16max
PARAM_VALUE 0 fd->keyoffset (-1)-u16max
PARAM_VALUE 0 fd->search_key 4096-ptr_max
PARAM_VALUE 0 fd->tree 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &(sb->s_fs_info)->cat_tree->tree_lock
HALF_LOCKED2 &dir_fp->readdir_lock
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem

fs/hfs/super.c hfs_fill_super() -> hfs_find_exit()

Type Parameter Key Value
PARAM_VALUE 0 fd 7507428667945369600
PARAM_VALUE 0 fd->bnode 4096-ptr_max
PARAM_VALUE 0 fd->entrylength 70
PARAM_VALUE 0 fd->entryoffset 1-131070
PARAM_VALUE 0 fd->keylength 1-u16max
PARAM_VALUE 0 fd->keyoffset 0-u16max
PARAM_VALUE 0 fd->search_key 4096-ptr_max
PARAM_VALUE 0 fd->tree 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &(sb->s_fs_info)->cat_tree->tree_lock
HALF_LOCKED2 &fc->uapi_mutex

fs/hfs/super.c hfs_fill_super() -> hfs_find_exit()

Type Parameter Key Value
PARAM_VALUE 0 fd 7507428667945369600
PARAM_VALUE 0 fd->bnode 0,4096-ptr_max
PARAM_VALUE 0 fd->entrylength (-65535)-65534
PARAM_VALUE 0 fd->entryoffset (-1),1-131070
PARAM_VALUE 0 fd->keylength (-1),1-u16max
PARAM_VALUE 0 fd->keyoffset (-1)-u16max
PARAM_VALUE 0 fd->search_key 4096-ptr_max
PARAM_VALUE 0 fd->tree 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &(sb->s_fs_info)->cat_tree->tree_lock
HALF_LOCKED2 &fc->uapi_mutex

fs/hfs/extent.c hfs_ext_read_extent() -> hfs_find_exit()

Type Parameter Key Value
PARAM_VALUE 0 fd 925279991309574144
PARAM_VALUE 0 fd->bnode 0,4096-ptr_max
PARAM_VALUE 0 fd->entrylength (-65535)-65534
PARAM_VALUE 0 fd->entryoffset (-1),1-131070
PARAM_VALUE 0 fd->keylength (-1),1-u16max
PARAM_VALUE 0 fd->keyoffset (-1)-u16max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &((inode->i_sb)->s_fs_info)->ext_tree->tree_lock

fs/hfs/extent.c hfs_ext_write_extent() -> hfs_find_exit()

Type Parameter Key Value
PARAM_VALUE 0 fd 4306340586337705984
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &((inode->i_sb)->s_fs_info)->ext_tree->tree_lock

fs/hfs/extent.c hfs_file_truncate() -> hfs_find_exit()

Type Parameter Key Value
PARAM_VALUE 0 fd 2002846610070261760
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &(sb->s_fs_info)->ext_tree->tree_lock
HALF_LOCKED2 &inode->i_rwsem

fs/hfs/extent.c hfs_free_fork() -> hfs_find_exit()

Type Parameter Key Value
PARAM_VALUE 0 fd 4647060520943919104
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &(sb->s_fs_info)->cat_tree->tree_lock
LOCK2 &(sb->s_fs_info)->ext_tree->tree_lock
HALF_LOCKED2 &dentry->d_inode->i_rwsem
HALF_LOCKED2 &dir->i_rwsem
HALF_LOCKED2 &target->i_rwsem

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

Type Parameter Key Value
PARAM_VALUE 0 fd 1542785176487387136
PARAM_VALUE 0 fd->bnode 0,4096-ptr_max
PARAM_VALUE 0 fd->entrylength (-65535)-65534
PARAM_VALUE 0 fd->entryoffset (-1),1-131070
PARAM_VALUE 0 fd->keylength (-1),1-u16max
PARAM_VALUE 0 fd->keyoffset (-1)-u16max
PARAM_VALUE 0 fd->search_key 4096-ptr_max
PARAM_VALUE 0 fd->tree 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &((dir->i_sb)->s_fs_info)->cat_tree->tree_lock
HALF_LOCKED2 &dir->i_rwsem

fs/hfs/inode.c hfs_write_inode() -> hfs_find_exit()

Type Parameter Key Value
PARAM_VALUE 0 fd 5507633779175419904
PARAM_VALUE 0 fd->bnode 0,4096-ptr_max
PARAM_VALUE 0 fd->search_key 16,4096-ptr_max
PARAM_VALUE 0 fd->tree 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &((main_inode->i_sb)->s_fs_info)->cat_tree->tree_lock
HALF_LOCKED2 &inode->i_rwsem

fs/hfs/catalog.c hfs_cat_create() -> hfs_find_exit()

Type Parameter Key Value
PARAM_VALUE 0 fd 9001909600535154688
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &(sb->s_fs_info)->cat_tree->tree_lock

fs/hfs/catalog.c hfs_cat_create() -> hfs_find_exit()

Type Parameter Key Value
PARAM_VALUE 0 fd 9001909600535154688
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &(sb->s_fs_info)->cat_tree->tree_lock

fs/hfs/catalog.c hfs_cat_delete() -> hfs_find_exit()

Type Parameter Key Value
PARAM_VALUE 0 fd 7775192538368651264
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &(sb->s_fs_info)->cat_tree->tree_lock
HALF_LOCKED2 &(sb->s_fs_info)->ext_tree->tree_lock
HALF_LOCKED2 &dentry->d_inode->i_rwsem
HALF_LOCKED2 &dir->i_rwsem
HALF_LOCKED2 &target->i_rwsem

fs/hfs/catalog.c hfs_cat_move() -> hfs_find_exit()

Type Parameter Key Value
PARAM_VALUE 0 fd 2044707944035500032
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &(sb->s_fs_info)->cat_tree->tree_lock
HALF_LOCKED2 &(dir->i_sb->s_fs_info)->cat_tree->tree_lock
HALF_LOCKED2 &source->i_rwsem
HALF_LOCKED2 &target->i_rwsem

fs/hfs/attr.c __hfs_getxattr() -> hfs_find_exit()

Type Parameter Key Value
PARAM_VALUE 0 fd 5117000179854184448
PARAM_VALUE 0 fd->bnode 0,4096-ptr_max
PARAM_VALUE 0 fd->entrylength (-65535)-65534
PARAM_VALUE 0 fd->entryoffset (-1),1-131070
PARAM_VALUE 0 fd->keylength (-1),1-u16max
PARAM_VALUE 0 fd->keyoffset (-1)-u16max
PARAM_VALUE 0 fd->search_key 4096-ptr_max
PARAM_VALUE 0 fd->tree 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &((inode->i_sb)->s_fs_info)->cat_tree->tree_lock
HALF_LOCKED2 &inode->i_rwsem

fs/hfs/attr.c __hfs_setxattr() -> hfs_find_exit()

Type Parameter Key Value
PARAM_VALUE 0 fd 8987258739729805312
PARAM_VALUE 0 fd->bnode 0,4096-ptr_max
PARAM_VALUE 0 fd->entrylength (-65535)-65534
PARAM_VALUE 0 fd->entryoffset (-1),1-131070
PARAM_VALUE 0 fd->keylength (-1),1-u16max
PARAM_VALUE 0 fd->keyoffset (-1)-u16max
PARAM_VALUE 0 fd->search_key 4096-ptr_max
PARAM_VALUE 0 fd->tree 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &((inode->i_sb)->s_fs_info)->cat_tree->tree_lock
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &unused->d_inode->i_rwsem