/linux-4.4.14/samples/kobject/ |
D | kobject-example.c | 41 ret = kstrtoint(buf, 10, &foo); in foo_store() 73 ret = kstrtoint(buf, 10, &var); in b_store()
|
D | kset-example.c | 125 ret = kstrtoint(buf, 10, &foo_obj->foo); in foo_store() 157 ret = kstrtoint(buf, 10, &var); in b_store()
|
/linux-4.4.14/lib/ |
D | kstrtox.c | 249 int kstrtoint(const char *s, unsigned int base, int *res) in kstrtoint() function 262 EXPORT_SYMBOL(kstrtoint); 343 kstrto_from_user(kstrtoint_from_user, kstrtoint, int);
|
/linux-4.4.14/drivers/hid/ |
D | hid-lenovo.c | 238 if (kstrtoint(buf, 10, &value)) in attr_fn_lock_store_cptkbd() 269 if (kstrtoint(buf, 10, &value) || value < 1 || value > 255) in attr_sensitivity_store_cptkbd() 405 if (kstrtoint(buf, 10, &value)) in attr_press_to_select_store_tpkbd() 435 if (kstrtoint(buf, 10, &value)) in attr_dragging_store_tpkbd() 465 if (kstrtoint(buf, 10, &value)) in attr_release_to_select_store_tpkbd() 495 if (kstrtoint(buf, 10, &value)) in attr_select_right_store_tpkbd() 526 if (kstrtoint(buf, 10, &value) || value < 1 || value > 255) in attr_sensitivity_store_tpkbd() 555 if (kstrtoint(buf, 10, &value) || value < 1 || value > 255) in attr_press_speed_store_tpkbd()
|
D | hid-sensor-custom.c | 245 if (kstrtoint(buf, 0, &value) != 0) in enable_sensor_store() 411 if (kstrtoint(buf, 0, &value) != 0) in store_value()
|
D | hid-corsair.c | 354 if (kstrtoint(buf, 10, &profile)) in k90_store_current_profile()
|
/linux-4.4.14/drivers/staging/iio/light/ |
D | tsl2583.c | 499 if (kstrtoint(buf, 0, &value)) in taos_power_state_store() 542 if (kstrtoint(buf, 0, &value)) in taos_gain_store() 588 if (kstrtoint(buf, 0, &value)) in taos_als_time_store() 625 if (kstrtoint(buf, 0, &value)) in taos_als_trim_store() 650 if (kstrtoint(buf, 0, &value)) in taos_als_cal_target_store() 677 if (kstrtoint(buf, 0, &value)) in taos_do_calibrate()
|
D | isl29018.c | 334 if (kstrtoint(buf, 10, &val)) in store_prox_infrared_suppression()
|
/linux-4.4.14/drivers/platform/x86/ |
D | toshiba_haps.c | 84 ret = kstrtoint(buf, 0, &level); in protection_level_store() 113 ret = kstrtoint(buf, 0, &reset); in reset_protection_store()
|
D | toshiba_acpi.c | 1556 ret = kstrtoint(buf, 0, &state); in fan_store() 1594 ret = kstrtoint(buf, 0, &mode); in kbd_backlight_mode_store() 1688 ret = kstrtoint(buf, 0, &time); in kbd_backlight_timeout_store() 1746 ret = kstrtoint(buf, 0, &state); in touchpad_store() 1819 ret = kstrtoint(buf, 0, &state); in usb_sleep_charge_store() 1885 ret = kstrtoint(buf, 0, &value); in sleep_functions_on_battery_store() 1936 ret = kstrtoint(buf, 0, &state); in usb_rapid_charge_store() 1972 ret = kstrtoint(buf, 0, &state); in usb_sleep_music_store() 2008 ret = kstrtoint(buf, 0, &mode); in kbd_function_keys_store() 2051 ret = kstrtoint(buf, 0, &state); in panel_power_on_store() [all …]
|
D | samsung-laptop.c | 771 if (!count || kstrtoint(buf, 0, &value) != 0) in set_battery_life_extender() 840 if (!count || kstrtoint(buf, 0, &value) != 0) in set_usb_charge() 905 if (!count || kstrtoint(buf, 0, &value) != 0) in set_lid_handling()
|
D | dell-laptop.c | 1886 ret = kstrtoint(buf, 0, &enable); in kbd_led_als_enabled_store()
|
D | sony-laptop.c | 1006 if (kstrtoint(buffer, 10, &value)) in sony_nc_sysfs_store()
|
/linux-4.4.14/fs/gfs2/ |
D | sys.c | 106 error = kstrtoint(buf, 0, &n); in freeze_store() 145 error = kstrtoint(buf, 0, &val); in withdraw_store() 165 error = kstrtoint(buf, 0, &val); in statfs_sync_store() 184 error = kstrtoint(buf, 0, &val); in quota_sync_store() 354 ret = kstrtoint(buf, 0, &val); in block_store() 381 ret = kstrtoint(buf, 0, &val); in wdack_store()
|
/linux-4.4.14/fs/xfs/ |
D | xfs_sysfs.c | 98 ret = kstrtoint(buf, 0, &val); in log_recovery_delay_store() 163 ret = kstrtoint(buf, 0, &val); in stats_clear_store()
|
D | xfs_message.c | 57 if (!kstrtoint(kern_level, 0, &level) && \
|
D | xfs_super.c | 160 if (kstrtoint(s, base, &_res)) in suffix_kstrtoint() 232 if (kstrtoint(value, 10, &mp->m_logbufs)) in xfs_parseargs() 294 if (kstrtoint(value, 10, &dsunit)) in xfs_parseargs() 302 if (kstrtoint(value, 10, &dswidth)) in xfs_parseargs()
|
/linux-4.4.14/kernel/ |
D | reboot.c | 519 rc = kstrtoint(str+1, 0, &reboot_cpu); in reboot_setup() 524 rc = kstrtoint(str+3, 0, &reboot_cpu); in reboot_setup()
|
D | ksysfs.c | 157 if (kstrtoint(buf, 0, &rcu_expedited)) in rcu_expedited_store()
|
D | params.c | 294 STANDARD_PARAM_DEF(int, int, "%i", kstrtoint);
|
D | cgroup.c | 2729 if (kstrtoint(strstrip(buf), 0, &pid) || pid < 0) in __cgroup_procs_write()
|
/linux-4.4.14/drivers/misc/genwqe/ |
D | card_sysfs.c | 199 if (kstrtoint(buf, 0, &partition) < 0) in next_bitstream_store() 225 if (kstrtoint(buf, 0, &reload) < 0) in reload_bitstream_store()
|
/linux-4.4.14/drivers/video/fbdev/via/ |
D | viafbdev.c | 1990 if (kstrtoint(this_opt + 15, 0, &viafb_refresh1) < 0) in viafb_setup() 1993 if (kstrtoint(this_opt + 14, 0, &viafb_refresh) < 0) in viafb_setup() 1996 if (kstrtoint(this_opt + 21, 0, in viafb_setup() 2000 if (kstrtoint(this_opt + 19, 0, in viafb_setup() 2004 if (kstrtoint(this_opt + 12, 0, &viafb_accel) < 0) in viafb_setup() 2007 if (kstrtoint(this_opt + 14, 0, &viafb_SAMM_ON) < 0) in viafb_setup() 2013 if (kstrtoint(this_opt + 30, 0, in viafb_setup() 2017 if (kstrtoint(this_opt + 18, 0, &viafb_second_size) < 0) in viafb_setup() 2021 if (kstrtoint(this_opt + 24, 0, in viafb_setup() 2026 if (kstrtoint(this_opt + 26, 0, in viafb_setup() [all …]
|
/linux-4.4.14/drivers/staging/android/ |
D | timed_output.c | 47 rc = kstrtoint(buf, 0, &value); in enable_store()
|
/linux-4.4.14/fs/dlm/ |
D | config.c | 586 int rc = kstrtoint(buf, 0, &config_item_to_comm(item)->nodeid); in comm_nodeid_store() 602 int rc = kstrtoint(buf, 0, &cm->local); in comm_local_store() 708 int rc = kstrtoint(buf, 0, &nd->nodeid); in node_nodeid_store() 725 int rc = kstrtoint(buf, 0, &config_item_to_node(item)->weight); in node_weight_store()
|
D | lockspace.c | 39 int rc = kstrtoint(buf, 0, &n); in dlm_control_store() 63 int rc = kstrtoint(buf, 0, &ls->ls_uevent_result); in dlm_event_store() 94 int rc = kstrtoint(buf, 0, &val); in dlm_nodir_store()
|
/linux-4.4.14/drivers/net/wireless/ath/ath5k/ |
D | sysfs.c | 27 ret = kstrtoint(buf, 10, &val); \
|
/linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_main.c | 3138 if (kstrtoint(opt + 6, 0, &debug)) in stmmac_cmdline_opt() 3141 if (kstrtoint(opt + 8, 0, &phyaddr)) in stmmac_cmdline_opt() 3144 if (kstrtoint(opt + 11, 0, &dma_txsize)) in stmmac_cmdline_opt() 3147 if (kstrtoint(opt + 11, 0, &dma_rxsize)) in stmmac_cmdline_opt() 3150 if (kstrtoint(opt + 7, 0, &buf_sz)) in stmmac_cmdline_opt() 3153 if (kstrtoint(opt + 3, 0, &tc)) in stmmac_cmdline_opt() 3156 if (kstrtoint(opt + 9, 0, &watchdog)) in stmmac_cmdline_opt() 3159 if (kstrtoint(opt + 10, 0, &flow_ctrl)) in stmmac_cmdline_opt() 3162 if (kstrtoint(opt + 6, 0, &pause)) in stmmac_cmdline_opt() 3165 if (kstrtoint(opt + 10, 0, &eee_timer)) in stmmac_cmdline_opt() [all …]
|
/linux-4.4.14/drivers/input/tablet/ |
D | aiptek.c | 1207 if (kstrtoint(buf, 10, &x)) { in store_tabletXtilt() 1249 if (kstrtoint(buf, 10, &y)) { in store_tabletYtilt() 1286 err = kstrtoint(buf, 10, &j); in store_tabletJitterDelay() 1316 err = kstrtoint(buf, 10, &d); in store_tabletProgrammableDelay() 1568 err = kstrtoint(buf, 10, &w); in store_tabletWheel()
|
/linux-4.4.14/drivers/mtd/ubi/ |
D | block.c | 142 ret = kstrtoint(tokens[0], 10, ¶m->ubi_num); in ubiblock_set_param() 147 ret = kstrtoint(tokens[1], 10, ¶m->vol_id); in ubiblock_set_param()
|
D | build.c | 1436 int err = kstrtoint(token, 10, &p->max_beb_per1024); in ubi_mtd_param_parse() 1447 int err = kstrtoint(token, 10, &p->ubi_num); in ubi_mtd_param_parse()
|
D | debug.c | 353 if (kstrtoint(buf, 0, &val) != 0) in dfs_file_write()
|
/linux-4.4.14/drivers/s390/net/ |
D | ctcm_sysfs.c | 154 rc = kstrtoint(buf, 0, &value); in ctcm_proto_store()
|
/linux-4.4.14/arch/x86/mm/ |
D | tlb.c | 333 if (kstrtoint(buf, 0, &ceiling)) in tlbflush_write_file()
|
/linux-4.4.14/arch/tile/kernel/ |
D | traps.c | 46 if (kstrtoint(str, 0, &unaligned_fixup) != 0) in setup_unaligned_fixup()
|
D | signal.c | 307 else if (*str != '=' || kstrtoint(++str, 0, &show_unhandled_signals) != 0) in crashinfo()
|
/linux-4.4.14/include/linux/ |
D | kernel.h | 333 int __must_check kstrtoint(const char *s, unsigned int base, int *res); 352 return kstrtoint(s, base, res); in kstrtos32()
|
/linux-4.4.14/drivers/base/power/ |
D | sysfs.c | 293 if (kstrtoint(buf, 0, &ret)) in pm_qos_no_power_off_store() 320 if (kstrtoint(buf, 0, &ret)) in pm_qos_remote_wakeup_store()
|
/linux-4.4.14/arch/x86/kernel/ |
D | ksysfs.c | 68 return kstrtoint(name, 10, nr); in kobj_to_setup_data_nr()
|
/linux-4.4.14/drivers/pwm/ |
D | sysfs.c | 111 ret = kstrtoint(buf, 0, &val); in enable_store()
|
/linux-4.4.14/drivers/of/ |
D | resolver.c | 157 err = kstrtoint(s, 10, &offset); in __of_adjust_phandle_ref()
|
D | base.c | 1940 if (kstrtoint(end, 10, &id) < 0) in of_alias_scan()
|
/linux-4.4.14/drivers/net/ |
D | netconsole.c | 332 err = kstrtoint(buf, 10, &enabled); in enabled_store() 397 err = kstrtoint(buf, 10, &extended); in extended_store()
|
/linux-4.4.14/drivers/acpi/ |
D | tables.c | 469 if (kstrtoint(str, 0, &acpi_apic_instance)) in acpi_parse_apic_instance()
|
D | battery.c | 936 if (kstrtoint(alarm_string, 0, &battery->alarm)) { in acpi_battery_write_alarm()
|
/linux-4.4.14/drivers/bus/ |
D | brcmstb_gisb.c | 154 ret = kstrtoint(buf, 10, &val); in gisb_arb_set_timeout()
|
/linux-4.4.14/drivers/video/fbdev/omap2/dss/ |
D | display-sysfs.c | 168 r = kstrtoint(buf, 0, &rot); in display_rotate_store()
|
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/ |
D | debug.c | 117 rc = kstrtoint(val, 0, &sec); in param_set_delay_minmax()
|
/linux-4.4.14/arch/s390/numa/ |
D | mode_emu.c | 519 if (kstrtoint(p, 0, &count) != 0 || count <= 0) in early_parse_emu_nodes()
|
/linux-4.4.14/drivers/video/backlight/ |
D | lm3533_bl.c | 122 if (kstrtoint(buf, 0, &enable)) in store_als_en()
|
/linux-4.4.14/sound/hda/ |
D | hdac_sysfs.c | 101 ret = kstrtoint(kobj->name, 16, &nid); in get_codec_nid()
|
/linux-4.4.14/drivers/misc/mic/cosm/ |
D | cosm_sysfs.c | 171 ret = kstrtoint(buf, 10, &enable); in heartbeat_enable_store()
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | setup_64.c | 164 rc = kstrtoint(smt_enabled_cmdline, 10, &smt); in check_smt_enabled()
|
/linux-4.4.14/drivers/gpu/drm/exynos/ |
D | exynos_drm_vidi.c | 239 ret = kstrtoint(buf, 0, &ctx->connected); in vidi_store_connection()
|
/linux-4.4.14/drivers/s390/char/ |
D | sclp.c | 69 rc = kstrtoint(str, 0, &pages); in sclp_setup_console_pages() 81 rc = kstrtoint(str, 0, &drop); in sclp_setup_console_drop()
|
/linux-4.4.14/arch/x86/mm/kmemcheck/ |
D | kmemcheck.c | 87 ret = kstrtoint(str, 0, &val); in param_kmemcheck()
|
/linux-4.4.14/drivers/video/fbdev/ |
D | auo_k190x.c | 658 ret = kstrtoint(buf, 10, &mode); in update_mode_store() 687 ret = kstrtoint(buf, 10, &flash); in flash_store()
|
/linux-4.4.14/drivers/input/misc/ |
D | ims-pcu.c | 1142 error = kstrtoint(buf, 0, &value); in ims_pcu_reset_device() 1174 error = kstrtoint(buf, 0, &value); in ims_pcu_update_firmware_store() 1429 error = kstrtoint(buf, 0, &value); in ims_pcu_ofn_bit_store()
|
/linux-4.4.14/drivers/video/fbdev/omap2/omapfb/ |
D | omapfb-sysfs.c | 56 r = kstrtoint(buf, 0, &rot_type); in store_rotate_type()
|
/linux-4.4.14/drivers/video/fbdev/omap2/displays-new/ |
D | panel-tpo-td043mtea1.c | 187 ret = kstrtoint(buf, 0, &val); in tpo_td043_vmirror_store()
|
/linux-4.4.14/drivers/hwtracing/intel_th/ |
D | gth.c | 198 if (kstrtoint(buf, 10, &port) < 0) in master_attr_store()
|
/linux-4.4.14/drivers/block/zram/ |
D | zram_drv.c | 327 ret = kstrtoint(buf, 0, &num); in max_comp_streams_store() 1360 ret = kstrtoint(buf, 10, &dev_id); in hot_remove_store()
|
/linux-4.4.14/fs/proc/ |
D | base.c | 1064 err = kstrtoint(strstrip(buffer), 0, &oom_adj); in oom_adj_write() 1167 err = kstrtoint(strstrip(buffer), 0, &oom_score_adj); in oom_score_adj_write() 1339 rv = kstrtoint(strstrip(buffer), 0, &make_it_fail); in proc_fault_inject_write() 1448 err = kstrtoint(strstrip(buffer), 0, &nice); in sched_autogroup_write()
|
D | task_mmu.c | 925 rv = kstrtoint(strstrip(buffer), 10, &itype); in clear_refs_write()
|
/linux-4.4.14/drivers/input/keyboard/ |
D | lm8323.c | 550 ret = kstrtoint(buf, 10, &time); in lm8323_pwm_store_time()
|
/linux-4.4.14/drivers/iio/imu/inv_mpu6050/ |
D | inv_mpu_core.c | 560 if (kstrtoint(buf, 10, &fifo_rate)) in inv_mpu6050_fifo_rate_store()
|
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_pm.c | 203 err = kstrtoint(buf, 10, &value); in amdgpu_hwmon_set_pwm1_enable()
|
/linux-4.4.14/drivers/block/ |
D | null_blk.c | 79 ret = kstrtoint(str, 10, &new_val); in null_param_store_val()
|
/linux-4.4.14/drivers/isdn/gigaset/ |
D | ev-layer.c | 485 !kstrtoint(psep + 1, 10, &cid) && in gigaset_handle_modem_response() 608 if (kstrtoint(eoc, 10, ¶meter)) in gigaset_handle_modem_response()
|
/linux-4.4.14/drivers/scsi/ |
D | scsi_transport_srp.c | 211 res = kstrtoint(buf, 0, tmo); in srp_parse_tmo()
|
/linux-4.4.14/drivers/staging/iio/accel/ |
D | sca3000_core.c | 636 ret = kstrtoint(buf, 10, &val); in sca3000_set_frequency()
|
/linux-4.4.14/net/dsa/ |
D | dsa.c | 118 ret = kstrtoint(buf, 0, &temp); in temp1_max_store()
|
/linux-4.4.14/drivers/power/ |
D | twl4030_charger.c | 666 status = kstrtoint(buf, 10, &cur); in twl4030_bci_max_current_store()
|
/linux-4.4.14/drivers/thermal/ |
D | thermal_core.c | 743 if (kstrtoint(buf, 10, &temperature)) in trip_point_hyst_store() 1225 ret = kstrtoint(buf, 0, &weight); in thermal_cooling_device_weight_store()
|
/linux-4.4.14/drivers/staging/iio/addac/ |
D | adt7316.c | 1292 ret = kstrtoint(buf, 10, &data); in adt7316_store_temp_offset() 1918 ret = kstrtoint(buf, 10, &data); in adt7316_set_ad_bound()
|
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/ |
D | lproc_ptlrpc.c | 1015 rc = kstrtoint(buffer, 10, &val); in high_priority_ratio_store()
|
/linux-4.4.14/drivers/w1/ |
D | w1.c | 338 if (kstrtoint(buf, 0, &tmp) == -EINVAL || tmp < 1) in w1_master_attribute_store_max_slave_count()
|
/linux-4.4.14/drivers/staging/lustre/lustre/lov/ |
D | lov_obd.c | 917 rc = kstrtoint(lustre_cfg_buf(lcfg, 2), 10, indexp); in lov_process_config_base() 920 rc = kstrtoint(lustre_cfg_buf(lcfg, 3), 10, genp); in lov_process_config_base()
|
/linux-4.4.14/drivers/pci/ |
D | pci-sysfs.c | 215 ret = kstrtoint(buf, 0, &node); in numa_node_store()
|
/linux-4.4.14/Documentation/DocBook/ |
D | kernel-api.xml.db | 63 API-kstrtoint
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/ |
D | debugfs.c | 222 if (kstrtoint(buf, 10, &temperature)) in iwl_dbgfs_set_nic_temperature_write()
|
/linux-4.4.14/drivers/staging/unisys/visorbus/ |
D | visorchipset.c | 586 if (kstrtoint(buf, 10, &val)) in boottotool_store()
|
/linux-4.4.14/drivers/net/ethernet/samsung/sxgbe/ |
D | sxgbe_main.c | 2319 if (kstrtoint(opt + 10, 0, &eee_timer)) in sxgbe_cmdline_opt()
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
D | radeon_pm.c | 581 err = kstrtoint(buf, 10, &value); in radeon_hwmon_set_pwm1_enable()
|
/linux-4.4.14/drivers/scsi/megaraid/ |
D | megaraid_sas_base.c | 2735 if (kstrtoint(buf, 0, &val) != 0) in megasas_fw_crash_buffer_store() 2811 if (kstrtoint(buf, 0, &val) != 0) in megasas_fw_crash_state_store()
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
D | main.c | 1194 err = kstrtoint(buf, 0, &mtu); in set_port_ib_mtu()
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
D | i915_debugfs.c | 4187 status = kstrtoint(input_buffer, 10, &val); in i915_displayport_test_active_write()
|
/linux-4.4.14/kernel/sched/ |
D | core.c | 6319 if (kstrtoint(str, 0, &default_relax_domain_level)) in setup_relax_domain_level()
|
/linux-4.4.14/kernel/events/ |
D | core.c | 7534 ret = kstrtoint(buf, 0, &timer); in perf_event_mux_interval_ms_store()
|