Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/platform/x86/lenovo/thinkpad_acpi.c fan_init() -> fan_get_status_safe()

Type Parameter Key Value
PARAM_VALUE 0 status 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/platform/x86/lenovo/thinkpad_acpi.c fan_pwm1_enable_show() -> fan_get_status_safe()

Type Parameter Key Value
PARAM_VALUE 0 status 1810345398254612480
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/platform/x86/lenovo/thinkpad_acpi.c fan_pwm1_show() -> fan_get_status_safe()

Type Parameter Key Value
PARAM_VALUE 0 status 5695388663122067456
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/platform/x86/lenovo/thinkpad_acpi.c fan_read() -> fan_get_status_safe()

Type Parameter Key Value
PARAM_VALUE 0 status 5147777620043411456
RX_PATH
TASK_NOT_RUNNING
LOCK2 &m->lock
TYPE_LOCK (struct seq_file)->lock

drivers/platform/x86/lenovo/thinkpad_acpi.c fan_read() -> fan_get_status_safe()

Type Parameter Key Value
PARAM_VALUE 0 status 5147777620043411456
RX_PATH
TASK_NOT_RUNNING
LOCK2 &m->lock
TYPE_LOCK (struct seq_file)->lock

drivers/platform/x86/lenovo/thinkpad_acpi.c fan_resume() -> fan_get_status_safe()

Type Parameter Key Value
PARAM_VALUE 0 status 3438324216993869824
PARAM_VALUE 0 *status 7
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fsm->lock

drivers/platform/x86/lenovo/thinkpad_acpi.c fan_suspend() -> fan_get_status_safe()

Type Parameter Key Value
PARAM_VALUE 0 status 8437309744179437568
PARAM_VALUE 0 *status 0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fsm->lock