Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/f2fs/debug.c stat_show() -> f2fs_update_sit_info()

Type Parameter Key Value
PARAM_VALUE 0 sbi 4096-ptr_max
PARAM_VALUE 0 sbi->stat_info 4096-ptr_max
PARAM_VALUE 0 sbi->stat_info->dirty_count 0
CAPPED_DATA 0 sbi->s_ndevs 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &s->lock
LOCK2 global &f2fs_stat_lock
TYPE_LOCK (struct seq_file)->lock

fs/f2fs/sysfs.c avg_vblocks_show() -> f2fs_update_sit_info()

Type Parameter Key Value
PARAM_VALUE 0 sbi 4096-ptr_max
PARAM_VALUE 0 sbi->stat_info->dirty_count 0
DATA_SOURCE 0 sbi $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex