Home
last modified time | relevance | path

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

12345678910

/Linux-v5.4/tools/perf/arch/x86/annotate/
Dinstructions.c149 if (arch->family != 6 || arch->model < 0x1e || strstr(ins2, "jmp")) in x86__ins_is_fused()
154 if ((strstr(ins1, "cmp") && !strstr(ins1, "xchg")) || in x86__ins_is_fused()
155 strstr(ins1, "test")) { in x86__ins_is_fused()
160 if ((strstr(ins1, "cmp") && !strstr(ins1, "xchg")) || in x86__ins_is_fused()
161 strstr(ins1, "test") || in x86__ins_is_fused()
162 strstr(ins1, "add") || in x86__ins_is_fused()
163 strstr(ins1, "sub") || in x86__ins_is_fused()
164 strstr(ins1, "and") || in x86__ins_is_fused()
165 strstr(ins1, "inc") || in x86__ins_is_fused()
166 strstr(ins1, "dec")) { in x86__ins_is_fused()
/Linux-v5.4/arch/mips/loongson64/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-v5.4/arch/mips/loongson64/common/
Dmachtype.c46 p = strstr(arcs_cmdline, "machtype="); in prom_init_machtype()
54 p = strstr(str, " "); in prom_init_machtype()
59 if (strstr(system_types[machtype], str)) { in prom_init_machtype()
/Linux-v5.4/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-v5.4/arch/mips/loongson32/common/
Dprom.c66 if (strstr(arcs_cmdline, "console=ttyS3")) in prom_init()
68 else if (strstr(arcs_cmdline, "console=ttyS2")) in prom_init()
70 else if (strstr(arcs_cmdline, "console=ttyS1")) in prom_init()
/Linux-v5.4/arch/x86/lib/
Dstrstr_32.c5 char *strstr(const char *cs, const char *ct) in strstr() function
33 EXPORT_SYMBOL(strstr);
/Linux-v5.4/arch/powerpc/platforms/powermac/
Dsetup.c327 if (strstr(boot_command_line, "adb_sync")) { in pmac_setup_arch()
366 p = strstr(boot_command_line, "root="); in note_bootable_part()
454 if (strstr(boot_command_line, "btextdbg")) { in pmac_init()
463 udbg_scc_init(!!strstr(boot_command_line, "sccdbg")); in pmac_init()
464 udbg_adb_init(!!strstr(boot_command_line, "btextdbg")); in pmac_init()
533 if (strstr(boot_command_line, "console=")) { in check_pmac_serial_console()
/Linux-v5.4/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-v5.4/tools/testing/selftests/bpf/prog_tests/
Dreference_tracking.c21 if (strstr(title, ".text") != NULL) in test_reference_tracking()
27 if (strstr(title, "fail") != NULL) { in test_reference_tracking()
/Linux-v5.4/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-v5.4/tools/perf/arch/x86/util/
Dkvm-stat.c158 if (strstr(cpuid, "Intel")) { in cpu_isa_init()
161 } else if (strstr(cpuid, "AMD") || strstr(cpuid, "Hygon")) { in cpu_isa_init()
/Linux-v5.4/arch/mips/mti-malta/
Dmalta-setup.c105 if (strstr(fw_getcmdline(), "iobcuncached")) { in plat_enable_iocoherency()
161 optptr = strstr(argptr, "pci_clock="); in pci_clock_check()
201 if (strstr(argptr, "debug")) { in bonito_quirks_setup()
Dmalta-init.c75 if ((strstr(fw_getcmdline(), "earlycon=")) == NULL) { in console_config()
81 if ((strstr(fw_getcmdline(), "console=")) == NULL) { in console_config()
/Linux-v5.4/arch/powerpc/mm/
Dinit_32.c97 if (strstr(boot_command_line, "nobats")) { in MMU_setup()
101 if (strstr(boot_command_line, "noltlbs")) { in MMU_setup()
/Linux-v5.4/tools/thermal/tmon/
Dsysfs.c171 if (strstr(d_name, "trip_point") && in find_tzone_tp()
172 strstr(d_name, "temp")) { in find_tzone_tp()
314 temp_str = strstr(namelist[n]->d_name, "cdev"); in scan_tzones()
366 if (strstr(ptdata.cdi[k].type, ctrl_cdev)) { in scan_cdevs()
400 if (strstr(namelist[n]->d_name, CDEV)) { in probe_thermal_sysfs()
414 } else if (strstr(namelist[n]->d_name, TZONE)) { in probe_thermal_sysfs()
/Linux-v5.4/arch/um/os-Linux/
Duser_syms.c13 #undef strstr
24 EXPORT_SYMBOL(strstr);
/Linux-v5.4/drivers/firmware/
Dpcdp.c98 if (strstr(cmdline, "console=hcdp")) { in efi_setup_pcdp_console()
101 } else if (strstr(cmdline, "console=")) { in efi_setup_pcdp_console()
/Linux-v5.4/arch/mips/netlogic/xlr/
Dsetup.c120 if ((strstr(arcs_cmdline, "console=")) == NULL) { in build_arcs_cmdline()
129 if ((strstr(arcs_cmdline, "rdinit=")) == NULL) { in build_arcs_cmdline()
/Linux-v5.4/drivers/leds/
Dleds-mlxreg.c220 if (strstr(data->label, "red") || in mlxreg_led_config()
221 strstr(data->label, "orange")) { in mlxreg_led_config()
224 } else if (strstr(data->label, "amber")) { in mlxreg_led_config()
/Linux-v5.4/drivers/macintosh/
Dwindfarm_lm87_sensor.c117 if (strstr(loc, "DIMM")) in wf_lm87_probe()
119 else if (strstr(loc, "Processors")) in wf_lm87_probe()
/Linux-v5.4/tools/testing/selftests/powerpc/pmu/
Dlib.c175 if (strstr(name, "libc")) { in parse_proc_maps()
178 } else if (strstr(name, "[vdso]")) { in parse_proc_maps()
/Linux-v5.4/tools/testing/selftests/vm/
Dmlock-random-test.c60 if (strstr(line, "VmLck")) { in get_proc_locked_vm_size()
99 if (!strstr(line, "MMUPageSize")) { in get_proc_page_size()
Dmlock2-tests.c140 if (!strstr(line, VMFLAGS)) { in is_vmflag_set()
148 ret = (strstr(flags, vmflag) != NULL); in is_vmflag_set()
183 if (!strstr(line, SIZE)) { in is_vma_lock_on_fault()
199 if (!strstr(line, RSS)) { in is_vma_lock_on_fault()
/Linux-v5.4/arch/unicore32/kernel/
Dearly_printk.c39 if (strstr(buf, "keep")) in setup_early_printk()

12345678910