Defined in 1 files as a function:

Referenced in 10 files:

Smatch caller information:

drivers/ptp/ptp_ocp.c tod_correction_store() -> kstrtos32()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 1 base 0
PARAM_VALUE 2 res 1033126610479398912
DATA_SOURCE 0 s $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/target/target_core_user.c tcmu_qfull_time_out_store() -> kstrtos32()

Type Parameter Key Value
PARAM_VALUE 0 s 1-u64max
PARAM_VALUE 0 *s 0
PARAM_VALUE 1 base 0
PARAM_VALUE 2 res 3682097201713659904
BUF_SIZE 0 s 4096
BUF_SIZE 0 s 4096
DATA_SOURCE 0 s $1
TERMINATED 0 s 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &buffer->mutex
LOCK2 &frag->frag_sem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct configfs_buffer)->mutex
TYPE_LOCK (struct configfs_fragment)->frag_sem

drivers/target/iscsi/iscsi_target_configfs.c iscsi_nacl_attrib_authentication_store() -> kstrtos32()

Type Parameter Key Value
PARAM_VALUE 0 s 1-u64max
PARAM_VALUE 0 *s 0
PARAM_VALUE 1 base 0
PARAM_VALUE 2 res 7503361050178109440
BUF_SIZE 0 s 4096
BUF_SIZE 0 s 4096
DATA_SOURCE 0 s $1
TERMINATED 0 s 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &buffer->mutex
LOCK2 &frag->frag_sem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct configfs_buffer)->mutex
TYPE_LOCK (struct configfs_fragment)->frag_sem

drivers/thermal/thermal_sysfs.c integral_cutoff_store() -> kstrtos32()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 1 base 10
PARAM_VALUE 2 res 6740140620684173312
DATA_SOURCE 0 s $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/thermal/thermal_sysfs.c k_d_store() -> kstrtos32()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 1 base 10
PARAM_VALUE 2 res 4736974458385010688
DATA_SOURCE 0 s $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/thermal/thermal_sysfs.c k_i_store() -> kstrtos32()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 1 base 10
PARAM_VALUE 2 res 8994910295490125824
DATA_SOURCE 0 s $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/thermal/thermal_sysfs.c k_po_store() -> kstrtos32()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 1 base 10
PARAM_VALUE 2 res 8470642642784260096
DATA_SOURCE 0 s $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/thermal/thermal_sysfs.c k_pu_store() -> kstrtos32()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 1 base 10
PARAM_VALUE 2 res 1384193607778693120
DATA_SOURCE 0 s $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/thermal/thermal_sysfs.c offset_store() -> kstrtos32()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 1 base 10
PARAM_VALUE 2 res 2786713402998951936
DATA_SOURCE 0 s $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/thermal/thermal_sysfs.c slope_store() -> kstrtos32()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 1 base 10
PARAM_VALUE 2 res 3338128504439459840
DATA_SOURCE 0 s $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

lib/test-kstrtox.c test_kstrtos32_fail() -> kstrtos32()

Type Parameter Key Value
PARAM_VALUE 2 res 7997872791276253184
PARAM_VALUE 2 *res 0
BUF_SIZE 0 s 1-6,11,18,20-24,66

lib/test-kstrtox.c test_kstrtos32_ok() -> kstrtos32()

Type Parameter Key Value
PARAM_VALUE 2 res 7293205663322230784
BUF_SIZE 0 s 2-6,11

drivers/usb/gadget/function/f_midi.c f_midi_opts_index_store() -> kstrtos32()

Type Parameter Key Value
PARAM_VALUE 0 s 1-u64max
PARAM_VALUE 0 *s 0
PARAM_VALUE 1 base 0
PARAM_VALUE 2 res 325351840559456256
BUF_SIZE 0 s 4096
BUF_SIZE 0 s 4096
DATA_SOURCE 0 s $1
TERMINATED 0 s 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &buffer->mutex
LOCK2 &frag->frag_sem
LOCK2 &opts->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct configfs_buffer)->mutex
TYPE_LOCK (struct configfs_fragment)->frag_sem
TYPE_LOCK (struct f_midi_opts)->lock

drivers/leds/trigger/ledtrig-pattern.c repeat_store() -> kstrtos32()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 1 base 10
PARAM_VALUE 2 res 5755737947308191744
DATA_SOURCE 0 s $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

crypto/asymmetric_keys/asymmetric_type.c asymmetric_lookup_restriction() -> kstrtos32()

Type Parameter Key Value
PARAM_VALUE 0 s 1-u64max
PARAM_VALUE 1 base 0
PARAM_VALUE 2 res 232068048333565952
DATA_SOURCE 0 s r strsep
LOCK2 global &key_types_sem

drivers/net/wireless/ath/wcn36xx/debug.c write_file_dump() -> kstrtos32()

Type Parameter Key Value
PARAM_VALUE 0 s 1-u64max
PARAM_VALUE 1 base 0
PARAM_VALUE 2 res 4096-ptr_max
DATA_SOURCE 0 s r strsep

drivers/base/power/sysfs.c pm_qos_latency_tolerance_us_store() -> kstrtos32()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 1 base 0
PARAM_VALUE 2 res 5950138749227692032
DATA_SOURCE 0 s $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/base/power/sysfs.c pm_qos_resume_latency_us_store() -> kstrtos32()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 1 base 0
PARAM_VALUE 2 res 3007421758856294400
DATA_SOURCE 0 s $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