/linux-master/tools/testing/selftests/mm/ |
H A D | mlock-random-test.c | 61 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 D | vm_util.c | 204 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 D | multisound.sh | 859 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 D | dsp_hwec.c | 71 if (sscanf(val, "%d", &tmp) == 1)
|
/linux-master/tools/testing/selftests/timens/ |
H A D | exec.c | 28 if (sscanf(argv[1], "%ld", &now.tv_sec) != 1) 29 return pr_perror("sscanf");
|
H A D | procfs.c | 106 if (sscanf(line_buf, "btime %llu", boottime_sec) != 1)
|
/linux-master/drivers/xen/ |
H A D | cpu_hotplug.c | 80 sscanf(cpustr, "cpu/%u", &cpu);
|
/linux-master/tools/perf/util/ |
H A D | clockid.c | 90 if (sscanf(str, "%d", &opts->clockid) == 1)
|
/linux-master/drivers/staging/greybus/ |
H A D | audio_manager_sysfs.c | 20 int num = sscanf(buf,
|
/linux-master/tools/testing/selftests/prctl/ |
H A D | set-anon-vma-name-test.c | 57 sscanf_res = sscanf(line_buf, "%lx-%lx %7s %lx %u:%u %u %s", &start_addr,
|
/linux-master/drivers/thermal/intel/int340x_thermal/ |
H A D | processor_thermal_wt_req.c | 49 ret = sscanf(buf, "%14s", str_preference);
|
/linux-master/tools/power/cpupower/utils/helpers/ |
H A D | bitmask.c | 86 * 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 D | mpoa_proc.c | 254 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 D | early-lookup.c | 61 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 D | efi-pstore.c | 93 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 D | gen_init_cpio.c | 148 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 D | cpufreq_ondemand.c | 211 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 D | pci_stub.c | 1009 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 D | ca0106_proc.c | 288 if (sscanf(line, "%x %x", ®, &val) != 2) 389 if (sscanf(line, "%x %x %x", ®, &channel_id, &val) != 3) 403 if (sscanf(line, "%x %x", ®, &val) != 2)
|
/linux-master/drivers/char/tpm/ |
H A D | tpm_ppi.c | 140 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 D | scsi_dh_emc.c | 433 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 D | sigreturn_vdso.c | 41 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 D | armada_debugfs.c | 71 if (sscanf(buf, "%lx %lx %lx", ®, &mask, &val) != 3)
|
/linux-master/drivers/devfreq/ |
H A D | governor_userspace.c | 45 sscanf(buf, "%lu", &wanted);
|
/linux-master/drivers/accessibility/speakup/ |
H A D | makemapdata.c | 107 sscanf(def_val+2, "%x", &value);
|