/linux-6.3-rc2/fs/xfs/ |
A D | xfs_sysfs.c | 90 ret = kstrtoint(buf, 0, &val); in bug_on_assert_store() 122 ret = kstrtoint(buf, 0, &val); in log_recovery_delay_store() 152 ret = kstrtoint(buf, 0, &val); in mount_delay_store() 211 ret = kstrtoint(buf, 0, &val); in pwork_threads_store() 308 ret = kstrtoint(buf, 0, &val); in stats_clear_store() 469 ret = kstrtoint(buf, 0, &val); in max_retries_store() 510 ret = kstrtoint(buf, 0, &val); in retry_timeout_seconds_store() 548 ret = kstrtoint(buf, 0, &val); in fail_at_unmount_store()
|
A D | xfs_message.c | 48 if (!kstrtoint(kern_level, 0, &level) && in xfs_printk_level()
|
/linux-6.3-rc2/drivers/staging/greybus/ |
A D | audio_manager_sysfs.c | 45 int num = kstrtoint(buf, 10, &id); in manager_sysfs_remove_store() 66 int num = kstrtoint(buf, 10, &id); in manager_sysfs_dump_store()
|
/linux-6.3-rc2/samples/kobject/ |
A D | kobject-example.c | 39 ret = kstrtoint(buf, 10, &foo); in foo_store() 71 ret = kstrtoint(buf, 10, &var); in b_store()
|
A D | kset-example.c | 123 ret = kstrtoint(buf, 10, &foo_obj->foo); in foo_store() 155 ret = kstrtoint(buf, 10, &var); in b_store()
|
/linux-6.3-rc2/lib/ |
A D | kstrtox.c | 259 int kstrtoint(const char *s, unsigned int base, int *res) in kstrtoint() function 272 EXPORT_SYMBOL(kstrtoint); 427 kstrto_from_user(kstrtoint_from_user, kstrtoint, int);
|
/linux-6.3-rc2/drivers/platform/x86/ |
A D | panasonic-laptop.c | 545 err = kstrtoint(buf, 0, &val); in mute_store() 575 err = kstrtoint(buf, 0, &val); in sticky_key_store() 627 err = kstrtoint(buf, 0, &state); in eco_mode_store() 676 err = kstrtoint(buf, 0, &val); in ac_brightness_store() 706 err = kstrtoint(buf, 0, &val); in dc_brightness_store() 736 err = kstrtoint(buf, 0, &val); in current_brightness_store() 759 err = kstrtoint(buf, 10, &val); in cdpower_store()
|
A D | toshiba_haps.c | 74 ret = kstrtoint(buf, 0, &level); in protection_level_store() 103 ret = kstrtoint(buf, 0, &reset); in reset_protection_store()
|
A D | toshiba_acpi.c | 1832 ret = kstrtoint(buf, 0, &state); in fan_store() 1870 ret = kstrtoint(buf, 0, &mode); in kbd_backlight_mode_store() 1983 ret = kstrtoint(buf, 0, &time); in kbd_backlight_timeout_store() 2041 ret = kstrtoint(buf, 0, &state); in touchpad_store() 2092 ret = kstrtoint(buf, 0, &state); in usb_sleep_charge_store() 2157 ret = kstrtoint(buf, 0, &value); in sleep_functions_on_battery_store() 2208 ret = kstrtoint(buf, 0, &state); in usb_rapid_charge_store() 2244 ret = kstrtoint(buf, 0, &state); in usb_sleep_music_store() 2280 ret = kstrtoint(buf, 0, &mode); in kbd_function_keys_store() 2323 ret = kstrtoint(buf, 0, &state); in panel_power_on_store() [all …]
|
/linux-6.3-rc2/include/linux/ |
A D | kstrtox.h | 72 int __must_check kstrtoint(const char *s, unsigned int base, int *res); 91 return kstrtoint(s, base, res); in kstrtos32()
|
/linux-6.3-rc2/fs/gfs2/ |
A D | sys.c | 160 error = kstrtoint(buf, 0, &n); in freeze_store() 199 error = kstrtoint(buf, 0, &val); in withdraw_store() 220 error = kstrtoint(buf, 0, &val); in statfs_sync_store() 239 error = kstrtoint(buf, 0, &val); in quota_sync_store() 412 ret = kstrtoint(buf, 0, &val); in block_store() 439 ret = kstrtoint(buf, 0, &val); in wdack_store()
|
/linux-6.3-rc2/drivers/hid/ |
A D | hid-lenovo.c | 552 if (kstrtoint(buf, 10, &value)) in attr_fn_lock_store() 597 if (kstrtoint(buf, 10, &value) || value < 1 || value > 255) in attr_sensitivity_store_cptkbd() 768 if (kstrtoint(buf, 10, &value)) in attr_press_to_select_store_tpkbd() 798 if (kstrtoint(buf, 10, &value)) in attr_dragging_store_tpkbd() 828 if (kstrtoint(buf, 10, &value)) in attr_release_to_select_store_tpkbd() 858 if (kstrtoint(buf, 10, &value)) in attr_select_right_store_tpkbd() 889 if (kstrtoint(buf, 10, &value) || value < 1 || value > 255) in attr_sensitivity_store_tpkbd() 918 if (kstrtoint(buf, 10, &value) || value < 1 || value > 255) in attr_press_speed_store_tpkbd()
|
/linux-6.3-rc2/drivers/mtd/parsers/ |
A D | ofpart_linksys_ns.c | 21 if (!kstrtoint(buf, 0, &bootpartition)) in ofpart_linksys_ns_bootpartition()
|
/linux-6.3-rc2/drivers/misc/genwqe/ |
A D | card_sysfs.c | 191 if (kstrtoint(buf, 0, &partition) < 0) in next_bitstream_store() 217 if (kstrtoint(buf, 0, &reload) < 0) in reload_bitstream_store()
|
/linux-6.3-rc2/samples/configfs/ |
A D | configfs_sample.c | 65 ret = kstrtoint(page, 10, &childless->storeme); in childless_storeme_store() 142 ret = kstrtoint(page, 10, &simple_child->storeme); in simple_child_storeme_store()
|
/linux-6.3-rc2/kernel/ |
A D | ksysfs.c | 189 if (kstrtoint(buf, 0, &rcu_expedited)) in rcu_expedited_store() 206 if (kstrtoint(buf, 0, &rcu_normal)) in rcu_normal_store()
|
/linux-6.3-rc2/fs/orangefs/ |
A D | orangefs-sysfs.c | 290 rc = kstrtoint(buf, 0, &op_timeout_secs); in sysfs_int_store() 293 rc = kstrtoint(buf, 0, &slot_timeout_secs); in sysfs_int_store() 296 rc = kstrtoint(buf, 0, &orangefs_cache_timeout_msecs); in sysfs_int_store() 299 rc = kstrtoint(buf, 0, &orangefs_dcache_timeout_msecs); in sysfs_int_store() 302 rc = kstrtoint(buf, 0, &orangefs_getattr_timeout_msecs); in sysfs_int_store() 565 rc = kstrtoint(buf, 0, &val); in sysfs_service_op_store()
|
/linux-6.3-rc2/drivers/video/fbdev/via/ |
A D | viafbdev.c | 1955 if (kstrtoint(this_opt + 15, 0, &viafb_refresh1) < 0) in viafb_setup() 1958 if (kstrtoint(this_opt + 14, 0, &viafb_refresh) < 0) in viafb_setup() 1961 if (kstrtoint(this_opt + 21, 0, in viafb_setup() 1965 if (kstrtoint(this_opt + 19, 0, in viafb_setup() 1969 if (kstrtoint(this_opt + 12, 0, &viafb_accel) < 0) in viafb_setup() 1972 if (kstrtoint(this_opt + 14, 0, &viafb_SAMM_ON) < 0) in viafb_setup() 1980 if (kstrtoint(this_opt + 30, 0, in viafb_setup() 1988 if (kstrtoint(this_opt + 24, 0, in viafb_setup() 1993 if (kstrtoint(this_opt + 26, 0, in viafb_setup() 1997 if (kstrtoint(this_opt + 16, 0, &viafb_bus_width) < 0) in viafb_setup() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/amdkfd/ |
A D | kfd_debugfs.c | 60 if (kstrtoint(tmp, 10, &gpu_id)) { in kfd_debugfs_hang_hws_write()
|
/linux-6.3-rc2/drivers/iio/chemical/ |
A D | sps30.c | 197 if (kstrtoint(buf, 0, &val) || val != 1) in start_cleaning_store() 234 if (kstrtoint(buf, 0, &val)) in cleaning_period_store()
|
/linux-6.3-rc2/drivers/usb/misc/ |
A D | trancevibrator.c | 49 retval = kstrtoint(buf, 10, &temp); in speed_store()
|
/linux-6.3-rc2/drivers/acpi/ |
A D | acpi_tad.c | 150 if (kstrtoint(s, 10, val)) in acpi_tad_rt_next_field() 209 if (kstrtoint(s, 10, &val)) in time_store() 388 ret = kstrtoint(buf, 0, &value); in acpi_tad_status_write()
|
/linux-6.3-rc2/fs/dlm/ |
A D | config.c | 638 int rc = kstrtoint(buf, 0, &config_item_to_comm(item)->nodeid); in comm_nodeid_store() 654 int rc = kstrtoint(buf, 0, &cm->local); in comm_local_store() 790 int rc = kstrtoint(buf, 0, &nd->nodeid); in node_nodeid_store() 807 int rc = kstrtoint(buf, 0, &config_item_to_node(item)->weight); in node_weight_store()
|
/linux-6.3-rc2/drivers/thermal/ |
A D | thermal_sysfs.c | 140 ret = kstrtoint(buf, 10, &trip.temperature); in trip_point_temp_store() 188 if (kstrtoint(buf, 10, &trip.hysteresis)) in trip_point_hyst_store() 273 if (kstrtoint(buf, 10, &temperature)) in emul_temp_store() 910 ret = kstrtoint(buf, 0, &weight); in weight_store()
|
/linux-6.3-rc2/drivers/net/wireless/ath/ath5k/ |
A D | sysfs.c | 28 ret = kstrtoint(buf, 10, &val); \
|