Home
last modified time | relevance | path

Searched refs:kstrtoint (Results 1 - 25 of 347) sorted by relevance

12345678910>>...14

/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_sysfs.c88 ret = kstrtoint(buf, 0, &val); in bug_on_assert_store()
120 ret = kstrtoint(buf, 0, &val); in log_recovery_delay_store()
150 ret = kstrtoint(buf, 0, &val); in mount_delay_store()
209 ret = kstrtoint(buf, 0, &val); in pwork_threads_store()
281 ret = kstrtoint(buf, 0, &val); in stats_clear_store()
440 ret = kstrtoint(buf, 0, &val); in max_retries_store()
481 ret = kstrtoint(buf, 0, &val); in retry_timeout_seconds_store()
519 ret = kstrtoint(buf, 0, &val); in fail_at_unmount_store()
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_sysfs.c90 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()
/kernel/linux/linux-5.10/samples/kobject/
H A Dkobject-example.c39 ret = kstrtoint(buf, 10, &foo); in foo_store()
71 ret = kstrtoint(buf, 10, &var); in b_store()
H A Dkset-example.c123 ret = kstrtoint(buf, 10, &foo_obj->foo); in foo_store()
155 ret = kstrtoint(buf, 10, &var); in b_store()
/kernel/linux/linux-5.10/drivers/staging/greybus/
H A 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()
/kernel/linux/linux-6.6/drivers/staging/greybus/
H A 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()
/kernel/linux/linux-6.6/samples/kobject/
H A Dkobject-example.c39 ret = kstrtoint(buf, 10, &foo); in foo_store()
71 ret = kstrtoint(buf, 10, &var); in b_store()
H A Dkset-example.c123 ret = kstrtoint(buf, 10, &foo_obj->foo); in foo_store()
155 ret = kstrtoint(buf, 10, &var); in b_store()
/kernel/linux/linux-6.6/drivers/platform/x86/hp/hp-bioscfg/
H A Dint-attributes.c41 ret = kstrtoint(buf, 10, &in_val); in validate_integer_input()
58 ret = kstrtoint(attr_value, 10, &in_val); in update_integer_value()
188 ret = kstrtoint(str_value, 10, &int_value); in hp_populate_integer_elements_from_package()
334 ret = kstrtoint(dst, 10, &integer_data->current_value); in hp_populate_integer_elements_from_buffer()
/kernel/linux/linux-5.10/lib/
H A Dkstrtox.c238 * kstrtoint - convert a string to an int
252 int kstrtoint(const char *s, unsigned int base, int *res) in kstrtoint() function
265 EXPORT_SYMBOL(kstrtoint); variable
410 kstrto_from_user(kstrtoint_from_user, kstrtoint, int);
/kernel/linux/linux-6.6/lib/
H A Dkstrtox.c244 * kstrtoint - convert a string to an int
259 int kstrtoint(const char *s, unsigned int base, int *res) in kstrtoint() function
272 EXPORT_SYMBOL(kstrtoint); variable
427 kstrto_from_user(kstrtoint_from_user, kstrtoint, int);
/kernel/linux/linux-5.10/drivers/hid/
H A Dhid-lenovo.c370 if (kstrtoint(buf, 10, &value)) in attr_fn_lock_store()
412 if (kstrtoint(buf, 10, &value) || value < 1 || value > 255) in attr_sensitivity_store_cptkbd()
589 if (kstrtoint(buf, 10, &value)) in attr_press_to_select_store_tpkbd()
619 if (kstrtoint(buf, 10, &value)) in attr_dragging_store_tpkbd()
649 if (kstrtoint(buf, 10, &value)) in attr_release_to_select_store_tpkbd()
679 if (kstrtoint(buf, 10, &value)) in attr_select_right_store_tpkbd()
710 if (kstrtoint(buf, 10, &value) || value < 1 || value > 255) in attr_sensitivity_store_tpkbd()
739 if (kstrtoint(buf, 10, &value) || value < 1 || value > 255) in attr_press_speed_store_tpkbd()
/kernel/linux/linux-5.10/mm/
H A Dzswapd_control.c348 if (kstrtoint(token, 0, &level_num)) in zswapd_memcgs_param_write()
360 if (kstrtoint(token, 0, &zswap_param[i].min_score) || in zswapd_memcgs_param_write()
368 if (kstrtoint(token, 0, &zswap_param[i].max_score) || in zswapd_memcgs_param_write()
376 if (kstrtoint(token, 0, &zswap_param[i].ub_mem2zram_ratio) || in zswapd_memcgs_param_write()
384 if (kstrtoint(token, 0, &zswap_param[i].ub_zram2ufs_ratio) || in zswapd_memcgs_param_write()
392 if (kstrtoint(token, 0, &zswap_param[i].refault_threshold)) in zswapd_memcgs_param_write()
/kernel/linux/linux-5.10/fs/gfs2/
H A Dsys.c93 error = kstrtoint(buf, 0, &n); in freeze_store()
132 error = kstrtoint(buf, 0, &val); in withdraw_store()
153 error = kstrtoint(buf, 0, &val); in statfs_sync_store()
172 error = kstrtoint(buf, 0, &val); in quota_sync_store()
343 ret = kstrtoint(buf, 0, &val); in block_store()
370 ret = kstrtoint(buf, 0, &val); in wdack_store()
/kernel/linux/linux-6.6/mm/
H A Dzswapd_control.c349 if (kstrtoint(token, 0, &level_num)) in zswapd_memcgs_param_write()
361 if (kstrtoint(token, 0, &zswap_param[i].min_score) || in zswapd_memcgs_param_write()
369 if (kstrtoint(token, 0, &zswap_param[i].max_score) || in zswapd_memcgs_param_write()
377 if (kstrtoint(token, 0, &zswap_param[i].ub_mem2zram_ratio) || in zswapd_memcgs_param_write()
385 if (kstrtoint(token, 0, &zswap_param[i].ub_zram2ufs_ratio) || in zswapd_memcgs_param_write()
393 if (kstrtoint(token, 0, &zswap_param[i].refault_threshold)) in zswapd_memcgs_param_write()
/kernel/linux/linux-5.10/drivers/platform/x86/
H A Dtoshiba_haps.c74 ret = kstrtoint(buf, 0, &level); in protection_level_store()
103 ret = kstrtoint(buf, 0, &reset); in reset_protection_store()
/kernel/linux/linux-5.10/include/linux/
H A Dkstrtox.h72 int __must_check kstrtoint(const char *s, unsigned int base, int *res);
91 return kstrtoint(s, base, res); in kstrtos32()
/kernel/linux/linux-6.6/include/linux/
H A Dkstrtox.h72 int __must_check kstrtoint(const char *s, unsigned int base, int *res);
91 return kstrtoint(s, base, res); in kstrtos32()
/kernel/linux/linux-6.6/drivers/platform/x86/
H A Dtoshiba_haps.c74 ret = kstrtoint(buf, 0, &level); in protection_level_store()
103 ret = kstrtoint(buf, 0, &reset); in reset_protection_store()
H A Dpanasonic-laptop.c545 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()
/kernel/linux/linux-6.6/drivers/hid/
H A Dhid-lenovo.c570 if (kstrtoint(buf, 10, &value)) in attr_fn_lock_store()
615 if (kstrtoint(buf, 10, &value) || value < 1 || value > 255) in attr_sensitivity_store_cptkbd()
644 if (kstrtoint(buf, 10, &value)) in attr_middleclick_workaround_store_cptkbd()
824 if (kstrtoint(buf, 10, &value)) in attr_press_to_select_store_tpkbd()
854 if (kstrtoint(buf, 10, &value)) in attr_dragging_store_tpkbd()
884 if (kstrtoint(buf, 10, &value)) in attr_release_to_select_store_tpkbd()
914 if (kstrtoint(buf, 10, &value)) in attr_select_right_store_tpkbd()
945 if (kstrtoint(buf, 10, &value) || value < 1 || value > 255) in attr_sensitivity_store_tpkbd()
974 if (kstrtoint(buf, 10, &value) || value < 1 || value > 255) in attr_press_speed_store_tpkbd()
/kernel/linux/linux-6.6/drivers/mtd/parsers/
H A Dofpart_linksys_ns.c21 if (!kstrtoint(buf, 0, &bootpartition)) in ofpart_linksys_ns_bootpartition()
/kernel/linux/linux-5.10/fs/orangefs/
H A Dorangefs-sysfs.c290 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()
/kernel/linux/linux-6.6/fs/gfs2/
H A Dsys.c168 error = kstrtoint(buf, 0, &n); in freeze_store()
207 error = kstrtoint(buf, 0, &val); in withdraw_store()
228 error = kstrtoint(buf, 0, &val); in statfs_sync_store()
247 error = kstrtoint(buf, 0, &val); in quota_sync_store()
420 ret = kstrtoint(buf, 0, &val); in block_store()
447 ret = kstrtoint(buf, 0, &val); in wdack_store()
/kernel/linux/linux-6.6/fs/orangefs/
H A Dorangefs-sysfs.c290 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()

Completed in 20 milliseconds

12345678910>>...14