| /linux/drivers/usb/musb/ |
| A 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/tools/perf/arch/arm/util/ |
| A D | pmu.c | 30 } else if (strstarts(pmu->name, ARM_SPE_PMU_NAME)) { in perf_pmu__arch_init() 35 if (strstarts(pmu->name, "arm_spe_")) in perf_pmu__arch_init() 37 } else if (strstarts(pmu->name, HISI_PTT_PMU_NAME)) { in perf_pmu__arch_init()
|
| /linux/tools/perf/ |
| A D | perf.c | 108 return (strstarts(var, header) && !strcmp(var + strlen(header), c->cmd)); in same_cmd_with_prefix() 237 if (strstarts(cmd, CMD_EXEC_PATH)) { in handle_options() 274 } else if (strstarts(cmd, CMD_DEBUGFS_DIR)) { in handle_options() 501 if (strstarts(cmd, "perf-")) { in main() 512 if (strstarts(cmd, "trace")) { in main() 534 if (strstarts(argv[0], "--")) in main()
|
| A D | builtin-help.c | 101 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()
|
| A D | builtin-kvm.c | 2037 if (strlen(argv[1]) > 2 && strstarts("record", argv[1])) in kvm_cmd_stat() 2040 if (strlen(argv[1]) > 2 && strstarts("report", argv[1])) in kvm_cmd_stat() 2170 if (strlen(argv[0]) > 2 && strstarts("record", argv[0])) in cmd_kvm() 2172 else if (strlen(argv[0]) > 2 && strstarts("report", argv[0])) in cmd_kvm() 2174 else if (strlen(argv[0]) > 2 && strstarts("diff", argv[0])) in cmd_kvm() 2178 else if (strlen(argv[0]) > 2 && strstarts("buildid-list", argv[0])) in cmd_kvm() 2181 else if (strlen(argv[0]) > 2 && strstarts("stat", argv[0])) in cmd_kvm()
|
| A D | builtin-mem.c | 537 if (strlen(argv[0]) > 2 && strstarts("record", argv[0])) in cmd_mem() 539 else if (strlen(argv[0]) > 2 && strstarts("report", argv[0])) in cmd_mem()
|
| A D | builtin-config.c | 82 if (!strstarts(var, section->name)) in show_spec_config()
|
| /linux/tools/perf/arch/x86/annotate/ |
| A D | instructions.c | 129 if (arch->family >= 0x15 && (strstarts(ins1, "test") || in amd__ins_is_fused() 130 (strstarts(ins1, "cmp") && !strstr(ins1, "xchg")))) { in amd__ins_is_fused() 135 if (arch->family >= 0x19 && (strstarts(ins1, "add") || in amd__ins_is_fused() 136 strstarts(ins1, "sub") || strstarts(ins1, "and") || in amd__ins_is_fused() 137 strstarts(ins1, "inc") || strstarts(ins1, "dec") || in amd__ins_is_fused() 138 strstarts(ins1, "or") || strstarts(ins1, "xor"))) { in amd__ins_is_fused() 185 arch->ins_is_fused = strstarts(cpuid, "AuthenticAMD") ? in x86__cpuid_parse()
|
| /linux/arch/arm/kernel/ |
| A D | module.c | 25 return strstarts(name, ".init") || in module_init_section() 26 strstarts(name, ".ARM.extab.init") || in module_init_section() 27 strstarts(name, ".ARM.exidx.init"); in module_init_section() 32 return strstarts(name, ".exit") || in module_exit_section() 33 strstarts(name, ".ARM.extab.exit") || in module_exit_section() 34 strstarts(name, ".ARM.exidx.exit"); in module_exit_section()
|
| /linux/scripts/mod/ |
| A D | modpost.c | 585 if (strstarts(symname, "_restgpr_") || in ignore_undef_symbol() 586 strstarts(symname, "_savegpr_") || in ignore_undef_symbol() 589 strstarts(symname, "_restvr_") || in ignore_undef_symbol() 590 strstarts(symname, "_savevr_")) in ignore_undef_symbol() 594 if (strstarts(symname, "_restgpr0_") || in ignore_undef_symbol() 596 strstarts(symname, "_restvr_") || in ignore_undef_symbol() 597 strstarts(symname, "_savevr_") || in ignore_undef_symbol() 935 strstarts(fromsym, "__param")) in secref_whitelist() 941 strstarts(fromsym, "__param_ops_")) in secref_whitelist() 951 if (strstarts(fromsec, ".head.text") && in secref_whitelist() [all …]
|
| /linux/tools/lib/subcmd/ |
| A 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() 982 if (strstarts(opts->long_name, optstr)) in parse_options_usage() 984 if (strstarts("no-", optstr) && in parse_options_usage() 985 strstarts(opts->long_name, optstr + 3)) in parse_options_usage()
|
| /linux/tools/perf/util/ |
| A D | config.c | 476 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()
|
| A D | sample-raw.c | 22 cpuid && strstarts(cpuid, "AuthenticAMD") && in evlist__init_trace_event_sample_raw()
|
| A 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()
|
| A 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/drivers/firmware/efi/libstub/ |
| A 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/tools/perf/arch/x86/util/ |
| A D | env.c | 15 is_amd = env.cpuid && strstarts(env.cpuid, "AuthenticAMD") ? 1 : -1; in x86__is_amd_cpu()
|
| /linux/drivers/platform/x86/ |
| A D | acerhdf.c | 585 if (strstarts(vendor, bt->vendor) && in acerhdf_check_hardware() 586 strstarts(product, bt->product) && in acerhdf_check_hardware() 587 strstarts(version, bt->version)) { in acerhdf_check_hardware()
|
| A D | thinkpad_acpi.c | 1347 if (strstarts(cmd, "enable")) in tpacpi_rfk_procfs_write() 1349 else if (strstarts(cmd, "disable")) in tpacpi_rfk_procfs_write() 4036 if (strstarts(cmd, "enable")) { in hotkey_write() 5372 if (strstarts(cmd, "on")) { in light_write() 6911 if (strstarts(cmd, "up")) { in brightness_write() 7661 if (strstarts(cmd, "up")) { in volume_write() 7679 if (strstarts(cmd, "mute")) in volume_write() 9145 if (strstarts(cmd, "level auto")) in fan_write_cmd_level() 9147 else if (strstarts(cmd, "level disengaged") || strstarts(cmd, "level full-speed")) in fan_write_cmd_level() 9165 if (!strstarts(cmd, "enable")) in fan_write_cmd_enable() [all …]
|
| /linux/tools/include/linux/ |
| A D | string.h | 42 static inline bool strstarts(const char *str, const char *prefix) in strstarts() function
|
| /linux/arch/mips/bcm47xx/ |
| A D | board.c | 254 if (strstarts(buf1, e1->value1)) in bcm47xx_board_get_nvram() 262 if (!strstarts(buf1, e2->value1) && in bcm47xx_board_get_nvram()
|
| /linux/drivers/platform/x86/hp/hp-bioscfg/ |
| A D | spmobj-attributes.c | 54 if (!strstarts(authentication, BEAM_PREFIX)) in hp_calculate_security_buffer() 75 if (strstarts(authentication, BEAM_PREFIX)) { in hp_populate_security_buffer()
|
| /linux/tools/perf/ui/browsers/ |
| A D | scripts.c | 66 if (!strstarts(var, "scripts.")) in scripts_config()
|
| /linux/tools/perf/tests/ |
| A D | symbols.c | 148 if (dso != text_dso && strstarts(dso__short_name(dso), dso__short_name(text_dso))) in subdivided_dso_cb()
|
| /linux/drivers/gpu/drm/omapdrm/dss/ |
| A D | base.c | 276 if (!strstarts(comp->compat, "omapdss,")) in omapdss_component_is_loaded()
|