arch/powerpc/kernel/fadump.c
1405
if (kstrtoint(buf, 0, &input))
arch/powerpc/kernel/fadump.c
1513
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
575
if (kstrtoint(buf, 0, &input))
arch/powerpc/platforms/powernv/opal-powercap.c
91
ret = kstrtoint(buf, 0, &pcap);
arch/powerpc/platforms/powernv/opal-psr.c
82
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
299
if (kstrtoint(str, 10, &i))
arch/um/drivers/vector_transports.c
222
if (kstrtoint(arg, 0, result) == 0)
arch/um/kernel/smp.c
225
if (kstrtoint(line, 10, ¨_ncpus)) {
arch/x86/kernel/ksysfs.c
67
return kstrtoint(name, 10, nr);
arch/x86/mm/tlb.c
1814
if (kstrtoint(buf, 0, &ceiling))
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
160
if (kstrtoint(s, 10, val))
drivers/acpi/acpi_tad.c
219
if (kstrtoint(s, 10, &val))
drivers/acpi/acpi_tad.c
395
ret = kstrtoint(buf, 0, &value);
drivers/acpi/tables.c
775
if (kstrtoint(str, 0, &acpi_apic_instance))
drivers/ata/libata-scsi.c
142
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
270
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
1830
ret = kstrtoint(s, 0, &qd);
drivers/block/null_blk/main.c
136
ret = kstrtoint(str, 10, &new_val);
drivers/block/zram/zram_drv.c
1720
ret = kstrtoint(val, 10, &prio);
drivers/block/zram/zram_drv.c
1727
ret = kstrtoint(val, 10, &level);
drivers/block/zram/zram_drv.c
1744
ret = kstrtoint(val, 10, &deflate_params.winbits);
drivers/block/zram/zram_drv.c
1842
ret = kstrtoint(val, 10, &prio);
drivers/block/zram/zram_drv.c
3207
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
1355
if (kstrtoint((tmp + 12), 10, &del_grp_idx))
drivers/crypto/marvell/octeontx/otx_cptpf_ucode.c
1370
if (kstrtoint(strim(val), 10, &engs[grp_idx].count))
drivers/crypto/marvell/octeontx/otx_cptpf_ucode.c
1382
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
562
rc = kstrtoint(buf, 0, &val);
drivers/dax/bus.c
380
rc = kstrtoint(buf, 0, &val);
drivers/devfreq/devfreq.c
1780
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
1106
ret = kstrtoint(page, 0, &offset);
drivers/gpio/gpio-virtuser.c
1111
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
5823
ret = kstrtoint(buf, 0, &s3_state);
drivers/gpu/drm/amd/pm/amdgpu_pm.c
1860
r = kstrtoint(buf, 10, &bias);
drivers/gpu/drm/amd/pm/amdgpu_pm.c
2965
err = kstrtoint(buf, 10, &value);
drivers/gpu/drm/amd/pm/amdgpu_pm.c
3213
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
1783
ret = kstrtoint(p, 0, &rate);
drivers/gpu/drm/i915/display/intel_dp_link_training.c
1881
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
660
err = kstrtoint(buf, 10, &version);
drivers/hid/hid-corsair.c
386
if (kstrtoint(buf, 10, &profile))
drivers/hid/hid-lenovo.c
1018
if (kstrtoint(buf, 10, &value))
drivers/hid/hid-lenovo.c
1048
if (kstrtoint(buf, 10, &value) || value < 1 || value > 255)
drivers/hid/hid-lenovo.c
1076
if (kstrtoint(buf, 10, &value) || value < 1 || value > 255)
drivers/hid/hid-lenovo.c
607
if (kstrtoint(buf, 10, &value))
drivers/hid/hid-lenovo.c
655
if (kstrtoint(buf, 10, &value) || value < 1 || value > 255)
drivers/hid/hid-lenovo.c
684
if (kstrtoint(buf, 10, &value))
drivers/hid/hid-lenovo.c
928
if (kstrtoint(buf, 10, &value))
drivers/hid/hid-lenovo.c
958
if (kstrtoint(buf, 10, &value))
drivers/hid/hid-lenovo.c
988
if (kstrtoint(buf, 10, &value))
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
595
if (kstrtoint(buf, 0, &channel))
drivers/hwtracing/coresight/coresight-cti-sysfs.c
626
if (kstrtoint(buf, 0, &channel))
drivers/hwtracing/coresight/coresight-cti-sysfs.c
639
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
197
if (kstrtoint(buf, 0, &val) || val != 1)
drivers/iio/chemical/sps30.c
234
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
904
return kstrtoint(str, 0, integer);
drivers/iio/light/isl29018.c
344
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
126
ret = kstrtoint(buf, 10, &value);
drivers/infiniband/ulp/rtrs/rtrs-clt-sysfs.c
70
ret = kstrtoint(buf, 10, &value);
drivers/input/keyboard/lm8323.c
534
ret = kstrtoint(buf, 10, &time);
drivers/input/misc/ims-pcu.c
1127
error = kstrtoint(buf, 0, &value);
drivers/input/misc/ims-pcu.c
1158
error = kstrtoint(buf, 0, &value);
drivers/input/misc/ims-pcu.c
1408
error = kstrtoint(buf, 0, &value);
drivers/input/tablet/aiptek.c
1185
if (kstrtoint(buf, 10, &x)) {
drivers/input/tablet/aiptek.c
1226
if (kstrtoint(buf, 10, &y)) {
drivers/input/tablet/aiptek.c
1263
err = kstrtoint(buf, 10, &j);
drivers/input/tablet/aiptek.c
1292
err = kstrtoint(buf, 10, &d);
drivers/input/tablet/aiptek.c
1538
err = kstrtoint(buf, 10, &w);
drivers/input/touchscreen/hideep.c
877
error = kstrtoint(buf, 0, &mode);
drivers/iommu/intel/debugfs.c
704
if (kstrtoint(buf, 0, &counting))
drivers/leds/leds-aw200xx.c
152
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
4312
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, ¶m->ubi_num);
drivers/mtd/ubi/block.c
137
ret = kstrtoint(tokens[1], 10, ¶m->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
1057
ret = subtoken ? kstrtoint(subtoken, 10, &lf) : -EINVAL;
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
1364
ret = subtoken ? kstrtoint(subtoken, 10, npalf) : -EINVAL;
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
1371
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
8332
if (kstrtoint(opt + 6, 0, &debug))
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
8335
if (kstrtoint(opt + 8, 0, &phyaddr))
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
8338
if (kstrtoint(opt + 3, 0, &tc))
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
8341
if (kstrtoint(opt + 9, 0, &watchdog))
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
8344
if (kstrtoint(opt + 10, 0, &flow_ctrl))
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
8347
if (kstrtoint(opt + 6, 0, &pause))
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
8350
if (kstrtoint(opt + 10, 0, &eee_timer))
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
8353
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
990
ret = kstrtoint(buf, 0, &sel);
drivers/nvme/host/sysfs.c
499
err = kstrtoint(buf, 10, &ctrl_loss_tmo);
drivers/nvme/host/sysfs.c
557
err = kstrtoint(buf, 10, &fast_io_fail_tmo);
drivers/nvme/target/configfs.c
269
ret = kstrtoint(page, 0, &port->inline_data_size);
drivers/nvme/target/configfs.c
295
ret = kstrtoint(page, 0, &port->max_queue_size);
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
1945
if (kstrtoint(end, 10, &id) < 0) {
drivers/of/resolver.c
103
err = kstrtoint(s, 10, &offset);
drivers/pci/endpoint/functions/pci-epf-vntb.c
1058
ret = kstrtoint(page, 0, &val); \
drivers/pci/iov.c
256
if (kstrtoint(buf, 0, &val) < 0)
drivers/pci/pci-sysfs.c
372
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
3701
err = kstrtoint(buf, 10, &value);
drivers/platform/x86/asus-wmi.c
4629
err = kstrtoint(buf, 0, &value);
drivers/platform/x86/asus-wmi.c
4686
rv = kstrtoint(buf, 0, &value);
drivers/platform/x86/dell/dell-laptop.c
1850
ret = kstrtoint(buf, 0, &enable);
drivers/platform/x86/dell/dell-laptop.c
2330
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
10147
res = kstrtoint(cmd, 10, &state);
drivers/platform/x86/lenovo/thinkpad_acpi.c
5229
res = kstrtoint(cmd, 10, &level);
drivers/platform/x86/panasonic-laptop.c
558
err = kstrtoint(buf, 0, &val);
drivers/platform/x86/panasonic-laptop.c
588
err = kstrtoint(buf, 0, &val);
drivers/platform/x86/panasonic-laptop.c
639
err = kstrtoint(buf, 0, &state);
drivers/platform/x86/panasonic-laptop.c
688
err = kstrtoint(buf, 0, &val);
drivers/platform/x86/panasonic-laptop.c
718
err = kstrtoint(buf, 0, &val);
drivers/platform/x86/panasonic-laptop.c
748
err = kstrtoint(buf, 0, &val);
drivers/platform/x86/panasonic-laptop.c
776
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
982
if (kstrtoint(buffer, 10, &value))
drivers/platform/x86/toshiba_acpi.c
1834
ret = kstrtoint(buf, 0, &state);
drivers/platform/x86/toshiba_acpi.c
1872
ret = kstrtoint(buf, 0, &mode);
drivers/platform/x86/toshiba_acpi.c
1985
ret = kstrtoint(buf, 0, &time);
drivers/platform/x86/toshiba_acpi.c
2043
ret = kstrtoint(buf, 0, &state);
drivers/platform/x86/toshiba_acpi.c
2094
ret = kstrtoint(buf, 0, &state);
drivers/platform/x86/toshiba_acpi.c
2159
ret = kstrtoint(buf, 0, &value);
drivers/platform/x86/toshiba_acpi.c
2210
ret = kstrtoint(buf, 0, &state);
drivers/platform/x86/toshiba_acpi.c
2246
ret = kstrtoint(buf, 0, &state);
drivers/platform/x86/toshiba_acpi.c
2282
ret = kstrtoint(buf, 0, &mode);
drivers/platform/x86/toshiba_acpi.c
2325
ret = kstrtoint(buf, 0, &state);
drivers/platform/x86/toshiba_acpi.c
2363
ret = kstrtoint(buf, 0, &state);
drivers/platform/x86/toshiba_acpi.c
2406
ret = kstrtoint(buf, 0, &state);
drivers/platform/x86/toshiba_haps.c
103
ret = kstrtoint(buf, 0, &reset);
drivers/platform/x86/toshiba_haps.c
74
ret = kstrtoint(buf, 0, &level);
drivers/power/supply/ab8500_fg.c
2603
if (kstrtoint(buf, 10, ®_value))
drivers/power/supply/ab8500_fg.c
2654
if (kstrtoint(buf, 10, ®_value))
drivers/power/supply/ab8500_fg.c
2704
if (kstrtoint(buf, 10, ®_value))
drivers/power/supply/ab8500_fg.c
2799
if (kstrtoint(buf, 10, ®_value))
drivers/power/supply/ab8500_fg.c
2873
if (kstrtoint(buf, 10, ®_value))
drivers/ptp/ptp_ocp.c
3225
err = kstrtoint(argv[argc], 0, &s.duty);
drivers/pwm/core.c
1216
ret = kstrtoint(buf, 0, &val);
drivers/rtc/rtc-bq32k.c
213
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
617
if (kstrtoint(buf, 16, &val) != 0)
drivers/scsi/scsi_debug.c
7740
if (kstrtoint(work + 2, 16, &opts) == 0)
drivers/scsi/scsi_debug.c
7743
if (kstrtoint(work, 10, &opts) == 0)
drivers/scsi/scsi_debug.c
7922
if (kstrtoint(work + 2, 16, &nth) == 0)
drivers/scsi/scsi_debug.c
7925
if (kstrtoint(work, 10, &nth) == 0)
drivers/scsi/scsi_debug.c
7952
if (kstrtoint(buf, 0, &n))
drivers/scsi/scsi_debug.c
8351
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
704
err = kstrtoint(buf, 10, &retries);
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/thermal_sysfs.c
111
if (kstrtoint(buf, 10, &temp))
drivers/thermal/thermal_sysfs.c
156
if (kstrtoint(buf, 10, &hyst) || hyst < 0)
drivers/thermal/thermal_sysfs.c
234
if (kstrtoint(buf, 10, &temperature))
drivers/thermal/thermal_sysfs.c
869
ret = kstrtoint(buf, 0, &weight);
drivers/thunderbolt/retimer.c
269
ret = kstrtoint(buf, 10, &val);
drivers/thunderbolt/switch.c
2090
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
241
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
138
} else if (kstrtoint(s, 0, &version) != 0) {
fs/binfmt_misc.c
423
int r = kstrtoint(p, 10, &e->offset);
fs/btrfs/compression.c
1665
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
765
if (kstrtoint(str + 1, 10, &level))
fs/fs_parser.c
236
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, ×hift))
fs/nfs/sysfs.c
270
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
1232
err = kstrtoint(strstrip(buffer), 0, &oom_adj);
fs/proc/base.c
1291
err = kstrtoint(strstrip(buffer), 0, &oom_score_adj);
fs/proc/base.c
1435
rv = kstrtoint(strstrip(buffer), 0, &make_it_fail);
fs/proc/base.c
1581
err = kstrtoint(strstrip(buffer), 0, &nice);
fs/proc/task_mmu.c
1783
rv = kstrtoint(strstrip(buffer), 10, &itype);
fs/resctrl/pseudo_lock.c
763
ret = kstrtoint(buf, 10, &sel);
fs/resctrl/rdtgroup.c
794
if (kstrtoint(pid_str, 0, &pid)) {
fs/ubifs/super.c
33
ret = kstrtoint(val, 10, &n);
fs/udf/super.c
561
if (kstrtoint(param->string, 10, &uv) == 0) {
fs/udf/super.c
577
if (kstrtoint(param->string, 10, &uv) == 0) {
fs/xfs/xfs_message.c
48
if (!kstrtoint(kern_level, 0, &level) &&
fs/xfs/xfs_super.c
1330
if (kstrtoint(value, base, &_res))
fs/xfs/xfs_sysfs.c
123
ret = kstrtoint(buf, 0, &val);
fs/xfs/xfs_sysfs.c
153
ret = kstrtoint(buf, 0, &val);
fs/xfs/xfs_sysfs.c
211
ret = kstrtoint(buf, 0, &val);
fs/xfs/xfs_sysfs.c
273
ret = kstrtoint(buf, 0, &val);
fs/xfs/xfs_sysfs.c
299
ret = kstrtoint(buf, 0, &val);
fs/xfs/xfs_sysfs.c
368
ret = kstrtoint(buf, 0, &val);
fs/xfs/xfs_sysfs.c
520
ret = kstrtoint(buf, 0, &val);
fs/xfs/xfs_sysfs.c
561
ret = kstrtoint(buf, 0, &val);
fs/xfs/xfs_sysfs.c
599
ret = kstrtoint(buf, 0, &val);
fs/xfs/xfs_sysfs.c
91
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
3056
if (kstrtoint(strstrip(buf), 0, &pid) || pid < 0)
kernel/cgroup/cgroup.c
3755
ret = kstrtoint(buf, 0, &descendants);
kernel/cgroup/cgroup.c
3798
ret = kstrtoint(buf, 0, &depth);
kernel/cgroup/cgroup.c
4086
ret = kstrtoint(strstrip(buf), 0, &enable);
kernel/cgroup/cgroup.c
4162
ret = kstrtoint(strstrip(buf), 0, &freeze);
kernel/cgroup/cgroup.c
4224
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
2919
} 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
12548
ret = kstrtoint(buf, 0, &timer);
kernel/ksysfs.c
154
if (kstrtoint(buf, 0, &rcu_expedited))
kernel/ksysfs.c
171
if (kstrtoint(buf, 0, &rcu_normal))
kernel/panic.c
318
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
1509
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
272
EXPORT_SYMBOL(kstrtoint);
lib/kstrtox.c
431
kstrto_from_user(kstrtoint_from_user, kstrtoint, int);
lib/test_kmod.c
937
ret = kstrtoint(buf, 10, &val);
mm/damon/sysfs-schemes.c
1179
int err = kstrtoint(buf, 0, &goal->nid);
mm/damon/sysfs-schemes.c
1330
int nr, err = kstrtoint(buf, 0, &nr);
mm/damon/sysfs-schemes.c
1902
int nr, err = kstrtoint(buf, 0, &nr);
mm/damon/sysfs-schemes.c
2334
err = kstrtoint(buf, 0, &scheme->target_nid);
mm/damon/sysfs-schemes.c
2450
int nr, err = kstrtoint(buf, 0, &nr);
mm/damon/sysfs-schemes.c
648
int err = kstrtoint(buf, 0, &filter->target_idx);
mm/damon/sysfs-schemes.c
796
int nr, err = kstrtoint(buf, 0, &nr);
mm/damon/sysfs.c
1172
err = kstrtoint(buf, 0, &nr);
mm/damon/sysfs.c
168
int nr, err = kstrtoint(buf, 0, &nr);
mm/damon/sysfs.c
1998
err = kstrtoint(buf, 0, &nr);
mm/damon/sysfs.c
260
int err = kstrtoint(buf, 0, &target->pid);
mm/damon/sysfs.c
400
int nr, err = kstrtoint(buf, 0, &nr);
mm/ksm.c
3647
err = kstrtoint(buf, 10, &knob);
mm/memcontrol.c
4599
ret = kstrtoint(buf, 0, &oom_group);
mm/memcontrol.c
5600
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
1896
result = kstrtoint(args[0].from, 10, &entry->pcr);
sound/drivers/aloop.c
1107
err = kstrtoint(name, 0, &card_idx);
sound/drivers/aloop.c
1132
err = kstrtoint(sep + 1, 0, &dev);
sound/drivers/aloop.c
1136
err = kstrtoint(sep2 + 1, 0, &subdev);
sound/hda/core/sysfs.c
102
ret = kstrtoint(kobj->name, 16, &nid);
tools/testing/cxl/test/mem.c
1292
if (kstrtoint(buf, 0, &val) < 0)
tools/testing/cxl/test/mem.c
1809
if (kstrtoint(buf, 0, &val) < 0)