Searched refs:sscanf (Results 26 - 50 of 472) sorted by relevance

1234567891011>>

/linux-master/tools/testing/selftests/mm/
H A Dmlock-random-test.c61 ret = sscanf(line, "VmLck:\t%8lu kB", &lock_size);
64 ksft_exit_fail_msg("sscanf() on VmLck error: %s: %d\n",
104 if (sscanf(line, "MMUPageSize: %8lu kB", &mmupage_size) < 1)
H A Dvm_util.c204 if (sscanf(buffer, addr_pattern, &thp) != 1)
265 if (sscanf(line, "Hugepagesize: %lu kB", &hps) == 1) {
292 if (sscanf(entry->d_name, "hugepages-%zukB", &kb) != 1)
357 if (sscanf(line, "HugePages_Free: %lu", &fhp) == 1)
/linux-master/Documentation/sound/cards/
H A Dmultisound.sh859 X sscanf(argv[0], "0x%x", &io) != 1 ||
860 X sscanf(argv[1], "%d", &irq) != 1 ||
861 X sscanf(argv[2], "0x%x", &mem) != 1)
907 X sscanf(argv[0], "0x%x", &io) != 1 ||
908 X sscanf(argv[1], "%d", &irq) != 1)
919 X sscanf(argv[0], "0x%x", &io0) != 1 ||
920 X sscanf(argv[0], "0x%x", &io1) != 1 ||
921 X sscanf(argv[1], "%d", &irq) != 1)
932 X sscanf(argv[0], "0x%x", &io) != 1)
948 X sscanf(arg
[all...]
/linux-master/drivers/isdn/mISDN/
H A Ddsp_hwec.c71 if (sscanf(val, "%d", &tmp) == 1)
/linux-master/tools/testing/selftests/timens/
H A Dexec.c28 if (sscanf(argv[1], "%ld", &now.tv_sec) != 1)
29 return pr_perror("sscanf");
H A Dprocfs.c106 if (sscanf(line_buf, "btime %llu", boottime_sec) != 1)
/linux-master/drivers/xen/
H A Dcpu_hotplug.c80 sscanf(cpustr, "cpu/%u", &cpu);
/linux-master/tools/perf/util/
H A Dclockid.c90 if (sscanf(str, "%d", &opts->clockid) == 1)
/linux-master/drivers/staging/greybus/
H A Daudio_manager_sysfs.c20 int num = sscanf(buf,
/linux-master/tools/testing/selftests/prctl/
H A Dset-anon-vma-name-test.c57 sscanf_res = sscanf(line_buf, "%lx-%lx %7s %lx %u:%u %u %s", &start_addr,
/linux-master/drivers/thermal/intel/int340x_thermal/
H A Dprocessor_thermal_wt_req.c49 ret = sscanf(buf, "%14s", str_preference);
/linux-master/tools/power/cpupower/utils/helpers/
H A Dbitmask.c86 * The parameter 'sret' is the return from a sscanf "%u%c". It is
87 * -1 if the sscanf input string was empty. It is 0 if the first
88 * character in the sscanf input string was not a decimal number.
204 char nextc; /* char after sscanf %u match */
205 int sret; /* sscanf return (number of matches) */
207 sret = sscanf(p, "%u%c", &a, &nextc);
215 sret = sscanf(c1, "%u%c", &b, &nextc);
220 sret = sscanf(c1, "%u%c", &s, &nextc);
/linux-master/net/atm/
H A Dmpoa_proc.c254 if (sscanf(buff, "del %hhu.%hhu.%hhu.%hhu",
260 if (sscanf(buff, "add %hhu.%hhu.%hhu.%hhu tx=%d,%d rx=tx",
264 } else if (sscanf(buff, "add %hhu.%hhu.%hhu.%hhu tx=%d,%d rx=%d,%d",
/linux-master/block/
H A Dearly-lookup.c61 if (sscanf(slash + 1, "PARTNROFF=%d%c", &offset, &c) != 1)
202 if (sscanf(name, "%u:%u%c", &maj, &min, &dummy) == 2 ||
203 sscanf(name, "%u:%u:%u:%c", &maj, &min, &offset, &dummy) == 3) {
/linux-master/drivers/firmware/efi/
H A Defi-pstore.c93 if (sscanf(name, "dump-type%u-%u-%d-%llu-%c",
105 } else if (sscanf(name, "dump-type%u-%u-%d-%llu",
114 } else if (sscanf(name, "dump-type%u-%u-%llu",
/linux-master/usr/
H A Dgen_init_cpio.c148 if (5 != sscanf(line, "%" str(PATH_MAX) "s %" str(PATH_MAX) "s %o %d %d", name, target, &mode, &uid, &gid)) {
219 if (4 != sscanf(line, "%" str(PATH_MAX) "s %o %d %d", name, &mode, &uid, &gid)) {
290 if (7 != sscanf(line, "%" str(PATH_MAX) "s %o %d %d %c %u %u",
469 if (5 > sscanf(line, "%" str(PATH_MAX) "s %" str(PATH_MAX)
490 if (sscanf(line + end, "%" str(PATH_MAX) "s %n",
/linux-master/drivers/cpufreq/
H A Dcpufreq_ondemand.c211 ret = sscanf(buf, "%u", &input);
228 ret = sscanf(buf, "%u", &input);
246 ret = sscanf(buf, "%u", &input);
274 ret = sscanf(buf, "%u", &input);
300 ret = sscanf(buf, "%u", &input);
/linux-master/drivers/xen/xen-pciback/
H A Dpci_stub.c1009 switch (sscanf(buf, " %x:%x:%x.%x %n", domain, bus, slot, func,
1013 sscanf(buf, " %x:%x:%x.* %n", domain, bus, slot, &parsed);
1017 sscanf(buf, " %x:%x:*.* %n", domain, bus, &parsed);
1025 switch (sscanf(buf, " %x:%x.%x %n", bus, slot, func, &parsed)) {
1028 sscanf(buf, " %x:%x.* %n", bus, slot, &parsed);
1032 sscanf(buf, " %x:*.* %n", bus, &parsed);
1046 sscanf(buf, " %x:%x:%x.%x-%x:%x:%x %n", domain, bus, slot, func,
1053 sscanf(buf, " %x:%x.%x-%x:%x:%x %n", bus, slot, func, reg, size,
1518 err = sscanf(pci_devs_to_hide + pos,
1524 sscanf(pci_devs_to_hid
[all...]
/linux-master/sound/pci/ca0106/
H A Dca0106_proc.c288 if (sscanf(line, "%x %x", &reg, &val) != 2)
389 if (sscanf(line, "%x %x %x", &reg, &channel_id, &val) != 3)
403 if (sscanf(line, "%x %x", &reg, &val) != 2)
/linux-master/drivers/char/tpm/
H A Dtpm_ppi.c140 if (sscanf(buf, "%llu %llu", &tmp[0].integer.value,
147 if (sscanf(buf, "%d", &req) != 1)
156 if (sscanf(buf, "%llu", &tmp[0].integer.value) != 1)
/linux-master/drivers/scsi/device_handler/
H A Dscsi_dh_emc.c433 if ((sscanf(params, "%u", &argc) != 1) || (argc != 2))
438 if ((sscanf(p, "%u", &st) != 1) || (st > 1))
443 if ((sscanf(p, "%u", &hr) != 1) || (hr > 1))
/linux-master/tools/testing/selftests/powerpc/signal/
H A Dsigreturn_vdso.c41 rc = sscanf(buf, "%lx-%lx %*c%*c%*c%*c %*x %*d:%*d %*d %127s\n",
47 printf("sscanf errored\n");
/linux-master/drivers/gpu/drm/armada/
H A Darmada_debugfs.c71 if (sscanf(buf, "%lx %lx %lx", &reg, &mask, &val) != 3)
/linux-master/drivers/devfreq/
H A Dgovernor_userspace.c45 sscanf(buf, "%lu", &wanted);
/linux-master/drivers/accessibility/speakup/
H A Dmakemapdata.c107 sscanf(def_val+2, "%x", &value);

Completed in 259 milliseconds

1234567891011>>