Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

fs/btrfs/inode.c btrfs_inode_type() -> fs_umode_to_ftype()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 rcu_read

fs/ext2/dir.c ext2_set_de_type() -> fs_umode_to_ftype()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 mode 0-u16max

fs/ocfs2/inode.c ocfs2_valid_inode_mode() -> fs_umode_to_ftype()

Type Parameter Key Value
DATA_SOURCE 0 mode $0
RX_PATH
TASK_NOT_RUNNING

fs/ocfs2/dir.c ocfs2_set_de_type() -> fs_umode_to_ftype()

Type Parameter Key Value
DATA_SOURCE 0 mode $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 mode 0-u16max

fs/fs_dirent.c fs_umode_to_dtype() -> fs_umode_to_ftype()

Type Parameter Key Value
DATA_SOURCE 0 mode $0
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/nilfs2/dir.c nilfs_add_link() -> fs_umode_to_ftype()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 mode 0-u16max

fs/nilfs2/dir.c nilfs_make_empty() -> fs_umode_to_ftype()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dentry->d_lockref.lock
HALF_LOCKED2 &parent->i_sb->s_fs_info->ns_segctor_sem

fs/nilfs2/dir.c nilfs_make_empty() -> fs_umode_to_ftype()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dentry->d_lockref.lock
HALF_LOCKED2 &parent->i_sb->s_fs_info->ns_segctor_sem

fs/nilfs2/dir.c nilfs_set_link() -> fs_umode_to_ftype()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 mode 0-u16max
HALF_LOCKED2 &old_dir->i_sb->s_fs_info->ns_segctor_sem
HALF_LOCKED2 &source->i_rwsem
HALF_LOCKED2 &target->i_rwsem

fs/f2fs/dir.c f2fs_set_link() -> fs_umode_to_ftype()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 mode 0-u16max
LOCK2 &sbi->cp_rwsem.internal_rwsem
HALF_LOCKED2 &source->i_rwsem
HALF_LOCKED2 &target->i_rwsem
TYPE_LOCK (struct f2fs_rwsem)->internal_rwsem

fs/f2fs/dir.c f2fs_update_dentry() -> fs_umode_to_ftype()

Type Parameter Key Value
DATA_SOURCE 0 mode $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &sbi->cp_rwsem.internal_rwsem
TYPE_LOCK (struct f2fs_rwsem)->internal_rwsem