Home
last modified time | relevance | path

Searched refs:strstr (Results 1 – 25 of 334) sorted by relevance

12345678910>>...14

/linux-6.1.9/tools/perf/arch/x86/annotate/
Dinstructions.c150 if (strstr(ins2, "jmp")) in amd__ins_is_fused()
155 (strstarts(ins1, "cmp") && !strstr(ins1, "xchg")))) { in amd__ins_is_fused()
173 if (arch->family != 6 || arch->model < 0x1e || strstr(ins2, "jmp")) in intel__ins_is_fused()
178 if ((strstr(ins1, "cmp") && !strstr(ins1, "xchg")) || in intel__ins_is_fused()
179 strstr(ins1, "test")) { in intel__ins_is_fused()
184 if ((strstr(ins1, "cmp") && !strstr(ins1, "xchg")) || in intel__ins_is_fused()
185 strstr(ins1, "test") || in intel__ins_is_fused()
186 strstr(ins1, "add") || in intel__ins_is_fused()
187 strstr(ins1, "sub") || in intel__ins_is_fused()
188 strstr(ins1, "and") || in intel__ins_is_fused()
[all …]
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dlog_buf.c77 ASSERT_NULL(strstr(libbpf_log_buf, "-- BEGIN PROG LOAD LOG --"), "unexp_libbpf_log"); in obj_load_log_buf()
78 ASSERT_OK_PTR(strstr(libbpf_log_buf, "prog 'bad_prog': BPF program load failed"), in obj_load_log_buf()
80 ASSERT_OK_PTR(strstr(obj_log_buf, "DATASEC license"), "obj_log_not_empty"); in obj_load_log_buf()
81 ASSERT_OK_PTR(strstr(good_log_buf, "0: R1=ctx(off=0,imm=0) R10=fp0"), in obj_load_log_buf()
83 ASSERT_OK_PTR(strstr(bad_log_buf, "invalid access to map value, value_size=16 off=16000 size=4"), in obj_load_log_buf()
120 ASSERT_OK_PTR(strstr(libbpf_log_buf, "libbpf: prog 'bad_prog': -- BEGIN PROG LOAD LOG --"), in obj_load_log_buf()
178 ASSERT_OK_PTR(strstr(log_buf, "0: R1=ctx(off=0,imm=0) R10=fp0"), "good_log_2"); in bpf_prog_load_log_buf()
189 ASSERT_OK_PTR(strstr(log_buf, "R0 !read_ok"), "bad_log_0"); in bpf_prog_load_log_buf()
239 ASSERT_OK_PTR(strstr(log_buf, "magic: 0xeb9f"), "good_log_2"); in bpf_btf_load_log_buf()
257 ASSERT_OK_PTR(strstr(log_buf, "[2] PTR (anon) type_id=100 Invalid type_id"), "bad_log_0"); in bpf_btf_load_log_buf()
Dlog_fixup.c52 ASSERT_NULL(strstr(log_buf, "max_states_per_insn 0 total_states 0 peak_states 0 mark_read 0\n"), in bad_core_relo()
57 ASSERT_NULL(strstr(log_buf, "struct task_struct___bad.fake_field (0:1 @ offset 4)\n"), in bad_core_relo()
60 ASSERT_NULL(strstr(log_buf, "max_states_per_insn 0 total_states 0 peak_states 0 mark_read 0\n"), in bad_core_relo()
/linux-6.1.9/arch/mips/loongson2ef/lemote-2f/
Dmachtype.c27 if (strstr(arcs_cmdline, "PMON_VER=LM")) { in mach_prom_init_machtype()
28 if (strstr(arcs_cmdline, "PMON_VER=LM8")) in mach_prom_init_machtype()
30 else if (strstr(arcs_cmdline, "PMON_VER=LM6")) in mach_prom_init_machtype()
32 else if (strstr(arcs_cmdline, "PMON_VER=LM9")) in mach_prom_init_machtype()
/linux-6.1.9/tools/testing/selftests/powerpc/security/
Dspectre_v2.c105 if (strstr(buf, "Vulnerable")) in get_sysfs_state()
107 else if (strstr(buf, "Not affected")) in get_sysfs_state()
109 else if (strstr(buf, "Indirect branch serialisation (kernel only)")) in get_sysfs_state()
111 else if (strstr(buf, "Indirect branch cache disabled")) in get_sysfs_state()
113 else if (strstr(buf, "Software count cache flush (hardware accelerated)")) in get_sysfs_state()
115 else if (strstr(buf, "Software count cache flush")) in get_sysfs_state()
117 else if (strstr(buf, "Branch predictor state flush")) in get_sysfs_state()
/linux-6.1.9/arch/mips/loongson32/common/
Dprom.c28 if (strstr(arcs_cmdline, "console=ttyS3")) in prom_init()
30 else if (strstr(arcs_cmdline, "console=ttyS2")) in prom_init()
32 else if (strstr(arcs_cmdline, "console=ttyS1")) in prom_init()
/linux-6.1.9/arch/mips/loongson2ef/common/
Dmachtype.c45 p = strstr(arcs_cmdline, "machtype="); in prom_init_machtype()
53 p = strstr(str, " "); in prom_init_machtype()
58 if (strstr(system_types[machtype], str)) { in prom_init_machtype()
/linux-6.1.9/sound/pci/hda/
Dcs35l41_hda_i2c.c23 if (strstr(dev_name(&clt->dev), "CLSA0100")) in cs35l41_hda_i2c_probe()
25 else if (strstr(dev_name(&clt->dev), "CLSA0101")) in cs35l41_hda_i2c_probe()
27 else if (strstr(dev_name(&clt->dev), "CSC3551")) in cs35l41_hda_i2c_probe()
/linux-6.1.9/arch/mips/pic32/pic32mzda/
Dearly_console.c93 s = strstr(arch_cmdline, "earlyprintk="); in get_port_from_cmdline()
95 s = strstr(s, "ttyS"); in get_port_from_cmdline()
116 s = strstr(arch_cmdline, "earlyprintk="); in get_baud_from_cmdline()
118 s = strstr(s, "ttyS"); in get_baud_from_cmdline()
/linux-6.1.9/drivers/platform/mellanox/
Dmlxbf-pmc.c541 if (strstr(blk, "tilenet")) { in mlxbf_pmc_event_list()
544 } else if (strstr(blk, "tile")) { in mlxbf_pmc_event_list()
547 } else if (strstr(blk, "triogen")) { in mlxbf_pmc_event_list()
550 } else if (strstr(blk, "trio")) { in mlxbf_pmc_event_list()
565 } else if (strstr(blk, "mss")) { in mlxbf_pmc_event_list()
568 } else if (strstr(blk, "ecc")) { in mlxbf_pmc_event_list()
571 } else if (strstr(blk, "pcie")) { in mlxbf_pmc_event_list()
574 } else if (strstr(blk, "l3cache")) { in mlxbf_pmc_event_list()
577 } else if (strstr(blk, "gic")) { in mlxbf_pmc_event_list()
580 } else if (strstr(blk, "smmu")) { in mlxbf_pmc_event_list()
[all …]
/linux-6.1.9/arch/x86/lib/
Dstrstr_32.c5 char *strstr(const char *cs, const char *ct) in strstr() function
33 EXPORT_SYMBOL(strstr);
/linux-6.1.9/arch/powerpc/platforms/powermac/
Dsetup.c316 if (strstr(boot_command_line, "adb_sync")) { in pmac_setup_arch()
348 p = strstr(boot_command_line, "root="); in note_bootable_part()
436 if (strstr(boot_command_line, "btextdbg")) { in pmac_init()
445 udbg_scc_init(!!strstr(boot_command_line, "sccdbg")); in pmac_init()
446 udbg_adb_init(!!strstr(boot_command_line, "btextdbg")); in pmac_init()
515 if (strstr(boot_command_line, "console=")) { in check_pmac_serial_console()
/linux-6.1.9/include/linux/
Dfs_enet_pd.h156 if(strstr(fpi->fs_type, "SCC")) in fs_get_id()
158 if(strstr(fpi->fs_type, "FCC")) in fs_get_id()
160 if(strstr(fpi->fs_type, "FEC")) in fs_get_id()
Dfs_uart_pd.h64 if(strstr(fpi->fs_type, "SMC")) in fs_uart_get_id()
66 if(strstr(fpi->fs_type, "SCC")) in fs_uart_get_id()
/linux-6.1.9/arch/mips/ar7/
Dplatform.c508 if (strstr(prid, "Fritz_Box_FON")) { in detect_leds()
511 } else if (strstr(prid, "Fritz_Box_")) { in detect_leds()
515 && usb_prod != NULL && strstr(usb_prod, "DSL-502T")) { in detect_leds()
518 } else if (strstr(prid, "DG834")) { in detect_leds()
521 } else if (strstr(prid, "CYWM") || strstr(prid, "CYWL")) { in detect_leds()
524 } else if (strstr(prid, "GT701")) { in detect_leds()
/linux-6.1.9/arch/mips/mti-malta/
Dmalta-setup.c103 if (strstr(fw_getcmdline(), "iobcuncached")) { in plat_setup_iocoherency()
146 optptr = strstr(argptr, "pci_clock="); in pci_clock_check()
186 if (strstr(argptr, "debug")) { in bonito_quirks_setup()
/linux-6.1.9/tools/perf/arch/x86/util/
Dtsc.c40 char *pos = strstr(line + 11, " @ "); in cpuinfo_tsc_freq()
69 if (!strstr(vendor, "Intel")) in arch_get_tsc_freq()
Dkvm-stat.c204 if (strstr(cpuid, "Intel")) { in cpu_isa_init()
207 } else if (strstr(cpuid, "AMD") || strstr(cpuid, "Hygon")) { in cpu_isa_init()
/linux-6.1.9/tools/thermal/tmon/
Dsysfs.c172 if (strstr(d_name, "trip_point") && in find_tzone_tp()
173 strstr(d_name, "temp")) { in find_tzone_tp()
316 temp_str = strstr(namelist[n]->d_name, "cdev"); in scan_tzones()
368 if (strstr(ptdata.cdi[k].type, ctrl_cdev)) { in scan_cdevs()
402 if (strstr(namelist[n]->d_name, CDEV)) { in probe_thermal_sysfs()
416 } else if (strstr(namelist[n]->d_name, TZONE)) { in probe_thermal_sysfs()
/linux-6.1.9/sound/soc/sof/intel/
Dhda-dai.c776 if (strstr(ops->drv[i].name, "SSP")) { in hda_set_dai_drv_ops()
781 if (strstr(ops->drv[i].name, "iDisp") || in hda_set_dai_drv_ops()
782 strstr(ops->drv[i].name, "Analog") || in hda_set_dai_drv_ops()
783 strstr(ops->drv[i].name, "Digital")) in hda_set_dai_drv_ops()
793 if (strstr(ops->drv[i].name, "DMIC")) { in hda_set_dai_drv_ops()
797 if (strstr(ops->drv[i].name, "SSP")) { in hda_set_dai_drv_ops()
802 if (strstr(ops->drv[i].name, "iDisp") || in hda_set_dai_drv_ops()
803 strstr(ops->drv[i].name, "Analog") || in hda_set_dai_drv_ops()
804 strstr(ops->drv[i].name, "Digital")) in hda_set_dai_drv_ops()
/linux-6.1.9/sound/soc/codecs/
Drt715-sdca.c517 if (strstr(ucontrol->id.name, "ADC 22 Mux")) in rt715_sdca_mux_get()
519 else if (strstr(ucontrol->id.name, "ADC 23 Mux")) in rt715_sdca_mux_get()
521 else if (strstr(ucontrol->id.name, "ADC 24 Mux")) in rt715_sdca_mux_get()
523 else if (strstr(ucontrol->id.name, "ADC 25 Mux")) in rt715_sdca_mux_get()
537 if ((strstr(ucontrol->id.name, "ADC 24 Mux") || in rt715_sdca_mux_get()
538 strstr(ucontrol->id.name, "ADC 25 Mux")) && val > 0) in rt715_sdca_mux_get()
560 if (strstr(ucontrol->id.name, "ADC 22 Mux")) in rt715_sdca_mux_put()
562 else if (strstr(ucontrol->id.name, "ADC 23 Mux")) in rt715_sdca_mux_put()
564 else if (strstr(ucontrol->id.name, "ADC 24 Mux")) in rt715_sdca_mux_put()
566 else if (strstr(ucontrol->id.name, "ADC 25 Mux")) in rt715_sdca_mux_put()
/linux-6.1.9/tools/testing/selftests/wireguard/qemu/
Dinit.c140 start = strstr(line, "wireguard: "); in kmod_selftests()
145 if (strstr(start, "www.wireguard.com")) in kmod_selftests()
147 pass = strstr(start, ": pass"); in kmod_selftests()
/linux-6.1.9/arch/um/os-Linux/
Duser_syms.c14 #undef strstr
25 EXPORT_SYMBOL(strstr);
/linux-6.1.9/drivers/firmware/
Dpcdp.c100 if (strstr(cmdline, "console=hcdp")) { in efi_setup_pcdp_console()
103 } else if (strstr(cmdline, "console=")) { in efi_setup_pcdp_console()
/linux-6.1.9/drivers/leds/
Dleds-mlxreg.c221 if (strstr(data->label, "red") || in mlxreg_led_config()
222 strstr(data->label, "orange")) { in mlxreg_led_config()
225 } else if (strstr(data->label, "amber")) { in mlxreg_led_config()

12345678910>>...14