Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/btrfs/sysfs.c btrfs_qgroup_rsv_show_data() -> btrfs_show_u64()

Type Parameter Key Value
PARAM_VALUE 0 value_ptr 4096-ptr_max
PARAM_VALUE 1 lock 4096-ptr_max
PARAM_VALUE 2 buf 1-u64max
BUF_SIZE 0 value_ptr 24
CAPPED_DATA 2 buf 1
DATA_SOURCE 2 buf $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

fs/btrfs/sysfs.c btrfs_qgroup_rsv_show_meta_pertrans() -> btrfs_show_u64()

Type Parameter Key Value
PARAM_VALUE 0 value_ptr 4096-ptr_max
PARAM_VALUE 1 lock 4096-ptr_max
PARAM_VALUE 2 buf 1-u64max
BUF_SIZE 0 value_ptr 16
CAPPED_DATA 2 buf 1
DATA_SOURCE 2 buf $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

fs/btrfs/sysfs.c btrfs_qgroup_rsv_show_meta_prealloc() -> btrfs_show_u64()

Type Parameter Key Value
PARAM_VALUE 0 value_ptr 4096-ptr_max
PARAM_VALUE 1 lock 4096-ptr_max
PARAM_VALUE 2 buf 1-u64max
CAPPED_DATA 2 buf 1
DATA_SOURCE 2 buf $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

fs/btrfs/sysfs.c btrfs_qgroup_show_excl() -> btrfs_show_u64()

Type Parameter Key Value
PARAM_VALUE 0 value_ptr 4096-ptr_max
PARAM_VALUE 1 lock 4096-ptr_max
PARAM_VALUE 2 buf 1-u64max
CAPPED_DATA 2 buf 1
DATA_SOURCE 2 buf $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

fs/btrfs/sysfs.c btrfs_qgroup_show_lim_flags() -> btrfs_show_u64()

Type Parameter Key Value
PARAM_VALUE 0 value_ptr 4096-ptr_max
PARAM_VALUE 1 lock 4096-ptr_max
PARAM_VALUE 2 buf 1-u64max
CAPPED_DATA 2 buf 1
DATA_SOURCE 2 buf $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

fs/btrfs/sysfs.c btrfs_qgroup_show_max_excl() -> btrfs_show_u64()

Type Parameter Key Value
PARAM_VALUE 0 value_ptr 4096-ptr_max
PARAM_VALUE 1 lock 4096-ptr_max
PARAM_VALUE 2 buf 1-u64max
CAPPED_DATA 2 buf 1
DATA_SOURCE 2 buf $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

fs/btrfs/sysfs.c btrfs_qgroup_show_max_rfer() -> btrfs_show_u64()

Type Parameter Key Value
PARAM_VALUE 0 value_ptr 4096-ptr_max
PARAM_VALUE 1 lock 4096-ptr_max
PARAM_VALUE 2 buf 1-u64max
CAPPED_DATA 2 buf 1
DATA_SOURCE 2 buf $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

fs/btrfs/sysfs.c btrfs_qgroup_show_rfer() -> btrfs_show_u64()

Type Parameter Key Value
PARAM_VALUE 0 value_ptr 4096-ptr_max
PARAM_VALUE 1 lock 4096-ptr_max
PARAM_VALUE 2 buf 1-u64max
CAPPED_DATA 2 buf 1
DATA_SOURCE 2 buf $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

fs/btrfs/sysfs.c btrfs_space_info_show_bytes_may_use() -> btrfs_show_u64()

Type Parameter Key Value
PARAM_VALUE 0 value_ptr 4096-ptr_max
PARAM_VALUE 1 lock 4096-ptr_max
PARAM_VALUE 2 buf 1-u64max
CAPPED_DATA 2 buf 1
DATA_SOURCE 2 buf $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

fs/btrfs/sysfs.c btrfs_space_info_show_bytes_pinned() -> btrfs_show_u64()

Type Parameter Key Value
PARAM_VALUE 0 value_ptr 4096-ptr_max
PARAM_VALUE 1 lock 4096-ptr_max
PARAM_VALUE 2 buf 1-u64max
CAPPED_DATA 2 buf 1
DATA_SOURCE 2 buf $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

fs/btrfs/sysfs.c btrfs_space_info_show_bytes_readonly() -> btrfs_show_u64()

Type Parameter Key Value
PARAM_VALUE 0 value_ptr 4096-ptr_max
PARAM_VALUE 1 lock 4096-ptr_max
PARAM_VALUE 2 buf 1-u64max
CAPPED_DATA 2 buf 1
DATA_SOURCE 2 buf $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

fs/btrfs/sysfs.c btrfs_space_info_show_bytes_reserved() -> btrfs_show_u64()

Type Parameter Key Value
PARAM_VALUE 0 value_ptr 4096-ptr_max
PARAM_VALUE 1 lock 4096-ptr_max
PARAM_VALUE 2 buf 1-u64max
CAPPED_DATA 2 buf 1
DATA_SOURCE 2 buf $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

fs/btrfs/sysfs.c btrfs_space_info_show_bytes_used() -> btrfs_show_u64()

Type Parameter Key Value
PARAM_VALUE 0 value_ptr 4096-ptr_max
PARAM_VALUE 1 lock 4096-ptr_max
PARAM_VALUE 2 buf 1-u64max
CAPPED_DATA 2 buf 1
DATA_SOURCE 2 buf $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

fs/btrfs/sysfs.c btrfs_space_info_show_bytes_zone_unusable() -> btrfs_show_u64()

Type Parameter Key Value
PARAM_VALUE 0 value_ptr 4096-ptr_max
PARAM_VALUE 1 lock 4096-ptr_max
PARAM_VALUE 2 buf 1-u64max
CAPPED_DATA 2 buf 1
DATA_SOURCE 2 buf $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

fs/btrfs/sysfs.c btrfs_space_info_show_disk_total() -> btrfs_show_u64()

Type Parameter Key Value
PARAM_VALUE 0 value_ptr 4096-ptr_max
PARAM_VALUE 1 lock 4096-ptr_max
PARAM_VALUE 2 buf 1-u64max
CAPPED_DATA 2 buf 1
DATA_SOURCE 2 buf $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

fs/btrfs/sysfs.c btrfs_space_info_show_disk_used() -> btrfs_show_u64()

Type Parameter Key Value
PARAM_VALUE 0 value_ptr 4096-ptr_max
PARAM_VALUE 1 lock 4096-ptr_max
PARAM_VALUE 2 buf 1-u64max
CAPPED_DATA 2 buf 1
DATA_SOURCE 2 buf $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

fs/btrfs/sysfs.c btrfs_space_info_show_flags() -> btrfs_show_u64()

Type Parameter Key Value
PARAM_VALUE 0 value_ptr 4096-ptr_max
PARAM_VALUE 1 lock 4096-ptr_max
PARAM_VALUE 2 buf 1-u64max
CAPPED_DATA 2 buf 1
DATA_SOURCE 2 buf $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

fs/btrfs/sysfs.c btrfs_space_info_show_reclaim_bytes() -> btrfs_show_u64()

Type Parameter Key Value
PARAM_VALUE 0 value_ptr 4096-ptr_max
PARAM_VALUE 1 lock 4096-ptr_max
PARAM_VALUE 2 buf 1-u64max
CAPPED_DATA 2 buf 1
DATA_SOURCE 2 buf $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

fs/btrfs/sysfs.c btrfs_space_info_show_reclaim_count() -> btrfs_show_u64()

Type Parameter Key Value
PARAM_VALUE 0 value_ptr 4096-ptr_max
PARAM_VALUE 1 lock 4096-ptr_max
PARAM_VALUE 2 buf 1-u64max
CAPPED_DATA 2 buf 1
DATA_SOURCE 2 buf $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

fs/btrfs/sysfs.c btrfs_space_info_show_reclaim_errors() -> btrfs_show_u64()

Type Parameter Key Value
PARAM_VALUE 0 value_ptr 4096-ptr_max
PARAM_VALUE 1 lock 4096-ptr_max
PARAM_VALUE 2 buf 1-u64max
CAPPED_DATA 2 buf 1
DATA_SOURCE 2 buf $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

fs/btrfs/sysfs.c btrfs_space_info_show_total_bytes() -> btrfs_show_u64()

Type Parameter Key Value
PARAM_VALUE 0 value_ptr 4096-ptr_max
PARAM_VALUE 1 lock 4096-ptr_max
PARAM_VALUE 2 buf 1-u64max
CAPPED_DATA 2 buf 1
DATA_SOURCE 2 buf $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

fs/btrfs/sysfs.c global_rsv_reserved_show() -> btrfs_show_u64()

Type Parameter Key Value
PARAM_VALUE 0 value_ptr 4096-ptr_max
PARAM_VALUE 1 lock 4096-ptr_max
PARAM_VALUE 2 buf 1-u64max
CAPPED_DATA 2 buf 1
DATA_SOURCE 2 buf $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

fs/btrfs/sysfs.c global_rsv_size_show() -> btrfs_show_u64()

Type Parameter Key Value
PARAM_VALUE 0 value_ptr 4096-ptr_max
PARAM_VALUE 1 lock 4096-ptr_max
PARAM_VALUE 2 buf 1-u64max
CAPPED_DATA 2 buf 1
DATA_SOURCE 2 buf $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