Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 9 files:
- fs/btrfs/delayed-inode.c, line 1819
- fs/btrfs/inode.c, line 6380
- fs/erofs/dir.c, line 17
- fs/ext2/dir.c, line 310
- fs/f2fs/dir.c, line 1016
- fs/f2fs/inline.c, line 530
- fs/fs_dirent.c
- fs/nilfs2/dir.c, line 270
- fs/ocfs2/dir.c
Smatch caller information:
fs/btrfs/delayed-inode.c btrfs_readdir_delayed_dir_index() -> fs_ftype_to_dtype()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filetype | 0-255 |
| 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/btrfs/inode.c btrfs_real_readdir() -> fs_ftype_to_dtype()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | filetype | r btrfs_dir_flags_to_ftype |
| 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/ext2/dir.c ext2_readdir() -> fs_ftype_to_dtype()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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/ocfs2/dir.c ocfs2_dir_foreach_blk_el() -> fs_ftype_to_dtype()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ocfs2/dir.c ocfs2_dir_foreach_blk_id() -> fs_ftype_to_dtype()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/fs_dirent.c fs_umode_to_dtype() -> fs_ftype_to_dtype()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filetype | 1-7 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &ni->ni_lock | ||
| HALF_LOCKED2 | &root->kernfs_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/erofs/dir.c erofs_fill_dentries() -> fs_ftype_to_dtype()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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/f2fs/inline.c f2fs_add_inline_entries() -> fs_ftype_to_dtype()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &sbi->cp_rwsem.internal_rwsem | ||
| TYPE_LOCK | (struct f2fs_rwsem)->internal_rwsem |
fs/nilfs2/dir.c nilfs_readdir() -> fs_ftype_to_dtype()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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/f2fs/dir.c f2fs_fill_dentries() -> fs_ftype_to_dtype()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 |