| /linux-6.15/drivers/usb/musb/ |
| H 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-6.15/tools/perf/arch/arm/util/ |
| H 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-6.15/tools/perf/ |
| H 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() 530 if (strstarts(argv[0], "--")) in main()
|
| H 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()
|
| H A D | builtin-kvm.c | 1978 if (strlen(argv[1]) > 2 && strstarts("record", argv[1])) in kvm_cmd_stat() 1981 if (strlen(argv[1]) > 2 && strstarts("report", argv[1])) in kvm_cmd_stat() 2112 if (strlen(argv[0]) > 2 && strstarts("record", argv[0])) in cmd_kvm() 2114 else if (strlen(argv[0]) > 2 && strstarts("report", argv[0])) in cmd_kvm() 2116 else if (strlen(argv[0]) > 2 && strstarts("diff", argv[0])) in cmd_kvm() 2120 else if (strlen(argv[0]) > 2 && strstarts("buildid-list", argv[0])) in cmd_kvm() 2123 else if (strlen(argv[0]) > 2 && strstarts("stat", argv[0])) in cmd_kvm()
|
| H A D | builtin-mem.c | 541 if (strlen(argv[0]) > 2 && strstarts("record", argv[0])) in cmd_mem() 543 else if (strlen(argv[0]) > 2 && strstarts("report", argv[0])) in cmd_mem()
|
| /linux-6.15/tools/perf/arch/x86/annotate/ |
| H 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-6.15/arch/arm/kernel/ |
| H 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-6.15/scripts/mod/ |
| H A D | modpost.c | 592 if (strstarts(symname, "_restgpr_") || in ignore_undef_symbol() 593 strstarts(symname, "_savegpr_") || in ignore_undef_symbol() 596 strstarts(symname, "_restvr_") || in ignore_undef_symbol() 597 strstarts(symname, "_savevr_")) in ignore_undef_symbol() 601 if (strstarts(symname, "_restgpr0_") || in ignore_undef_symbol() 603 strstarts(symname, "_restvr_") || in ignore_undef_symbol() 604 strstarts(symname, "_savevr_") || in ignore_undef_symbol() 942 strstarts(fromsym, "__param")) in secref_whitelist() 948 strstarts(fromsym, "__param_ops_")) in secref_whitelist() 958 if (strstarts(fromsec, ".head.text") && in secref_whitelist() [all …]
|
| H A D | modpost.h | 84 #define strstarts(str, prefix) (strncmp(str, prefix, strlen(prefix)) == 0) macro
|
| /linux-6.15/tools/lib/subcmd/ |
| H 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-6.15/drivers/firmware/efi/libstub/ |
| H 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-6.15/tools/perf/util/ |
| H A D | config.c | 503 if (strstarts(var, "core.")) in perf_default_config() 506 if (strstarts(var, "hist.")) in perf_default_config() 509 if (strstarts(var, "ui.")) in perf_default_config() 512 if (strstarts(var, "call-graph.")) in perf_default_config() 515 if (strstarts(var, "buildid.")) in perf_default_config() 518 if (strstarts(var, "stat.")) in perf_default_config()
|
| H A D | sample-raw.c | 22 cpuid && strstarts(cpuid, "AuthenticAMD") && in evlist__init_trace_event_sample_raw()
|
| H 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()
|
| H 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-6.15/drivers/platform/x86/ |
| H 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()
|
| H 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() 4041 if (strstarts(cmd, "enable")) { in hotkey_write() 5377 if (strstarts(cmd, "on")) { in light_write() 6916 if (strstarts(cmd, "up")) { in brightness_write() 7666 if (strstarts(cmd, "up")) { in volume_write() 7684 if (strstarts(cmd, "mute")) in volume_write() 9173 if (strstarts(cmd, "level auto")) in fan_write_cmd_level() 9175 else if (strstarts(cmd, "level disengaged") || strstarts(cmd, "level full-speed")) in fan_write_cmd_level() 9193 if (!strstarts(cmd, "enable")) in fan_write_cmd_enable() [all …]
|
| /linux-6.15/tools/include/linux/ |
| H A D | string.h | 42 static inline bool strstarts(const char *str, const char *prefix) in strstarts() function
|
| /linux-6.15/arch/mips/bcm47xx/ |
| H 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-6.15/fs/smb/client/ |
| H A D | reparse.c | 95 if (!strstarts(symname, cifs_sb->ctx->symlinkroot)) { in create_native_symlink() 872 if (strstarts(abs_path, "\\??\\")) in smb2_parse_native_symlink() 874 else if (strstarts(abs_path, "\\DosDevices\\")) in smb2_parse_native_symlink() 876 else if (strstarts(abs_path, "\\GLOBAL??\\")) in smb2_parse_native_symlink() 892 while (strstarts(abs_path, "Global\\")) in smb2_parse_native_symlink() 895 if (strstarts(abs_path, "GLOBALROOT\\")) { in smb2_parse_native_symlink()
|
| /linux-6.15/drivers/platform/x86/hp/hp-bioscfg/ |
| H 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-6.15/drivers/platform/x86/dell/ |
| H A D | dell-lis3lv02d.c | 105 return strstarts(adap->name, "SMBus I801 adapter"); in i2c_adapter_is_main_i801()
|
| /linux-6.15/drivers/gpu/drm/omapdrm/dss/ |
| H A D | base.c | 263 if (!strstarts(comp->compat, "omapdss,")) in omapdss_component_is_loaded()
|
| /linux-6.15/tools/perf/tests/ |
| H A D | symbols.c | 148 if (dso != text_dso && strstarts(dso__short_name(dso), dso__short_name(text_dso))) in subdivided_dso_cb()
|