Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/platform/x86/lenovo/thinkpad_acpi.c adaptive_kbd_mode_store() -> parse_strtoul()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 1 max 4
PARAM_VALUE 2 value 6331430807404539904
DATA_SOURCE 0 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

drivers/platform/x86/lenovo/thinkpad_acpi.c bluetooth_emulstate_store() -> parse_strtoul()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 1 max 1
PARAM_VALUE 2 value 950291712585809920
DATA_SOURCE 0 buf $1
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 cmos_command_store() -> parse_strtoul()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 1 max 21
PARAM_VALUE 2 value 1887754464122822656
DATA_SOURCE 0 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

drivers/platform/x86/lenovo/thinkpad_acpi.c debug_level_store() -> parse_strtoul()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 1 max u16max
PARAM_VALUE 2 value 7830789380169494528
DATA_SOURCE 0 buf $1
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_enable_store() -> parse_strtoul()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 1 max 2
PARAM_VALUE 2 value 2078855692125708288
DATA_SOURCE 0 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

drivers/platform/x86/lenovo/thinkpad_acpi.c fan_pwm1_store() -> parse_strtoul()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 1 max 255
PARAM_VALUE 2 value 2048452296018137088
DATA_SOURCE 0 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

drivers/platform/x86/lenovo/thinkpad_acpi.c fan_watchdog_store() -> parse_strtoul()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 1 max 120
PARAM_VALUE 2 value 810763536233025536
DATA_SOURCE 0 buf $1
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 hotkey_enable_store() -> parse_strtoul()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 1 max 1
PARAM_VALUE 2 value 5061803610574323712
DATA_SOURCE 0 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

drivers/platform/x86/lenovo/thinkpad_acpi.c hotkey_mask_store() -> parse_strtoul()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 1 max u32max
PARAM_VALUE 2 value 3831009624401702912
DATA_SOURCE 0 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

drivers/platform/x86/lenovo/thinkpad_acpi.c hotkey_poll_freq_store() -> parse_strtoul()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 1 max 25
PARAM_VALUE 2 value 7393594120002174976
DATA_SOURCE 0 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

drivers/platform/x86/lenovo/thinkpad_acpi.c hotkey_source_mask_store() -> parse_strtoul()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 1 max u32max
PARAM_VALUE 2 value 2064081349102956544
DATA_SOURCE 0 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

drivers/platform/x86/lenovo/thinkpad_acpi.c tpacpi_rfk_sysfs_enable_store() -> parse_strtoul()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 1 max 1
PARAM_VALUE 2 value 6680158005202456576
DATA_SOURCE 0 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

drivers/platform/x86/lenovo/thinkpad_acpi.c uwb_emulstate_store() -> parse_strtoul()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 1 max 1
PARAM_VALUE 2 value 3727106841969356800
DATA_SOURCE 0 buf $1
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 wlsw_emulstate_store() -> parse_strtoul()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 1 max 1
PARAM_VALUE 2 value 9184614621132197888
DATA_SOURCE 0 buf $1
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 wwan_emulstate_store() -> parse_strtoul()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 1 max 1
PARAM_VALUE 2 value 404012923144572928
DATA_SOURCE 0 buf $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex