Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

fs/btrfs/props.c prop_compression_extract() -> btrfs_compress_type2str()

Type Parameter Key Value
PARAM_VALUE 0 type 1-3

fs/btrfs/compression.c alloc_workspace_manager() -> btrfs_compress_type2str()

Type Parameter Key Value
PARAM_VALUE 0 type 0-2
DATA_SOURCE 0 type $1
HARD_MAX 0 type 2
LOCK2 rcu_read

fs/btrfs/ioctl.c btrfs_fileattr_set() -> btrfs_compress_type2str()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem

fs/btrfs/ioctl.c btrfs_fileattr_set() -> btrfs_compress_type2str()

Type Parameter Key Value
PARAM_VALUE 0 type 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem

fs/btrfs/super.c btrfs_emit_options() -> btrfs_compress_type2str()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/btrfs/super.c btrfs_show_options() -> btrfs_compress_type2str()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &seq->lock
HALF_LOCKED2 global &namespace_sem