Home
last modified time | relevance | path

Searched refs:strstarts (Results 1 - 25 of 90) sorted by relevance

1234

/kernel/linux/linux-6.6/tools/perf/arch/x86/annotate/
H A Dinstructions.c126 if (arch->family >= 0x15 && (strstarts(ins1, "test") || in amd__ins_is_fused()
127 (strstarts(ins1, "cmp") && !strstr(ins1, "xchg")))) { in amd__ins_is_fused()
132 if (arch->family >= 0x19 && (strstarts(ins1, "add") || in amd__ins_is_fused()
133 strstarts(ins1, "sub") || strstarts(ins1, "and") || in amd__ins_is_fused()
134 strstarts(ins1, "inc") || strstarts(ins1, "dec") || in amd__ins_is_fused()
135 strstarts(ins1, "or") || strstarts(ins1, "xor"))) { in amd__ins_is_fused()
182 arch->ins_is_fused = strstarts(cpui in x86__cpuid_parse()
[all...]
/kernel/linux/linux-5.10/drivers/usb/musb/
H A Dmusb_debugfs.c184 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(bu in musb_test_mode_write()
[all...]
/kernel/linux/linux-6.6/drivers/usb/musb/
H A Dmusb_debugfs.c184 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(bu in musb_test_mode_write()
[all...]
/kernel/linux/linux-5.10/tools/perf/
H A Dperf.c101 if (strstarts(var, "pager.") && !strcmp(var + 6, c->cmd)) in pager_command_config()
120 if (strstarts(var, "tui.") && !strcmp(var + 4, c->cmd)) in browser_command_config()
122 if (strstarts(var, "gtk.") && !strcmp(var + 4, c->cmd)) in browser_command_config()
210 if (strstarts(cmd, CMD_EXEC_PATH)) { in handle_options()
247 } else if (strstarts(cmd, CMD_DEBUGFS_DIR)) { in handle_options()
477 if (strstarts(cmd, "perf-")) { in main()
488 if (strstarts(cmd, "trace")) { in main()
506 if (strstarts(argv[0], "--")) in main()
H A Dbuiltin-help.c99 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()
/kernel/linux/linux-6.6/tools/perf/arch/arm/util/
H A Dpmu.c26 } else if (strstarts(pmu->name, ARM_SPE_PMU_NAME)) { in perf_pmu__get_default_config()
28 } else if (strstarts(pmu->name, HISI_PTT_PMU_NAME)) { in perf_pmu__get_default_config()
/kernel/linux/linux-6.6/tools/perf/
H A Dperf.c105 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()
472 if (strstarts(cmd, "perf-")) { in main()
483 if (strstarts(cmd, "trace")) { in main()
505 if (strstarts(argv[0], "--")) in main()
H A Dbuiltin-help.c101 if (!strstarts(buffer.buf, "emacsclient")) { in check_emacsclient_version()
294 if (strstarts(var, "man.")) in perf_help_config()
324 else if (strstarts(perf_cmd, "perf")) in cmd_to_page()
/kernel/linux/linux-5.10/scripts/mod/
H A Dmodpost.c346 #define strstarts(str, prefix) (strncmp(str, prefix, strlen(prefix)) == 0) macro
352 if (strstarts(secname, "___ksymtab+")) in export_from_secname()
354 else if (strstarts(secname, "___ksymtab_unused+")) in export_from_secname()
356 else if (strstarts(secname, "___ksymtab_gpl+")) in export_from_secname()
358 else if (strstarts(secname, "___ksymtab_unused_gpl+")) in export_from_secname()
360 else if (strstarts(secname, "___ksymtab_gpl_future+")) in export_from_secname()
652 if (strstarts(symname, "_restgpr_") || in ignore_undef_symbol()
653 strstarts(symname, "_savegpr_") || in ignore_undef_symbol()
654 strstarts(symname, "_rest32gpr_") || in ignore_undef_symbol()
655 strstarts(symnam in ignore_undef_symbol()
[all...]
/kernel/linux/linux-5.10/tools/perf/util/
H A Dconfig.c467 if (strstarts(var, "core.")) in perf_default_config()
470 if (strstarts(var, "hist.")) in perf_default_config()
473 if (strstarts(var, "ui.")) in perf_default_config()
476 if (strstarts(var, "call-graph.")) in perf_default_config()
479 if (strstarts(var, "llvm.")) in perf_default_config()
482 if (strstarts(var, "buildid.")) in perf_default_config()
485 if (strstarts(var, "stat.")) in perf_default_config()
/kernel/linux/linux-5.10/arch/arm/kernel/
H A Dmodule.c59 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()
/kernel/linux/linux-6.6/arch/arm/kernel/
H A Dmodule.c59 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()
/kernel/linux/linux-6.6/scripts/mod/
H A Dmodpost.c368 #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(symnam in ignore_undef_symbol()
[all...]
/kernel/linux/linux-5.10/tools/lib/subcmd/
H A Dparse-options.c393 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()
959 if (strstarts(opts->long_name, optstr)) in parse_options_usage()
961 if (strstarts("no-", optstr) && in parse_options_usage()
962 strstarts(opts->long_name, optstr + 3)) in parse_options_usage()
/kernel/linux/linux-6.6/tools/lib/subcmd/
H A Dparse-options.c393 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()
/kernel/linux/linux-5.10/drivers/firmware/efi/libstub/
H A Dgop.c42 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()
/kernel/linux/linux-6.6/drivers/firmware/efi/libstub/
H A Dgop.c42 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()
/kernel/linux/linux-6.6/tools/perf/util/
H A Dconfig.c476 if (strstarts(var, "core.")) in perf_default_config()
479 if (strstarts(var, "hist.")) in perf_default_config()
482 if (strstarts(var, "ui.")) in perf_default_config()
485 if (strstarts(var, "call-graph.")) in perf_default_config()
488 if (strstarts(var, "buildid.")) in perf_default_config()
491 if (strstarts(var, "stat.")) in perf_default_config()
H A Dsample-raw.c22 cpuid && strstarts(cpuid, "AuthenticAMD") && in evlist__init_trace_event_sample_raw()
H A Dmap.c21 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()
/kernel/linux/linux-6.6/tools/perf/arch/x86/util/
H A Denv.c15 is_amd = env.cpuid && strstarts(env.cpuid, "AuthenticAMD") ? 1 : -1; in x86__is_amd_cpu()
/kernel/linux/linux-5.10/tools/perf/arch/arm/util/
H A Dpmu.c23 } else if (strstarts(pmu->name, ARM_SPE_PMU_NAME)) { in perf_pmu__get_default_config()
/kernel/linux/linux-5.10/tools/include/linux/
H A Dstring.h36 * strstarts - does @str start with @prefix?
40 static inline bool strstarts(const char *str, const char *prefix) in strstarts() function
/kernel/linux/linux-6.6/tools/include/linux/
H A Dstring.h36 * strstarts - does @str start with @prefix?
40 static inline bool strstarts(const char *str, const char *prefix) in strstarts() function
/kernel/linux/linux-5.10/arch/mips/bcm47xx/
H A Dboard.c246 if (strstarts(buf1, e1->value1)) in bcm47xx_board_get_nvram()
254 if (!strstarts(buf1, e2->value1) && in bcm47xx_board_get_nvram()

Completed in 20 milliseconds

1234