Searched refs:strncmp (Results 26 - 50 of 1092) sorted by relevance

1234567891011>>

/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dptr_untrusted.c31 err = strncmp(skel->bss->tp_name, TP_NAME, strlen(TP_NAME));
/linux-master/arch/powerpc/lib/
H A Dstring.S35 _GLOBAL(strncmp)
51 EXPORT_SYMBOL(strncmp)
/linux-master/arch/powerpc/include/asm/
H A Dftrace.h97 (!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 Dearly_printk.c159 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 Denv.c262 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 Ddemangle-ocaml.c17 return 0 == strncmp(sym, caml_prefix, caml_prefix_len)
/linux-master/arch/mips/fw/arc/
H A Dcmdline.c52 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 Dvia-pmu-led.c99 if (strncmp(model, "PowerBook", strlen("PowerBook")) != 0 &&
100 strncmp(model, "iBook", strlen("iBook")) != 0 &&
/linux-master/drivers/video/
H A Dcmdline.c51 if (!strncmp(opt, name, name_len) && opt[name_len] == ':')
112 if (!strncmp(options, "ofonly", 6)) {
/linux-master/tools/testing/selftests/tty/
H A Dtty_tstamp_update.c21 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 Dcpuid.c71 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 Dattributes.c92 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 Dconsole.c95 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 Dnull_syscall.c84 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 Dremoteproc_cdev.c34 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 Dftrace.h126 (!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 Dnospec-branch.c87 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 Dedd.c141 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 Dstring.h12 extern int strncmp(const char *s1, const char *s2, size_t n);
/linux-master/arch/mips/bcm47xx/
H A Dtime.c63 if (len >= 0 && !strncmp(buf, "200", 4))
/linux-master/arch/sparc/include/asm/
H A Dstring.h45 int strncmp(const char *, const char *, __kernel_size_t);
/linux-master/arch/sh/include/asm/
H A Dstring_32.h56 static inline int strncmp(const char *__cs, const char *__ct, size_t __n) function
/linux-master/tools/testing/selftests/proc/
H A Dproc-self-syscall.c54 if (strncmp(buf1, buf2, strlen(buf1)) != 0)
/linux-master/tools/include/linux/
H A Dstring.h42 return strncmp(str, prefix, strlen(prefix)) == 0;
/linux-master/arch/arm/mach-omap2/
H A Dpm-debug.c73 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)

Completed in 228 milliseconds

1234567891011>>