Home
last modified time | relevance | path

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

12

/Linux-v5.4/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()
/Linux-v5.4/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.c406 if (!strstarts(var, "ftrace.")) in perf_ftrace_config()
/Linux-v5.4/scripts/mod/
Dmodpost.c315 #define strstarts(str, prefix) (strncmp(str, prefix, strlen(prefix)) == 0) macro
321 if (strstarts(secname, "___ksymtab+")) in export_from_secname()
323 else if (strstarts(secname, "___ksymtab_unused+")) in export_from_secname()
325 else if (strstarts(secname, "___ksymtab_gpl+")) in export_from_secname()
327 else if (strstarts(secname, "___ksymtab_unused_gpl+")) in export_from_secname()
329 else if (strstarts(secname, "___ksymtab_gpl_future+")) in export_from_secname()
663 if (strstarts(symname, "_restgpr_") || in ignore_undef_symbol()
664 strstarts(symname, "_savegpr_") || in ignore_undef_symbol()
665 strstarts(symname, "_rest32gpr_") || in ignore_undef_symbol()
666 strstarts(symname, "_save32gpr_") || in ignore_undef_symbol()
[all …]
/Linux-v5.4/tools/perf/util/
Dconfig.c446 if (strstarts(var, "core.")) in perf_default_config()
449 if (strstarts(var, "hist.")) in perf_default_config()
452 if (strstarts(var, "ui.")) in perf_default_config()
455 if (strstarts(var, "call-graph.")) in perf_default_config()
458 if (strstarts(var, "llvm.")) in perf_default_config()
461 if (strstarts(var, "buildid.")) in perf_default_config()
Dllvm-utils.c43 if (!strstarts(var, "llvm.")) in perf_llvm_config()
/Linux-v5.4/tools/lib/subcmd/
Dparse-options.c390 if (strstarts(options->long_name, "no-")) { in parse_long_opt()
403 if (strstarts(options->long_name + 3, arg)) { in parse_long_opt()
428 if (strstarts("no-", arg)) { in parse_long_opt()
438 if (!rest && strstarts(options->long_name, arg + 3)) in parse_long_opt()
478 if (strstarts(arg, "no-")) { in check_typos()
486 if (strstarts(options->long_name, arg)) { in check_typos()
956 if (strstarts(opts->long_name, optstr)) in parse_options_usage()
958 if (strstarts("no-", optstr) && in parse_options_usage()
959 strstarts(opts->long_name, optstr + 3)) in parse_options_usage()
Dhelp.c175 if (!strstarts(de->d_name, prefix)) in list_commands_in_dir()
/Linux-v5.4/tools/perf/arch/arm/util/
Dpmu.c23 } else if (strstarts(pmu->name, ARM_SPE_PMU_NAME)) { in perf_pmu__get_default_config()
/Linux-v5.4/tools/include/linux/
Dstring.h32 static inline bool strstarts(const char *str, const char *prefix) in strstarts() function
/Linux-v5.4/arch/arm/kernel/
Dmodule.c60 return strstarts(name, ".exit") || in module_exit_section()
61 strstarts(name, ".ARM.extab.exit") || in module_exit_section()
62 strstarts(name, ".ARM.exidx.exit"); in module_exit_section()
/Linux-v5.4/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()
/Linux-v5.4/tools/perf/ui/browsers/
Dscripts.c66 if (!strstarts(var, "scripts.")) in scripts_config()
/Linux-v5.4/drivers/ide/
Dide-floppy.c497 if (strstarts((char *)&id[ATA_ID_PROD], "IOMEGA ZIP 100 ATAPI")) { in ide_floppy_setup()
508 if (strstarts((char *)&id[ATA_ID_PROD], "IOMEGA Clik!")) { in ide_floppy_setup()
/Linux-v5.4/drivers/gpu/drm/omapdrm/dss/
Dbase.c378 if (!strstarts(comp->compat, "omapdss,")) in omapdss_component_is_loaded()
/Linux-v5.4/scripts/dtc/
Ddtc.h56 #define strstarts(s, prefix) (strncmp((s), (prefix), strlen(prefix)) == 0) macro
Dflattree.c719 if (!strstarts(cpath, ppath)) in nodename_from_path()
/Linux-v5.4/include/linux/
Dstring.h224 static inline bool strstarts(const char *str, const char *prefix) in strstarts() function
/Linux-v5.4/crypto/
Dessiv.c530 if (!strstarts(block_base->cra_name, "authenc(")) { in essiv_create()
/Linux-v5.4/tools/perf/ui/
Dbrowser.c580 if (!strstarts(var, "colors.") != 0) in ui_browser__color_config()
/Linux-v5.4/tools/perf/ui/stdio/
Dhist.c239 sort_order && strstarts(sort_order, "sym")) in callchain__fprintf_graph()
/Linux-v5.4/kernel/
Dmodule.c2439 || strstarts(sname, ".init")) in layout_sections()
2472 || !strstarts(sname, ".init")) in layout_sections()
2644 if (strstarts(info->secstrings + sechdrs[sym->st_shndx].sh_name, in elf_type()
2809 return strstarts(name, ".exit"); in module_exit_section()

12