Symbol: kstrtoint
arch/powerpc/kernel/fadump.c
1393
if (kstrtoint(buf, 0, &input))
arch/powerpc/kernel/fadump.c
1501
if (kstrtoint(buf, 0, &input))
arch/powerpc/kernel/setup_64.c
144
if (!kstrtoint(smt_enabled_cmdline, 10, &smt))
arch/powerpc/platforms/powernv/opal-core.c
566
if (kstrtoint(buf, 0, &input))
arch/powerpc/platforms/powernv/opal-powercap.c
87
ret = kstrtoint(buf, 0, &pcap);
arch/powerpc/platforms/powernv/opal-psr.c
78
ret = kstrtoint(buf, 0, &psr);
arch/powerpc/platforms/powernv/opal-sensor-groups.c
67
ret = kstrtoint(buf, 0, &data);
arch/powerpc/platforms/pseries/lpar.c
516
rc = kstrtoint(buf, 0, &cmd);
arch/powerpc/platforms/pseries/lpar.c
613
rc = kstrtoint(buf, 0, &freq);
arch/powerpc/platforms/pseries/rtas-fadump.c
313
if (kstrtoint(str, 10, &i))
arch/s390/kernel/debug.c
218
else if (kstrtoint(level, 0, &p.level) != 0)
arch/um/drivers/vector_transports.c
222
if (kstrtoint(arg, 0, result) == 0)
arch/um/kernel/smp.c
225
if (kstrtoint(line, 10, &uml_ncpus)) {
arch/x86/kernel/ksysfs.c
67
return kstrtoint(name, 10, nr);
block/mq-deadline.c
760
__ret = kstrtoint(page, 0, &__data); \
crypto/fips.c
27
if (kstrtoint(str, 0, &fips_enabled))
drivers/acpi/acpi_mrrm.c
126
ret = kstrtoint(kname + 5, 10, &n); \
drivers/acpi/acpi_tad.c
236
if (kstrtoint(s, 10, val))
drivers/acpi/acpi_tad.c
295
if (kstrtoint(s, 10, &val))
drivers/acpi/acpi_tad.c
430
ret = kstrtoint(buf, 0, &value);
drivers/acpi/tables.c
775
if (kstrtoint(str, 0, &acpi_apic_instance))
drivers/ata/libata-scsi.c
140
rc = kstrtoint(buf, 10, &input);
drivers/atm/solos-pci.c
351
err = kstrtoint(str, 10, &ver);
drivers/atm/solos-pci.c
371
err = kstrtoint(str, 10, &rate_down);
drivers/atm/solos-pci.c
378
err = kstrtoint(str, 10, &rate_up);
drivers/atm/solos-pci.c
426
err = kstrtoint(&skb->data[1], 10, &cmdpid);
drivers/base/dd.c
266
if (!kstrtoint(str, 10, &timeout))
drivers/base/devtmpfs.c
59
return kstrtoint(str, 0, &mount_dev) == 0;
drivers/base/firmware_loader/sysfs.c
165
if (kstrtoint(buf, 10, &loading))
drivers/base/firmware_loader/sysfs.c
52
if (kstrtoint(buf, 10, &tmp_loading_timeout))
drivers/base/power/sysfs.c
307
if (kstrtoint(buf, 0, &ret))
drivers/block/loop.c
1822
ret = kstrtoint(s, 0, &qd);
drivers/block/null_blk/main.c
136
ret = kstrtoint(str, 10, &new_val);
drivers/block/zram/zram_drv.c
1745
ret = kstrtoint(val, 10, &prio);
drivers/block/zram/zram_drv.c
1752
ret = kstrtoint(val, 10, &level);
drivers/block/zram/zram_drv.c
1769
ret = kstrtoint(val, 10, &deflate_params.winbits);
drivers/block/zram/zram_drv.c
1869
ret = kstrtoint(val, 10, &prio);
drivers/block/zram/zram_drv.c
2592
ret = kstrtoint(val, 10, &prio);
drivers/block/zram/zram_drv.c
3194
ret = kstrtoint(buf, 10, &dev_id);
drivers/bus/brcmstb_gisb.c
226
ret = kstrtoint(buf, 10, &val);
drivers/clk/ti/clk.c
211
ret = kstrtoint(tags[i], i ? 10 : 16, clkspec.args + i);
drivers/crypto/intel/qat/qat_common/adf_sysfs_rl.c
202
err = kstrtoint(buf, 10, &val);
drivers/crypto/marvell/octeontx/otx_cptpf_ucode.c
1354
if (kstrtoint((tmp + 12), 10, &del_grp_idx))
drivers/crypto/marvell/octeontx/otx_cptpf_ucode.c
1369
if (kstrtoint(strim(val), 10, &engs[grp_idx].count))
drivers/crypto/marvell/octeontx/otx_cptpf_ucode.c
1381
if (kstrtoint(strim(val), 10, &engs[grp_idx].count))
drivers/crypto/marvell/octeontx/otx_cptvf_main.c
684
ret = kstrtoint(buf, 10, &val);
drivers/crypto/marvell/octeontx2/otx2_cptpf_main.c
547
ret = kstrtoint(buf, 0, &lfs_num);
drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c
1643
if (kstrtoint(strim(val), 10, &engs[grp_idx].count))
drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c
1658
if (kstrtoint(strim(val), 10, &engs[grp_idx].count))
drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c
1673
if (kstrtoint(strim(val), 10, &engs[grp_idx].count))
drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c
1777
if (kstrtoint(tmp, 10, &egrp))
drivers/cxl/core/region.c
532
rc = kstrtoint(buf, 0, &val);
drivers/cxl/core/region.c
601
rc = kstrtoint(buf, 0, &val);
drivers/dax/bus.c
379
rc = kstrtoint(buf, 0, &val);
drivers/devfreq/devfreq.c
1774
err = kstrtoint(buf, 10, &value);
drivers/dma/idxd/sysfs.c
462
rc = kstrtoint(buf, 10, &val);
drivers/dma/idxd/sysfs.c
493
rc = kstrtoint(buf, 10, &val);
drivers/gpio/gpio-aggregator.c
1123
ret = kstrtoint(page, 0, &offset);
drivers/gpio/gpio-virtuser.c
1108
ret = kstrtoint(page, 0, &offset);
drivers/gpu/drm/amd/amdkfd/kfd_debugfs.c
70
if (kstrtoint(tmp, 10, &gpu_id)) {
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
6083
ret = kstrtoint(buf, 0, &s3_state);
drivers/gpu/drm/amd/pm/amdgpu_pm.c
1897
r = kstrtoint(buf, 10, &bias);
drivers/gpu/drm/amd/pm/amdgpu_pm.c
3007
err = kstrtoint(buf, 10, &value);
drivers/gpu/drm/amd/pm/amdgpu_pm.c
3255
err = kstrtoint(buf, 10, &value);
drivers/gpu/drm/exynos/exynos_drm_vidi.c
192
ret = kstrtoint(buf, 0, &new_connected);
drivers/gpu/drm/i915/display/intel_dp_link_training.c
1919
ret = kstrtoint(p, 0, &rate);
drivers/gpu/drm/i915/display/intel_dp_link_training.c
2017
ret = kstrtoint(p, 0, &lane_count);
drivers/gpu/drm/i915/display/intel_dp_test.c
586
status = kstrtoint(input_buffer, 10, &val);
drivers/gpu/drm/msm/dp/dp_debug.c
148
status = kstrtoint(input_buffer, 10, &val);
drivers/gpu/drm/panel/panel-tpo-td043mtea1.c
199
ret = kstrtoint(buf, 0, &val);
drivers/gpu/drm/radeon/radeon_pm.c
594
err = kstrtoint(buf, 10, &value);
drivers/hid/hid-asus.c
653
err = kstrtoint(buf, 10, &version);
drivers/hid/hid-corsair.c
386
if (kstrtoint(buf, 10, &profile))
drivers/hid/hid-lenovo-go-s.c
923
ret = kstrtoint(buf, 10, &val);
drivers/hid/hid-lenovo-go.c
1530
ret = kstrtoint(buf, 10, &val);
drivers/hid/hid-lenovo.c
1023
if (kstrtoint(buf, 10, &value))
drivers/hid/hid-lenovo.c
1053
if (kstrtoint(buf, 10, &value) || value < 1 || value > 255)
drivers/hid/hid-lenovo.c
1081
if (kstrtoint(buf, 10, &value) || value < 1 || value > 255)
drivers/hid/hid-lenovo.c
609
if (kstrtoint(buf, 10, &value))
drivers/hid/hid-lenovo.c
658
if (kstrtoint(buf, 10, &value) || value < 1 || value > 255)
drivers/hid/hid-lenovo.c
687
if (kstrtoint(buf, 10, &value))
drivers/hid/hid-lenovo.c
933
if (kstrtoint(buf, 10, &value))
drivers/hid/hid-lenovo.c
963
if (kstrtoint(buf, 10, &value))
drivers/hid/hid-lenovo.c
993
if (kstrtoint(buf, 10, &value))
drivers/hid/hid-oxp.c
686
ret = kstrtoint(buf, 10, &val);
drivers/hid/hid-sensor-custom.c
239
if (kstrtoint(buf, 0, &value) != 0)
drivers/hid/hid-sensor-custom.c
401
if (kstrtoint(buf, 0, &value) != 0)
drivers/hwmon/ina3221.c
706
ret = kstrtoint(buf, 0, &val);
drivers/hwtracing/coresight/coresight-cti-sysfs.c
606
if (kstrtoint(buf, 0, &channel))
drivers/hwtracing/coresight/coresight-cti-sysfs.c
634
if (kstrtoint(buf, 0, &channel))
drivers/hwtracing/coresight/coresight-cti-sysfs.c
647
if (kstrtoint(buf, 0, &channel))
drivers/hwtracing/coresight/coresight-syscfg-configfs.c
134
err = kstrtoint(page, 0, &preset);
drivers/hwtracing/intel_th/gth.c
173
if (kstrtoint(buf, 10, &port) < 0)
drivers/i2c/muxes/i2c-mux-pca954x.c
380
ret = kstrtoint(buf, 0, &val);
drivers/iio/adc/ad4062.c
280
ret = kstrtoint(buf, 10, &val);
drivers/iio/adc/stm32-dfsdm-adc.c
792
ret = kstrtoint(buf, 0, &spi_freq);
drivers/iio/chemical/sps30.c
196
if (kstrtoint(buf, 0, &val) || val != 1)
drivers/iio/chemical/sps30.c
233
if (kstrtoint(buf, 0, &val))
drivers/iio/imu/inv_mpu6050/inv_mpu_core.c
1306
if (kstrtoint(buf, 10, &fifo_rate))
drivers/iio/industrialio-core.c
906
return kstrtoint(str, 0, integer);
drivers/iio/light/isl29018.c
343
if (kstrtoint(buf, 10, &val))
drivers/iio/light/tsl2583.c
492
if (kstrtoint(buf, 0, &value) || !value)
drivers/iio/light/tsl2583.c
510
if (kstrtoint(buf, 0, &value) || value != 1)
drivers/infiniband/core/sysfs.c
826
ret = kstrtoint(buf, 10, &msecs);
drivers/infiniband/ulp/isert/ib_isert.c
67
ret = kstrtoint(val, 10, &n);
drivers/infiniband/ulp/rtrs/rtrs-clt-sysfs.c
124
ret = kstrtoint(buf, 10, &value);
drivers/infiniband/ulp/rtrs/rtrs-clt-sysfs.c
68
ret = kstrtoint(buf, 10, &value);
drivers/input/keyboard/lm8323.c
534
ret = kstrtoint(buf, 10, &time);
drivers/input/misc/ims-pcu.c
1180
error = kstrtoint(buf, 0, &value);
drivers/input/misc/ims-pcu.c
1213
error = kstrtoint(buf, 0, &value);
drivers/input/misc/ims-pcu.c
1478
error = kstrtoint(buf, 0, &value);
drivers/input/tablet/aiptek.c
1158
if (kstrtoint(buf, 10, &x)) {
drivers/input/tablet/aiptek.c
1199
if (kstrtoint(buf, 10, &y)) {
drivers/input/tablet/aiptek.c
1236
err = kstrtoint(buf, 10, &j);
drivers/input/tablet/aiptek.c
1265
err = kstrtoint(buf, 10, &d);
drivers/input/tablet/aiptek.c
1511
err = kstrtoint(buf, 10, &w);
drivers/input/touchscreen/hideep.c
875
error = kstrtoint(buf, 0, &mode);
drivers/iommu/intel/debugfs.c
704
if (kstrtoint(buf, 0, &counting))
drivers/leds/leds-aw200xx.c
151
ret = kstrtoint(buf, 0, &dim);
drivers/md/dm-raid.c
1145
if (kstrtoint(arg, 10, &value) < 0) {
drivers/md/dm-raid.c
1307
if (kstrtoint(arg, 10, &value) < 0) {
drivers/md/md.c
4326
err = kstrtoint(buf, 10, &id);
drivers/media/usb/pvrusb2/pvrusb2-ctrl.c
370
return kstrtoint(ptr, 0, valptr) ? -EINVAL : 1;
drivers/media/usb/pvrusb2/pvrusb2-ctrl.c
392
return kstrtoint(ptr, 0, valptr);
drivers/mfd/ls2k-bmc-core.c
442
ret = kstrtoint(strsep(&mode, "x"), 10, &pd->width);
drivers/mfd/ls2k-bmc-core.c
446
ret = kstrtoint(strsep(&mode, "-"), 10, &pd->height);
drivers/mfd/ls2k-bmc-core.c
450
ret = kstrtoint(strsep(&mode, "@"), 10, &depth);
drivers/misc/genwqe/card_sysfs.c
191
if (kstrtoint(buf, 0, &partition) < 0)
drivers/misc/genwqe/card_sysfs.c
217
if (kstrtoint(buf, 0, &reload) < 0)
drivers/misc/ocxl/sysfs.c
78
rc = kstrtoint(buf, 0, &val);
drivers/mtd/mtdpstore.c
562
ret = kstrtoint((char *)info->device, 0, &cxt->index);
drivers/mtd/parsers/bcm47xxpart.c
79
if (!kstrtoint(buf, 0, &bootpartition))
drivers/mtd/parsers/ofpart_linksys_ns.c
21
if (!kstrtoint(buf, 0, &bootpartition))
drivers/mtd/ubi/block.c
132
ret = kstrtoint(tokens[0], 10, &param->ubi_num);
drivers/mtd/ubi/block.c
137
ret = kstrtoint(tokens[1], 10, &param->vol_id);
drivers/mtd/ubi/build.c
1527
int err = kstrtoint(token, 10, &p->max_beb_per1024);
drivers/mtd/ubi/build.c
1538
int err = kstrtoint(token, 10, &p->ubi_num);
drivers/mtd/ubi/build.c
1550
int err = kstrtoint(token, 10, &p->enable_fm);
drivers/mtd/ubi/build.c
1562
int err = kstrtoint(token, 10, &p->need_resv_pool);
drivers/mtd/ubi/debug.c
430
if (kstrtoint(buf, 0, &val) != 0)
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
1051
ret = subtoken ? kstrtoint(subtoken, 10, &lf) : -EINVAL;
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
1358
ret = subtoken ? kstrtoint(subtoken, 10, npalf) : -EINVAL;
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
1365
ret = subtoken ? kstrtoint(subtoken, 10, id) : -EINVAL;
drivers/net/ethernet/mellanox/mlx4/main.c
1308
err = kstrtoint(buf, 0, &mtu);
drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c
2289
if (kstrtoint(opt + 10, 0, &eee_timer))
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
8361
if (kstrtoint(opt + 6, 0, &debug))
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
8364
if (kstrtoint(opt + 8, 0, &phyaddr))
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
8367
if (kstrtoint(opt + 3, 0, &tc))
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
8370
if (kstrtoint(opt + 9, 0, &watchdog))
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
8373
if (kstrtoint(opt + 10, 0, &flow_ctrl))
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
8376
if (kstrtoint(opt + 6, 0, &pause))
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
8379
if (kstrtoint(opt + 10, 0, &eee_timer))
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
8382
if (kstrtoint(opt + 11, 0, &chain_mode))
drivers/net/wireless/ath/ath5k/sysfs.c
28
ret = kstrtoint(buf, 10, &val); \
drivers/net/wireless/broadcom/b43legacy/sysfs.c
34
ret = kstrtoint(tmp, 10, &res);
drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c
254
if (kstrtoint(buf, 10, &temperature))
drivers/net/wireless/marvell/libertas/mesh.c
292
ret = kstrtoint(buf, 16, &enable);
drivers/net/wireless/realtek/rtw89/debug.c
1070
ret = kstrtoint(buf, 0, &sel);
drivers/nvme/host/sysfs.c
1025
error = kstrtoint(buf, 10, &qid);
drivers/nvme/host/sysfs.c
596
err = kstrtoint(buf, 10, &ctrl_loss_tmo);
drivers/nvme/host/sysfs.c
654
err = kstrtoint(buf, 10, &fast_io_fail_tmo);
drivers/nvme/target/configfs.c
268
ret = kstrtoint(page, 0, &port->inline_data_size);
drivers/nvme/target/configfs.c
294
ret = kstrtoint(page, 0, &port->max_queue_size);
drivers/nvme/target/configfs.c
319
ret = kstrtoint(page, 0, &port->mdts);
drivers/nvme/target/rdma.c
185
ret = kstrtoint(val, 10, &n);
drivers/nvme/target/tcp.c
33
ret = kstrtoint(str, 10, &new_val);
drivers/of/base.c
1974
if (kstrtoint(end, 10, &id) < 0) {
drivers/of/resolver.c
103
err = kstrtoint(s, 10, &offset);
drivers/pci/endpoint/functions/pci-epf-vntb.c
1136
ret = kstrtoint(page, 0, &val); \
drivers/pci/iov.c
256
if (kstrtoint(buf, 0, &val) < 0)
drivers/pci/pci-sysfs.c
370
if (kstrtoint(buf, 0, &node) < 0)
drivers/pci/pcie/aer.c
668
if (kstrtoint(buf, 0, &interval) < 0) \
drivers/pci/pcie/aer.c
703
if (kstrtoint(buf, 0, &burst) < 0) \
drivers/platform/chrome/chromeos_acpi.c
156
return kstrtoint(&name[ACPI_ATTR_NAME_LEN + 1], 0, attr_num);
drivers/platform/x86/asus-laptop.c
1122
rv = kstrtoint(buf, 0, &value);
drivers/platform/x86/asus-laptop.c
1166
rv = kstrtoint(buf, 0, &value);
drivers/platform/x86/asus-laptop.c
1196
rv = kstrtoint(buf, 0, &value);
drivers/platform/x86/asus-laptop.c
1279
rv = kstrtoint(buf, 0, &value);
drivers/platform/x86/asus-laptop.c
921
rv = kstrtoint(buf, 0, &value);
drivers/platform/x86/asus-laptop.c
947
rv = kstrtoint(buf, 0, &value);
drivers/platform/x86/asus-wmi.c
3775
err = kstrtoint(buf, 10, &value);
drivers/platform/x86/asus-wmi.c
4698
err = kstrtoint(buf, 0, &value);
drivers/platform/x86/asus-wmi.c
4755
rv = kstrtoint(buf, 0, &value);
drivers/platform/x86/dell/dell-laptop.c
1859
ret = kstrtoint(buf, 0, &enable);
drivers/platform/x86/dell/dell-laptop.c
2339
ret = kstrtoint(buf, 10, &start);
drivers/platform/x86/dell/dell-wmi-sysman/int-attributes.c
48
ret = kstrtoint(buf, 0, &in_val);
drivers/platform/x86/hp/hp-bioscfg/int-attributes.c
188
ret = kstrtoint(str_value, 10, &int_value);
drivers/platform/x86/hp/hp-bioscfg/int-attributes.c
331
ret = kstrtoint(dst, 10, &integer_data->current_value);
drivers/platform/x86/hp/hp-bioscfg/int-attributes.c
41
ret = kstrtoint(buf, 10, &in_val);
drivers/platform/x86/hp/hp-bioscfg/int-attributes.c
58
ret = kstrtoint(attr_value, 10, &in_val);
drivers/platform/x86/huawei-wmi.c
578
if (kstrtoint(buf, 10, &on) ||
drivers/platform/x86/lenovo/think-lmi.c
652
err = kstrtoint(buf, 10, &val);
drivers/platform/x86/lenovo/thinkpad_acpi.c
10130
res = kstrtoint(cmd, 10, &state);
drivers/platform/x86/lenovo/thinkpad_acpi.c
5215
res = kstrtoint(cmd, 10, &level);
drivers/platform/x86/panasonic-laptop.c
556
err = kstrtoint(buf, 0, &val);
drivers/platform/x86/panasonic-laptop.c
586
err = kstrtoint(buf, 0, &val);
drivers/platform/x86/panasonic-laptop.c
637
err = kstrtoint(buf, 0, &state);
drivers/platform/x86/panasonic-laptop.c
686
err = kstrtoint(buf, 0, &val);
drivers/platform/x86/panasonic-laptop.c
716
err = kstrtoint(buf, 0, &val);
drivers/platform/x86/panasonic-laptop.c
746
err = kstrtoint(buf, 0, &val);
drivers/platform/x86/panasonic-laptop.c
774
err = kstrtoint(buf, 10, &val);
drivers/platform/x86/samsung-laptop.c
769
if (!count || kstrtoint(buf, 0, &value) != 0)
drivers/platform/x86/samsung-laptop.c
916
if (!count || kstrtoint(buf, 0, &value) != 0)
drivers/platform/x86/samsung-laptop.c
981
if (!count || kstrtoint(buf, 0, &value) != 0)
drivers/platform/x86/sony-laptop.c
981
if (kstrtoint(buffer, 10, &value))
drivers/platform/x86/toshiba_acpi.c
1836
ret = kstrtoint(buf, 0, &state);
drivers/platform/x86/toshiba_acpi.c
1874
ret = kstrtoint(buf, 0, &mode);
drivers/platform/x86/toshiba_acpi.c
1987
ret = kstrtoint(buf, 0, &time);
drivers/platform/x86/toshiba_acpi.c
2045
ret = kstrtoint(buf, 0, &state);
drivers/platform/x86/toshiba_acpi.c
2096
ret = kstrtoint(buf, 0, &state);
drivers/platform/x86/toshiba_acpi.c
2161
ret = kstrtoint(buf, 0, &value);
drivers/platform/x86/toshiba_acpi.c
2212
ret = kstrtoint(buf, 0, &state);
drivers/platform/x86/toshiba_acpi.c
2248
ret = kstrtoint(buf, 0, &state);
drivers/platform/x86/toshiba_acpi.c
2284
ret = kstrtoint(buf, 0, &mode);
drivers/platform/x86/toshiba_acpi.c
2327
ret = kstrtoint(buf, 0, &state);
drivers/platform/x86/toshiba_acpi.c
2365
ret = kstrtoint(buf, 0, &state);
drivers/platform/x86/toshiba_acpi.c
2408
ret = kstrtoint(buf, 0, &state);
drivers/platform/x86/toshiba_haps.c
104
ret = kstrtoint(buf, 0, &reset);
drivers/platform/x86/toshiba_haps.c
75
ret = kstrtoint(buf, 0, &level);
drivers/power/supply/ab8500_fg.c
2603
if (kstrtoint(buf, 10, &reg_value))
drivers/power/supply/ab8500_fg.c
2654
if (kstrtoint(buf, 10, &reg_value))
drivers/power/supply/ab8500_fg.c
2704
if (kstrtoint(buf, 10, &reg_value))
drivers/power/supply/ab8500_fg.c
2799
if (kstrtoint(buf, 10, &reg_value))
drivers/power/supply/ab8500_fg.c
2873
if (kstrtoint(buf, 10, &reg_value))
drivers/ptp/ptp_ocp.c
3499
err = kstrtoint(argv[argc], 0, &s.duty);
drivers/pwm/core.c
1216
ret = kstrtoint(buf, 0, &val);
drivers/rtc/rtc-bq32k.c
222
if (kstrtoint(buf, 0, &enable))
drivers/s390/char/sclp.c
196
rc = kstrtoint(str, 0, &pages);
drivers/s390/net/ctcm_sysfs.c
155
rc = kstrtoint(buf, 0, &value);
drivers/scsi/hpsa.c
463
if (kstrtoint(buf, 10, &status))
drivers/scsi/hpsa.c
483
if (kstrtoint(buf, 10, &debug_level))
drivers/scsi/megaraid/megaraid_sas_base.c
3279
if (kstrtoint(buf, 0, &val) != 0)
drivers/scsi/megaraid/megaraid_sas_base.c
3353
if (kstrtoint(buf, 0, &val) != 0)
drivers/scsi/mpi3mr/mpi3mr_app.c
3216
if (kstrtoint(buf, 0, &val) != 0)
drivers/scsi/mpt3sas/mpt3sas_ctl.c
4199
if (kstrtoint(buf, 0, &val) != 0)
drivers/scsi/myrb.c
1928
rc = kstrtoint(buf, 0, &start);
drivers/scsi/myrb.c
2035
rc = kstrtoint(buf, 0, &start);
drivers/scsi/myrs.c
1128
ret = kstrtoint(buf, 0, &rebuild);
drivers/scsi/myrs.c
1228
ret = kstrtoint(buf, 0, &check);
drivers/scsi/myrs.c
1501
ret = kstrtoint(buf, 0, &value);
drivers/scsi/pm8001/pm8001_ctl.c
614
if (kstrtoint(buf, 16, &val) != 0)
drivers/scsi/scsi_debug.c
7731
if (kstrtoint(work + 2, 16, &opts) == 0)
drivers/scsi/scsi_debug.c
7734
if (kstrtoint(work, 10, &opts) == 0)
drivers/scsi/scsi_debug.c
7912
if (kstrtoint(work + 2, 16, &nth) == 0)
drivers/scsi/scsi_debug.c
7915
if (kstrtoint(work, 10, &nth) == 0)
drivers/scsi/scsi_debug.c
7942
if (kstrtoint(buf, 0, &n))
drivers/scsi/scsi_debug.c
8341
ret = kstrtoint(buf, 0, &n);
drivers/scsi/scsi_sysfs.c
692
ret = kstrtoint(buf, 0, &timeout);
drivers/scsi/scsi_transport_srp.c
204
res = kstrtoint(buf, 0, tmo);
drivers/scsi/sd.c
734
err = kstrtoint(buf, 10, &retries);
drivers/scsi/sg.c
1634
ret = kstrtoint(val, 0, &size);
drivers/siox/siox-core.c
570
ret = kstrtoint(buf, 0, &active);
drivers/soc/mediatek/mtk-svs.c
802
ret = kstrtoint(buf, 10, &enabled);
drivers/staging/greybus/audio_manager_sysfs.c
45
int num = kstrtoint(buf, 10, &id);
drivers/staging/greybus/audio_manager_sysfs.c
66
int num = kstrtoint(buf, 10, &id);
drivers/staging/iio/addac/adt7316.c
1262
ret = kstrtoint(buf, 10, &data);
drivers/staging/iio/addac/adt7316.c
1932
ret = kstrtoint(buf, 10, &data);
drivers/target/target_core_fabric_configfs.c
1043
if (kstrtoint(page, 0, &compl_val))
drivers/target/target_core_iblock.c
639
ret = kstrtoint(arg_p, 0, &tmp_exclusive);
drivers/target/target_core_user.c
234
ret = kstrtoint(str, 10, &max_area_mb);
drivers/thermal/testing/zone.c
241
ret = kstrtoint(arg, 10, &id);
drivers/thermal/testing/zone.c
281
ret = kstrtoint(arg, 10, &id);
drivers/thermal/thermal_sysfs.c
110
if (kstrtoint(buf, 10, &temp))
drivers/thermal/thermal_sysfs.c
155
if (kstrtoint(buf, 10, &hyst) || hyst < 0)
drivers/thermal/thermal_sysfs.c
233
if (kstrtoint(buf, 10, &temperature))
drivers/thermal/thermal_sysfs.c
866
ret = kstrtoint(buf, 0, &weight);
drivers/thunderbolt/retimer.c
269
ret = kstrtoint(buf, 10, &val);
drivers/thunderbolt/stream.c
1091
ret = kstrtoint(buf, 0, &in_hopid);
drivers/thunderbolt/stream.c
1126
ret = kstrtoint(buf, 0, &out_hopid);
drivers/thunderbolt/switch.c
2085
ret = kstrtoint(buf, 10, &val);
drivers/tty/tty_io.c
347
ret = kstrtoint(str, 10, &index);
drivers/ufs/core/ufs-debugfs.c
172
ret = kstrtoint(val_str, 0, &val);
drivers/usb/misc/trancevibrator.c
49
retval = kstrtoint(buf, 10, &temp);
drivers/usb/usbip/vhci_sysfs.c
247
if (kstrtoint(buf, 10, &port) < 0)
drivers/usb/usbip/vudc_sysfs.c
107
rv = kstrtoint(in, 0, &sockfd);
drivers/video/backlight/lm3533_bl.c
111
if (kstrtoint(buf, 0, &enable))
drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c
181
ret = kstrtoint(buf, 0, &val);
drivers/video/fbdev/omap2/omapfb/dss/display-sysfs.c
158
r = kstrtoint(buf, 0, &rot);
drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c
46
r = kstrtoint(buf, 0, &rot_type);
drivers/video/fbdev/via/viafbdev.c
1955
if (kstrtoint(this_opt + 15, 0, &viafb_refresh1) < 0)
drivers/video/fbdev/via/viafbdev.c
1958
if (kstrtoint(this_opt + 14, 0, &viafb_refresh) < 0)
drivers/video/fbdev/via/viafbdev.c
1961
if (kstrtoint(this_opt + 21, 0,
drivers/video/fbdev/via/viafbdev.c
1965
if (kstrtoint(this_opt + 19, 0,
drivers/video/fbdev/via/viafbdev.c
1969
if (kstrtoint(this_opt + 12, 0, &viafb_accel) < 0)
drivers/video/fbdev/via/viafbdev.c
1972
if (kstrtoint(this_opt + 14, 0, &viafb_SAMM_ON) < 0)
drivers/video/fbdev/via/viafbdev.c
1980
if (kstrtoint(this_opt + 30, 0,
drivers/video/fbdev/via/viafbdev.c
1984
if (kstrtoint(this_opt + 18, 0, &viafb_second_size) < 0)
drivers/video/fbdev/via/viafbdev.c
1988
if (kstrtoint(this_opt + 24, 0,
drivers/video/fbdev/via/viafbdev.c
1993
if (kstrtoint(this_opt + 26, 0,
drivers/video/fbdev/via/viafbdev.c
1997
if (kstrtoint(this_opt + 16, 0, &viafb_bus_width) < 0)
drivers/video/fbdev/via/viafbdev.c
2000
if (kstrtoint(this_opt + 15, 0, &viafb_lcd_mode) < 0)
drivers/w1/slaves/w1_therm.c
1636
ret = kstrtoint(buf, 10, &val); /* converting user entry to int */
drivers/w1/slaves/w1_therm.c
1758
ret = kstrtoint(buf, 10, &val); /* converting user entry to int */
drivers/w1/slaves/w1_therm.c
1971
if (kstrtoint(buf, 10, &val)) /* converting user entry to int */
drivers/w1/w1.c
313
if (kstrtoint(buf, 0, &tmp) || tmp < 1)
fs/9p/v9fs.c
142
} else if (kstrtoint(s, 0, &version) != 0) {
fs/binfmt_misc.c
422
int r = kstrtoint(p, 10, &e->offset);
fs/btrfs/compression.c
1655
ret = kstrtoint(str + 1, 10, &level);
fs/btrfs/sysfs.c
1002
ret = kstrtoint(buf, 10, &periodic_reclaim);
fs/btrfs/sysfs.c
1525
ret = kstrtoint(buf, 10, &thresh);
fs/btrfs/sysfs.c
936
ret = kstrtoint(buf, 10, &thresh);
fs/btrfs/sysfs.c
969
ret = kstrtoint(buf, 10, &dynamic_reclaim);
fs/dlm/config.c
682
int rc = kstrtoint(buf, 0, &cm->local);
fs/dlm/config.c
834
int rc = kstrtoint(buf, 0, &config_item_to_node(item)->weight);
fs/dlm/lockspace.c
37
int rc = kstrtoint(buf, 0, &n);
fs/dlm/lockspace.c
61
int rc = kstrtoint(buf, 0, &ls->ls_uevent_result);
fs/dlm/lockspace.c
92
int rc = kstrtoint(buf, 0, &val);
fs/f2fs/super.c
769
if (kstrtoint(str + 1, 10, &level))
fs/fs_parser.c
235
if (kstrtoint(param->string, 0, &result->int_32) < 0)
fs/gfs2/sys.c
160
error = kstrtoint(buf, 0, &n);
fs/gfs2/sys.c
199
error = kstrtoint(buf, 0, &val);
fs/gfs2/sys.c
220
error = kstrtoint(buf, 0, &val);
fs/gfs2/sys.c
239
error = kstrtoint(buf, 0, &val);
fs/gfs2/sys.c
412
ret = kstrtoint(buf, 0, &val);
fs/gfs2/sys.c
434
ret = kstrtoint(buf, 0, &val);
fs/hpfs/super.c
411
if (kstrtoint(rhs, 0, &timeshift))
fs/nfs/sysfs.c
273
ret = kstrtoint(buf, 0, &val);
fs/orangefs/orangefs-sysfs.c
283
rc = kstrtoint(buf, 0, &op_timeout_secs);
fs/orangefs/orangefs-sysfs.c
286
rc = kstrtoint(buf, 0, &slot_timeout_secs);
fs/orangefs/orangefs-sysfs.c
289
rc = kstrtoint(buf, 0, &orangefs_cache_timeout_msecs);
fs/orangefs/orangefs-sysfs.c
292
rc = kstrtoint(buf, 0, &orangefs_dcache_timeout_msecs);
fs/orangefs/orangefs-sysfs.c
295
rc = kstrtoint(buf, 0, &orangefs_getattr_timeout_msecs);
fs/orangefs/orangefs-sysfs.c
557
rc = kstrtoint(buf, 0, &val);
fs/overlayfs/inode.c
1007
err = kstrtoint(buf + 1, 10, &nlink_diff);
fs/proc/base.c
1213
err = kstrtoint(strstrip(buffer), 0, &oom_adj);
fs/proc/base.c
1272
err = kstrtoint(strstrip(buffer), 0, &oom_score_adj);
fs/proc/base.c
1416
rv = kstrtoint(strstrip(buffer), 0, &make_it_fail);
fs/proc/base.c
1562
err = kstrtoint(strstrip(buffer), 0, &nice);
fs/proc/task_mmu.c
1870
rv = kstrtoint(strstrip(buffer), 10, &itype);
fs/resctrl/pseudo_lock.c
763
ret = kstrtoint(buf, 10, &sel);
fs/resctrl/rdtgroup.c
802
if (kstrtoint(pid_str, 0, &pid)) {
fs/ubifs/super.c
33
ret = kstrtoint(val, 10, &n);
fs/udf/super.c
562
if (kstrtoint(param->string, 10, &uv) == 0) {
fs/udf/super.c
578
if (kstrtoint(param->string, 10, &uv) == 0) {
fs/xfs/xfs_message.c
48
if (!kstrtoint(kern_level, 0, &level) &&
fs/xfs/xfs_super.c
1333
if (kstrtoint(value, base, &_res))
fs/xfs/xfs_sysfs.c
125
ret = kstrtoint(buf, 0, &val);
fs/xfs/xfs_sysfs.c
155
ret = kstrtoint(buf, 0, &val);
fs/xfs/xfs_sysfs.c
213
ret = kstrtoint(buf, 0, &val);
fs/xfs/xfs_sysfs.c
275
ret = kstrtoint(buf, 0, &val);
fs/xfs/xfs_sysfs.c
301
ret = kstrtoint(buf, 0, &val);
fs/xfs/xfs_sysfs.c
370
ret = kstrtoint(buf, 0, &val);
fs/xfs/xfs_sysfs.c
522
ret = kstrtoint(buf, 0, &val);
fs/xfs/xfs_sysfs.c
563
ret = kstrtoint(buf, 0, &val);
fs/xfs/xfs_sysfs.c
601
ret = kstrtoint(buf, 0, &val);
fs/xfs/xfs_sysfs.c
93
ret = kstrtoint(buf, 0, &val);
include/linux/kstrtox.h
72
int __must_check kstrtoint(const char *s, unsigned int base, int *res);
include/linux/kstrtox.h
91
return kstrtoint(s, base, res);
init/do_mounts.c
78
if (kstrtoint(str, 0, &sec) || sec < 0) {
init/do_mounts_rd.c
26
return kstrtoint(str, 0, &rd_image_start) == 0;
kernel/cgroup/cgroup.c
3051
if (kstrtoint(strstrip(buf), 0, &pid) || pid < 0)
kernel/cgroup/cgroup.c
3752
ret = kstrtoint(buf, 0, &descendants);
kernel/cgroup/cgroup.c
3795
ret = kstrtoint(buf, 0, &depth);
kernel/cgroup/cgroup.c
4091
ret = kstrtoint(strstrip(buf), 0, &enable);
kernel/cgroup/cgroup.c
4167
ret = kstrtoint(strstrip(buf), 0, &freeze);
kernel/cgroup/cgroup.c
4229
ret = kstrtoint(strstrip(buf), 0, &kill);
kernel/cpu.c
2742
ret = kstrtoint(buf, 10, &target);
kernel/cpu.c
2792
ret = kstrtoint(buf, 10, &fail);
kernel/cpu.c
2915
} else if (kstrtoint(buf, 10, &num_threads) == 0) {
kernel/debug/kdb/kdb_main.c
2015
if (kstrtoint(argv[1], 0, &lines))
kernel/debug/kdb/kdb_main.c
2017
if (argc > 1 && (kstrtoint(argv[2], 0, &adjust) || adjust < 0))
kernel/events/core.c
12626
ret = kstrtoint(buf, 0, &timer);
kernel/ksysfs.c
155
if (kstrtoint(buf, 0, &rcu_expedited))
kernel/ksysfs.c
172
if (kstrtoint(buf, 0, &rcu_normal))
kernel/panic.c
319
if (kstrtoint(str, 0, &cpu) || cpu < 0 || cpu >= nr_cpu_ids) {
kernel/params.c
237
STANDARD_PARAM_DEF(int, int, "%i", kstrtoint);
kernel/sched/topology.c
1793
if (kstrtoint(str, 0, &default_relax_domain_level))
kernel/trace/trace_kdb.c
103
if (argc && kstrtoint(argv[1], 0, &skip_entries))
lib/fault-inject.c
339
result = kstrtoint(page, 0, &tmp);
lib/kstrtox.c
279
EXPORT_SYMBOL(kstrtoint);
lib/kstrtox.c
438
kstrto_from_user(kstrtoint_from_user, kstrtoint, int);
lib/test_kmod.c
937
ret = kstrtoint(buf, 10, &val);
mm/damon/sysfs-schemes.c
1360
int err = kstrtoint(buf, 0, &goal->nid);
mm/damon/sysfs-schemes.c
1521
int nr, err = kstrtoint(buf, 0, &nr);
mm/damon/sysfs-schemes.c
2199
int nr, err = kstrtoint(buf, 0, &nr);
mm/damon/sysfs-schemes.c
2635
err = kstrtoint(buf, 0, &scheme->target_nid);
mm/damon/sysfs-schemes.c
2751
int nr, err = kstrtoint(buf, 0, &nr);
mm/damon/sysfs-schemes.c
825
int err = kstrtoint(buf, 0, &filter->target_idx);
mm/damon/sysfs-schemes.c
973
int nr, err = kstrtoint(buf, 0, &nr);
mm/damon/sysfs.c
1016
int nr, err = kstrtoint(buf, 0, &nr);
mm/damon/sysfs.c
1200
int nr, err = kstrtoint(buf, 0, &nr);
mm/damon/sysfs.c
166
int nr, err = kstrtoint(buf, 0, &nr);
mm/damon/sysfs.c
1709
err = kstrtoint(buf, 0, &nr);
mm/damon/sysfs.c
258
int err = kstrtoint(buf, 0, &target->pid);
mm/damon/sysfs.c
2584
err = kstrtoint(buf, 0, &nr);
mm/damon/sysfs.c
398
int nr, err = kstrtoint(buf, 0, &nr);
mm/ksm.c
3649
err = kstrtoint(buf, 10, &knob);
mm/memcontrol.c
4977
ret = kstrtoint(buf, 0, &oom_group);
mm/memcontrol.c
5989
ssize_t parse_ret = kstrtoint(strstrip(buf), 0, &zswap_writeback);
samples/configfs/configfs_sample.c
142
ret = kstrtoint(page, 10, &simple_child->storeme);
samples/configfs/configfs_sample.c
65
ret = kstrtoint(page, 10, &childless->storeme);
samples/kobject/kobject-example.c
39
ret = kstrtoint(buf, 10, &foo);
samples/kobject/kobject-example.c
71
ret = kstrtoint(buf, 10, &var);
samples/kobject/kset-example.c
124
ret = kstrtoint(buf, 10, &foo_obj->foo);
samples/kobject/kset-example.c
156
ret = kstrtoint(buf, 10, &var);
security/integrity/ima/ima_policy.c
1895
result = kstrtoint(args[0].from, 10, &entry->pcr);
sound/drivers/aloop.c
1119
err = kstrtoint(name, 0, &card_idx);
sound/drivers/aloop.c
1144
err = kstrtoint(sep + 1, 0, &dev);
sound/drivers/aloop.c
1148
err = kstrtoint(sep2 + 1, 0, &subdev);
sound/hda/core/sysfs.c
102
ret = kstrtoint(kobj->name, 16, &nid);
tools/testing/cxl/test/mem.c
1301
if (kstrtoint(buf, 0, &val) < 0)
tools/testing/cxl/test/mem.c
1831
if (kstrtoint(buf, 0, &val) < 0)