Searched refs:strstr (Results 1 - 25 of 360) sorted by relevance

1234567891011>>

/linux-master/arch/mips/loongson2ef/lemote-2f/
H A Dmachtype.c27 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 Dstrstr_32.c5 char *strstr(const char *cs, const char *ct) function
33 EXPORT_SYMBOL(strstr); variable
/linux-master/arch/mips/loongson2ef/common/
H A Dmachtype.c45 p = strstr(arcs_cmdline, "machtype=");
53 p = strstr(str, " ");
58 if (strstr(system_types[machtype], str)) {
/linux-master/arch/mips/loongson32/common/
H A Dprom.c28 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 Dcs35l41_hda_i2c.c23 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 Dcs35l41_hda_spi.c23 if (strstr(dev_name(&spi->dev), "CSC3551"))
/linux-master/arch/um/os-Linux/
H A Duser_syms.c19 #undef strstr macro
20 EXPORT_SYMBOL(strstr); variable
/linux-master/tools/perf/arch/x86/annotate/
H A Dinstructions.c125 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 Dcommon.c81 if (strstr(names, "selinux"))
83 if (strstr(names, "smack"))
85 if (strstr(names, "apparmor"))
/linux-master/arch/riscv/kernel/pi/
H A Dcmdline_early.c49 if (strstr(cmdline, "no4lvl"))
51 else if (strstr(cmdline, "no5lvl"))
66 return strstr(cmdline, "nokaslr");
/linux-master/tools/testing/selftests/powerpc/security/
H A Dspectre_v2.c105 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 Dlog_buf.c77 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 Dlog_fixup.c53 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 Dcb_refs.c42 if (!ASSERT_OK_PTR(strstr(log_buf, cb_refs_tests[i].err_msg), "expected error message")) {
/linux-master/arch/mips/pic32/pic32mzda/
H A Dearly_console.c93 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 Dtsc.c41 char *pos = strstr(line + 11, " @ ");
70 if (!strstr(vendor, "Intel"))
H A Dkvm-stat.c203 if (strstr(cpuid, "Intel")) {
206 } else if (strstr(cpuid, "AMD") || strstr(cpuid, "Hygon")) {
/linux-master/drivers/soc/mediatek/
H A Dmtk-regulator-coupler.c116 if (strstr(rdev_name, "sram")) {
120 } else if (!strstr(rdev_name, "vgpu") && !strstr(rdev_name, "Vgpu")) {
/linux-master/drivers/target/tcm_remote/
H A Dtcm_remote.c97 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 Dmlxbf-pmc.c974 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 Dbuiltin-check.c44 * 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 Dmalta-setup.c103 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 Dlib.c160 if (strstr(name, "libc")) {
163 } else if (strstr(name, "[vdso]")) {
/linux-master/arch/sh/mm/
H A Dconsistent.c25 while ((p = strstr(p, "memchunk."))) {
/linux-master/arch/x86/boot/
H A Dstring.h24 extern char *strstr(const char *s1, const char *s2);

Completed in 260 milliseconds

1234567891011>>