/kernel/linux/linux-6.6/tools/perf/arch/x86/annotate/ |
H A D | instructions.c | 122 if (strstr(ins2, "jmp")) in amd__ins_is_fused() 127 (strstarts(ins1, "cmp") && !strstr(ins1, "xchg")))) { in amd__ins_is_fused() 145 if (arch->family != 6 || arch->model < 0x1e || strstr(ins2, "jmp")) in intel__ins_is_fused() 150 if ((strstr(ins1, "cmp") && !strstr(ins1, "xchg")) || in intel__ins_is_fused() 151 strstr(ins1, "test")) { in intel__ins_is_fused() 156 if ((strstr(ins1, "cmp") && !strstr(ins1, "xchg")) || in intel__ins_is_fused() 157 strstr(ins1, "test") || in intel__ins_is_fused() 158 strstr(ins in intel__ins_is_fused() [all...] |
/kernel/liteos_m/testsuites/unittest/posix/src/string/ |
H A D | strstr_test.c | 77 char *ret = strstr(destS, srcS); 79 LOG("[DEMO] posix string test case 1:strstr(%s) %s ok.\n", srcS, destS); 81 LOG("[DEMO] posix string test case 1:strstr(%s) %s fail.\n", srcS, destS); 97 char *ret = strstr(destS, srcS); 99 LOG("[DEMO] posix string test case 2:strstr(%s) %s ok.\n", srcS, destS); 101 LOG("[DEMO] posix string test case 2:strstr(%s) %s fail.\n", srcS, destS); 117 char *ret = strstr(dest, srcT); 119 LOG("[DEMO] posix string test case 3:strstr(%s) %s ok.\n", srcT, dest); 121 LOG("[DEMO] posix string test case 3:strstr(%s) %s fail.\n", srcT, dest); 137 char *ret = strstr(des [all...] |
/kernel/linux/linux-6.6/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"); 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_bu in bpf_btf_load_log_buf() [all...] |
/kernel/linux/linux-5.10/arch/mips/loongson2ef/lemote-2f/ |
H A D | machtype.c | 27 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()
|
/kernel/linux/linux-6.6/arch/mips/loongson2ef/lemote-2f/ |
H A D | machtype.c | 27 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()
|
/kernel/linux/linux-5.10/tools/perf/arch/x86/annotate/ |
H A D | instructions.c | 150 if (arch->family != 6 || arch->model < 0x1e || strstr(ins2, "jmp")) in x86__ins_is_fused() 155 if ((strstr(ins1, "cmp") && !strstr(ins1, "xchg")) || in x86__ins_is_fused() 156 strstr(ins1, "test")) { in x86__ins_is_fused() 161 if ((strstr(ins1, "cmp") && !strstr(ins1, "xchg")) || in x86__ins_is_fused() 162 strstr(ins1, "test") || in x86__ins_is_fused() 163 strstr(ins1, "add") || in x86__ins_is_fused() 164 strstr(ins1, "sub") || in x86__ins_is_fused() 165 strstr(ins in x86__ins_is_fused() [all...] |
/kernel/linux/common_modules/xpm/developer/ |
H A D | dsmm_developer.c | 25 if (!strstr(saved_command_line, "developer_mode=")) { in get_developer_status() 27 } else if (strstr(saved_command_line, "developer_mode=1")) { in get_developer_status() 29 } else if (strstr(saved_command_line, "developer_mode=0")) { in get_developer_status() 41 if (strstr(saved_command_line, "buildvariant=user")) { in get_build_variant() 43 } else if (strstr(saved_command_line, "buildvariant=eng")) { in get_build_variant()
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/security/ |
H A D | spectre_v2.c | 105 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()
|
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/security/ |
H A D | spectre_v2.c | 105 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()
|
/kernel/linux/linux-5.10/arch/mips/loongson2ef/common/ |
H A D | machtype.c | 45 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()
|
/kernel/linux/linux-5.10/arch/mips/loongson32/common/ |
H A D | prom.c | 28 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()
|
/kernel/linux/linux-6.6/arch/mips/loongson2ef/common/ |
H A D | machtype.c | 45 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()
|
/kernel/linux/linux-6.6/arch/mips/loongson32/common/ |
H A D | prom.c | 28 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()
|
/kernel/linux/linux-6.6/sound/pci/hda/ |
H A D | cs35l41_hda_i2c.c | 23 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()
|
/kernel/linux/linux-6.6/arch/riscv/kernel/pi/ |
H A D | cmdline_early.c | 49 if (strstr(cmdline, "no4lvl")) in match_noXlvl() 51 else if (strstr(cmdline, "no5lvl")) in match_noXlvl() 66 return strstr(cmdline, "nokaslr"); in match_nokaslr()
|
/kernel/linux/linux-5.10/arch/mips/pic32/pic32mzda/ |
H A D | early_console.c | 93 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()
|
/kernel/linux/linux-6.6/arch/mips/pic32/pic32mzda/ |
H A D | early_console.c | 93 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()
|
/kernel/linux/linux-6.6/drivers/target/tcm_remote/ |
H A D | tcm_remote.c | 97 if (strstr(name, "tpgt_") != name) { in tcm_remote_make_tpg() 167 ptr = strstr(name, "naa."); in tcm_remote_make_wwn() 172 ptr = strstr(name, "fc."); in tcm_remote_make_wwn() 178 ptr = strstr(name, "0x"); in tcm_remote_make_wwn() 184 ptr = strstr(name, "iqn."); in tcm_remote_make_wwn()
|
/kernel/linux/linux-5.10/arch/x86/lib/ |
H A D | strstr_32.c | 5 char *strstr(const char *cs, const char *ct) in strstr() function 33 EXPORT_SYMBOL(strstr); variable
|
/kernel/linux/linux-6.6/arch/x86/lib/ |
H A D | strstr_32.c | 5 char *strstr(const char *cs, const char *ct) in strstr() function 33 EXPORT_SYMBOL(strstr); variable
|
/kernel/linux/linux-6.6/drivers/platform/mellanox/ |
H A D | mlxbf-pmc.c | 547 if (strstr(blk, "tilenet")) { in mlxbf_pmc_event_list() 550 } else if (strstr(blk, "tile")) { in mlxbf_pmc_event_list() 553 } else if (strstr(blk, "triogen")) { in mlxbf_pmc_event_list() 556 } else if (strstr(blk, "trio")) { in mlxbf_pmc_event_list() 571 } else if (strstr(blk, "mss")) { in mlxbf_pmc_event_list() 574 } else if (strstr(blk, "ecc")) { in mlxbf_pmc_event_list() 577 } else if (strstr(blk, "pcie")) { in mlxbf_pmc_event_list() 580 } else if (strstr(blk, "l3cache")) { in mlxbf_pmc_event_list() 583 } else if (strstr(blk, "gic")) { in mlxbf_pmc_event_list() 586 } else if (strstr(bl in mlxbf_pmc_event_list() [all...] |
/kernel/linux/linux-6.6/arch/um/os-Linux/ |
H A D | user_syms.c | 19 #undef strstr macro 20 EXPORT_SYMBOL(strstr); variable
|
/kernel/liteos_a/testsuites/unittest/process/plimits/smoke/ |
H A D | It_process_plimits_pid_004.cpp | 53 res = strstr(buff, "64"); in ItProcessPlimitsPid004() 58 res = strstr(buff, "64"); in ItProcessPlimitsPid004()
|
H A D | It_process_plimits_pid_006.cpp | 53 res = strstr(buff, "64"); in ItProcessPlimitsPid006() 58 res = strstr(buff, "64"); in ItProcessPlimitsPid006()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
H A D | reference_tracking.c | 31 if (strstr(title, ".text") != NULL) in test_reference_tracking() 38 if (strstr(title, "fail") != NULL) { in test_reference_tracking()
|