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:
- fs/hfs/attr.c
- fs/hfs/catalog.c
- fs/hfs/dir.c
- fs/hfs/extent.c
- fs/hfs/inode.c
- fs/hfs/super.c, line 354
- fs/hfsplus/attributes.c
- fs/hfsplus/catalog.c
- fs/hfsplus/dir.c
- fs/hfsplus/extents.c
- fs/hfsplus/inode.c, line 693
- fs/hfsplus/super.c
- fs/hfsplus/xattr.c
Smatch caller information:
fs/hfs/dir.c hfs_lookup() -> hfs_find_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fd | 9304401533386752 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dir->i_rwsem |
fs/hfs/dir.c hfs_readdir() -> hfs_find_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fd | 4464444554722107392 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fd | 7507428667945369600 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/hfs/extent.c hfs_ext_read_extent() -> hfs_find_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fd | 925279991309574144 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/hfs/extent.c hfs_ext_write_extent() -> hfs_find_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fd | 4306340586337705984 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/hfs/extent.c hfs_file_truncate() -> hfs_find_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fd | 2002846610070261760 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/hfs/extent.c hfs_free_fork() -> hfs_find_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fd | 4647060520943919104 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &(sb->s_fs_info)->cat_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_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fd | 1542785176487387136 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dir->i_rwsem |
fs/hfs/inode.c hfs_write_inode() -> hfs_find_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fd | 5507633779175419904 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/hfs/catalog.c hfs_cat_create() -> hfs_find_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fd | 9001909600535154688 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/hfs/catalog.c hfs_cat_delete() -> hfs_find_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fd | 7775192538368651264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fd | 2044707944035500032 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fd | 5117000179854184448 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/hfs/attr.c __hfs_setxattr() -> hfs_find_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fd | 8987258739729805312 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &unused->d_inode->i_rwsem |