/linux-4.1.27/samples/kobject/ |
H A D | kobject-example.c | 41 ret = kstrtoint(buf, 10, &foo); foo_store() 73 ret = kstrtoint(buf, 10, &var); b_store()
|
H A D | kset-example.c | 125 ret = kstrtoint(buf, 10, &foo_obj->foo); foo_store() 157 ret = kstrtoint(buf, 10, &var); b_store()
|
/linux-4.1.27/drivers/hid/ |
H A D | hid-lenovo.c | 205 if (kstrtoint(buf, 10, &value)) attr_fn_lock_store_cptkbd() 236 if (kstrtoint(buf, 10, &value) || value < 1 || value > 255) attr_sensitivity_store_cptkbd() 325 if (kstrtoint(buf, 10, &value)) attr_press_to_select_store_tpkbd() 355 if (kstrtoint(buf, 10, &value)) attr_dragging_store_tpkbd() 385 if (kstrtoint(buf, 10, &value)) attr_release_to_select_store_tpkbd() 415 if (kstrtoint(buf, 10, &value)) attr_select_right_store_tpkbd() 446 if (kstrtoint(buf, 10, &value) || value < 1 || value > 255) attr_sensitivity_store_tpkbd() 475 if (kstrtoint(buf, 10, &value) || value < 1 || value > 255) attr_press_speed_store_tpkbd()
|
H A D | hid-sensor-custom.c | 245 if (kstrtoint(buf, 0, &value) != 0) enable_sensor_store() 411 if (kstrtoint(buf, 0, &value) != 0) store_value()
|
/linux-4.1.27/drivers/net/wireless/ath/ath5k/ |
H A D | sysfs.c | 27 ret = kstrtoint(buf, 10, &val); \
|
/linux-4.1.27/drivers/staging/android/ |
H A D | timed_output.c | 46 rc = kstrtoint(buf, 0, &value); enable_store()
|
/linux-4.1.27/lib/ |
H A D | kstrtox.c | 234 * kstrtoint - convert a string to an int 249 int kstrtoint(const char *s, unsigned int base, int *res) kstrtoint() function 262 EXPORT_SYMBOL(kstrtoint); variable 343 kstrto_from_user(kstrtoint_from_user, kstrtoint, int);
|
/linux-4.1.27/drivers/misc/genwqe/ |
H A D | card_sysfs.c | 199 if (kstrtoint(buf, 0, &partition) < 0) next_bitstream_store() 225 if (kstrtoint(buf, 0, &reload) < 0) reload_bitstream_store()
|
/linux-4.1.27/drivers/video/fbdev/via/ |
H A D | viafbdev.c | 1990 if (kstrtoint(this_opt + 15, 0, &viafb_refresh1) < 0) viafb_setup() 1993 if (kstrtoint(this_opt + 14, 0, &viafb_refresh) < 0) viafb_setup() 1996 if (kstrtoint(this_opt + 21, 0, viafb_setup() 2000 if (kstrtoint(this_opt + 19, 0, viafb_setup() 2004 if (kstrtoint(this_opt + 12, 0, &viafb_accel) < 0) viafb_setup() 2007 if (kstrtoint(this_opt + 14, 0, &viafb_SAMM_ON) < 0) viafb_setup() 2013 if (kstrtoint(this_opt + 30, 0, viafb_setup() 2017 if (kstrtoint(this_opt + 18, 0, &viafb_second_size) < 0) viafb_setup() 2021 if (kstrtoint(this_opt + 24, 0, viafb_setup() 2026 if (kstrtoint(this_opt + 26, 0, viafb_setup() 2030 if (kstrtoint(this_opt + 16, 0, &viafb_bus_width) < 0) viafb_setup() 2033 if (kstrtoint(this_opt + 15, 0, &viafb_lcd_mode) < 0) viafb_setup()
|
/linux-4.1.27/drivers/s390/net/ |
H A D | ctcm_sysfs.c | 154 rc = kstrtoint(buf, 0, &value); ctcm_proto_store()
|
/linux-4.1.27/fs/xfs/ |
H A D | xfs_sysfs.c | 66 ret = kstrtoint(buf, 0, &val); log_recovery_delay_store()
|
H A D | xfs_super.c | 158 if (kstrtoint(s, base, &_res)) suffix_kstrtoint() 230 if (kstrtoint(value, 10, &mp->m_logbufs)) xfs_parseargs() 268 if (kstrtoint(value, 10, &iosize)) xfs_parseargs() 300 if (kstrtoint(value, 10, &dsunit)) xfs_parseargs() 308 if (kstrtoint(value, 10, &dswidth)) xfs_parseargs()
|
/linux-4.1.27/fs/dlm/ |
H A D | config.c | 735 int rc = kstrtoint(buf, 0, &cm->nodeid); comm_nodeid_write() 750 int rc = kstrtoint(buf, 0, &cm->local); comm_local_write() 857 int rc = kstrtoint(buf, 0, &nd->nodeid); node_nodeid_write() 874 int rc = kstrtoint(buf, 0, &nd->weight); node_weight_write()
|
H A D | lockspace.c | 39 int rc = kstrtoint(buf, 0, &n); dlm_control_store() 63 int rc = kstrtoint(buf, 0, &ls->ls_uevent_result); dlm_event_store() 94 int rc = kstrtoint(buf, 0, &val); dlm_nodir_store()
|
/linux-4.1.27/kernel/ |
H A D | ksysfs.c | 157 if (kstrtoint(buf, 0, &rcu_expedited)) rcu_expedited_store()
|
H A D | reboot.c | 519 rc = kstrtoint(str+1, 0, &reboot_cpu); reboot_setup() 524 rc = kstrtoint(str+3, 0, &reboot_cpu); reboot_setup()
|
H A D | params.c | 266 STANDARD_PARAM_DEF(int, int, "%i", kstrtoint);
|
H A D | cgroup.c | 2392 if (kstrtoint(strstrip(buf), 0, &pid) || pid < 0) __cgroup_procs_write()
|
/linux-4.1.27/drivers/staging/iio/light/ |
H A D | tsl2583.c | 499 if (kstrtoint(buf, 0, &value)) taos_power_state_store() 542 if (kstrtoint(buf, 0, &value)) taos_gain_store() 588 if (kstrtoint(buf, 0, &value)) taos_als_time_store() 625 if (kstrtoint(buf, 0, &value)) taos_als_trim_store() 650 if (kstrtoint(buf, 0, &value)) taos_als_cal_target_store() 677 if (kstrtoint(buf, 0, &value)) taos_do_calibrate()
|
H A D | isl29018.c | 333 if (kstrtoint(buf, 10, &val)) store_prox_infrared_suppression()
|
/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_main.c | 3112 if (kstrtoint(opt + 6, 0, &debug)) stmmac_cmdline_opt() 3115 if (kstrtoint(opt + 8, 0, &phyaddr)) stmmac_cmdline_opt() 3118 if (kstrtoint(opt + 11, 0, &dma_txsize)) stmmac_cmdline_opt() 3121 if (kstrtoint(opt + 11, 0, &dma_rxsize)) stmmac_cmdline_opt() 3124 if (kstrtoint(opt + 7, 0, &buf_sz)) stmmac_cmdline_opt() 3127 if (kstrtoint(opt + 3, 0, &tc)) stmmac_cmdline_opt() 3130 if (kstrtoint(opt + 9, 0, &watchdog)) stmmac_cmdline_opt() 3133 if (kstrtoint(opt + 10, 0, &flow_ctrl)) stmmac_cmdline_opt() 3136 if (kstrtoint(opt + 6, 0, &pause)) stmmac_cmdline_opt() 3139 if (kstrtoint(opt + 10, 0, &eee_timer)) stmmac_cmdline_opt() 3142 if (kstrtoint(opt + 11, 0, &chain_mode)) stmmac_cmdline_opt()
|
/linux-4.1.27/drivers/platform/x86/ |
H A D | toshiba_acpi.c | 1765 ret = kstrtoint(buf, 0, &state); fan_store() 1806 ret = kstrtoint(buf, 0, &mode); kbd_backlight_mode_store() 1900 ret = kstrtoint(buf, 0, &time); kbd_backlight_timeout_store() 1958 ret = kstrtoint(buf, 0, &state); touchpad_store() 2031 ret = kstrtoint(buf, 0, &state); usb_sleep_charge_store() 2097 ret = kstrtoint(buf, 0, &value); sleep_functions_on_battery_store() 2148 ret = kstrtoint(buf, 0, &state); usb_rapid_charge_store() 2184 ret = kstrtoint(buf, 0, &state); usb_sleep_music_store() 2220 ret = kstrtoint(buf, 0, &mode); kbd_function_keys_store() 2263 ret = kstrtoint(buf, 0, &state); panel_power_on_store() 2301 ret = kstrtoint(buf, 0, &state); usb_three_store()
|
H A D | samsung-laptop.c | 771 if (!count || kstrtoint(buf, 0, &value) != 0) set_battery_life_extender() 840 if (!count || kstrtoint(buf, 0, &value) != 0) set_usb_charge() 905 if (!count || kstrtoint(buf, 0, &value) != 0) set_lid_handling()
|
H A D | dell-laptop.c | 1637 ret = kstrtoint(buf, 0, &enable); kbd_led_als_enabled_store()
|
H A D | sony-laptop.c | 1005 if (kstrtoint(buffer, 10, &value)) sony_nc_sysfs_store()
|
/linux-4.1.27/drivers/pwm/ |
H A D | sysfs.c | 112 ret = kstrtoint(buf, 0, &val); pwm_enable_store()
|
/linux-4.1.27/arch/x86/kernel/ |
H A D | ksysfs.c | 68 return kstrtoint(name, 10, nr); kobj_to_setup_data_nr()
|
/linux-4.1.27/arch/x86/mm/ |
H A D | tlb.c | 326 if (kstrtoint(buf, 0, &ceiling)) tlbflush_write_file()
|
/linux-4.1.27/drivers/bus/ |
H A D | brcmstb_gisb.c | 146 ret = kstrtoint(buf, 10, &val); gisb_arb_set_timeout()
|
/linux-4.1.27/drivers/acpi/ |
H A D | tables.c | 415 if (kstrtoint(str, 0, &acpi_apic_instance)) acpi_parse_apic_instance()
|
H A D | battery.c | 941 if (kstrtoint(alarm_string, 0, &battery->alarm)) { acpi_battery_write_alarm()
|
/linux-4.1.27/drivers/video/backlight/ |
H A D | lm3533_bl.c | 122 if (kstrtoint(buf, 0, &enable)) store_als_en()
|
/linux-4.1.27/drivers/video/fbdev/omap2/dss/ |
H A D | display-sysfs.c | 168 r = kstrtoint(buf, 0, &rot); display_rotate_store()
|
/linux-4.1.27/sound/hda/ |
H A D | hdac_sysfs.c | 93 ret = kstrtoint(kobj->name, 16, &nid); get_codec_nid()
|
/linux-4.1.27/drivers/mtd/ubi/ |
H A D | block.c | 141 ret = kstrtoint(tokens[0], 10, ¶m->ubi_num); ubiblock_set_param() 146 ret = kstrtoint(tokens[1], 10, ¶m->vol_id); ubiblock_set_param()
|
H A D | debug.c | 353 if (kstrtoint(buf, 0, &val) != 0) dfs_file_write()
|
H A D | build.c | 1467 int err = kstrtoint(token, 10, &p->max_beb_per1024); ubi_mtd_param_parse() 1478 int err = kstrtoint(token, 10, &p->ubi_num); ubi_mtd_param_parse()
|
/linux-4.1.27/drivers/base/power/ |
H A D | sysfs.c | 293 if (kstrtoint(buf, 0, &ret)) pm_qos_no_power_off_store() 320 if (kstrtoint(buf, 0, &ret)) pm_qos_remote_wakeup_store()
|
/linux-4.1.27/drivers/of/ |
H A D | resolver.c | 157 err = kstrtoint(s, 10, &offset); __of_adjust_phandle_ref()
|
H A D | base.c | 1943 if (kstrtoint(end, 10, &id) < 0) for_each_property_of_node()
|
/linux-4.1.27/arch/tile/kernel/ |
H A D | signal.c | 307 else if (*str != '=' || kstrtoint(++str, 0, &show_unhandled_signals) != 0) crashinfo()
|
H A D | traps.c | 46 if (kstrtoint(str, 0, &unaligned_fixup) != 0) setup_unaligned_fixup()
|
/linux-4.1.27/drivers/video/fbdev/omap2/omapfb/ |
H A D | omapfb-sysfs.c | 56 r = kstrtoint(buf, 0, &rot_type); store_rotate_type()
|
/linux-4.1.27/drivers/input/mouse/ |
H A D | sentelic.c | 443 retval = kstrtoint(rest + 1, 16, &val); fsp_attr_set_setreg() 481 err = kstrtoint(buf, 16, ®); fsp_attr_set_getreg() 516 err = kstrtoint(buf, 16, &val); fsp_attr_set_pagereg()
|
/linux-4.1.27/drivers/input/tablet/ |
H A D | aiptek.c | 1207 if (kstrtoint(buf, 10, &x)) { store_tabletXtilt() 1249 if (kstrtoint(buf, 10, &y)) { store_tabletYtilt() 1286 err = kstrtoint(buf, 10, &j); store_tabletJitterDelay() 1316 err = kstrtoint(buf, 10, &d); store_tabletProgrammableDelay() 1568 err = kstrtoint(buf, 10, &w); store_tabletWheel()
|
/linux-4.1.27/drivers/input/misc/ |
H A D | ims-pcu.c | 1142 error = kstrtoint(buf, 0, &value); ims_pcu_reset_device() 1174 error = kstrtoint(buf, 0, &value); ims_pcu_update_firmware_store() 1429 error = kstrtoint(buf, 0, &value); ims_pcu_ofn_bit_store()
|
/linux-4.1.27/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_vidi.c | 275 ret = kstrtoint(buf, 0, &ctx->connected); vidi_store_connection()
|
/linux-4.1.27/arch/x86/mm/kmemcheck/ |
H A D | kmemcheck.c | 87 ret = kstrtoint(str, 0, &val); param_kmemcheck()
|
/linux-4.1.27/drivers/block/ |
H A D | null_blk.c | 86 ret = kstrtoint(str, 10, &new_val); null_param_store_val()
|
/linux-4.1.27/drivers/video/fbdev/omap2/displays-new/ |
H A D | panel-tpo-td043mtea1.c | 187 ret = kstrtoint(buf, 0, &val); tpo_td043_vmirror_store()
|
/linux-4.1.27/drivers/s390/char/ |
H A D | sclp.c | 69 rc = kstrtoint(str, 0, &pages); sclp_setup_console_pages() 81 rc = kstrtoint(str, 0, &drop); sclp_setup_console_drop()
|
/linux-4.1.27/drivers/video/fbdev/ |
H A D | auo_k190x.c | 658 ret = kstrtoint(buf, 10, &mode); update_mode_store() 687 ret = kstrtoint(buf, 10, &flash); flash_store()
|
/linux-4.1.27/include/linux/ |
H A D | kernel.h | 332 int __must_check kstrtoint(const char *s, unsigned int base, int *res); 351 return kstrtoint(s, base, res); kstrtos32()
|
/linux-4.1.27/drivers/iio/imu/inv_mpu6050/ |
H A D | inv_mpu_core.c | 560 if (kstrtoint(buf, 10, &fifo_rate)) inv_mpu6050_fifo_rate_store()
|
/linux-4.1.27/drivers/net/ |
H A D | netconsole.c | 320 err = kstrtoint(buf, 10, &enabled); store_enabled()
|
/linux-4.1.27/drivers/scsi/ |
H A D | scsi_transport_srp.c | 206 res = kstrtoint(buf, 0, tmo); srp_parse_tmo()
|
/linux-4.1.27/drivers/input/keyboard/ |
H A D | lm8323.c | 550 ret = kstrtoint(buf, 10, &time); lm8323_pwm_store_time()
|
/linux-4.1.27/arch/powerpc/kernel/ |
H A D | setup_64.c | 156 rc = kstrtoint(smt_enabled_cmdline, 10, &smt); check_smt_enabled()
|
/linux-4.1.27/net/dsa/ |
H A D | dsa.c | 117 ret = kstrtoint(buf, 0, &temp); temp1_max_store()
|
/linux-4.1.27/drivers/isdn/gigaset/ |
H A D | ev-layer.c | 485 !kstrtoint(psep + 1, 10, &cid) && gigaset_handle_modem_response() 608 if (kstrtoint(eoc, 10, ¶meter)) gigaset_handle_modem_response()
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/ |
H A D | debugfs.c | 222 if (kstrtoint(buf, 10, &temperature)) iwl_dbgfs_set_nic_temperature_write() 951 ret = kstrtoint(buf, 0, &conf_id); iwl_dbgfs_fw_dbg_conf_write()
|
/linux-4.1.27/drivers/staging/iio/addac/ |
H A D | adt7316.c | 1292 ret = kstrtoint(buf, 10, &data); adt7316_store_temp_offset() 1918 ret = kstrtoint(buf, 10, &data); adt7316_set_ad_bound()
|
/linux-4.1.27/fs/proc/ |
H A D | base.c | 858 err = kstrtoint(strstrip(buffer), 0, &oom_adj); oom_adj_write() 961 err = kstrtoint(strstrip(buffer), 0, &oom_score_adj); oom_score_adj_write() 1260 err = kstrtoint(strstrip(buffer), 0, &nice); sched_autogroup_write()
|
H A D | task_mmu.c | 883 rv = kstrtoint(strstrip(buffer), 10, &itype); clear_refs_write()
|
/linux-4.1.27/drivers/staging/iio/accel/ |
H A D | sca3000_core.c | 636 ret = kstrtoint(buf, 10, &val); sca3000_set_frequency()
|
/linux-4.1.27/drivers/block/zram/ |
H A D | zram_drv.c | 235 ret = kstrtoint(buf, 0, &num); max_comp_streams_store()
|
/linux-4.1.27/drivers/w1/ |
H A D | w1.c | 326 if (kstrtoint(buf, 0, &tmp) == -EINVAL || tmp < 1) w1_master_attribute_store_max_slave_count()
|
/linux-4.1.27/drivers/spi/ |
H A D | spi-pxa2xx.c | 1283 if (adev->pnp.unique_id && !kstrtoint(adev->pnp.unique_id, 0, &devid)) pxa2xx_spi_acpi_get_pdata()
|
/linux-4.1.27/drivers/staging/unisys/virthba/ |
H A D | virthba.c | 1282 i = kstrtoint(buf, 10, &new_value); enable_ints_write()
|
/linux-4.1.27/drivers/pci/ |
H A D | pci-sysfs.c | 215 ret = kstrtoint(buf, 0, &node); numa_node_store()
|
/linux-4.1.27/drivers/net/ethernet/samsung/sxgbe/ |
H A D | sxgbe_main.c | 2319 if (kstrtoint(opt + 10, 0, &eee_timer)) sxgbe_cmdline_opt()
|
/linux-4.1.27/drivers/staging/unisys/visorchipset/ |
H A D | visorchipset_main.c | 404 if (kstrtoint(buf, 10, &val) != 0) boottotool_store()
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
H A D | radeon_pm.c | 584 err = kstrtoint(buf, 10, &value); radeon_hwmon_set_pwm1_enable()
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/ |
H A D | main.c | 1167 err = kstrtoint(buf, 0, &mtu); set_port_ib_mtu()
|
/linux-4.1.27/drivers/infiniband/ulp/srp/ |
H A D | ib_srp.c | 164 res = kstrtoint(val, 0, &tmo); srp_tmo_set()
|
/linux-4.1.27/drivers/scsi/megaraid/ |
H A D | megaraid_sas_base.c | 2647 if (kstrtoint(buf, 0, &val) != 0) megasas_fw_crash_buffer_store() 2724 if (kstrtoint(buf, 0, &val) != 0) megasas_fw_crash_state_store()
|
/linux-4.1.27/kernel/events/ |
H A D | core.c | 7213 ret = kstrtoint(buf, 0, &timer); perf_event_mux_interval_ms_store()
|
/linux-4.1.27/kernel/sched/ |
H A D | core.c | 6062 if (kstrtoint(str, 0, &default_relax_domain_level)) setup_relax_domain_level()
|