/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | ptr_untrusted.c | 31 err = strncmp(skel->bss->tp_name, TP_NAME, strlen(TP_NAME));
|
/linux-master/arch/powerpc/lib/ |
H A D | string.S | 35 _GLOBAL(strncmp) 51 EXPORT_SYMBOL(strncmp)
|
/linux-master/arch/powerpc/include/asm/ |
H A D | ftrace.h | 97 (!strncmp(sym, "__se_sys", 8) && !strcmp(sym + 5, name)) || 98 (!strncmp(sym, "ppc_", 4) && !strcmp(sym + 4, name + 4)) || 99 (!strncmp(sym, "ppc32_", 6) && !strcmp(sym + 6, name + 4)) || 100 (!strncmp(sym, "ppc64_", 6) && !strcmp(sym + 6, name + 4));
|
/linux-master/arch/x86/kernel/ |
H A D | early_printk.c | 159 if (!strncmp(s, "0x", 2)) { 164 if (!strncmp(s, "ttyS", 4)) 234 if (!strncmp(s, "force,", 6)) { 355 if (!strncmp(buf, "serial", 6)) { 359 if (!strncmp(buf, ",ttyS", 5)) 362 if (!strncmp(buf, "ttyS", 4)) { 367 if (!strncmp(buf, "pciserial", 9)) { 373 if (!strncmp(buf, "vga", 3) && 381 if (!strncmp(buf, "dbgp", 4) && !early_dbgp_init(buf + 4)) 385 if (!strncmp(bu [all...] |
/linux-master/tools/perf/util/ |
H A D | env.c | 262 if (!strncmp(arch, "x86_64", 6) || !strncmp(arch, "aarch64", 7) || 263 !strncmp(arch, "arm64", 5) || !strncmp(arch, "mips64", 6) || 264 !strncmp(arch, "parisc64", 8) || !strncmp(arch, "riscv64", 7) || 265 !strncmp(arch, "s390x", 5) || !strncmp(arch, "sparc64", 7)) 435 if (!strcmp(arch, "sun4u") || !strncmp(arch, "sparc", 5)) 437 if (!strncmp(arc [all...] |
H A D | demangle-ocaml.c | 17 return 0 == strncmp(sym, caml_prefix, caml_prefix_len)
|
/linux-master/arch/mips/fw/arc/ |
H A D | cmdline.c | 52 if (!strncmp(prom_argv(actr), used_arc[i][0], len)) { 91 if (!strncmp(prom_argv(actr), ignored[i], len))
|
/linux-master/drivers/macintosh/ |
H A D | via-pmu-led.c | 99 if (strncmp(model, "PowerBook", strlen("PowerBook")) != 0 && 100 strncmp(model, "iBook", strlen("iBook")) != 0 &&
|
/linux-master/drivers/video/ |
H A D | cmdline.c | 51 if (!strncmp(opt, name, name_len) && opt[name_len] == ':') 112 if (!strncmp(options, "ofonly", 6)) {
|
/linux-master/tools/testing/selftests/tty/ |
H A D | tty_tstamp_update.c | 21 if (strncmp(tty, "/dev/tty", MIN_TTY_PATH_LEN) == 0 || 22 strncmp(tty, "/dev/pts", MIN_TTY_PATH_LEN) == 0)
|
/linux-master/tools/power/cpupower/utils/helpers/ |
H A D | cpuid.c | 71 if (!strncmp(value, "processor\t: ", 12)) 78 if (!strncmp(value, "vendor_id", 9)) { 84 } else if (!strncmp(value, "cpu family\t: ", 13)) { 87 } else if (!strncmp(value, "model\t\t: ", 9)) { 90 } else if (!strncmp(value, "stepping\t: ", 10)) {
|
/linux-master/lib/kunit/ |
H A D | attributes.c | 92 if (!strncmp(op, "<=", 2)) 94 else if (!strncmp(op, ">=", 2)) 96 else if (!strncmp(op, "!=", 2)) 98 else if (!strncmp(op, ">", 1)) 100 else if (!strncmp(op, "<", 1)) 102 else if (!strncmp(op, "=", 1)) 161 if (!strncmp(input, "<", 1)) { 165 } else if (!strncmp(input, ">", 1)) { 169 } else if (!strncmp(input, "!=", 2)) { 171 } else if (!strncmp(inpu [all...] |
/linux-master/arch/m68k/sun3/prom/ |
H A D | console.c | 95 if(strncmp(propb, "serial", sizeof("serial"))) 142 strncmp("display", propb, sizeof("display")) == 0) 147 if(strncmp("serial", propb, sizeof("serial")))
|
/linux-master/tools/testing/selftests/powerpc/benchmarks/ |
H A D | null_syscall.c | 84 if (strncmp(line, "timebase", 8) == 0) { 93 if (((strncmp(line, "clock", 5) == 0) || 94 (strncmp(line, "cpu MHz", 7) == 0))) {
|
/linux-master/drivers/remoteproc/ |
H A D | remoteproc_cdev.c | 34 if (!strncmp(cmd, "start", len)) { 36 } else if (!strncmp(cmd, "stop", len)) { 38 } else if (!strncmp(cmd, "detach", len)) {
|
/linux-master/arch/x86/include/asm/ |
H A D | ftrace.h | 126 (!strncmp(sym, "__x64_", 6) && !strcmp(sym + 9, name + 3)) || 127 (!strncmp(sym, "__ia32_", 7) && !strcmp(sym + 10, name + 3)) || 128 (!strncmp(sym, "__do_sys", 8) && !strcmp(sym + 8, name + 3));
|
/linux-master/arch/s390/kernel/ |
H A D | nospec-branch.c | 87 if (str && !strncmp(str, "on", 2)) { 91 if (str && !strncmp(str, "off", 3)) 93 if (str && !strncmp(str, "auto", 4))
|
/linux-master/drivers/firmware/ |
H A D | edd.c | 141 if (!strncmp(info->params.host_bus_type, "ISA", 3)) { 144 } else if (!strncmp(info->params.host_bus_type, "PCIX", 4) || 145 !strncmp(info->params.host_bus_type, "PCI", 3) || 146 !strncmp(info->params.host_bus_type, "XPRS", 4)) { 153 } else if (!strncmp(info->params.host_bus_type, "IBND", 4) || 154 !strncmp(info->params.host_bus_type, "HTPT", 4)) { 186 if (!strncmp(info->params.interface_type, "ATAPI", 5)) { 190 } else if (!strncmp(info->params.interface_type, "ATA", 3)) { 193 } else if (!strncmp(info->params.interface_type, "SCSI", 4)) { 197 } else if (!strncmp(inf [all...] |
/linux-master/arch/powerpc/boot/ |
H A D | string.h | 12 extern int strncmp(const char *s1, const char *s2, size_t n);
|
/linux-master/arch/mips/bcm47xx/ |
H A D | time.c | 63 if (len >= 0 && !strncmp(buf, "200", 4))
|
/linux-master/arch/sparc/include/asm/ |
H A D | string.h | 45 int strncmp(const char *, const char *, __kernel_size_t);
|
/linux-master/arch/sh/include/asm/ |
H A D | string_32.h | 56 static inline int strncmp(const char *__cs, const char *__ct, size_t __n) function
|
/linux-master/tools/testing/selftests/proc/ |
H A D | proc-self-syscall.c | 54 if (strncmp(buf1, buf2, strlen(buf1)) != 0)
|
/linux-master/tools/include/linux/ |
H A D | string.h | 42 return strncmp(str, prefix, strlen(prefix)) == 0;
|
/linux-master/arch/arm/mach-omap2/ |
H A D | pm-debug.c | 73 strncmp(clkdm->name, "dpll", 4) == 0) 89 strncmp(pwrdm->name, "dpll", 4) == 0) 118 strncmp(pwrdm->name, "dpll", 4) == 0) 187 if (strncmp(pwrdm->name, "dpll", 4) == 0)
|