Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/platform/x86/amd/pmc/pmc.c amd_pmc_idlemask_show() -> amd_pmc_idlemask_read()

Type Parameter Key Value
PARAM_VALUE 1 dev 0
PARAM_VALUE 2 s 4096-ptr_max
PARAM_VALUE 2 s->buf 1-u64max
PARAM_VALUE 2 s->count 0-999999999
PARAM_VALUE 2 s->from 0
PARAM_VALUE 2 s->lock.dep_map->name 0-255
PARAM_VALUE 2 s->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 2 s->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 2 s->lock.osq.tail.counter 0-s32max
PARAM_VALUE 2 s->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 2 s->lock.wait_lock.owner (-1)
PARAM_VALUE 2 s->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 2 s->op 4096-ptr_max
BUF_SIZE 0 pdev s32min-(-2),1-s32max
BUF_SIZE 2 s s32min-(-2),1-s32max
BUF_SIZE 2 s s32min-(-2),1-s32max
BUF_SIZE 2 s->buf (-1)-2147479552
CAPPED_DATA 2 s->count 1
DATA_SOURCE 2 s $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 s->read_pos 0-13442450941
UNITS 0 pdev unit_array_size
LOCK2 2 &s->lock
TYPE_LOCK (struct seq_file)->lock

drivers/platform/x86/amd/pmc/pmc.c amd_pmc_s2idle_check() -> amd_pmc_idlemask_read()

Type Parameter Key Value
PARAM_VALUE 0 pdev 4343085530137509888
PARAM_VALUE 0 pdev->cpu_id 0-u16max
PARAM_VALUE 0 pdev->dev 0,4096-ptr_max
PARAM_VALUE 0 pdev->quirks->need_suspend_delay 0-1
PARAM_VALUE 1 dev 0,4096-ptr_max
PARAM_VALUE 2 s 0
BUF_SIZE 0 pdev 280
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 pdev->active_ips 0-u32max
LOCK2 global &system_transition_mutex
HALF_LOCKED2 global &acpi_scan_lock
HALF_LOCKED2 global &device_hotplug_lock