/linux-master/arch/mips/loongson2ef/lemote-2f/ |
H A D | machtype.c | 27 if (strstr(arcs_cmdline, "PMON_VER=LM")) { 28 if (strstr(arcs_cmdline, "PMON_VER=LM8")) 30 else if (strstr(arcs_cmdline, "PMON_VER=LM6")) 32 else if (strstr(arcs_cmdline, "PMON_VER=LM9"))
|
/linux-master/arch/x86/lib/ |
H A D | strstr_32.c | 5 char *strstr(const char *cs, const char *ct) function 33 EXPORT_SYMBOL(strstr); variable
|
/linux-master/arch/mips/loongson2ef/common/ |
H A D | machtype.c | 45 p = strstr(arcs_cmdline, "machtype="); 53 p = strstr(str, " "); 58 if (strstr(system_types[machtype], str)) {
|
/linux-master/arch/mips/loongson32/common/ |
H A D | prom.c | 28 if (strstr(arcs_cmdline, "console=ttyS3")) 30 else if (strstr(arcs_cmdline, "console=ttyS2")) 32 else if (strstr(arcs_cmdline, "console=ttyS1"))
|
/linux-master/sound/pci/hda/ |
H A D | cs35l41_hda_i2c.c | 23 if (strstr(dev_name(&clt->dev), "CLSA0100")) 25 else if (strstr(dev_name(&clt->dev), "CLSA0101")) 27 else if (strstr(dev_name(&clt->dev), "CSC3551"))
|
H A D | cs35l41_hda_spi.c | 23 if (strstr(dev_name(&spi->dev), "CSC3551"))
|
/linux-master/arch/um/os-Linux/ |
H A D | user_syms.c | 19 #undef strstr macro 20 EXPORT_SYMBOL(strstr); variable
|
/linux-master/tools/perf/arch/x86/annotate/ |
H A D | instructions.c | 125 if (strstr(ins2, "jmp")) 130 (strstarts(ins1, "cmp") && !strstr(ins1, "xchg")))) { 148 if (arch->family != 6 || arch->model < 0x1e || strstr(ins2, "jmp")) 153 if ((strstr(ins1, "cmp") && !strstr(ins1, "xchg")) || 154 strstr(ins1, "test")) { 159 if ((strstr(ins1, "cmp") && !strstr(ins1, "xchg")) || 160 strstr(ins1, "test") || 161 strstr(ins [all...] |
/linux-master/tools/testing/selftests/lsm/ |
H A D | common.c | 81 if (strstr(names, "selinux")) 83 if (strstr(names, "smack")) 85 if (strstr(names, "apparmor"))
|
/linux-master/arch/riscv/kernel/pi/ |
H A D | cmdline_early.c | 49 if (strstr(cmdline, "no4lvl")) 51 else if (strstr(cmdline, "no5lvl")) 66 return strstr(cmdline, "nokaslr");
|
/linux-master/tools/testing/selftests/powerpc/security/ |
H A D | spectre_v2.c | 105 if (strstr(buf, "Vulnerable")) 107 else if (strstr(buf, "Not affected")) 109 else if (strstr(buf, "Indirect branch serialisation (kernel only)")) 111 else if (strstr(buf, "Indirect branch cache disabled")) 113 else if (strstr(buf, "Software count cache flush (hardware accelerated)")) 115 else if (strstr(buf, "Software count cache flush")) 117 else if (strstr(buf, "Branch predictor state flush"))
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | log_buf.c | 77 ASSERT_NULL(strstr(libbpf_log_buf, "-- BEGIN PROG LOAD LOG --"), "unexp_libbpf_log"); 78 ASSERT_OK_PTR(strstr(libbpf_log_buf, "prog 'bad_prog': BPF program load failed"), 80 ASSERT_OK_PTR(strstr(obj_log_buf, "DATASEC license"), "obj_log_not_empty"); 81 ASSERT_OK_PTR(strstr(good_log_buf, "0: R1=ctx() R10=fp0"), 83 ASSERT_OK_PTR(strstr(bad_log_buf, "invalid access to map value, value_size=16 off=16000 size=4"), 120 ASSERT_OK_PTR(strstr(libbpf_log_buf, "libbpf: prog 'bad_prog': -- BEGIN PROG LOAD LOG --"), 178 ASSERT_OK_PTR(strstr(log_buf, "0: R1=ctx() R10=fp0"), "good_log_2"); 189 ASSERT_OK_PTR(strstr(log_buf, "R0 !read_ok"), "bad_log_0"); 239 ASSERT_OK_PTR(strstr(log_buf, "magic: 0xeb9f"), "good_log_2"); 257 ASSERT_OK_PTR(strstr(log_bu [all...] |
H A D | log_fixup.c | 53 ASSERT_NULL(strstr(log_buf, "max_states_per_insn 0 total_states 0 peak_states 0 mark_read 0\n"), 58 ASSERT_NULL(strstr(log_buf, "struct task_struct___bad.fake_field (0:1 @ offset 4)\n"), 61 ASSERT_NULL(strstr(log_buf, "max_states_per_insn 0 total_states 0 peak_states 0 mark_read 0\n"),
|
H A D | cb_refs.c | 42 if (!ASSERT_OK_PTR(strstr(log_buf, cb_refs_tests[i].err_msg), "expected error message")) {
|
/linux-master/arch/mips/pic32/pic32mzda/ |
H A D | early_console.c | 93 s = strstr(arch_cmdline, "earlyprintk="); 95 s = strstr(s, "ttyS"); 116 s = strstr(arch_cmdline, "earlyprintk="); 118 s = strstr(s, "ttyS");
|
/linux-master/tools/perf/arch/x86/util/ |
H A D | tsc.c | 41 char *pos = strstr(line + 11, " @ "); 70 if (!strstr(vendor, "Intel"))
|
H A D | kvm-stat.c | 203 if (strstr(cpuid, "Intel")) { 206 } else if (strstr(cpuid, "AMD") || strstr(cpuid, "Hygon")) {
|
/linux-master/drivers/soc/mediatek/ |
H A D | mtk-regulator-coupler.c | 116 if (strstr(rdev_name, "sram")) { 120 } else if (!strstr(rdev_name, "vgpu") && !strstr(rdev_name, "Vgpu")) {
|
/linux-master/drivers/target/tcm_remote/ |
H A D | tcm_remote.c | 97 if (strstr(name, "tpgt_") != name) { 167 ptr = strstr(name, "naa."); 172 ptr = strstr(name, "fc."); 178 ptr = strstr(name, "0x"); 184 ptr = strstr(name, "iqn.");
|
/linux-master/drivers/platform/mellanox/ |
H A D | mlxbf-pmc.c | 974 if (strstr(blk, "tilenet")) { 977 } else if (strstr(blk, "tile")) { 980 } else if (strstr(blk, "triogen")) { 983 } else if (strstr(blk, "trio")) { 998 } else if (strstr(blk, "mss")) { 1014 } else if (strstr(blk, "ecc")) { 1017 } else if (strstr(blk, "pcie")) { 1020 } else if (strstr(blk, "l3cache")) { 1023 } else if (strstr(blk, "gic")) { 1026 } else if (strstr(bl [all...] |
/linux-master/tools/objtool/ |
H A D | builtin-check.c | 44 * Use strstr() as a lazy method of checking for comma-separated 50 if (!str || strstr(str, "jump_label")) { 55 if (!str || strstr(str, "noinstr")) { 60 if (!str || strstr(str, "skylake")) {
|
/linux-master/arch/mips/mti-malta/ |
H A D | malta-setup.c | 103 if (strstr(fw_getcmdline(), "iobcuncached")) { 146 optptr = strstr(argptr, "pci_clock="); 188 if (strstr(argptr, "debug")) {
|
/linux-master/tools/testing/selftests/powerpc/pmu/ |
H A D | lib.c | 160 if (strstr(name, "libc")) { 163 } else if (strstr(name, "[vdso]")) {
|
/linux-master/arch/sh/mm/ |
H A D | consistent.c | 25 while ((p = strstr(p, "memchunk."))) {
|
/linux-master/arch/x86/boot/ |
H A D | string.h | 24 extern char *strstr(const char *s1, const char *s2);
|