Home
last modified time | relevance | path

Searched refs:kstrtoint (Results 1 – 25 of 123) sorted by relevance

12345

/Linux-v4.19/fs/xfs/
Dxfs_sysfs.c103 ret = kstrtoint(buf, 0, &val); in bug_on_assert_store()
135 ret = kstrtoint(buf, 0, &val); in log_recovery_delay_store()
165 ret = kstrtoint(buf, 0, &val); in mount_delay_store()
232 ret = kstrtoint(buf, 0, &val); in stats_clear_store()
391 ret = kstrtoint(buf, 0, &val); in max_retries_store()
432 ret = kstrtoint(buf, 0, &val); in retry_timeout_seconds_store()
470 ret = kstrtoint(buf, 0, &val); in fail_at_unmount_store()
Dxfs_message.c45 if (!kstrtoint(kern_level, 0, &level) && \
/Linux-v4.19/samples/kobject/
Dkobject-example.c39 ret = kstrtoint(buf, 10, &foo); in foo_store()
71 ret = kstrtoint(buf, 10, &var); in b_store()
Dkset-example.c123 ret = kstrtoint(buf, 10, &foo_obj->foo); in foo_store()
155 ret = kstrtoint(buf, 10, &var); in b_store()
/Linux-v4.19/drivers/staging/greybus/
Daudio_manager_sysfs.c45 int num = kstrtoint(buf, 10, &id); in manager_sysfs_remove_store()
66 int num = kstrtoint(buf, 10, &id); in manager_sysfs_dump_store()
/Linux-v4.19/drivers/hid/
Dhid-lenovo.c278 if (kstrtoint(buf, 10, &value)) in attr_fn_lock_store_cptkbd()
309 if (kstrtoint(buf, 10, &value) || value < 1 || value > 255) in attr_sensitivity_store_cptkbd()
445 if (kstrtoint(buf, 10, &value)) in attr_press_to_select_store_tpkbd()
475 if (kstrtoint(buf, 10, &value)) in attr_dragging_store_tpkbd()
505 if (kstrtoint(buf, 10, &value)) in attr_release_to_select_store_tpkbd()
535 if (kstrtoint(buf, 10, &value)) in attr_select_right_store_tpkbd()
566 if (kstrtoint(buf, 10, &value) || value < 1 || value > 255) in attr_sensitivity_store_tpkbd()
595 if (kstrtoint(buf, 10, &value) || value < 1 || value > 255) in attr_press_speed_store_tpkbd()
/Linux-v4.19/lib/
Dkstrtox.c248 int kstrtoint(const char *s, unsigned int base, int *res) in kstrtoint() function
261 EXPORT_SYMBOL(kstrtoint);
406 kstrto_from_user(kstrtoint_from_user, kstrtoint, int);
/Linux-v4.19/fs/gfs2/
Dsys.c96 error = kstrtoint(buf, 0, &n); in freeze_store()
135 error = kstrtoint(buf, 0, &val); in withdraw_store()
155 error = kstrtoint(buf, 0, &val); in statfs_sync_store()
174 error = kstrtoint(buf, 0, &val); in quota_sync_store()
344 ret = kstrtoint(buf, 0, &val); in block_store()
371 ret = kstrtoint(buf, 0, &val); in wdack_store()
/Linux-v4.19/drivers/platform/x86/
Dtoshiba_haps.c84 ret = kstrtoint(buf, 0, &level); in protection_level_store()
113 ret = kstrtoint(buf, 0, &reset); in reset_protection_store()
Dtoshiba_acpi.c1759 ret = kstrtoint(buf, 0, &state); in fan_store()
1797 ret = kstrtoint(buf, 0, &mode); in kbd_backlight_mode_store()
1910 ret = kstrtoint(buf, 0, &time); in kbd_backlight_timeout_store()
1968 ret = kstrtoint(buf, 0, &state); in touchpad_store()
2019 ret = kstrtoint(buf, 0, &state); in usb_sleep_charge_store()
2084 ret = kstrtoint(buf, 0, &value); in sleep_functions_on_battery_store()
2135 ret = kstrtoint(buf, 0, &state); in usb_rapid_charge_store()
2171 ret = kstrtoint(buf, 0, &state); in usb_sleep_music_store()
2207 ret = kstrtoint(buf, 0, &mode); in kbd_function_keys_store()
2250 ret = kstrtoint(buf, 0, &state); in panel_power_on_store()
[all …]
Dasus-laptop.c941 rv = kstrtoint(buf, 0, &value); in sysfs_acpi_set()
967 rv = kstrtoint(buf, 0, &value); in ledd_store()
1142 rv = kstrtoint(buf, 0, &value); in display_store()
1186 rv = kstrtoint(buf, 0, &value); in ls_switch_store()
1216 rv = kstrtoint(buf, 0, &value); in ls_level_store()
1299 rv = kstrtoint(buf, 0, &value); in gps_store()
/Linux-v4.19/drivers/misc/genwqe/
Dcard_sysfs.c199 if (kstrtoint(buf, 0, &partition) < 0) in next_bitstream_store()
225 if (kstrtoint(buf, 0, &reload) < 0) in reload_bitstream_store()
/Linux-v4.19/kernel/
Dksysfs.c162 if (kstrtoint(buf, 0, &rcu_expedited)) in rcu_expedited_store()
179 if (kstrtoint(buf, 0, &rcu_normal)) in rcu_normal_store()
Dreboot.c546 rc = kstrtoint(str+1, 0, &reboot_cpu); in reboot_setup()
551 rc = kstrtoint(str+3, 0, &reboot_cpu); in reboot_setup()
/Linux-v4.19/drivers/video/fbdev/via/
Dviafbdev.c1976 if (kstrtoint(this_opt + 15, 0, &viafb_refresh1) < 0) in viafb_setup()
1979 if (kstrtoint(this_opt + 14, 0, &viafb_refresh) < 0) in viafb_setup()
1982 if (kstrtoint(this_opt + 21, 0, in viafb_setup()
1986 if (kstrtoint(this_opt + 19, 0, in viafb_setup()
1990 if (kstrtoint(this_opt + 12, 0, &viafb_accel) < 0) in viafb_setup()
1993 if (kstrtoint(this_opt + 14, 0, &viafb_SAMM_ON) < 0) in viafb_setup()
1999 if (kstrtoint(this_opt + 30, 0, in viafb_setup()
2003 if (kstrtoint(this_opt + 18, 0, &viafb_second_size) < 0) in viafb_setup()
2007 if (kstrtoint(this_opt + 24, 0, in viafb_setup()
2012 if (kstrtoint(this_opt + 26, 0, in viafb_setup()
[all …]
/Linux-v4.19/drivers/gpu/drm/amd/amdkfd/
Dkfd_debugfs.c54 if (kstrtoint(tmp, 10, &gpu_id)) { in kfd_debugfs_hang_hws_write()
/Linux-v4.19/fs/orangefs/
Dorangefs-sysfs.c275 rc = kstrtoint(buf, 0, &op_timeout_secs); in sysfs_int_store()
278 rc = kstrtoint(buf, 0, &slot_timeout_secs); in sysfs_int_store()
281 rc = kstrtoint(buf, 0, &orangefs_dcache_timeout_msecs); in sysfs_int_store()
284 rc = kstrtoint(buf, 0, &orangefs_getattr_timeout_msecs); in sysfs_int_store()
547 rc = kstrtoint(buf, 0, &val); in sysfs_service_op_store()
/Linux-v4.19/fs/dlm/
Dconfig.c566 int rc = kstrtoint(buf, 0, &config_item_to_comm(item)->nodeid); in comm_nodeid_store()
582 int rc = kstrtoint(buf, 0, &cm->local); in comm_local_store()
688 int rc = kstrtoint(buf, 0, &nd->nodeid); in node_nodeid_store()
705 int rc = kstrtoint(buf, 0, &config_item_to_node(item)->weight); in node_weight_store()
Dlockspace.c41 int rc = kstrtoint(buf, 0, &n); in dlm_control_store()
65 int rc = kstrtoint(buf, 0, &ls->ls_uevent_result); in dlm_event_store()
96 int rc = kstrtoint(buf, 0, &val); in dlm_nodir_store()
/Linux-v4.19/arch/arc/plat-eznps/
Dmtm.c165 ret = kstrtoint(ctr_str, 0, &hs_ctr); in set_mtm_hs_ctr()
/Linux-v4.19/drivers/net/wireless/ath/ath5k/
Dsysfs.c28 ret = kstrtoint(buf, 10, &val); \
/Linux-v4.19/arch/powerpc/platforms/powernv/
Dopal-psr.c86 ret = kstrtoint(buf, 0, &psr); in psr_store()
/Linux-v4.19/drivers/thermal/
Dthermal_sysfs.c135 if (kstrtoint(buf, 10, &temperature)) in trip_point_temp_store()
183 if (kstrtoint(buf, 10, &temperature)) in trip_point_hyst_store()
302 if (kstrtoint(buf, 10, &temperature)) in emul_temp_store()
993 ret = kstrtoint(buf, 0, &weight); in weight_store()
/Linux-v4.19/drivers/hwmon/
Dina3221.c182 ret = kstrtoint(buf, 0, &current_ma); in ina3221_set_current()
229 ret = kstrtoint(buf, 0, &val); in ina3221_set_shunt()
/Linux-v4.19/drivers/input/tablet/
Daiptek.c1203 if (kstrtoint(buf, 10, &x)) { in store_tabletXtilt()
1245 if (kstrtoint(buf, 10, &y)) { in store_tabletYtilt()
1282 err = kstrtoint(buf, 10, &j); in store_tabletJitterDelay()
1312 err = kstrtoint(buf, 10, &d); in store_tabletProgrammableDelay()
1564 err = kstrtoint(buf, 10, &w); in store_tabletWheel()

12345