Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

arch/x86/kernel/cpu/bugs.c cpu_show_gds() -> cpu_show_common()

Type Parameter Key Value
PARAM_VALUE 1 attr 7259437862557999104
PARAM_VALUE 1 attr->attr 728128482102808576
PARAM_VALUE 1 attr->show 1-u64max
PARAM_VALUE 2 buf 1-u64max
PARAM_VALUE 3 bug 734
CAPPED_DATA 2 buf 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 attr $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

arch/x86/kernel/cpu/bugs.c cpu_show_indirect_target_selection() -> cpu_show_common()

Type Parameter Key Value
PARAM_VALUE 1 attr 8195670599449198592
PARAM_VALUE 1 attr->attr 660929547837521920
PARAM_VALUE 1 attr->show 1-u64max
PARAM_VALUE 2 buf 1-u64max
PARAM_VALUE 3 bug 743
CAPPED_DATA 2 buf 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 attr $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

arch/x86/kernel/cpu/bugs.c cpu_show_itlb_multihit() -> cpu_show_common()

Type Parameter Key Value
PARAM_VALUE 1 attr 4401836133356347392
PARAM_VALUE 1 attr->attr 4550326046199103488
PARAM_VALUE 1 attr->show 1-u64max
PARAM_VALUE 2 buf 1-u64max
PARAM_VALUE 3 bug 727
CAPPED_DATA 2 buf 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 attr $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

arch/x86/kernel/cpu/bugs.c cpu_show_l1tf() -> cpu_show_common()

Type Parameter Key Value
PARAM_VALUE 1 attr 2413388812411969536
PARAM_VALUE 1 attr->attr 4192280915261120512
PARAM_VALUE 1 attr->show 1-u64max
PARAM_VALUE 2 buf 1-u64max
PARAM_VALUE 3 bug 722
CAPPED_DATA 2 buf 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 attr $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

arch/x86/kernel/cpu/bugs.c cpu_show_mds() -> cpu_show_common()

Type Parameter Key Value
PARAM_VALUE 1 attr 3795841499352961024
PARAM_VALUE 1 attr->attr 1597673949855485952
PARAM_VALUE 1 attr->show 1-u64max
PARAM_VALUE 2 buf 1-u64max
PARAM_VALUE 3 bug 723
CAPPED_DATA 2 buf 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 attr $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

arch/x86/kernel/cpu/bugs.c cpu_show_meltdown() -> cpu_show_common()

Type Parameter Key Value
PARAM_VALUE 1 attr 4461682870118789120
PARAM_VALUE 1 attr->attr 7564586753733177344
PARAM_VALUE 1 attr->show 1-u64max
PARAM_VALUE 2 buf 1-u64max
PARAM_VALUE 3 bug 718
CAPPED_DATA 2 buf 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 attr $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

arch/x86/kernel/cpu/bugs.c cpu_show_mmio_stale_data() -> cpu_show_common()

Type Parameter Key Value
PARAM_VALUE 1 attr 2609800631730122752
PARAM_VALUE 1 attr->attr 8064696971967651840
PARAM_VALUE 1 attr->show 1-u64max
PARAM_VALUE 2 buf 1-u64max
PARAM_VALUE 3 bug 729
CAPPED_DATA 2 buf 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 attr $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

arch/x86/kernel/cpu/bugs.c cpu_show_old_microcode() -> cpu_show_common()

Type Parameter Key Value
PARAM_VALUE 1 attr 8318313615636328448
PARAM_VALUE 1 attr->attr 6908746780670824448
PARAM_VALUE 1 attr->show 1-u64max
PARAM_VALUE 2 buf 1-u64max
PARAM_VALUE 3 bug 742
CAPPED_DATA 2 buf 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 attr $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

arch/x86/kernel/cpu/bugs.c cpu_show_reg_file_data_sampling() -> cpu_show_common()

Type Parameter Key Value
PARAM_VALUE 1 attr 8805278726201667584
PARAM_VALUE 1 attr->attr 6426305885022728192
PARAM_VALUE 1 attr->show 1-u64max
PARAM_VALUE 2 buf 1-u64max
PARAM_VALUE 3 bug 738
CAPPED_DATA 2 buf 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 attr $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

arch/x86/kernel/cpu/bugs.c cpu_show_retbleed() -> cpu_show_common()

Type Parameter Key Value
PARAM_VALUE 1 attr 2377796355470233600
PARAM_VALUE 1 attr->attr 5827919392399273984
PARAM_VALUE 1 attr->show 1-u64max
PARAM_VALUE 2 buf 1-u64max
PARAM_VALUE 3 bug 731
CAPPED_DATA 2 buf 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 attr $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

arch/x86/kernel/cpu/bugs.c cpu_show_spec_rstack_overflow() -> cpu_show_common()

Type Parameter Key Value
PARAM_VALUE 1 attr 5607281669479157760
PARAM_VALUE 1 attr->attr 204705726337138688
PARAM_VALUE 1 attr->show 1-u64max
PARAM_VALUE 2 buf 1-u64max
PARAM_VALUE 3 bug 736
CAPPED_DATA 2 buf 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 attr $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

arch/x86/kernel/cpu/bugs.c cpu_show_spec_store_bypass() -> cpu_show_common()

Type Parameter Key Value
PARAM_VALUE 1 attr 4649687887481851904
PARAM_VALUE 1 attr->attr 7663788241098706944
PARAM_VALUE 1 attr->show 1-u64max
PARAM_VALUE 2 buf 1-u64max
PARAM_VALUE 3 bug 721
CAPPED_DATA 2 buf 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 attr $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

arch/x86/kernel/cpu/bugs.c cpu_show_spectre_v1() -> cpu_show_common()

Type Parameter Key Value
PARAM_VALUE 1 attr 7137345854486319104
PARAM_VALUE 1 attr->attr 3284728066521333760
PARAM_VALUE 1 attr->show 1-u64max
PARAM_VALUE 2 buf 1-u64max
PARAM_VALUE 3 bug 719
CAPPED_DATA 2 buf 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 attr $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

arch/x86/kernel/cpu/bugs.c cpu_show_spectre_v2() -> cpu_show_common()

Type Parameter Key Value
PARAM_VALUE 1 attr 5725618850377838592
PARAM_VALUE 1 attr->attr 857151683282403328
PARAM_VALUE 1 attr->show 1-u64max
PARAM_VALUE 2 buf 1-u64max
PARAM_VALUE 3 bug 720
CAPPED_DATA 2 buf 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 attr $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

arch/x86/kernel/cpu/bugs.c cpu_show_srbds() -> cpu_show_common()

Type Parameter Key Value
PARAM_VALUE 1 attr 1083495639818694656
PARAM_VALUE 1 attr->attr 3113386351608053760
PARAM_VALUE 1 attr->show 1-u64max
PARAM_VALUE 2 buf 1-u64max
PARAM_VALUE 3 bug 728
CAPPED_DATA 2 buf 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 attr $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

arch/x86/kernel/cpu/bugs.c cpu_show_tsa() -> cpu_show_common()

Type Parameter Key Value
PARAM_VALUE 1 attr 7048231621714800640
PARAM_VALUE 1 attr->attr 873332442926997504
PARAM_VALUE 1 attr->show 1-u64max
PARAM_VALUE 2 buf 1-u64max
PARAM_VALUE 3 bug 745
CAPPED_DATA 2 buf 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 attr $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

arch/x86/kernel/cpu/bugs.c cpu_show_tsx_async_abort() -> cpu_show_common()

Type Parameter Key Value
PARAM_VALUE 1 attr 8342589384613359616
PARAM_VALUE 1 attr->attr 6033213708811206656
PARAM_VALUE 1 attr->show 1-u64max
PARAM_VALUE 2 buf 1-u64max
PARAM_VALUE 3 bug 726
CAPPED_DATA 2 buf 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 attr $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

arch/x86/kernel/cpu/bugs.c cpu_show_vmscape() -> cpu_show_common()

Type Parameter Key Value
PARAM_VALUE 1 attr 3693425025441177600
PARAM_VALUE 1 attr->attr 6497819321167826944
PARAM_VALUE 1 attr->show 1-u64max
PARAM_VALUE 2 buf 1-u64max
PARAM_VALUE 3 bug 746
CAPPED_DATA 2 buf 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 attr $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