Home
last modified time | relevance | path

Searched refs:strstarts (Results 26 – 50 of 58) sorted by relevance

123

/openbmc/linux/include/linux/
H A Dstring.h255 static inline bool strstarts(const char *str, const char *prefix) in strstarts() function
/openbmc/u-boot/scripts/dtc/
H A Ddtc.h70 #define strstarts(s, prefix) (strncmp((s), (prefix), strlen(prefix)) == 0) macro
H A Dflattree.c734 if (!strstarts(cpath, ppath)) in nodename_from_path()
/openbmc/linux/tools/lib/subcmd/
H A Dhelp.c199 if (!strstarts(de->d_name, prefix)) in list_commands_in_dir()
/openbmc/linux/drivers/usb/musb/
H A Dmusb_cppi41.c689 if (strstarts(str, "tx")) in cppi41_dma_controller_start()
691 else if (strstarts(str, "rx")) in cppi41_dma_controller_start()
/openbmc/linux/tools/perf/
H A Dbuiltin-kwork.c1823 if (strlen(argv[0]) > 2 && strstarts("record", argv[0])) in cmd_kwork()
1825 else if (strlen(argv[0]) > 2 && strstarts("report", argv[0])) { in cmd_kwork()
1835 } else if (strlen(argv[0]) > 2 && strstarts("latency", argv[0])) { in cmd_kwork()
1845 } else if (strlen(argv[0]) > 2 && strstarts("timehist", argv[0])) { in cmd_kwork()
H A Dbuiltin-lock.c2578 if (strlen(argv[0]) > 2 && strstarts("record", argv[0])) { in cmd_lock()
2580 } else if (strlen(argv[0]) > 2 && strstarts("report", argv[0])) { in cmd_lock()
2602 } else if (strlen(argv[0]) > 2 && strstarts("contention", argv[0])) { in cmd_lock()
H A Dbuiltin-ftrace.c957 if (!strstarts(var, "ftrace.")) in perf_ftrace_config()
H A Dbuiltin-sched.c3629 } else if (strlen(argv[0]) > 2 && strstarts("record", argv[0])) { in cmd_sched()
3631 } else if (strlen(argv[0]) > 2 && strstarts("latency", argv[0])) { in cmd_sched()
3649 } else if (strlen(argv[0]) > 2 && strstarts("replay", argv[0])) { in cmd_sched()
H A Dbuiltin-stat.c2512 if (argc && strlen(argv[0]) > 2 && strstarts("record", argv[0])) { in cmd_stat()
2516 } else if (argc && strlen(argv[0]) > 2 && strstarts("report", argv[0])) in cmd_stat()
H A Dbuiltin-daemon.c219 if (strstarts(var, "session-")) { in server_config()
/openbmc/linux/scripts/dtc/
H A Ddtc.h92 #define strstarts(s, prefix) (strncmp((s), (prefix), strlen(prefix)) == 0) macro
H A Dflattree.c720 if (!strstarts(cpath, ppath)) in nodename_from_path()
/openbmc/linux/arch/mips/bcm63xx/boards/
H A Dboard_bcm963xx.c750 if (strstarts(cfe, "cfe-")) { in board_prom_init()
/openbmc/linux/drivers/usb/dwc3/
H A Ddwc3-pci.c287 strstarts(bios_ver, "BLADE_21.X64.0005.R00.1504101516"))) { in dwc3_pci_quirks()
/openbmc/linux/kernel/module/
H A Dkallsyms.c71 if (strstarts(info->secstrings + sechdrs[sym->st_shndx].sh_name, in elf_type()
H A Dmain.c1622 return strstarts(name, ".init"); in module_init_section()
1627 return strstarts(name, ".exit"); in module_exit_section()
/openbmc/linux/drivers/firmware/efi/libstub/
H A Defi-stub-helper.c100 val && strstarts(val, "efifb:")) { in efi_parse_options()
/openbmc/linux/tools/perf/util/
H A Dpmus.c47 if (!strstarts(str, "uncore_")) in pmu_name_len_no_suffix()
/openbmc/linux/crypto/
H A Dessiv.c513 if (!strstarts(block_base->cra_name, "authenc(")) { in essiv_create()
/openbmc/linux/tools/perf/ui/
H A Dbrowser.c582 if (!strstarts(var, "colors.") != 0) in ui_browser__color_config()
/openbmc/linux/tools/perf/ui/stdio/
H A Dhist.c240 sort_order && strstarts(sort_order, "sym")) in callchain__fprintf_graph()
/openbmc/linux/drivers/platform/x86/
H A Dtouchscreen_dmi.c1833 strstarts(client->name, ts_data->acpi_name)) { in ts_dmi_add_props()
/openbmc/linux/drivers/gpu/drm/renesas/rcar-du/
H A Drcar_du_crtc.c1056 } else if (strstarts(source_name, "plane")) { in rcar_du_crtc_parse_crc_source()
/openbmc/linux/drivers/hid/
H A Dhid-uclogic-params.c1265 if (strstarts(udev->product, "Deco LW")) in uclogic_params_ugee_v2_has_battery()

123