| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | log_buf.c | 82 ASSERT_NULL(strstr(libbpf_log_buf, "-- BEGIN PROG LOAD LOG --"), "unexp_libbpf_log"); in obj_load_log_buf() 83 ASSERT_OK_PTR(strstr(libbpf_log_buf, "prog 'bad_prog': BPF program load failed"), in obj_load_log_buf() 85 ASSERT_OK_PTR(strstr(obj_log_buf, "DATASEC license"), "obj_log_not_empty"); in obj_load_log_buf() 86 ASSERT_OK_PTR(strstr(good_log_buf, "0: R1=ctx() R10=fp0"), in obj_load_log_buf() 88 ASSERT_OK_PTR(strstr(bad_log_buf, "invalid access to map value, value_size=16 off=16000 size=4"), in obj_load_log_buf() 125 ASSERT_OK_PTR(strstr(libbpf_log_buf, "libbpf: prog 'bad_prog': -- BEGIN PROG LOAD LOG --"), in obj_load_log_buf() 182 ASSERT_OK_PTR(strstr(log_buf, "0: R1=ctx() R10=fp0"), "good_log_2"); in bpf_prog_load_log_buf() 192 ASSERT_OK_PTR(strstr(log_buf, "R0 !read_ok"), "bad_log_0"); in bpf_prog_load_log_buf() 241 ASSERT_OK_PTR(strstr(log_buf, "magic: 0xeb9f"), "good_log_2"); in bpf_btf_load_log_buf() 259 ASSERT_OK_PTR(strstr(log_buf, "[2] PTR (anon) type_id=100 Invalid type_id"), "bad_log_0"); in bpf_btf_load_log_buf()
|
| H A 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/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()
|
| /linux/arch/loongarch/kernel/ |
| H A D | relocate.c | 142 str = strstr(builtin_cmdline, "nokaslr"); in kaslr_disabled() 146 str = strstr(boot_command_line, "nokaslr"); in kaslr_disabled() 151 str = strstr(builtin_cmdline, "nohibernate"); in kaslr_disabled() 155 str = strstr(boot_command_line, "nohibernate"); in kaslr_disabled() 159 str = strstr(builtin_cmdline, "noresume"); in kaslr_disabled() 163 str = strstr(boot_command_line, "noresume"); in kaslr_disabled() 167 str = strstr(builtin_cmdline, "resume="); in kaslr_disabled() 171 str = strstr(boot_command_line, "resume="); in kaslr_disabled() 176 str = strstr(boot_command_line, "kexec_file"); in kaslr_disabled()
|
| /linux/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()
|
| /linux/tools/verification/rv/src/ |
| H A D | in_kernel.c | 68 cursor = strstr(available_monitors, monitor_name); in __ikm_find_monitor_name() 77 end = strstr(cursor, "\n"); in __ikm_find_monitor_name() 81 cursor = strstr(out_name, ":"); in __ikm_find_monitor_name() 86 if (strstr(available_monitors, container)) in __ikm_find_monitor_name() 175 *strstr(desc, "\n") = '\0'; in ikm_read_desc() 191 nested_name = strstr(name, ":"); in ikm_fill_monitor_definition() 194 if (container && strstr(name, container) != name) in ikm_fill_monitor_definition() 284 start = strstr(reactors, "["); in ikm_get_current_reactor() 290 end = strstr(start, "]"); in ikm_get_current_reactor() 323 has_id = !!strstr(format, "REC->id"); in ikm_has_id() [all …]
|
| /linux/sound/soc/intel/common/ |
| H A D | sof-function-topology-lib.c | 54 if (strstr(dai_link->name, "SimpleJack")) { in sof_sdw_get_tplg_files() 57 } else if (strstr(dai_link->name, "SmartAmp")) { in sof_sdw_get_tplg_files() 63 } else if (strstr(dai_link->name, "SmartMic")) { in sof_sdw_get_tplg_files() 66 } else if (strstr(dai_link->name, "dmic")) { in sof_sdw_get_tplg_files() 81 } else if (strstr(dai_link->name, "iDisp")) { in sof_sdw_get_tplg_files()
|
| /linux/drivers/platform/mellanox/ |
| H A D | mlxbf-pmc.c | 1112 if (strstr(blk, "tilenet")) { in mlxbf_pmc_event_list() 1115 } else if (strstr(blk, "tile")) { in mlxbf_pmc_event_list() 1118 } else if (strstr(blk, "triogen")) { in mlxbf_pmc_event_list() 1121 } else if (strstr(blk, "trio")) { in mlxbf_pmc_event_list() 1136 } else if (strstr(blk, "mss")) { in mlxbf_pmc_event_list() 1152 } else if (strstr(blk, "ecc")) { in mlxbf_pmc_event_list() 1155 } else if (strstr(blk, "pcie")) { in mlxbf_pmc_event_list() 1158 } else if (strstr(blk, "l3cache")) { in mlxbf_pmc_event_list() 1161 } else if (strstr(blk, "gic")) { in mlxbf_pmc_event_list() 1164 } else if (strstr(blk, "smmu")) { in mlxbf_pmc_event_list() [all …]
|
| /linux/sound/soc/sdw_utils/ |
| H A D | soc_sdw_rt_sdca_jack_common.c | 111 if (strstr(component->name_prefix, need_sdca_suffix[i])) { in asoc_sdw_rt_sdca_jack_rtd_init() 121 if (strstr(component->name_prefix, "rt711")) { in asoc_sdw_rt_sdca_jack_rtd_init() 124 } else if (strstr(component->name_prefix, "rt712")) { in asoc_sdw_rt_sdca_jack_rtd_init() 127 } else if (strstr(component->name_prefix, "rt713")) { in asoc_sdw_rt_sdca_jack_rtd_init() 130 } else if (strstr(component->name_prefix, "rt721")) { in asoc_sdw_rt_sdca_jack_rtd_init() 133 } else if (strstr(component->name_prefix, "rt722")) { in asoc_sdw_rt_sdca_jack_rtd_init()
|
| /linux/sound/hda/codecs/side-codecs/ |
| 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()
|
| /linux/arch/riscv/kernel/pi/ |
| H A 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/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()
|
| /linux/tools/testing/selftests/filesystems/overlayfs/ |
| H A D | set_layers_via_fds.c | 135 if (strstr(haystack, "workdir=/tmp/w")) in TEST_F() 137 if (strstr(haystack, "upperdir=/tmp/u")) in TEST_F() 139 if (strstr(haystack, "lowerdir+=/tmp/l1")) in TEST_F() 141 if (strstr(haystack, "lowerdir+=/tmp/l2")) in TEST_F() 143 if (strstr(haystack, "lowerdir+=/tmp/l3")) in TEST_F() 145 if (strstr(haystack, "lowerdir+=/tmp/l4")) in TEST_F() 147 if (strstr(haystack, "datadir+=/tmp/d1")) in TEST_F() 149 if (strstr(haystack, "datadir+=/tmp/d2")) in TEST_F() 151 if (strstr(haystack, "datadir+=/tmp/d3")) in TEST_F() 689 if (strstr(haystack, "workdir=/tmp/w")) in TEST_F() [all …]
|
| /linux/tools/testing/selftests/lsm/ |
| H A 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/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()
|
| /linux/arch/um/os-Linux/ |
| H A D | user_syms.c | 19 #undef strstr 20 EXPORT_SYMBOL(strstr);
|
| /linux/arch/powerpc/platforms/powermac/ |
| H A D | setup.c | 307 if (strstr(boot_command_line, "adb_sync")) { in pmac_setup_arch() 339 p = strstr(boot_command_line, "root="); in note_bootable_part() 427 if (strstr(boot_command_line, "btextdbg")) { in pmac_init() 436 udbg_scc_init(!!strstr(boot_command_line, "sccdbg")); in pmac_init() 437 udbg_adb_init(!!strstr(boot_command_line, "btextdbg")); in pmac_init() 506 if (strstr(boot_command_line, "console=")) { in check_pmac_serial_console()
|
| /linux/sound/soc/codecs/ |
| H A D | rt721-sdca.c | 356 if (strstr(ucontrol->id.name, "FU1E Capture Volume") || in rt721_sdca_set_gain_put() 357 strstr(ucontrol->id.name, "FU0F Capture Volume")) in rt721_sdca_set_gain_put() 441 if (strstr(ucontrol->id.name, "FU1E Capture Volume") || in rt721_sdca_set_gain_get() 442 strstr(ucontrol->id.name, "FU0F Capture Volume")) in rt721_sdca_set_gain_get() 627 if (strstr(ucontrol->id.name, "FU1E Capture Volume")) in rt721_sdca_dmic_set_gain_get() 660 if (strstr(ucontrol->id.name, "FU1E Capture Volume")) in rt721_sdca_dmic_set_gain_put() 753 if (strstr(ucontrol->id.name, "ADC 09 Mux")) { in rt721_sdca_adc_mux_get() 756 } else if (strstr(ucontrol->id.name, "ADC 08 R Mux")) { in rt721_sdca_adc_mux_get() 759 } else if (strstr(ucontrol->id.name, "ADC 08 L Mux")) { in rt721_sdca_adc_mux_get() 762 } else if (strstr(ucontrol->id.name, "ADC 10 R Mux")) { in rt721_sdca_adc_mux_get() [all …]
|
| /linux/tools/perf/arch/x86/annotate/ |
| H A 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/arch/mips/mti-malta/ |
| H A 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/tools/testing/selftests/cgroup/lib/ |
| H A D | cgroup_util.c | 133 return strstr(buf, needle) ? 0 : -1; in cg_read_strstr() 164 ptr = strstr(buf, key); in cg_read_key_long() 243 if (!controller || !strstr(options, controller)) in cg_find_root() 255 *nsdelegate = !!strstr(options, "nsdelegate"); in cg_find_root() 522 return strstr(buf, option) != NULL; in proc_mount_contains() 534 return strstr(buf, feature) != NULL; in cgroup_feature() 559 return strstr(buf, needle) ? 0 : -1; in proc_read_strstr()
|
| /linux/tools/lib/bpf/ |
| H A 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() 465 if (ret == 0 && (strstr(buf, "invalid func ") || strstr(buf, "unknown func ") || in libbpf_probe_bpf_helper() 466 strstr(buf, "program of this type cannot use helper ")))
|
| /linux/tools/testing/selftests/mseal_system_mappings/ |
| H A D | sysmap_is_sealed.c | 26 if (strstr(line, name)) in has_mapping() 39 if (strstr(line, MSEAL_FLAGS)) in mapping_is_sealed()
|
| /linux/tools/thermal/tmon/ |
| H A D | sysfs.c | 172 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/tools/perf/ui/browsers/ |
| H A D | scripts.c | 120 p = strstr(p, "-e"); in check_ev_match() 204 if (strstr(lang_dirent->d_name, "perl")) in find_scripts() 208 if (strstr(lang_dirent->d_name, "python")) in find_scripts() 227 if (strstr(script_dirent->d_name, "top.")) in find_scripts()
|