Home
last modified time | relevance | path

Searched refs:strstarts (Results 1 – 25 of 36) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/usb/musb/
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(buf, "test SE0 NAK")) in musb_test_mode_write()
Dmusb_cppi41.c689 if (strstarts(str, "tx")) in cppi41_dma_controller_start()
691 else if (strstarts(str, "rx")) in cppi41_dma_controller_start()
/kernel/linux/linux-5.10/tools/perf/
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()
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()
Dbuiltin-config.c81 if (!strstarts(var, section->name)) in show_spec_config()
Dbuiltin-ftrace.c701 if (!strstarts(var, "ftrace.")) in perf_ftrace_config()
/kernel/linux/linux-5.10/arch/arm/kernel/
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-5.10/scripts/mod/
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(symname, "_save32gpr_") || in ignore_undef_symbol()
[all …]
/kernel/linux/linux-5.10/tools/perf/util/
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()
Dmap.c32 return strstarts(filename, "/data/app-lib/") || in is_android_lib()
33 strstarts(filename, "/system/lib/"); in is_android_lib()
53 if (strstarts(filename, "/data/app-lib/")) { in replace_android_lib()
77 if (strstarts(filename, "/system/lib/")) { in replace_android_lib()
Dllvm-utils.c43 if (!strstarts(var, "llvm.")) in perf_llvm_config()
/kernel/linux/linux-5.10/tools/lib/subcmd/
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()
Dhelp.c177 if (!strstarts(de->d_name, prefix)) in list_commands_in_dir()
/kernel/linux/linux-5.10/drivers/firmware/efi/libstub/
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()
Defi-stub-helper.c233 val && strstarts(val, "efifb:")) { in efi_parse_options()
/kernel/linux/linux-5.10/tools/perf/arch/arm/util/
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/
Dstring.h40 static inline bool strstarts(const char *str, const char *prefix) in strstarts() function
/kernel/linux/linux-5.10/arch/mips/bcm47xx/
Dboard.c246 if (strstarts(buf1, e1->value1)) in bcm47xx_board_get_nvram()
254 if (!strstarts(buf1, e2->value1) && in bcm47xx_board_get_nvram()
/kernel/linux/linux-5.10/tools/perf/ui/browsers/
Dscripts.c66 if (!strstarts(var, "scripts.")) in scripts_config()
/kernel/linux/linux-5.10/drivers/ide/
Dide-floppy.c498 if (strstarts((char *)&id[ATA_ID_PROD], "IOMEGA ZIP 100 ATAPI")) { in ide_floppy_setup()
509 if (strstarts((char *)&id[ATA_ID_PROD], "IOMEGA Clik!")) { in ide_floppy_setup()
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/dss/
Dbase.c353 if (!strstarts(comp->compat, "omapdss,")) in omapdss_component_is_loaded()
/kernel/linux/linux-5.10/scripts/dtc/
Ddtc.h87 #define strstarts(s, prefix) (strncmp((s), (prefix), strlen(prefix)) == 0) macro
/kernel/linux/linux-5.10/arch/mips/bcm63xx/boards/
Dboard_bcm963xx.c750 if (strstarts(cfe, "cfe-")) { in board_prom_init()
/kernel/linux/linux-5.10/include/linux/
Dstring.h220 static inline bool strstarts(const char *str, const char *prefix) in strstarts() function
/kernel/linux/linux-5.10/crypto/
Dessiv.c507 if (!strstarts(block_base->cra_name, "authenc(")) { in essiv_create()

12