Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/btrfs/volumes.c open_fs_devices() -> btrfs_read_policy_to_enum()

Type Parameter Key Value
PARAM_VALUE 1 value_ret 5693230265547423744
PARAM_VALUE 1 *value_ret 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &uuid_mutex

fs/btrfs/sysfs.c btrfs_read_policy_init() -> btrfs_read_policy_to_enum()

Type Parameter Key Value
PARAM_VALUE 1 value_ret 3699149571139477504

fs/btrfs/sysfs.c btrfs_read_policy_store() -> btrfs_read_policy_to_enum()

Type Parameter Key Value
PARAM_VALUE 0 str 4096-ptr_max
PARAM_VALUE 1 value_ret 5727210120497385472
PARAM_VALUE 1 *value_ret (-1)
DATA_SOURCE 0 str $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex