Searched refs:sscanf (Results 1 - 200 of 361) sorted by relevance

12

/linux-4.1.27/tools/perf/util/
H A Dfind-vdso-map.c17 if (2 != sscanf(line, "%p-%p r-xp %*x %*x:%*x %*u %n", find_vdso_map()
H A Dcpumap.c340 if (sscanf(&buf[num], "%d", max) < 1) { get_max_num()
458 if (dent1->d_type != DT_DIR || sscanf(dent1->d_name, "node%u", &mem) < 1) cpu__setup_cpunode_map()
471 if (dent2->d_type != DT_LNK || sscanf(dent2->d_name, "cpu%u", &cpu) < 1) cpu__setup_cpunode_map()
/linux-4.1.27/tools/power/cpupower/bench/
H A Dparse.c181 if (sscanf(line, "%14s = %30s", opt, val) < 2) prepare_config()
187 sscanf(val, "%li", &config->sleep); prepare_config()
190 sscanf(val, "%li", &config->load); prepare_config()
193 sscanf(val, "%li", &config->load_step); prepare_config()
196 sscanf(val, "%li", &config->sleep_step); prepare_config()
199 sscanf(val, "%u", &config->cycles); prepare_config()
202 sscanf(val, "%u", &config->rounds); prepare_config()
205 sscanf(val, "%u", &config->verbose); prepare_config()
211 sscanf(val, "%u", &config->cpu); prepare_config()
H A Dmain.c106 sscanf(optarg, "%li", &config->sleep); main()
110 sscanf(optarg, "%li", &config->load); main()
114 sscanf(optarg, "%u", &config->cpu); main()
135 sscanf(optarg, "%u", &config->cycles); main()
139 sscanf(optarg, "%u", &config->rounds); main()
143 sscanf(optarg, "%li", &config->load_step); main()
147 sscanf(optarg, "%li", &config->sleep_step); main()
/linux-4.1.27/arch/mips/boot/compressed/
H A Dcalc_vmlinuz_load_addr.c35 if (sscanf(argv[2], "%llx", &vmlinux_load_addr) != 1) { main()
37 perror("sscanf"); main()
/linux-4.1.27/tools/power/cpupower/utils/helpers/
H A Dcpuid.c71 sscanf(value, "processor\t: %u", &proc); get_cpu_info()
84 sscanf(value, "cpu family\t: %u", get_cpu_info()
87 sscanf(value, "model\t\t: %u", get_cpu_info()
90 sscanf(value, "stepping\t: %u", get_cpu_info()
H A Dbitmask.c85 * The parameter 'sret' is the return from a sscanf "%u%c". It is
86 * -1 if the sscanf input string was empty. It is 0 if the first
87 * character in the sscanf input string was not a decimal number.
203 char nextc; /* char after sscanf %u match */ bitmask_parselist()
204 int sret; /* sscanf return (number of matches) */ bitmask_parselist()
206 sret = sscanf(p, "%u%c", &a, &nextc); bitmask_parselist()
214 sret = sscanf(c1, "%u%c", &b, &nextc); bitmask_parselist()
219 sret = sscanf(c1, "%u%c", &s, &nextc); bitmask_parselist()
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
H A Ddebugfs-vif.c139 if (sscanf(buf + 11, "%d", &val) != 1) iwl_dbgfs_pm_params_write()
143 if (sscanf(buf + 15, "%d", &val) != 1) iwl_dbgfs_pm_params_write()
147 if (sscanf(buf + 18, "%d", &val) != 1) iwl_dbgfs_pm_params_write()
151 if (sscanf(buf + 16, "%d", &val) != 1) iwl_dbgfs_pm_params_write()
155 if (sscanf(buf + 16, "%d", &val) != 1) iwl_dbgfs_pm_params_write()
159 if (sscanf(buf + 5, "%d", &val) != 1) iwl_dbgfs_pm_params_write()
163 if (sscanf(buf + 20, "%d", &val) != 1) iwl_dbgfs_pm_params_write()
170 if (sscanf(buf + 14, "%d", &val) != 1) iwl_dbgfs_pm_params_write()
174 if (sscanf(buf + 18, "%d", &val) != 1) iwl_dbgfs_pm_params_write()
178 if (sscanf(buf + 12, "%d", &val) != 1) iwl_dbgfs_pm_params_write()
348 if (sscanf(buf+16, "%d", &value) != 1) iwl_dbgfs_bf_params_write()
355 if (sscanf(buf+24, "%d", &value) != 1) iwl_dbgfs_bf_params_write()
362 if (sscanf(buf+17, "%d", &value) != 1) iwl_dbgfs_bf_params_write()
369 if (sscanf(buf+18, "%d", &value) != 1) iwl_dbgfs_bf_params_write()
376 if (sscanf(buf+20, "%d", &value) != 1) iwl_dbgfs_bf_params_write()
383 if (sscanf(buf+20, "%d", &value) != 1) iwl_dbgfs_bf_params_write()
390 if (sscanf(buf+24, "%d", &value) != 1) iwl_dbgfs_bf_params_write()
396 if (sscanf(buf+14, "%d", &value) != 1) iwl_dbgfs_bf_params_write()
402 if (sscanf(buf+16, "%d", &value) != 1) iwl_dbgfs_bf_params_write()
409 if (sscanf(buf+16, "%d", &value) != 1) iwl_dbgfs_bf_params_write()
416 if (sscanf(buf+23, "%d", &value) != 1) iwl_dbgfs_bf_params_write()
H A Ddebugfs.c82 if (sscanf(buf, "%x", &scd_q_msk) != 1) iwl_dbgfs_tx_flush_write()
103 if (sscanf(buf, "%d %d", &sta_id, &drain) != 2) iwl_dbgfs_sta_drain_write()
173 if (sscanf(buf, "%x,%x", &offset, &len) == 2) { iwl_dbgfs_sram_write()
335 if (sscanf(buf + 21, "%d", &val) != 1) iwl_dbgfs_disable_power_off_write()
339 if (sscanf(buf + 21, "%d", &val) != 1) iwl_dbgfs_disable_power_off_write()
596 if (sscanf(buf, "%u", &bt_tx_prio) != 1) iwl_dbgfs_bt_tx_prio_write()
910 if (sscanf(buf, "%hhx", &scan_rx_ant) != 1) iwl_dbgfs_scan_ant_rxchain_write()
1046 if (sscanf(buf, "%d %hhi %hhi %n", &filter_id, &filter.discard, iwl_dbgfs_bcast_filters_write()
1062 if (sscanf(&buf[pos], "%hhi %hhi %i %i %n", iwl_dbgfs_bcast_filters_write()
1136 if (sscanf(buf, "%d %hhi %i", &mac_id, &mac.default_discard, iwl_dbgfs_bcast_filters_macs_write()
1168 if (sscanf(buf, "%d", &store) != 1) iwl_dbgfs_d3_sram_write()
1457 args = sscanf(buf, "%i %i", &mvm->dbgfs_prph_reg_addr, &value); iwl_dbgfs_prph_reg_write()
/linux-4.1.27/drivers/char/
H A Dtlclk.c334 sscanf(buf, "%lX", &tmp); store_received_ref_clk3a()
356 sscanf(buf, "%lX", &tmp); store_received_ref_clk3b()
378 sscanf(buf, "%lX", &tmp); store_enable_clk3b_output()
399 sscanf(buf, "%lX", &tmp); store_enable_clk3a_output()
420 sscanf(buf, "%lX", &tmp); store_enable_clkb1_output()
442 sscanf(buf, "%lX", &tmp); store_enable_clka1_output()
463 sscanf(buf, "%lX", &tmp); store_enable_clkb0_output()
484 sscanf(buf, "%lX", &tmp); store_enable_clka0_output()
505 sscanf(buf, "%lX", &tmp); store_select_amcb2_transmit_clock()
547 sscanf(buf, "%lX", &tmp); store_select_amcb1_transmit_clock()
588 sscanf(buf, "%lX", &tmp); store_select_redundant_clock()
609 sscanf(buf, "%lX", &tmp); store_select_ref_frequency()
630 sscanf(buf, "%lX", &tmp); store_filter_select()
650 sscanf(buf, "%lX", &tmp); store_hardware_switching_mode()
671 sscanf(buf, "%lX", &tmp); store_hardware_switching()
691 sscanf(buf, "%lX", &tmp); store_refalign()
711 sscanf(buf, "%lX", &tmp); store_mode_select()
731 sscanf(buf, "%lX", &tmp); store_reset()
/linux-4.1.27/tools/usb/usbip/libsrc/
H A Dusbip_common.c135 * and bNumInterfaces will not exist and sscanf will read_attr_value()
140 ret = sscanf(attr, format, &num); read_attr_value()
144 err("sscanf failed for attribute %s", name); read_attr_value()
208 sscanf(name, "%u-%u", &busnum, &devnum); read_usb_device()
H A Dvhci_driver.c61 ret = sscanf(c, "%d %d %d %x %lx %31s\n", parse_status()
66 dbg("sscanf failed: %d", ret); parse_status()
207 if (sscanf(buffer, "%s %s %s\n", host, port, busid) != 3) { read_record()
208 err("sscanf"); read_record()
/linux-4.1.27/drivers/ide/
H A Dide.c185 if (sscanf(s, "%d.%d:%d", &a, &b, &j) != 3 && ide_set_dev_param_mask()
186 sscanf(s, "%d.%d", &a, &b) != 2) ide_set_dev_param_mask()
253 if (sscanf(str, "%d.%d:%d,%d,%d", &a, &b, &c, &h, &s) != 5 && ide_set_disk_chs()
254 sscanf(str, "%d.%d:%d", &a, &b, &j) != 3) ide_set_disk_chs()
337 if (sscanf(s, "%d:%d", &i, &j) != 2 && sscanf(s, "%d", &i) != 1) ide_set_ignore_cable()
/linux-4.1.27/drivers/cpufreq/
H A Dcpufreq_conservative.c160 ret = sscanf(buf, "%u", &input); store_sampling_down_factor()
175 ret = sscanf(buf, "%u", &input); store_sampling_rate()
190 ret = sscanf(buf, "%u", &input); store_up_threshold()
205 ret = sscanf(buf, "%u", &input); store_down_threshold()
223 ret = sscanf(buf, "%u", &input); store_ignore_nice_load()
254 ret = sscanf(buf, "%u", &input); store_freq_step()
H A Dcpufreq_ondemand.c305 ret = sscanf(buf, "%u", &input); store_sampling_rate()
321 ret = sscanf(buf, "%u", &input); store_io_is_busy()
342 ret = sscanf(buf, "%u", &input); store_up_threshold()
359 ret = sscanf(buf, "%u", &input); store_sampling_down_factor()
383 ret = sscanf(buf, "%u", &input); store_ignore_nice_load()
415 ret = sscanf(buf, "%u", &input); store_powersave_bias()
H A Dintel_pstate.c393 ret = sscanf(buf, "%u", &input); store_no_turbo()
417 ret = sscanf(buf, "%u", &input); store_max_perf_pct()
436 ret = sscanf(buf, "%u", &input); store_min_perf_pct()
H A Dcpufreq.c420 ret = sscanf(buf, "%d", &enable); store_boost()
546 ret = sscanf(buf, "%u", &new_policy.object); \
602 ret = sscanf(buf, "%15s", str_governor); store_scaling_governor()
697 ret = sscanf(buf, "%u", &freq); store_scaling_setspeed()
/linux-4.1.27/drivers/scsi/bnx2i/
H A Dbnx2i_sysfs.c73 if (sscanf(buf, " 0x%x ", &val) > 0) { bnx2i_set_sq_info()
121 if (sscanf(buf, " 0x%x ", &val) > 0) { bnx2i_set_ccell_info()
/linux-4.1.27/drivers/usb/wusbcore/
H A Ddev-sysfs.c40 if (sscanf(buf, "%u", &command) != 1) wusb_disconnect_store()
83 result = sscanf(buf, wusb_ck_store()
H A Dwusbhc.c74 result = sscanf(buf, "%u", &trust_timeout); wusb_trust_timeout_store()
127 result = sscanf(buf, wusb_chid_store()
168 result = sscanf(buf, "%hhu", &phy_rate); wusb_phy_rate_store()
198 result = sscanf(buf, "%hhu %hhu", &num_slots, &interval); wusb_dnts_store()
227 result = sscanf(buf, "%hhu", &retry_count); wusb_retry_count_store()
H A Dcbaf.c333 result = sscanf(buf, cbaf_wusb_chid_store()
378 result = sscanf(buf, "%63s", cbaf->host_name); cbaf_wusb_host_name_store()
406 result = sscanf(buf, "%04hx", &band_groups); cbaf_wusb_host_band_groups_store()
447 result = sscanf(buf, cbaf_wusb_cdid_store()
554 result = sscanf(buf, cbaf_wusb_ck_store()
/linux-4.1.27/tools/iio/
H A Dlsiio.c68 retval = sscanf(dev_dir_name + strlen(iio_dir) + strlen(type_device), dump_one_device()
86 retval = sscanf(dev_dir_name + strlen(iio_dir) + strlen(type_trigger), dump_one_trigger()
H A Diio_utils.c451 numstrlen = sscanf(ent->d_name + strlen(type), find_type_by_name()
/linux-4.1.27/drivers/md/
H A Ddm-delay.c146 if (sscanf(argv[1], "%llu%c", &tmpll, &dummy) != 1) { delay_ctr()
152 if (sscanf(argv[2], "%u%c", &dc->read_delay, &dummy) != 1) { delay_ctr()
167 if (sscanf(argv[4], "%llu%c", &tmpll, &dummy) != 1) { delay_ctr()
173 if (sscanf(argv[5], "%u%c", &dc->write_delay, &dummy) != 1) { delay_ctr()
H A Ddm-stats.c789 } else if (sscanf(argv[1], "%llu+%llu%c", &start, &len, &dummy) != 2 || message_stats_create()
797 if (sscanf(argv[2], "/%u%c", &divisor, &dummy) == 1) { message_stats_create()
805 } else if (sscanf(argv[2], "%llu%c", &step, &dummy) != 1 || message_stats_create()
847 if (sscanf(argv[1], "%d%c", &id, &dummy) != 1 || id < 0) message_stats_delete()
862 if (sscanf(argv[1], "%d%c", &id, &dummy) != 1 || id < 0) message_stats_clear()
902 if (sscanf(argv[1], "%d%c", &id, &dummy) != 1 || id < 0) message_stats_print()
907 sscanf(argv[2], "%lu%c", &idx_start, &dummy) != 1) message_stats_print()
910 sscanf(argv[3], "%lu%c", &idx_len, &dummy) != 1) message_stats_print()
927 if (sscanf(argv[1], "%d%c", &id, &dummy) != 1 || id < 0) message_stats_set_aux()
H A Ddm-linear.c45 if (sscanf(argv[1], "%llu%c", &tmp, &dummy) != 1) { linear_ctr()
H A Ddm-service-time.c132 if (argc && (sscanf(argv[0], "%u%c", &repeat_count, &dummy) != 1)) { st_add_path()
138 (sscanf(argv[1], "%u%c", &relative_throughput, &dummy) != 1 || st_add_path()
H A Ddm-verity.c767 if (sscanf(argv[0], "%u%c", &num, &dummy) != 1 || verity_ctr()
787 if (sscanf(argv[3], "%u%c", &num, &dummy) != 1 || verity_ctr()
797 if (sscanf(argv[4], "%u%c", &num, &dummy) != 1 || verity_ctr()
807 if (sscanf(argv[5], "%llu%c", &num_ll, &dummy) != 1 || verity_ctr()
822 if (sscanf(argv[6], "%llu%c", &num_ll, &dummy) != 1 || verity_ctr()
H A Ddm-queue-length.c127 if ((argc == 1) && (sscanf(argv[0], "%u%c", &repeat_count, &dummy) != 1)) { ql_add_path()
H A Ddm-round-robin.c125 if ((argc == 1) && (sscanf(argv[0], "%u%c", &repeat_count, &dummy) != 1)) { rr_add_path()
H A Ddm-raid1.c927 if (sscanf(argv[1], "%llu%c", &offset, &dummy) != 1) { get_mirror()
962 if (sscanf(argv[1], "%u%c", &param_count, &dummy) != 1) { create_dirty_log()
996 if (sscanf(argv[0], "%u%c", &num_features, &dummy) != 1) { parse_features()
1049 if (!argc || sscanf(argv[0], "%u%c", &nr_mirrors, &dummy) != 1 || mirror_ctr()
H A Ddm-flakey.c186 if (sscanf(dm_shift_arg(&as), "%llu%c", &tmpll, &dummy) != 1) { flakey_ctr()
H A Ddm-stripe.c79 if (sscanf(argv[1], "%llu%c", &start, &dummy) != 1) get_stripe()
H A Ddm-crypt.c1576 else if (sscanf(keycount, "%u%c", &cc->tfms_count, &dummy) != 1 || crypt_ctr_cipher()
1791 if (sscanf(argv[2], "%llu%c", &tmpll, &dummy) != 1) { crypt_ctr()
1802 if (sscanf(argv[4], "%llu%c", &tmpll, &dummy) != 1) { crypt_ctr()
/linux-4.1.27/drivers/mtd/
H A Dbcm63xxpart.c118 sscanf(buf->flash_image_start, "%u", &rootfsaddr); bcm63xx_parse_cfe_partitions()
119 sscanf(buf->kernel_address, "%u", &kerneladdr); bcm63xx_parse_cfe_partitions()
120 sscanf(buf->kernel_length, "%u", &kernellen); bcm63xx_parse_cfe_partitions()
121 sscanf(buf->total_length, "%u", &totallen); bcm63xx_parse_cfe_partitions()
/linux-4.1.27/drivers/ptp/
H A Dptp_sysfs.c80 cnt = sscanf(buf, "%u %d", &req.extts.index, &enable); extts_enable_store()
137 cnt = sscanf(buf, "%u %lld %u %lld %u", &req.perout.index, period_store()
168 cnt = sscanf(buf, "%d", &enable); pps_enable_store()
220 cnt = sscanf(buf, "%u %u", &func, &chan); ptp_pin_store()
/linux-4.1.27/arch/powerpc/platforms/pseries/
H A Dpower.c44 ret = sscanf(buf, "%lu", &ups_restart); auto_poweron_store()
/linux-4.1.27/drivers/xen/
H A Dcpu_hotplug.c75 sscanf(cpustr, "cpu/%u", &cpu); handle_vcpu_hotplug_event()
/linux-4.1.27/drivers/leds/trigger/
H A Dledtrig-gpio.c83 ret = sscanf(buf, "%u", &desired_brightness); gpio_trig_brightness_store()
147 ret = sscanf(buf, "%u", &gpio); gpio_trig_gpio_store()
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/
H A Dnidstrings.c106 if (sscanf(str, "%u.%u.%u.%u%n", &a, &b, &c, &d, &n) >= 4 && libcfs_ip_str2addr()
132 if (sscanf(str, "0x%x%n", addr, &n) >= 1 && n == nob) libcfs_num_str2addr()
136 if (sscanf(str, "0X%x%n", addr, &n) >= 1 && n == nob) libcfs_num_str2addr()
140 if (sscanf(str, "%u%n", addr, &n) >= 1 && n == nob) libcfs_num_str2addr()
294 * I use "%n" at the end of a sscanf format to detect trailing junk. However
295 * sscanf may return immediately if it sees the terminating '0' in a string, so
296 * I initialise the %n variable to the expected length. If sscanf sets it;
465 if (sscanf(str, "%u%n", &netnum, &i) < 1 || libcfs_str2net_internal()
H A Ddebug.c317 t = sscanf(str, "%i%n", &m, &matched); libcfs_debug_str2mask()
/linux-4.1.27/drivers/net/wireless/b43/
H A Ddebugfs.c104 res = sscanf(buf, "0x%X 0x%X", &routing, &addr); shm16read__write_file()
129 res = sscanf(buf, "0x%X 0x%X 0x%X 0x%X", shm16write__write_file()
180 res = sscanf(buf, "0x%X 0x%X", &routing, &addr); shm32read__write_file()
205 res = sscanf(buf, "0x%X 0x%X 0x%X 0x%X", shm32write__write_file()
257 res = sscanf(buf, "0x%X", &addr); mmio16read__write_file()
277 res = sscanf(buf, "0x%X 0x%X 0x%X", &addr, &mask, &set); mmio16write__write_file()
321 res = sscanf(buf, "0x%X", &addr); mmio32read__write_file()
341 res = sscanf(buf, "0x%X 0x%X 0x%X", &addr, &mask, &set); mmio32write__write_file()
/linux-4.1.27/arch/um/drivers/
H A Dnet_user.c24 if (sscanf(gate_addr, "%d.%d.%d.%d", &tap_addr[0], tap_open_common()
38 (sscanf(gate_addr, "%d.%d.%d.%d", &tap_addr[0], tap_check_ips()
/linux-4.1.27/arch/um/os-Linux/
H A Dprocess.c47 if (sscanf(buf, "%*d " COMM_SCANF " %*c %*d %*d %*d %*d %*d %*d %*d " os_process_pc()
85 n = sscanf(data, "%*d " COMM_SCANF " %*c %d", &parent); os_process_parent()
/linux-4.1.27/drivers/platform/x86/
H A Dtoshiba_haps.c83 if (sscanf(buf, "%d", &level) != 1 || level < 0 || level > 3) protection_level_store()
106 if (sscanf(buf, "%d", &reset) != 1 || reset != 1) reset_protection_store()
H A Dintel_menlow.c342 if (!sscanf(buf, "%d", &value)) aux0_store()
361 if (!sscanf(buf, "%d", &value)) aux1_store()
H A Deeepc-wmi.c125 if (sscanf(dev->name, "AEMS%24c", oemstring) == 1) { et2012_quirks()
H A Dmsi-laptop.c221 if (sscanf(buf, "%i", &status) != 1 || (status < 0 || status > 1)) set_device_state()
409 if (sscanf(buf, "%i", &level) != 1 || store_lcd_level()
439 if (sscanf(buf, "%i", &enable) != 1 || (enable != (enable & 1))) store_auto_brightness()
526 if (sscanf(buf, "%i", &enable) != 1 || (enable != (enable & 1))) store_auto_fan()
H A Dideapad-laptop.c374 if (sscanf(buf, "%i", &state) != 1) store_ideapad_cam()
405 if (sscanf(buf, "%i", &state) != 1) store_ideapad_fan()
H A Dtoshiba_acpi.c1425 if (sscanf(cmd, " brightness : %i", &value) == 1 && lcd_proc_write()
1507 if (sscanf(buffer, " lcd_out : %i", &value) == 1) video_proc_write()
1509 else if (sscanf(buffer, " crt_out : %i", &value) == 1) video_proc_write()
1511 else if (sscanf(buffer, " tv_out : %i", &value) == 1) video_proc_write()
1593 if (sscanf(cmd, " force_on : %i", &value) == 1 && fan_proc_write()
1666 if (sscanf(cmd, " hotkey_ready : %i", &value) == 1 && value == 0) keys_proc_write()
H A Dhdaps.c447 if (sscanf(buf, "%d", &invert) != 1 || hdaps_invert_store()
/linux-4.1.27/drivers/net/wimax/i2400m/
H A Dsysfs.c51 if (sscanf(buf, "%u\n", &val) != 1) i2400m_idle_timeout_store()
/linux-4.1.27/drivers/pci/
H A Dpci-stub.c64 fields = sscanf(id, "%x:%x:%x:%x:%x:%x", pci_stub_init()
H A Dpci-driver.c110 fields = sscanf(buf, "%x %x %x %x %x %x %lx", store_new_id()
177 fields = sscanf(buf, "%x %x %x %x %x %x", store_remove_id()
/linux-4.1.27/drivers/acpi/
H A Dproc.c108 sscanf(strbuf, "%s", str); acpi_system_write_wakeup_device()
H A Dsbs.c475 if (sscanf(buf, "%lu\n", &x) == 1) acpi_battery_alarm_store()
/linux-4.1.27/security/integrity/evm/
H A Devm_secfs.c78 if ((sscanf(temp, "%d", &i) != 1) || (i != 1)) evm_write_key()
/linux-4.1.27/drivers/net/wireless/ath/ath10k/
H A Ddebugfs_sta.c99 ret = sscanf(buf, "%u %u", &tid, &buf_size); ath10k_dbg_sta_write_addba()
150 ret = sscanf(buf, "%u %u", &tid, &status); ath10k_dbg_sta_write_addba_resp()
200 ret = sscanf(buf, "%u %u %u", &tid, &initiator, &reason); ath10k_dbg_sta_write_delba()
/linux-4.1.27/drivers/firmware/efi/
H A Defi-pstore.c62 if (sscanf(name, "dump-type%u-%u-%d-%lu-%c", efi_pstore_read_func()
72 } else if (sscanf(name, "dump-type%u-%u-%d-%lu", efi_pstore_read_func()
79 } else if (sscanf(name, "dump-type%u-%u-%lu", efi_pstore_read_func()
/linux-4.1.27/net/atm/
H A Dmpoa_proc.c253 if (sscanf(buff, "del %hhu.%hhu.%hhu.%hhu", parse_qos()
259 if (sscanf(buff, "add %hhu.%hhu.%hhu.%hhu tx=%d,%d rx=tx", parse_qos()
263 } else if (sscanf(buff, "add %hhu.%hhu.%hhu.%hhu tx=%d,%d rx=%d,%d", parse_qos()
/linux-4.1.27/tools/testing/selftests/vm/
H A Dthuge-gen.c65 sscanf(g.gl_pathv[i], "/sys/kernel/mm/hugepages/hugepages-%lukB", find_pagesizes()
83 if (sscanf(line, "Hugepagesize: %lu kB", &hps) == 1) { default_huge_page_size()
125 sscanf(line, "%lu", &val); read_sysfs()
/linux-4.1.27/fs/gfs2/
H A Dsys.c227 rv = sscanf(buf, "%u:%llu %15s", &gltype, &glnum, demote_rq_store()
377 rv = sscanf(buf, "%u", &first); lkfirst_store()
434 rv = sscanf(buf, "%u", &jid); recover_store()
470 rv = sscanf(buf, "%d", &jid); jid_store()
541 if (sscanf(buf, "%u %u", &x, &y) != 2 || !y) quota_scale_store()
/linux-4.1.27/usr/
H A Dgen_init_cpio.c142 if (5 != sscanf(line, "%" str(PATH_MAX) "s %" str(PATH_MAX) "s %o %d %d", name, target, &mode, &uid, &gid)) { cpio_mkslink_line()
213 if (4 != sscanf(line, "%" str(PATH_MAX) "s %o %d %d", name, &mode, &uid, &gid)) { cpio_mkgeneric_line()
284 if (7 != sscanf(line, "%" str(PATH_MAX) "s %o %d %d %c %u %u", cpio_mknod_line()
411 if (5 > sscanf(line, "%" str(PATH_MAX) "s %" str(PATH_MAX) cpio_mkfile_line()
432 if (sscanf(line + end, "%" str(PATH_MAX) "s %n", cpio_mkfile_line()
/linux-4.1.27/drivers/xen/xen-pciback/
H A Dpci_stub.c960 switch (sscanf(buf, " %x:%x:%x.%x %n", domain, bus, slot, func, str_to_slot()
964 sscanf(buf, " %x:%x:%x.* %n", domain, bus, slot, &parsed); str_to_slot()
968 sscanf(buf, " %x:%x:*.* %n", domain, bus, &parsed); str_to_slot()
976 switch (sscanf(buf, " %x:%x.%x %n", bus, slot, func, &parsed)) { str_to_slot()
979 sscanf(buf, " %x:%x.* %n", bus, slot, &parsed); str_to_slot()
983 sscanf(buf, " %x:*.* %n", bus, &parsed); str_to_slot()
997 sscanf(buf, " %x:%x:%x.%x-%x:%x:%x %n", domain, bus, slot, func, str_to_quirk()
1004 sscanf(buf, " %x:%x.%x-%x:%x:%x %n", bus, slot, func, reg, size, str_to_quirk()
1419 err = sscanf(pci_devs_to_hide + pos, pcistub_init()
1425 sscanf(pci_devs_to_hide + pos, pcistub_init()
1431 sscanf(pci_devs_to_hide + pos, pcistub_init()
1439 err = sscanf(pci_devs_to_hide + pos, pcistub_init()
1445 sscanf(pci_devs_to_hide + pos, pcistub_init()
1451 sscanf(pci_devs_to_hide + pos, pcistub_init()
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
H A Di40e_debugfs.c1014 cnt = sscanf(&cmd_buf[7], "%i", &vsi_seid); i40e_dbg_command_write()
1041 sscanf(&cmd_buf[7], "%i", &vsi_seid); i40e_dbg_command_write()
1056 cnt = sscanf(&cmd_buf[9], "%i %i", &uplink_seid, &vsi_seid); i40e_dbg_command_write()
1096 cnt = sscanf(&cmd_buf[9], "%i", &veb_seid); i40e_dbg_command_write()
1127 cnt = sscanf(&cmd_buf[11], i40e_dbg_command_write()
1164 cnt = sscanf(&cmd_buf[11], i40e_dbg_command_write()
1201 cnt = sscanf(&cmd_buf[8], "%i %u", &vsi_seid, &v); i40e_dbg_command_write()
1228 cnt = sscanf(&cmd_buf[8], "%i", &vsi_seid); i40e_dbg_command_write()
1251 cnt = sscanf(&cmd_buf[8], "%i", &vsi_seid); i40e_dbg_command_write()
1257 cnt = sscanf(&cmd_buf[8], "%i", &vsi_seid); i40e_dbg_command_write()
1265 cnt = sscanf(&cmd_buf[12], "%i %i %i", i40e_dbg_command_write()
1271 cnt = sscanf(&cmd_buf[12], "%i %i %i", i40e_dbg_command_write()
1409 cnt = sscanf(&cmd_buf[18], "%i %i %i", i40e_dbg_command_write()
1457 cnt = sscanf(&cmd_buf[10], "%i", &level); i40e_dbg_command_write()
1491 cnt = sscanf(&cmd_buf[4], "%i", &address); i40e_dbg_command_write()
1510 cnt = sscanf(&cmd_buf[5], "%i %i", &address, &value); i40e_dbg_command_write()
1528 cnt = sscanf(&cmd_buf[15], "%i", &vsi_seid); i40e_dbg_command_write()
1566 cnt = sscanf(&cmd_buf[11], i40e_dbg_command_write()
1614 cnt = sscanf(&cmd_buf[20], i40e_dbg_command_write()
1703 cnt = sscanf(&cmd_buf[13], i40e_dbg_command_write()
1729 sscanf(&asc_packet[j], "%2hhx ", i40e_dbg_command_write()
1887 cnt = sscanf(&cmd_buf[8], "%hx %x %hx", i40e_dbg_command_write()
2084 cnt = sscanf(&i40e_dbg_netdev_ops_buf[11], "%i", &vsi_seid); i40e_dbg_netdev_ops_write()
2108 cnt = sscanf(&i40e_dbg_netdev_ops_buf[11], "%i %i", i40e_dbg_netdev_ops_write()
2131 cnt = sscanf(&i40e_dbg_netdev_ops_buf[11], "%i", &vsi_seid); i40e_dbg_netdev_ops_write()
2152 cnt = sscanf(&i40e_dbg_netdev_ops_buf[4], "%i", &vsi_seid); i40e_dbg_netdev_ops_write()
/linux-4.1.27/drivers/net/wireless/libertas/
H A Ddebugfs.c72 ret = sscanf(buf, "%d %d %d %d %d %d", &p1, &p2, &p3, &p4, &p5, &p6); lbs_sleepparams_write()
140 ret = sscanf(buf, "%d", &host_sleep); lbs_host_sleep_write()
299 ret = sscanf(buf, "%d %d %d", &value, &freq, &new_mask); lbs_threshold_write()
511 res = sscanf(buf, "%x %x", &offset, &value); lbs_wrmac_write()
593 res = sscanf(buf, "%x %x", &offset, &value); lbs_wrbbp_write()
675 res = sscanf(buf, "%x %x", &offset, &value); lbs_wrrf_write()
H A Dmesh.c188 sscanf(buf, "%x", &datum); lbs_anycast_set()
283 sscanf(buf, "%x", &enable); lbs_mesh_set()
385 ret = sscanf(buf, "%d", &datum); bootflag_set()
435 ret = sscanf(buf, "%d", &datum); boottime_set()
494 ret = sscanf(buf, "%d", &datum); channel_set()
621 ret = sscanf(buf, "%d", &datum); protocol_id_set()
682 ret = sscanf(buf, "%d", &datum); metric_id_set()
743 ret = sscanf(buf, "%d", &datum); capability_set()
H A Dif_sdio.c1193 if (sscanf(func->card->info[i], if_sdio_probe()
1196 if (sscanf(func->card->info[i], if_sdio_probe()
/linux-4.1.27/security/selinux/
H A Dselinuxfs.c169 if (sscanf(page, "%d", &new_value) != 1) sel_write_enforce()
301 if (sscanf(page, "%d", &new_value) != 1) sel_write_disable()
641 if (sscanf(page, "%u", &new_value) != 1) sel_write_checkreqprot()
731 if (sscanf(buf, "%s %s %hu", scon, tcon, &tclass) != 3) sel_write_access()
788 nargs = sscanf(buf, "%s %s %hu %s", scon, tcon, &tclass, namebuf); sel_write_create()
796 * If not encoded, the sscanf logic picks up only left-half sel_write_create()
882 if (sscanf(buf, "%s %s %hu", scon, tcon, &tclass) != 3) sel_write_relabel()
940 if (sscanf(buf, "%s %s", con, user) != 2) sel_write_user()
1000 if (sscanf(buf, "%s %s %hu", scon, tcon, &tclass) != 3) sel_write_member()
1121 if (sscanf(page, "%d", &new_value) != 1) sel_write_bool()
1175 if (sscanf(page, "%d", &new_value) != 1) sel_commit_bools_write()
1330 if (sscanf(page, "%u", &new_value) != 1) sel_write_avc_cache_threshold()
/linux-4.1.27/sound/pci/ca0106/
H A Dca0106_proc.c304 if (sscanf(line, "%x %x", &reg, &val) != 2) snd_ca0106_proc_reg_write32()
405 if (sscanf(line, "%x %x %x", &reg, &channel_id, &val) != 3) snd_ca0106_proc_reg_write()
419 if (sscanf(line, "%x %x", &reg, &val) != 2) snd_ca0106_proc_i2c_write()
/linux-4.1.27/drivers/isdn/mISDN/
H A Ddsp_hwec.c88 if (sscanf(val, "%d", &tmp) == 1) dsp_hwec_enable()
/linux-4.1.27/drivers/devfreq/
H A Dgovernor_userspace.c57 sscanf(buf, "%lu", &wanted); store_freq()
H A Ddevfreq.c788 ret = sscanf(buf, "%" __stringify(DEVFREQ_NAME_LEN) "s", str_governor); governor_store()
885 ret = sscanf(buf, "%u", &value); polling_interval_store()
904 ret = sscanf(buf, "%lu", &value); min_freq_store()
937 ret = sscanf(buf, "%lu", &value); max_freq_store()
/linux-4.1.27/drivers/atm/
H A Dadummy.c50 if (sscanf(buf, "%d", &signal) == 1) { __set_signal()
/linux-4.1.27/arch/powerpc/sysdev/
H A Dmv64x60_pci.c61 if (sscanf(buf, "%i", &v) != 1) mv64x60_hs_reg_write()
/linux-4.1.27/arch/arm/mach-omap2/
H A Dmcbsp.c60 sscanf(oh->name, "mcbsp%d", &id); omap_init_mcbsp()
H A Dgpio.c50 sscanf(oh->name, "gpio%d", &id); omap2_gpio_dev_init()
/linux-4.1.27/kernel/time/
H A Dtest_udelay.c123 ret = sscanf(lbuf, "%d %d", &usecs, &iters); udelay_test_write()
/linux-4.1.27/drivers/scsi/
H A Dlibiscsi.c3200 sscanf(buf, "%d", &session->fast_abort); iscsi_set_param()
3203 sscanf(buf, "%d", &session->abort_timeout); iscsi_set_param()
3206 sscanf(buf, "%d", &session->lu_reset_timeout); iscsi_set_param()
3209 sscanf(buf, "%d", &session->tgt_reset_timeout); iscsi_set_param()
3212 sscanf(buf, "%d", &conn->ping_timeout); iscsi_set_param()
3215 sscanf(buf, "%d", &conn->recv_timeout); iscsi_set_param()
3218 sscanf(buf, "%d", &conn->max_recv_dlength); iscsi_set_param()
3221 sscanf(buf, "%d", &conn->max_xmit_dlength); iscsi_set_param()
3224 sscanf(buf, "%d", &conn->hdrdgst_en); iscsi_set_param()
3227 sscanf(buf, "%d", &conn->datadgst_en); iscsi_set_param()
3230 sscanf(buf, "%d", &session->initial_r2t_en); iscsi_set_param()
3233 sscanf(buf, "%hu", &session->max_r2t); iscsi_set_param()
3236 sscanf(buf, "%d", &session->imm_data_en); iscsi_set_param()
3239 sscanf(buf, "%d", &session->first_burst); iscsi_set_param()
3242 sscanf(buf, "%d", &session->max_burst); iscsi_set_param()
3245 sscanf(buf, "%d", &session->pdu_inorder_en); iscsi_set_param()
3248 sscanf(buf, "%d", &session->dataseq_inorder_en); iscsi_set_param()
3251 sscanf(buf, "%d", &session->erl); iscsi_set_param()
3254 sscanf(buf, "%u", &conn->exp_statsn); iscsi_set_param()
3269 sscanf(buf, "%d", &session->tpgt); iscsi_set_param()
3272 sscanf(buf, "%d", &conn->persistent_port); iscsi_set_param()
3292 sscanf(buf, "%d", &val); iscsi_set_param()
H A Dscsi_debug.c4180 if (1 != sscanf(arr, "%d", &opts)) scsi_debug_write_info()
4240 if ((count > 0) && (1 == sscanf(buf, "%d", &delay))) { delay_store()
4275 if ((count > 0) && (1 == sscanf(buf, "%d", &ndelay)) && ndelay_store()
4308 if (1 == sscanf(buf, "%10s", work)) { opts_store()
4310 if (1 == sscanf(&work[2], "%x", &opts)) opts_store()
4313 if (1 == sscanf(work, "%d", &opts)) opts_store()
4345 if ((count > 0) && (1 == sscanf(buf, "%d", &n)) && (n >= 0)) { ptype_store()
4362 if ((count > 0) && (1 == sscanf(buf, "%d", &n)) && (n >= 0)) { dsense_store()
4379 if ((count > 0) && (1 == sscanf(buf, "%d", &n)) && (n >= 0)) { fake_rw_store()
4413 if ((count > 0) && (1 == sscanf(buf, "%d", &n)) && (n >= 0)) { no_lun_0_store()
4430 if ((count > 0) && (1 == sscanf(buf, "%d", &n)) && (n >= 0)) { num_tgts_store()
4460 if ((count > 0) && (1 == sscanf(buf, "%d", &nth))) { every_nth_store()
4479 if ((count > 0) && (1 == sscanf(buf, "%d", &n)) && (n >= 0)) { max_luns_store()
4516 if ((count > 0) && (1 == sscanf(buf, "%d", &n)) && (n > 0) && max_queue_store()
4556 if ((count > 0) && (1 == sscanf(buf, "%d", &n)) && (n >= 0)) { virtual_gb_store()
4591 if (sscanf(buf, "%d", &delta_hosts) != 1) add_host_store()
4615 if ((count > 0) && (1 == sscanf(buf, "%d", &n)) && (n >= 0)) { vpd_use_hostno_store()
4679 if ((count > 0) && (1 == sscanf(buf, "%d", &n)) && (n >= 0)) { removable_store()
4697 if ((count > 0) && (1 == sscanf(buf, "%d", &n)) && (n >= 0)) { host_lock_store()
4729 if ((count > 0) && (1 == sscanf(buf, "%d", &n)) && (n >= 0)) { strict_store()
H A Dscsi_sysfs.c106 res = sscanf(str, "%10s %10s %16s %c", s1, s2, s3, &junk); scsi_scan()
538 sscanf (buf, format_string, &sdev->field); \
631 sscanf (buf, "%d\n", &timeout); sdev_store_timeout()
/linux-4.1.27/drivers/leds/
H A Dleds-lp8501.c227 ret = sscanf(data + offset, "%2s%n ", c, &nrchars); lp8501_update_program_memory()
231 ret = sscanf(c, "%2x", &cmd); lp8501_update_program_memory()
H A Dleds-lp5521.c243 ret = sscanf(data + offset, "%2s%n ", c, &nrchars); lp5521_update_program_memory()
247 ret = sscanf(c, "%2x", &cmd); lp5521_update_program_memory()
H A Dleds-lp5562.c234 ret = sscanf(data + offset, "%2s%n ", c, &nrchars); lp5562_update_firmware()
238 ret = sscanf(c, "%2x", &cmd); lp5562_update_firmware()
H A Dleds-lp5523.c344 ret = sscanf(data + offset, "%2s%n ", c, &nrchars); lp5523_update_program_memory()
348 ret = sscanf(c, "%2x", &cmd); lp5523_update_program_memory()
/linux-4.1.27/drivers/mtd/maps/
H A Dpmcmsp-flash.c113 if (sscanf(env, "%x:%x", &addr, &size) < 2) { init_msp_flash()
157 if (sscanf(env, "%x:%x:%n", &offset, &size, init_msp_flash()
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_debugfs.c105 cnt = sscanf(&ixgbe_dbg_reg_ops_buf[5], "%x %x", &reg, &value); ixgbe_dbg_reg_ops_write()
116 cnt = sscanf(&ixgbe_dbg_reg_ops_buf[4], "%x", &reg); ixgbe_dbg_reg_ops_write()
/linux-4.1.27/drivers/usb/usbip/
H A Dvhci_sysfs.c117 if (sscanf(buf, "%u", &rhport) != 1) store_detach()
187 if (sscanf(buf, "%u %u %u %u", &rhport, &sockfd, &devid, &speed) != 4) store_attach()
H A Dstub_dev.c69 rv = sscanf(buf, "%d", &sockfd); store_sockfd()
/linux-4.1.27/drivers/usb/core/
H A Dsysfs.c89 if (sscanf(buf, "%d", &config) != 1 || config < -1 || config > 255) bConfigurationValue_store()
229 if (sscanf(buf, "%d", &val) != 1 || val < 0 || val > 1) avoid_reset_quirk_store()
303 if (sscanf(buf, "%d", &value) != 1) persist_store()
381 if (sscanf(buf, "%d", &value) != 1 || value >= INT_MAX/1000 || autosuspend_store()
646 result = sscanf(buf, "%u\n", &val); authorized_store()
/linux-4.1.27/drivers/net/wireless/iwlegacy/
H A Ddebug.c284 if (sscanf(buf, "%x", &clear_flag) != 1) il_dbgfs_clear_traffic_stats_write()
408 if (sscanf(buf, "%x,%x", &offset, &len) == 2) { il_dbgfs_sram_write()
763 if (sscanf(buf, "%x", &reset_flag) != 1) il_dbgfs_interrupt_write()
809 if (sscanf(buf, "%d", &ht40) != 1) il_dbgfs_disable_ht40_write()
1157 if (sscanf(buf, "%d", &clear) != 1) il_dbgfs_clear_ucode_stats_write()
1247 if (sscanf(buf, "%d", &missed) != 1) il_dbgfs_missed_beacon_write()
1317 if (sscanf(buf, "%d", &timeout) != 1) il_dbgfs_wd_timeout_write()
/linux-4.1.27/drivers/input/tablet/
H A Dwacom_serial4.c199 r = sscanf(p + 1, "%u.%u", &major_v, &minor_v); wacom_handle_model_response()
271 r = sscanf(wacom->data, "~R%x,%u,%u,%u,%u", &skip, &skip, &skip, wacom_handle_configuration_response()
282 r = sscanf(wacom->data, "~C%u,%u", &wacom->max_x, &wacom->max_y); wacom_handle_coordinates_response()
/linux-4.1.27/drivers/powercap/
H A Dpowercap_sys.c82 if (!sscanf(dev_attr->attr.name, "constraint_%d_", &id)) \
107 if (!sscanf(dev_attr->attr.name, "constraint_%d_", &id)) \
176 if (!sscanf(dev_attr->attr.name, "constraint_%d_", &id)) show_constraint_name()
/linux-4.1.27/init/
H A Ddo_mounts.c134 if (sscanf(slash + 1, devt_from_partuuid()
231 if ((sscanf(name, "%u:%u%c", &maj, &min, &dummy) == 2) || name_to_dev_t()
232 (sscanf(name, "%u:%u:%u:%c", &maj, &min, &offset, &dummy) == 3)) { name_to_dev_t()
/linux-4.1.27/tools/power/cpupower/lib/
H A Dsysfs.c364 if (sscanf(one_value, "%lu", &current->frequency) != 1) sysfs_get_available_frequencies()
420 if (sscanf(one_value, "%u", &current->cpu) != 1) sysfs_get_cpu_list()
486 if (sscanf(one_value, "%lu %llu", sysfs_get_freq_stats()
/linux-4.1.27/drivers/staging/lustre/lustre/fid/
H A Dlproc_fid.c85 rc = sscanf(kernbuf, "[%llx - %llx]\n", lprocfs_fid_write_common()
/linux-4.1.27/drivers/pcmcia/
H A Dsocket_sysfs.c165 ret = sscanf(buf, "0x%x\n", &mask); pccard_store_irq_mask()
H A Drsrc_nonstatic.c1103 ret = sscanf(buf, "+ 0x%lx - 0x%lx", &start_addr, &end_addr); store_io_db()
1105 ret = sscanf(buf, "- 0x%lx - 0x%lx", &start_addr, &end_addr); store_io_db()
1108 ret = sscanf(buf, "0x%lx - 0x%lx", &start_addr, store_io_db()
1169 ret = sscanf(buf, "+ 0x%lx - 0x%lx", &start_addr, &end_addr); store_mem_db()
1171 ret = sscanf(buf, "- 0x%lx - 0x%lx", &start_addr, &end_addr); store_mem_db()
1174 ret = sscanf(buf, "0x%lx - 0x%lx", &start_addr, store_mem_db()
/linux-4.1.27/arch/x86/platform/olpc/
H A Dolpc-xo15-sci.c67 if (sscanf(buf, "%u", &val) != 1) lid_wake_on_close_store()
/linux-4.1.27/arch/x86/tools/
H A Dtest_get_len.c145 if (sscanf(s, "%x", &b) == 1) { main()
/linux-4.1.27/drivers/block/aoe/
H A Daoechr.c94 n = sscanf(buf, "e%d.%d", &major, &minor); revalidate()
/linux-4.1.27/drivers/usb/host/
H A Dehci-sysfs.c59 if (sscanf(buf, "%d", &portnum) != 1) store_companion()
/linux-4.1.27/drivers/uwb/
H A Ddriver.c91 result = sscanf(buf, "%lu", &bt); beacon_timeout_ms_store()
H A Dscan.c127 result = sscanf(buf, "%u %u %u\n", &channel, &type, &bpst_offset); uwb_rc_scan_store()
H A Daddress.c339 result = sscanf(buf, "%hhx:%hhx:%hhx:%hhx:%hhx:%hhx\n", uwb_rc_mac_addr_store()
H A Dlc-rc.c181 if (sscanf(cur_ptr, " %02hhX %n", ASIE_store()
/linux-4.1.27/lib/
H A Dfault-inject.c25 if (sscanf(str, "%lu,%lu,%d,%d", setup_fault_attr()
/linux-4.1.27/tools/net/
H A Dbpf_jit_disasm.c139 ret = sscanf(ptr, "flen=%d proglen=%d pass=%d image=%lx", get_last_jit_image()
H A Dbpf_dbg.c1013 if (sscanf(bpf_string, "%hu%c", &bpf_len, &sp) != 2 || cmd_load_bpf()
1026 if (sscanf(token, "%hu %hhu %hhu %u,", cmd_load_bpf()
/linux-4.1.27/drivers/char/tpm/
H A Dtpm_ppi.c121 if (sscanf(buf, "%d", &req) != 1) tpm_store_ppi_request()
128 if (sscanf(buf, "%llu", &tmp.integer.value) != 1) tpm_store_ppi_request()
/linux-4.1.27/drivers/usb/chipidea/
H A Ddebug.c95 /* sscanf requires a zero terminated string */ ci_port_test_write()
98 if (sscanf(buf, "%u", &mode) != 1) ci_port_test_write()
/linux-4.1.27/drivers/power/
H A Dtest_power.c426 if (1 != sscanf(key, "%d", &tmp)) param_set_battery_capacity()
441 if (1 != sscanf(key, "%d", &tmp)) param_set_battery_voltage()
/linux-4.1.27/security/smack/
H A Dsmackfs.c926 ret = sscanf(rule, "%d", &maplevel); smk_set_cipso()
931 ret = sscanf(rule, "%d", &catlen); smk_set_cipso()
943 ret = sscanf(rule, "%u", &cat); smk_set_cipso()
1219 rc = sscanf(data, "%hhd.%hhd.%hhd.%hhd/%u %s", smk_write_netlbladdr()
1222 rc = sscanf(data, "%hhd.%hhd.%hhd.%hhd %s", smk_write_netlbladdr()
1383 if (sscanf(temp, "%d", &i) != 1) smk_write_doi()
1450 if (sscanf(temp, "%d", &i) != 1) smk_write_direct()
1528 if (sscanf(temp, "%d", &i) != 1) smk_write_mapped()
1860 if (sscanf(temp, "%d", &i) != 1) smk_write_logging()
2408 if (sscanf(temp, "%d", &i) != 1) smk_write_ptrace()
/linux-4.1.27/drivers/thermal/
H A Dthermal_core.c604 if (!sscanf(attr->attr.name, "trip_point_%d_type", &trip)) trip_point_type_show()
636 if (!sscanf(attr->attr.name, "trip_point_%d_temp", &trip)) trip_point_temp_store()
658 if (!sscanf(attr->attr.name, "trip_point_%d_temp", &trip)) trip_point_temp_show()
680 if (!sscanf(attr->attr.name, "trip_point_%d_hyst", &trip)) trip_point_hyst_store()
707 if (!sscanf(attr->attr.name, "trip_point_%d_hyst", &trip)) trip_point_hyst_show()
723 if (!sscanf(buf, "%d\n", &state)) passive_store()
893 if (!sscanf(buf, "%ld\n", &state)) thermal_cooling_device_cur_state_store()
/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/
H A Ddebugfs.c199 if (sscanf(buf, "%x,%x", &offset, &len) == 2) { iwl_dbgfs_sram_write()
202 } else if (sscanf(buf, "%x", &offset) == 1) { iwl_dbgfs_sram_write()
468 if (sscanf(buf, "%x", &reset_flag) != 1) iwl_dbgfs_rx_handlers_write()
549 if (sscanf(buf, "%d", &ht40) != 1) iwl_dbgfs_disable_ht40_write()
602 if (sscanf(buf, "%d", &value) != 1) iwl_dbgfs_sleep_level_override_write()
1866 if (sscanf(buf, "%d", &clear) != 1) iwl_dbgfs_clear_ucode_statistics_write()
1911 if (sscanf(buf, "%d", &trace) != 1) iwl_dbgfs_ucode_tracing_write()
1982 if (sscanf(buf, "%d", &missed) != 1) iwl_dbgfs_missed_beacon_write()
2023 if (sscanf(buf, "%d", &plcp) != 1) iwl_dbgfs_plcp_delta_write()
2083 if (sscanf(buf, "%d", &flush) != 1) iwl_dbgfs_txfifo_flush_write()
2176 if (sscanf(buf, "%d", &rts) != 1) iwl_dbgfs_protection_mode_write()
2251 if (sscanf(buf, "%d", &event_log_flag) != 1) iwl_dbgfs_log_event_write()
2301 if (sscanf(buf, "%x", &calib_disabled) != 1) iwl_dbgfs_calib_disabled_write()
/linux-4.1.27/security/tomoyo/
H A Dcommon.c572 sscanf(cp + strlen(find), "=%u", i); tomoyo_set_uint()
666 if (sscanf(data, "PROFILE_VERSION=%u", &head->w.ns->profile_version) tomoyo_write_profile()
979 if (sscanf(data, "pid=%u", &pid) == 1 || tomoyo_select_domain()
980 (global_pid = true, sscanf(data, "global-pid=%u", &pid) == 1)) { tomoyo_select_domain()
993 } else if (sscanf(data, "Q=%u", &pid) == 1) { tomoyo_select_domain()
1169 if (sscanf(data, "use_profile %u", &profile) == 1 tomoyo_write_domain()
1175 if (sscanf(data, "use_group %u\n", &profile) == 1 tomoyo_write_domain()
2209 if (sscanf(data, "A%u=%u", &serial, &answer) != 2) tomoyo_write_answer()
2333 sscanf(data, "%u", &tomoyo_memory_quota[i]); tomoyo_write_stat()
/linux-4.1.27/drivers/net/bonding/
H A Dbond_options.c486 rv = sscanf(val->string, "%32s", valstr); bond_opt_parse()
488 rv = sscanf(val->string, "%llu", &val->value); bond_opt_parse()
712 sscanf(newval->string, "%15s", ifname); /* IFNAMSIZ */ bond_option_active_slave_set()
1255 if (sscanf(++delim, "%hd\n", &qid) != 1) bond_option_queue_id_set()
1305 sscanf(newval->string, "%16s", command); /* IFNAMSIZ*/ bond_option_slaves_set()
/linux-4.1.27/drivers/hid/
H A Dhid-cp2112.c785 if (sscanf(buf, "%hi", &vid) != 1)
795 if (sscanf(buf, "%hi", &pid) != 1)
805 if (sscanf(buf, "%i", &mA) != 1)
813 if (sscanf(buf, "%hhi", &cfg.power_mode) != 1)
820 if (sscanf(buf, "%hhi.%hhi", &cfg.release_major, &cfg.release_minor)
H A Dhid-prodikeys.c124 if (sscanf(buf, "%u", &channel) > 0 && channel <= PCMIDI_CHANNEL_MAX) { store_channel()
161 if (sscanf(buf, "%u", &sustain) > 0 && sustain <= PCMIDI_SUSTAIN_MAX) { store_sustain()
200 if (sscanf(buf, "%d", &octave) > 0 && store_octave()
H A Dhid-sensor-custom.c295 if (sscanf(attr->attr.name, "feature-%d-%x-%s", &index, &usage, show_value()
299 } else if (sscanf(attr->attr.name, "input-%d-%x-%s", &index, &usage, show_value()
401 if (sscanf(attr->attr.name, "feature-%d-%x-%s", &index, &usage, store_value()
H A Dhid-picolcd_fb.c490 i = sscanf(buf, "%u", &u); picolcd_fb_update_rate_store()
/linux-4.1.27/drivers/net/wireless/mwifiex/
H A Ddebugfs.c465 sscanf(buf, "%u %x %x", &reg_type, &reg_offset, &reg_value); mwifiex_regrdwr_write()
566 sscanf(buf, "%d %d", &offset, &bytes); mwifiex_rdeeprom_write()
652 arg_num = sscanf(buf, "%d %x %x", &conditions, &gpio, &gap); mwifiex_hscfg_write()
/linux-4.1.27/drivers/scsi/device_handler/
H A Dscsi_dh_emc.c582 if ((sscanf(params, "%u", &argc) != 1) || (argc != 2)) clariion_set_params()
587 if ((sscanf(p, "%u", &st) != 1) || (st > 1)) clariion_set_params()
592 if ((sscanf(p, "%u", &hr) != 1) || (hr > 1)) clariion_set_params()
H A Dscsi_dh_alua.c716 if ((sscanf(params, "%u", &argc) != 1) || (argc != 1)) alua_set_params()
721 if ((sscanf(p, "%u", &optimize) != 1) || (optimize > 1)) alua_set_params()
/linux-4.1.27/drivers/net/wireless/ath/carl9170/
H A Ddebug.c554 res = sscanf(buf, "0x%X %d", &reg, &n); carl9170_debugfs_hw_ioread32_write()
705 res = sscanf(buf, "%d", &val); carl9170_debugfs_erp_write()
731 res = sscanf(buf, "0x%X 0x%X", &reg, &val); carl9170_debugfs_hw_iowrite32_write()
/linux-4.1.27/drivers/infiniband/hw/mlx4/
H A Dsysfs.c88 sscanf(buf, "%llx", &sysadmin_ag_val); store_admin_alias_guid()
473 else if (sscanf(buf, "%i", &idx) != 1 || store_port_pkey()
582 if (sscanf(buf, "%i", &enable) != 1 || sysfs_store_enable_smi_admin()
/linux-4.1.27/arch/powerpc/kernel/
H A Dsysfs.c49 ret = sscanf(buf, "%ld", &snooze); store_smt_snooze_delay()
434 int ret = sscanf(buf, "%lx", &val); \
536 ret = sscanf(buf, "%lx", &val); store_dscr_default()
/linux-4.1.27/arch/ia64/kernel/
H A Dsalinfo.c534 if (sscanf(cmd, "read %d", &cpu) == 1) { salinfo_log_write()
536 } else if (sscanf(cmd, "clear %d", &cpu) == 1) { salinfo_log_write()
540 } else if (sscanf(cmd, "oemdata %d %d", &cpu, &offset) == 2) { salinfo_log_write()
H A Derr_inject.c188 ret=sscanf(buf, "%lx, %lx, %lx", store_err_data_buffer()
/linux-4.1.27/sound/pci/hda/
H A Dhda_sysfs.c237 if (sscanf(buf, "%i %i %i", &nid, &verb, &param) != 3) parse_init_verbs()
384 if (sscanf(buf, "%i %i", &nid, &cfg) != 2) parse_user_pin_configs()
546 if (sscanf(buf, "%i %i %i", &vendorid, &subid, &caddr) == 3) { list_for_each_codec()
/linux-4.1.27/drivers/misc/cxl/
H A Dsysfs.c68 rc = sscanf(buf, "%i", &val); reset_adapter_store()
223 ret = sscanf(buf, "%i", &irqs_max); irqs_max_store()
/linux-4.1.27/drivers/scsi/bfa/
H A Dbfad_debugfs.c267 rc = sscanf(kern_buf, "%x:%x", &addr, &len); bfad_debugfs_write_regrd()
334 rc = sscanf(kern_buf, "%x:%x", &addr, &val); bfad_debugfs_write_regwr()
/linux-4.1.27/drivers/rtc/
H A Drtc-isl1208.c603 if (sscanf(buf, "%x", &usr) != 1) isl1208_sysfs_store_usr()
606 if (sscanf(buf, "%d", &usr) != 1) isl1208_sysfs_store_usr()
H A Drtc-ab8500.c378 if (sscanf(buf, " %i ", &calibration) != 1) { ab8500_sysfs_store_rtc_calibration()
H A Drtc-rx8025.c515 if (sscanf(buf, "%i", &adj) != 1) rx8025_sysfs_store_clock_adjust()
/linux-4.1.27/drivers/net/ethernet/brocade/bna/
H A Dbnad_debugfs.c334 rc = sscanf(kern_buf, "%x:%x", &addr, &len); bnad_debugfs_write_regrd()
401 rc = sscanf(kern_buf, "%x:%x", &addr, &val); bnad_debugfs_write_regwr()
/linux-4.1.27/kernel/power/
H A Dmain.c424 if (sscanf(buf, "%u", &val) == 1) { wakeup_count_store()
531 if (sscanf(buf, "%d", &val) == 1) { pm_trace_store()
H A Dhibernate.c1037 if (sscanf(buf, "%lu", &size) == 1) { image_size_store()
1059 if (sscanf(buf, "%lu", &size) == 1) { reserved_size_store()
1107 if (sscanf(str, "%llu", &offset) == 1) resume_offset_setup()
/linux-4.1.27/sound/pci/emu10k1/
H A Demuproc.c437 if (sscanf(line, "%x %x", &reg, &val) != 2) snd_emu_proc_io_reg_write()
513 if (sscanf(line, "%x %x %x", &reg, &channel_id, &val) != 3) snd_emu_proc_ptr_reg_write()
/linux-4.1.27/drivers/hwmon/
H A Dhwmon.c162 if (likely(sscanf(dev_name(dev), HWMON_ID_FORMAT, &id) == 1)) { hwmon_device_unregister()
/linux-4.1.27/drivers/misc/eeprom/
H A Deeprom_93xx46.c295 sscanf(buf, "%d", &erase); eeprom_93xx46_store_erase()
/linux-4.1.27/drivers/staging/lustre/lnet/lnet/
H A Dconfig.c535 if (sscanf(parsed, "%d-%d/%d%n", &lo, &hi, lnet_str2tbs_expand()
538 if (sscanf(parsed, "%d-%d%n", &lo, &hi, &scanned) < 2) { lnet_str2tbs_expand()
590 return (sscanf(str, "%u%n", hops, &nob) >= 1 && lnet_parse_hops()
611 if ((sscanf((sep+1), "%u%n", priority, &nob) < 1) || (len != nob)) { lnet_parse_priority()
/linux-4.1.27/drivers/staging/rtl8188eu/core/
H A Drtw_debug.c59 int num = sscanf(tmp, "%x %x %x", &addr, &val, &len); proc_set_write_reg()
131 int num = sscanf(tmp, "%x %x", &addr, &len); proc_set_read_reg()
590 int num = sscanf(tmp, "%u %u", &is_signal_dbg, &signal_strength); proc_set_rx_signal()
814 int num = sscanf(tmp, "%x", &enable); proc_set_rssi_disp()
/linux-4.1.27/drivers/of/
H A Dof_mdio.c35 if (sscanf(cp, "ethernet-phy-id%4x.%4x", &upper, &lower) == 2) { of_get_phy_id()
/linux-4.1.27/drivers/net/wireless/ipw2x00/
H A Dlibipw_module.c257 if (sscanf(buf, "%li", &val) != 1) debug_level_proc_write()
/linux-4.1.27/drivers/infiniband/ulp/iser/
H A Discsi_iser.c694 sscanf(buf, "%d", &value); iscsi_iser_set_param()
701 sscanf(buf, "%d", &value); iscsi_iser_set_param()
708 sscanf(buf, "%d", &value); iscsi_iser_set_param()
715 sscanf(buf, "%d", &value); iscsi_iser_set_param()
/linux-4.1.27/drivers/input/keyboard/
H A Domap-keypad.c206 if (sscanf(buf, "%u", &state) != 1) omap_kp_enable_store()
/linux-4.1.27/arch/sparc/kernel/
H A Dsysfs.c154 int ret = sscanf(buf, "%lu", &val); store_mmustat_enable()
/linux-4.1.27/drivers/usb/misc/
H A Dcypress_cy7c63.c133 if (sscanf(buf, "%d", &value) < 1) { write_port()
/linux-4.1.27/drivers/video/fbdev/omap2/dss/
H A Ddisplay-sysfs.c132 if (!found && sscanf(buf, "%u,%hu/%hu/%hu/%hu,%hu/%hu/%hu/%hu", display_timings_store()
H A Dmanager-sysfs.c402 if (sscanf(buf, "%hd %hd %hd %hd %hd %hd %hd %hd %hd", manager_cpr_coef_store()
/linux-4.1.27/drivers/platform/chrome/
H A Dcros_ec_lightbar.c213 ret = sscanf(buf, "%i", &val[i++]); led_rgb_store()
/linux-4.1.27/drivers/platform/olpc/
H A Dolpc-ec.c178 m = sscanf(cmdbuf, "%x:%u %x %x %x %x %x", &ec_cmd_int[0], ec_dbgfs_cmd_write()
/linux-4.1.27/Documentation/spi/
H A Dspidev_test.c92 sscanf(src + 2, "%2x", &ch); unescape()
/linux-4.1.27/net/core/
H A Dnetprio_cgroup.c196 if (sscanf(buf, "%"__stringify(IFNAMSIZ)"s %u", devname, &prio) != 2) write_priomap()
/linux-4.1.27/kernel/locking/
H A Drtmutex-tester.c300 if (sscanf(cmdbuf, "%d:%d", &op, &dat) != 2) sysfs_test_command()
/linux-4.1.27/scripts/dtc/
H A Dfdtput.c114 sscanf(*arg, fmt, &ival); encode_value()
/linux-4.1.27/sound/pci/lola/
H A Dlola_proc.c154 if (sscanf(line, "%u %u %u %u", &id, &verb, &data, &extdata) != 4) lola_proc_codec_rw_write()
/linux-4.1.27/tools/power/cpupower/utils/
H A Dcpufreq-set.c260 if ((sscanf(optarg, "%19s", gov)) != 1) { cmd_freq_set()
H A Dcpufreq-info.c43 if (sscanf(value, "cpu%d ", &cpunr) != 1) count_cpus()
/linux-4.1.27/drivers/input/touchscreen/
H A Datmel_mxt_ts.c1251 ret = sscanf(cfg->data + data_pos, "%x %x %x%n", mxt_prepare_cfg_mem()
1266 ret = sscanf(cfg->data + data_pos, "%hhx%n", mxt_prepare_cfg_mem()
1308 ret = sscanf(cfg->data + data_pos, "%hhx%n", mxt_prepare_cfg_mem()
1407 ret = sscanf(cfg->data + data_pos, "%hhx%n", mxt_update_cfg()
1429 ret = sscanf(cfg->data + data_pos, "%x%n", &info_crc, &offset); mxt_update_cfg()
1436 ret = sscanf(cfg->data + data_pos, "%x%n", &config_crc, &offset); mxt_update_cfg()
/linux-4.1.27/drivers/misc/c2port/
H A Dcore.c361 ret = sscanf(buf, "%d", &status); access_store()
530 ret = sscanf(buf, "%d", &status); c2port_store_flash_access()
/linux-4.1.27/drivers/scsi/pm8001/
H A Dpm8001_ctl.c266 if (sscanf(buf, "%x", &val) != 1) pm8001_ctl_logging_level_store()
663 res = sscanf(buf, "%s %s", cmd_ptr, filename_ptr); pm8001_store_update_fw()
/linux-4.1.27/drivers/staging/gdm724x/
H A Dgdm_lte.c473 ret = sscanf(dev->name, "lte%d", &idx); gdm_lte_tx()
521 ret = sscanf(dev->name, "lte%d", &idx); gdm_lte_event_send()
/linux-4.1.27/drivers/s390/cio/
H A Dchp.c256 num_args = sscanf(buf, "%5s", cmd); chp_status_write()
300 if (sscanf(buf, "%d %c", &val, &delim) != 1) chp_configure_write()
H A Dccwgroup.c291 if (sscanf(start, "%2x.%1x.%04x", &cssid, &ssid, &devno) != 3) __get_next_id()
/linux-4.1.27/drivers/gpu/drm/radeon/
H A Dradeon_vce.c97 if (sscanf(c, "%2hhd.%2hhd.%2hhd]", &start, &mid, &end) != 3) radeon_vce_init()
112 if (sscanf(c, "%2u]", &rdev->vce.fb_version) != 1) radeon_vce_init()
/linux-4.1.27/fs/pstore/
H A Dram.c158 if (sscanf(buffer, RAMOOPS_KERNMSG_HDR "%lu.%lu-%c\n%n", &time->tv_sec, ramoops_read_kmsg_hdr()
164 } else if (sscanf(buffer, RAMOOPS_KERNMSG_HDR "%lu.%lu\n%n", ramoops_read_kmsg_hdr()
/linux-4.1.27/drivers/virtio/
H A Dvirtio_mmio.c629 processed = sscanf(str, "@%lli:%u%n:%d%n", vm_cmdline_set()
634 * sscanf() must processes at least 2 chunks; also there vm_cmdline_set()
/linux-4.1.27/include/linux/wimax/
H A Ddebug.h506 /* kernel's sscanf %s eats until whitespace, so we d_parse_params()
512 tokens = sscanf(token, "%s\n%u", submodule, &level); d_parse_params()
/linux-4.1.27/arch/ia64/sn/kernel/sn2/
H A Dsn_hwperf.c95 if (sscanf(location, "%03d%c%02d#%d", sn_hwperf_location_to_bpos()
99 if (sscanf(location, "%03d%c%02d^%02d#%d", sn_hwperf_location_to_bpos()
/linux-4.1.27/drivers/iio/gyro/
H A Dadis16136.c438 sscanf(indio_dev->name, "adis%u\n", &device_id); adis16136_initial_setup()
/linux-4.1.27/drivers/net/wireless/b43legacy/
H A Ddebugfs.c97 if (sscanf(buf, "%llu", (unsigned long long *)(&tsf)) != 1) tsf_write_file()
/linux-4.1.27/drivers/hid/usbhid/
H A Dhid-quirks.c284 m = sscanf(quirks_param[n], "0x%hx:0x%hx:0x%x", usbhid_quirks_init()
/linux-4.1.27/arch/powerpc/platforms/cell/
H A Dcbe_thermal.c132 ret = sscanf(buf, "%u", &temp); store_throttle()
/linux-4.1.27/arch/powerpc/platforms/powernv/
H A Dsubcore.c375 rc = sscanf(buf, "%lx", &val); store_subcores_per_core()
/linux-4.1.27/arch/s390/appldata/
H A Dappldata_base.c269 sscanf(buf, "%i", &interval); appldata_interval_handler()
/linux-4.1.27/arch/s390/kernel/
H A Dtopology.c359 if (sscanf(buf, "%d %c", &val, &delim) != 1) dispatching_store()
/linux-4.1.27/arch/sh/kernel/cpu/sh4/
H A Dsq.c308 sscanf(buf, "%lx %lx", &base, &len); mapping_store()
/linux-4.1.27/Documentation/ptp/
H A Dtestptp.c222 cnt = sscanf(optarg, "%d,%d", &pin_index, &pin_func); main()
/linux-4.1.27/fs/afs/
H A Dcell.c99 if (sscanf(_vllist, "%u.%u.%u.%u", &a, &b, &c, &d) != 4) afs_cell_alloc()
/linux-4.1.27/fs/configfs/
H A Dfile.c152 * so e.g. sscanf() can scan the string easily */ fill_write_buffer()
/linux-4.1.27/drivers/scsi/qla2xxx/
H A Dqla_attr.c395 if (sscanf(buf, "%d:%x:%x", &val, &start, &size) < 1) qla2x00_sysfs_write_optrom_ctl()
1167 if (sscanf(buf, "%d", &val) != 1) qla2x00_zio_store()
1200 if (sscanf(buf, "%d", &val) != 1) qla2x00_zio_timer_store()
1243 if (sscanf(buf, "%d", &val) != 1) qla2x00_beacon_store()
1532 if (sscanf(buf, "%d", &val) != 1) qla2x00_allow_cna_fw_dump_store()
/linux-4.1.27/drivers/infiniband/hw/cxgb3/
H A Diwch_provider.c1138 sscanf(cp, "%i", &fw_maj); fw_vers_string_to_u64()
1140 sscanf(cp, "%i", &fw_min); fw_vers_string_to_u64()
1142 sscanf(cp, "%i", &fw_mic); fw_vers_string_to_u64()
/linux-4.1.27/drivers/scsi/lpfc/
H A Dlpfc_attr.c1480 if (sscanf(buf, "%i", &val) != 1) lpfc_poll_store()
1782 if (sscanf(buf, "%i", &val) != 1)\
1939 if (sscanf(buf, "%i", &val) != 1)\
2526 if (sscanf(buf, "%i", &val) != 1) lpfc_oas_lun_state_store()
2749 if (sscanf(buf, "0x%llx", &scsi_lun) != 1) lpfc_oas_lun_store()
3280 if (sscanf(val_buf, "%i", &val) != 1) lpfc_topology_store()
3722 if (sscanf(val_buf, "%i", &val) != 1) lpfc_link_speed_store()
3861 if (sscanf(buf, "%i", &val) != 1) lpfc_aer_support_store()
3977 if (sscanf(buf, "%i", &val) != 1) lpfc_aer_cleanup_state()
4046 if (sscanf(buf, "%i", &val) != 1) lpfc_sriov_nr_virtfn_store()
4152 if (sscanf(buf, "%i", &val) != 1) lpfc_request_firmware_upgrade_store()
4228 if (sscanf(buf, "%i", &val) != 1) lpfc_fcp_imax_store()
/linux-4.1.27/drivers/net/wireless/ti/wlcore/
H A Dboot.c64 ret = sscanf(wl->chip.fw_ver_str + 4, "%u.%u.%u.%u.%u", wlcore_boot_parse_fw_ver()
/linux-4.1.27/drivers/gpu/drm/
H A Ddrm_pci.c170 ret = sscanf(master->unique, "PCI:%d:%d:%d", &bus, &slot, &func); drm_pci_set_unique()
/linux-4.1.27/block/
H A Dpartition-generic.c163 if (count > 0 && sscanf(buf, "%d", &i) > 0) part_fail_store()
/linux-4.1.27/drivers/block/
H A Dosdblk.c540 if (sscanf(buf, "%llu %llu %s", &osdev->obj.partition, &osdev->obj.id, class_osdblk_add()
/linux-4.1.27/drivers/gpu/drm/ttm/
H A Dttm_memory.c122 chars = sscanf(buffer, "%lu", &val); ttm_mem_zone_store()
/linux-4.1.27/drivers/video/fbdev/core/
H A Dfbsysfs.c450 if (sscanf(&buf[i * 24], store_bl_curve()
/linux-4.1.27/drivers/video/fbdev/omap2/displays-new/
H A Dpanel-tpo-td043mtea1.c257 ret = sscanf(buf, "%u %u %u %u %u %u %u %u %u %u %u %u", tpo_td043_gamma_store()
/linux-4.1.27/arch/arm/mach-omap1/
H A Dpm.c86 if (sscanf(buf, "%hu", &value) != 1 || idle_store()
/linux-4.1.27/net/ceph/
H A Dceph_common.c206 if (sscanf(tmp, "%x", &d) < 1) parse_fsid()
/linux-4.1.27/sound/pci/ac97/
H A Dac97_proc.c385 if (sscanf(line, "%x %x", &reg, &val) != 2) snd_ac97_proc_regs_write()
/linux-4.1.27/drivers/infiniband/hw/mlx5/
H A Dmr.c231 if (sscanf(lbuf, "%u", &var) != 1) size_write()
297 if (sscanf(lbuf, "%u", &var) != 1) limit_write()
/linux-4.1.27/arch/mips/bcm47xx/
H A Dsprom.c141 sscanf(buf, "%hhx:%hhx:%hhx:%hhx:%hhx:%hhx", &macaddr[0], bcm47xx_nvram_parse_macaddr()
145 sscanf(buf, "%hhx-%hhx-%hhx-%hhx-%hhx-%hhx", &macaddr[0], bcm47xx_nvram_parse_macaddr()
/linux-4.1.27/drivers/usb/atm/
H A Dcxacru.c361 ret = sscanf(buf, "%7s", str_cmd); cxacru_sysfs_store_adsl_state()
472 ret = sscanf(buf + pos, "%x=%x%n", &index, &value, &tmp); cxacru_sysfs_store_adsl_config()
/linux-4.1.27/tools/power/acpi/os_specific/service_layers/
H A Doslinuxtbl.c445 if (sscanf(buffer, format, &address) == 1) { osl_find_rsdp_via_efi_by_keyword()
1159 sscanf(&filename[ACPI_NAME_SIZE], "%u", instance); osl_table_name_from_file()
/linux-4.1.27/fs/9p/
H A Dvfs_inode.c150 sscanf(ext, "%c %i %i", &type, &major, &minor); p9mode2unixmode()
1190 sscanf(ext, "%13s %u", tag_name, &i_nlink); v9fs_stat2inode()

Completed in 4639 milliseconds

12