/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | log_buf.c | 78 ASSERT_NULL(strstr(libbpf_log_buf, "-- BEGIN PROG LOAD LOG --"), "unexp_libbpf_log"); in obj_load_log_buf() 79 ASSERT_OK_PTR(strstr(libbpf_log_buf, "prog 'bad_prog': BPF program load failed"), in obj_load_log_buf() 81 ASSERT_OK_PTR(strstr(obj_log_buf, "DATASEC license"), "obj_log_not_empty"); in obj_load_log_buf() 82 ASSERT_OK_PTR(strstr(good_log_buf, "0: R1=ctx() R10=fp0"), in obj_load_log_buf() 84 ASSERT_OK_PTR(strstr(bad_log_buf, "invalid access to map value, value_size=16 off=16000 size=4"), in obj_load_log_buf() 121 ASSERT_OK_PTR(strstr(libbpf_log_buf, "libbpf: prog 'bad_prog': -- BEGIN PROG LOAD LOG --"), in obj_load_log_buf() 179 ASSERT_OK_PTR(strstr(log_buf, "0: R1=ctx() R10=fp0"), "good_log_2"); in bpf_prog_load_log_buf() 190 ASSERT_OK_PTR(strstr(log_buf, "R0 !read_ok"), "bad_log_0"); in bpf_prog_load_log_buf() 240 ASSERT_OK_PTR(strstr(log_buf, "magic: 0xeb9f"), "good_log_2"); in bpf_btf_load_log_buf() 258 ASSERT_OK_PTR(strstr(log_buf, "[2] PTR (anon) type_id=100 Invalid type_id"), "bad_log_0"); in bpf_btf_load_log_buf()
|
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"), in bad_core_relo() 58 ASSERT_NULL(strstr(log_buf, "struct task_struct___bad.fake_field (0:1 @ offset 4)\n"), in bad_core_relo() 61 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.12.1/arch/mips/loongson2ef/lemote-2f/ |
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()
|
/linux-6.12.1/tools/testing/selftests/powerpc/security/ |
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()
|
/linux-6.12.1/arch/loongarch/kernel/ |
D | relocate.c | 135 str = strstr(builtin_cmdline, "nokaslr"); in kaslr_disabled() 139 str = strstr(boot_command_line, "nokaslr"); in kaslr_disabled() 144 str = strstr(builtin_cmdline, "nohibernate"); in kaslr_disabled() 148 str = strstr(boot_command_line, "nohibernate"); in kaslr_disabled() 152 str = strstr(builtin_cmdline, "noresume"); in kaslr_disabled() 156 str = strstr(boot_command_line, "noresume"); in kaslr_disabled() 160 str = strstr(builtin_cmdline, "resume="); in kaslr_disabled() 164 str = strstr(boot_command_line, "resume="); in kaslr_disabled()
|
/linux-6.12.1/arch/mips/loongson32/common/ |
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()
|
/linux-6.12.1/arch/mips/loongson2ef/common/ |
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()
|
/linux-6.12.1/sound/pci/hda/ |
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()
|
/linux-6.12.1/arch/mips/pic32/pic32mzda/ |
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()
|
/linux-6.12.1/arch/riscv/kernel/pi/ |
D | cmdline_early.c | 43 if (strstr(cmdline, "no4lvl")) in match_noXlvl() 45 else if (strstr(cmdline, "no5lvl")) in match_noXlvl() 60 return strstr(cmdline, "nokaslr"); in match_nokaslr()
|
/linux-6.12.1/tools/perf/arch/x86/annotate/ |
D | instructions.c | 125 if (strstr(ins2, "jmp")) in amd__ins_is_fused() 130 (strstarts(ins1, "cmp") && !strstr(ins1, "xchg")))) { in amd__ins_is_fused() 148 if (arch->family != 6 || arch->model < 0x1e || strstr(ins2, "jmp")) in intel__ins_is_fused() 153 if ((strstr(ins1, "cmp") && !strstr(ins1, "xchg")) || in intel__ins_is_fused() 154 strstr(ins1, "test")) { in intel__ins_is_fused() 159 if ((strstr(ins1, "cmp") && !strstr(ins1, "xchg")) || in intel__ins_is_fused() 160 strstr(ins1, "test") || in intel__ins_is_fused() 161 strstr(ins1, "add") || in intel__ins_is_fused() 162 strstr(ins1, "sub") || in intel__ins_is_fused() 163 strstr(ins1, "and") || in intel__ins_is_fused() [all …]
|
/linux-6.12.1/drivers/platform/mellanox/ |
D | mlxbf-pmc.c | 974 if (strstr(blk, "tilenet")) { in mlxbf_pmc_event_list() 977 } else if (strstr(blk, "tile")) { in mlxbf_pmc_event_list() 980 } else if (strstr(blk, "triogen")) { in mlxbf_pmc_event_list() 983 } else if (strstr(blk, "trio")) { in mlxbf_pmc_event_list() 998 } else if (strstr(blk, "mss")) { in mlxbf_pmc_event_list() 1014 } else if (strstr(blk, "ecc")) { in mlxbf_pmc_event_list() 1017 } else if (strstr(blk, "pcie")) { in mlxbf_pmc_event_list() 1020 } else if (strstr(blk, "l3cache")) { in mlxbf_pmc_event_list() 1023 } else if (strstr(blk, "gic")) { in mlxbf_pmc_event_list() 1026 } else if (strstr(blk, "smmu")) { in mlxbf_pmc_event_list() [all …]
|
/linux-6.12.1/sound/soc/sdw_utils/ |
D | soc_sdw_rt_sdca_jack_common.c | 105 if (strstr(component->name_prefix, need_sdca_suffix[i])) { in asoc_sdw_rt_sdca_jack_rtd_init() 115 if (strstr(component->name_prefix, "rt711")) { in asoc_sdw_rt_sdca_jack_rtd_init() 118 } else if (strstr(component->name_prefix, "rt712")) { in asoc_sdw_rt_sdca_jack_rtd_init() 121 } else if (strstr(component->name_prefix, "rt713")) { in asoc_sdw_rt_sdca_jack_rtd_init() 124 } else if (strstr(component->name_prefix, "rt722")) { in asoc_sdw_rt_sdca_jack_rtd_init()
|
/linux-6.12.1/tools/testing/selftests/lsm/ |
D | common.c | 81 if (strstr(names, "selinux")) in attr_lsm_count() 83 if (strstr(names, "smack")) in attr_lsm_count() 85 if (strstr(names, "apparmor")) in attr_lsm_count()
|
/linux-6.12.1/drivers/target/tcm_remote/ |
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()
|
/linux-6.12.1/arch/x86/lib/ |
D | strstr_32.c | 5 char *strstr(const char *cs, const char *ct) in strstr() function 33 EXPORT_SYMBOL(strstr);
|
/linux-6.12.1/tools/verification/rv/src/ |
D | in_kernel.c | 127 *strstr(desc, "\n") = '\0'; in ikm_read_desc() 220 start = strstr(reactors, "["); in ikm_get_current_reactor() 226 end = strstr(start, "]"); in ikm_get_current_reactor() 259 has_id = !!strstr(format, "REC->id"); in ikm_has_id() 289 next = strstr(curr, "\n"); in ikm_list_monitors() 513 end = strstr(start, "\n"); in ikm_usage_print_reactors() 521 end = strstr(start, "\n"); in ikm_usage_print_reactors()
|
/linux-6.12.1/arch/powerpc/platforms/powermac/ |
D | setup.c | 309 if (strstr(boot_command_line, "adb_sync")) { in pmac_setup_arch() 341 p = strstr(boot_command_line, "root="); in note_bootable_part() 429 if (strstr(boot_command_line, "btextdbg")) { in pmac_init() 438 udbg_scc_init(!!strstr(boot_command_line, "sccdbg")); in pmac_init() 439 udbg_adb_init(!!strstr(boot_command_line, "btextdbg")); in pmac_init() 508 if (strstr(boot_command_line, "console=")) { in check_pmac_serial_console()
|
/linux-6.12.1/drivers/soc/mediatek/ |
D | mtk-regulator-coupler.c | 116 if (strstr(rdev_name, "sram")) { in mediatek_regulator_attach() 120 } else if (!strstr(rdev_name, "vgpu") && !strstr(rdev_name, "Vgpu")) { in mediatek_regulator_attach()
|
/linux-6.12.1/arch/um/os-Linux/ |
D | user_syms.c | 19 #undef strstr 20 EXPORT_SYMBOL(strstr);
|
/linux-6.12.1/arch/mips/mti-malta/ |
D | malta-setup.c | 103 if (strstr(fw_getcmdline(), "iobcuncached")) { in plat_setup_iocoherency() 146 optptr = strstr(argptr, "pci_clock="); in pci_clock_check() 188 if (strstr(argptr, "debug")) { in bonito_quirks_setup()
|
/linux-6.12.1/tools/lib/bpf/ |
D | libbpf_probes.c | 68 p = strstr(info->version, "Debian "); in get_debian_kernel_version() 198 if (exp_msg && !strstr(buf, exp_msg)) in probe_prog_load() 461 if (ret == 0 && (strstr(buf, "invalid func ") || strstr(buf, "unknown func ") || in libbpf_probe_bpf_helper() 462 strstr(buf, "program of this type cannot use helper "))) in libbpf_probe_bpf_helper()
|
/linux-6.12.1/tools/perf/arch/x86/util/ |
D | tsc.c | 41 char *pos = strstr(line + 11, " @ "); in cpuinfo_tsc_freq() 70 if (!strstr(vendor, "Intel")) in arch_get_tsc_freq()
|
D | kvm-stat.c | 203 if (strstr(cpuid, "Intel")) { in cpu_isa_init() 206 } else if (strstr(cpuid, "AMD") || strstr(cpuid, "Hygon")) { in cpu_isa_init()
|
/linux-6.12.1/tools/objtool/ |
D | builtin-check.c | 50 if (!str || strstr(str, "jump_label")) { in parse_hacks() 55 if (!str || strstr(str, "noinstr")) { in parse_hacks() 60 if (!str || strstr(str, "skylake")) { in parse_hacks()
|