/linux-6.1.9/drivers/usb/musb/ |
D | musb_debugfs.c | 184 if (strstarts(buf, "force host full-speed")) in musb_test_mode_write() 187 else if (strstarts(buf, "force host high-speed")) in musb_test_mode_write() 190 else if (strstarts(buf, "force host")) in musb_test_mode_write() 193 else if (strstarts(buf, "fifo access")) in musb_test_mode_write() 196 else if (strstarts(buf, "force full-speed")) in musb_test_mode_write() 199 else if (strstarts(buf, "force high-speed")) in musb_test_mode_write() 202 else if (strstarts(buf, "test packet")) { in musb_test_mode_write() 207 else if (strstarts(buf, "test K")) in musb_test_mode_write() 210 else if (strstarts(buf, "test J")) in musb_test_mode_write() 213 else if (strstarts(buf, "test SE0 NAK")) in musb_test_mode_write()
|
/linux-6.1.9/tools/perf/arch/x86/annotate/ |
D | instructions.c | 154 if (arch->family >= 0x15 && (strstarts(ins1, "test") || in amd__ins_is_fused() 155 (strstarts(ins1, "cmp") && !strstr(ins1, "xchg")))) { in amd__ins_is_fused() 160 if (arch->family >= 0x19 && (strstarts(ins1, "add") || in amd__ins_is_fused() 161 strstarts(ins1, "sub") || strstarts(ins1, "and") || in amd__ins_is_fused() 162 strstarts(ins1, "inc") || strstarts(ins1, "dec") || in amd__ins_is_fused() 163 strstarts(ins1, "or") || strstarts(ins1, "xor"))) { in amd__ins_is_fused() 210 arch->ins_is_fused = strstarts(cpuid, "AuthenticAMD") ? in x86__cpuid_parse()
|
/linux-6.1.9/tools/perf/arch/arm/util/ |
D | pmu.c | 24 } else if (strstarts(pmu->name, ARM_SPE_PMU_NAME)) { in perf_pmu__get_default_config() 26 } else if (strstarts(pmu->name, HISI_PTT_PMU_NAME)) { in perf_pmu__get_default_config()
|
/linux-6.1.9/tools/perf/ |
D | perf.c | 105 return (strstarts(var, header) && !strcmp(var + strlen(header), c->cmd)); in same_cmd_with_prefix() 220 if (strstarts(cmd, CMD_EXEC_PATH)) { in handle_options() 257 } else if (strstarts(cmd, CMD_DEBUGFS_DIR)) { in handle_options() 491 if (strstarts(cmd, "perf-")) { in main() 502 if (strstarts(cmd, "trace")) { in main() 520 if (strstarts(argv[0], "--")) in main()
|
D | builtin-help.c | 99 if (!strstarts(buffer.buf, "emacsclient")) { in check_emacsclient_version() 292 if (strstarts(var, "man.")) in perf_help_config() 322 else if (strstarts(perf_cmd, "perf")) in cmd_to_page()
|
D | builtin-kvm.c | 1504 if (strlen(argv[1]) > 2 && strstarts("record", argv[1])) in kvm_cmd_stat() 1507 if (strlen(argv[1]) > 2 && strstarts("report", argv[1])) in kvm_cmd_stat() 1637 if (strlen(argv[0]) > 2 && strstarts("record", argv[0])) in cmd_kvm() 1639 else if (strlen(argv[0]) > 2 && strstarts("report", argv[0])) in cmd_kvm() 1641 else if (strlen(argv[0]) > 2 && strstarts("diff", argv[0])) in cmd_kvm() 1645 else if (strlen(argv[0]) > 2 && strstarts("buildid-list", argv[0])) in cmd_kvm() 1648 else if (strlen(argv[0]) > 2 && strstarts("stat", argv[0])) in cmd_kvm()
|
D | builtin-mem.c | 509 if (strlen(argv[0]) > 2 && strstarts("record", argv[0])) in cmd_mem() 511 else if (strlen(argv[0]) > 2 && strstarts("report", argv[0])) in cmd_mem()
|
D | builtin-config.c | 81 if (!strstarts(var, section->name)) in show_spec_config()
|
/linux-6.1.9/arch/arm/kernel/ |
D | module.c | 59 return strstarts(name, ".init") || in module_init_section() 60 strstarts(name, ".ARM.extab.init") || in module_init_section() 61 strstarts(name, ".ARM.exidx.init"); in module_init_section() 66 return strstarts(name, ".exit") || in module_exit_section() 67 strstarts(name, ".ARM.extab.exit") || in module_exit_section() 68 strstarts(name, ".ARM.exidx.exit"); in module_exit_section()
|
/linux-6.1.9/scripts/mod/ |
D | modpost.c | 352 #define strstarts(str, prefix) (strncmp(str, prefix, strlen(prefix)) == 0) macro 598 if (strstarts(symname, "_restgpr_") || in ignore_undef_symbol() 599 strstarts(symname, "_savegpr_") || in ignore_undef_symbol() 600 strstarts(symname, "_rest32gpr_") || in ignore_undef_symbol() 601 strstarts(symname, "_save32gpr_") || in ignore_undef_symbol() 602 strstarts(symname, "_restvr_") || in ignore_undef_symbol() 603 strstarts(symname, "_savevr_")) in ignore_undef_symbol() 607 if (strstarts(symname, "_restgpr0_") || in ignore_undef_symbol() 608 strstarts(symname, "_savegpr0_") || in ignore_undef_symbol() 609 strstarts(symname, "_restvr_") || in ignore_undef_symbol() [all …]
|
/linux-6.1.9/tools/perf/util/ |
D | config.c | 474 if (strstarts(var, "core.")) in perf_default_config() 477 if (strstarts(var, "hist.")) in perf_default_config() 480 if (strstarts(var, "ui.")) in perf_default_config() 483 if (strstarts(var, "call-graph.")) in perf_default_config() 486 if (strstarts(var, "llvm.")) in perf_default_config() 489 if (strstarts(var, "buildid.")) in perf_default_config() 492 if (strstarts(var, "stat.")) in perf_default_config()
|
D | sample-raw.c | 22 cpuid && strstarts(cpuid, "AuthenticAMD") && in evlist__init_trace_event_sample_raw()
|
D | map.c | 21 return strstarts(filename, "/data/app-lib/") || in is_android_lib() 22 strstarts(filename, "/system/lib/"); in is_android_lib() 42 if (strstarts(filename, "/data/app-lib/")) { in replace_android_lib() 66 if (strstarts(filename, "/system/lib/")) { in replace_android_lib()
|
D | amd-sample-raw.c | 323 if (strstarts(name, "ibs_op")) in evlist__has_amd_ibs() 325 else if (strstarts(name, "ibs_fetch")) in evlist__has_amd_ibs()
|
/linux-6.1.9/tools/perf/arch/x86/util/ |
D | evsel.c | 33 if (env.cpuid && strstarts(env.cpuid, "AuthenticAMD")) in arch_evsel__fixup_new_cycles() 110 !strstarts(env->cpuid, "AuthenticAMD")) { in arch__post_evsel_config()
|
D | mem-events.c | 34 if (env.cpuid && strstarts(env.cpuid, "AuthenticAMD")) in perf_mem_is_amd_cpu()
|
/linux-6.1.9/tools/lib/subcmd/ |
D | parse-options.c | 393 if (strstarts(options->long_name, "no-")) { in parse_long_opt() 406 if (strstarts(options->long_name + 3, arg)) { in parse_long_opt() 431 if (strstarts("no-", arg)) { in parse_long_opt() 441 if (!rest && strstarts(options->long_name, arg + 3)) in parse_long_opt() 481 if (strstarts(arg, "no-")) { in check_typos() 489 if (strstarts(options->long_name, arg)) { in check_typos() 970 if (strstarts(opts->long_name, optstr)) in parse_options_usage() 972 if (strstarts("no-", optstr) && in parse_options_usage() 973 strstarts(opts->long_name, optstr + 3)) in parse_options_usage()
|
/linux-6.1.9/drivers/firmware/efi/libstub/ |
D | gop.c | 42 if (!strstarts(option, "mode=")) in parse_modenum() 68 if (strstarts(option, "rgb")) { in parse_res() 71 } else if (strstarts(option, "bgr")) { in parse_res() 93 if (!strstarts(option, "auto")) in parse_auto() 106 if (!strstarts(option, "list")) in parse_list()
|
/linux-6.1.9/tools/include/linux/ |
D | string.h | 40 static inline bool strstarts(const char *str, const char *prefix) in strstarts() function
|
/linux-6.1.9/drivers/platform/x86/ |
D | acerhdf.c | 639 if (strstarts(vendor, bt->vendor) && in acerhdf_check_hardware() 640 strstarts(product, bt->product) && in acerhdf_check_hardware() 641 strstarts(version, bt->version)) { in acerhdf_check_hardware()
|
/linux-6.1.9/arch/mips/bcm47xx/ |
D | board.c | 252 if (strstarts(buf1, e1->value1)) in bcm47xx_board_get_nvram() 260 if (!strstarts(buf1, e2->value1) && in bcm47xx_board_get_nvram()
|
/linux-6.1.9/tools/perf/ui/browsers/ |
D | scripts.c | 66 if (!strstarts(var, "scripts.")) in scripts_config()
|
/linux-6.1.9/drivers/gpu/drm/omapdrm/dss/ |
D | base.c | 277 if (!strstarts(comp->compat, "omapdss,")) in omapdss_component_is_loaded()
|
/linux-6.1.9/drivers/memory/tegra/ |
D | tegra20.c | 410 if (strstarts(node->name, "display") || in tegra20_mc_of_icc_xlate_extended() 411 strstarts(node->name, "vi")) in tegra20_mc_of_icc_xlate_extended()
|
/linux-6.1.9/include/linux/ |
D | string.h | 214 static inline bool strstarts(const char *str, const char *prefix) in strstarts() function
|