Home
last modified time | relevance | path

Searched refs:strstr (Results 1 – 200 of 215) sorted by relevance

12

/linux-4.4.14/arch/mips/loongson64/lemote-2f/
Dmachtype.c31 if (strstr(arcs_cmdline, "PMON_VER=LM")) { in mach_prom_init_machtype()
32 if (strstr(arcs_cmdline, "PMON_VER=LM8")) in mach_prom_init_machtype()
34 else if (strstr(arcs_cmdline, "PMON_VER=LM6")) in mach_prom_init_machtype()
36 else if (strstr(arcs_cmdline, "PMON_VER=LM9")) in mach_prom_init_machtype()
/linux-4.4.14/arch/ia64/include/asm/sn/sn2/
Dsn_hwperf.h45 #define SN_HWPERF_IS_NODE(x) ((x) && strstr((x)->name, "SHub"))
46 #define SN_HWPERF_IS_NODE_SHUB2(x) ((x) && strstr((x)->name, "SHub 2."))
47 #define SN_HWPERF_IS_IONODE(x) ((x) && strstr((x)->name, "TIO"))
48 #define SN_HWPERF_IS_NL3ROUTER(x) ((x) && strstr((x)->name, "NL3Router"))
49 #define SN_HWPERF_IS_NL4ROUTER(x) ((x) && strstr((x)->name, "NL4Router"))
50 #define SN_HWPERF_IS_OLDROUTER(x) ((x) && strstr((x)->name, "Router"))
/linux-4.4.14/arch/mips/mti-sead3/
Dsead3-init.c28 if ((strstr(fw_getcmdline(), "console=")) == NULL) { in console_config()
138 if ((strstr(fw_getcmdline(), "console=ttyS0")) != NULL) in prom_init()
140 else if ((strstr(fw_getcmdline(), "console=ttyS1")) != NULL) in prom_init()
144 if ((strstr(fw_getcmdline(), "console=")) == NULL) in prom_init()
Dsead3-setup.c30 p = strstr(p, s); in get_memsize_from_cmdline()
/linux-4.4.14/arch/mips/loongson64/common/
Dmachtype.c50 p = strstr(arcs_cmdline, "machtype="); in prom_init_machtype()
58 p = strstr(str, " "); in prom_init_machtype()
63 if (strstr(system_types[machtype], str)) { in prom_init_machtype()
/linux-4.4.14/arch/mips/loongson32/common/
Dprom.c70 if (strstr(arcs_cmdline, "console=ttyS3")) in prom_init()
72 else if (strstr(arcs_cmdline, "console=ttyS2")) in prom_init()
74 else if (strstr(arcs_cmdline, "console=ttyS1")) in prom_init()
/linux-4.4.14/arch/mips/mti-malta/
Dmalta-setup.c116 if (strstr(fw_getcmdline(), "iobcuncached")) { in plat_enable_iocoherency()
181 optptr = strstr(argptr, "pci_clock="); in pci_clock_check()
221 if (strstr(argptr, "debug")) { in bonito_quirks_setup()
233 if (strstr(argptr, "iobcuncached")) { in bonito_quirks_setup()
Dmalta-init.c75 if ((strstr(fw_getcmdline(), "earlycon=")) == NULL) { in console_config()
81 if ((strstr(fw_getcmdline(), "console=")) == NULL) { in console_config()
Dmalta-dtshim.c99 var = strstr(arcs_cmdline, param_name); in append_memory()
/linux-4.4.14/include/linux/
Dfs_enet_pd.h156 if(strstr(fpi->fs_type, "SCC")) in fs_get_id()
158 if(strstr(fpi->fs_type, "FCC")) in fs_get_id()
160 if(strstr(fpi->fs_type, "FEC")) in fs_get_id()
Dfs_uart_pd.h64 if(strstr(fpi->fs_type, "SMC")) in fs_uart_get_id()
66 if(strstr(fpi->fs_type, "SCC")) in fs_uart_get_id()
Ddynamic_debug.h122 if (strstr(param, "dyndbg")) { in ddebug_dyndbg_module_param_cb()
Dstring.h74 extern char * strstr(const char *, const char *);
/linux-4.4.14/arch/powerpc/platforms/powermac/
Dsetup.c339 if (strstr(boot_command_line, "adb_sync")) { in pmac_setup_arch()
377 p = strstr(boot_command_line, "root="); in note_bootable_part()
463 if (strstr(boot_command_line, "btextdbg")) { in pmac_init_early()
472 udbg_scc_init(!!strstr(boot_command_line, "sccdbg")); in pmac_init_early()
473 udbg_adb_init(!!strstr(boot_command_line, "btextdbg")); in pmac_init_early()
545 if (strstr(boot_command_line, "console=")) { in check_pmac_serial_console()
/linux-4.4.14/arch/mips/ar7/
Dplatform.c522 if (strstr(prid, "Fritz_Box_FON")) { in detect_leds()
525 } else if (strstr(prid, "Fritz_Box_")) { in detect_leds()
529 && usb_prod != NULL && strstr(usb_prod, "DSL-502T")) { in detect_leds()
532 } else if (strstr(prid, "DG834")) { in detect_leds()
535 } else if (strstr(prid, "CYWM") || strstr(prid, "CYWL")) { in detect_leds()
538 } else if (strstr(prid, "GT701")) { in detect_leds()
Dprom.c206 if (strstr(arcs_cmdline, "console=")) in console_config()
/linux-4.4.14/arch/powerpc/mm/
Dinit_32.c108 if (strstr(boot_command_line, "nobats")) { in MMU_setup()
112 if (strstr(boot_command_line, "noltlbs")) { in MMU_setup()
Dnuma.c1004 if (strstr(p, "off")) in early_numa()
1007 if (strstr(p, "debug")) in early_numa()
1010 p = strstr(p, "fake="); in early_numa()
/linux-4.4.14/tools/thermal/tmon/
Dsysfs.c180 if (strstr(d_name, "trip_point") && in find_tzone_tp()
181 strstr(d_name, "temp")) { in find_tzone_tp()
323 temp_str = strstr(namelist[n]->d_name, "cdev"); in scan_tzones()
375 if (strstr(ptdata.cdi[k].type, ctrl_cdev)) { in scan_cdevs()
409 if (strstr(namelist[n]->d_name, CDEV)) { in probe_thermal_sysfs()
423 } else if (strstr(namelist[n]->d_name, TZONE)) { in probe_thermal_sysfs()
/linux-4.4.14/arch/um/os-Linux/
Duser_syms.c12 #undef strstr
23 EXPORT_SYMBOL(strstr);
/linux-4.4.14/drivers/firmware/
Dpcdp.c101 if (strstr(cmdline, "console=hcdp")) { in efi_setup_pcdp_console()
104 } else if (strstr(cmdline, "console=")) { in efi_setup_pcdp_console()
Ddell_rbu.c608 if (strstr(buffer, "mono")) in write_rbu_image_type()
610 else if (strstr(buffer, "packet")) in write_rbu_image_type()
612 else if (strstr(buffer, "init")) { in write_rbu_image_type()
Ddmi_scan.c748 strstr(dmi_ident[s], dmi->matches[i].substr)) in dmi_matches()
843 if (dmi_ident[f] && strstr(dmi_ident[f], str)) in dmi_name_in_serial()
858 if (dmi_ident[f] && strstr(dmi_ident[f], str)) in dmi_name_in_vendors()
/linux-4.4.14/tools/perf/arch/x86/util/
Dkvm-stat.c146 if (strstr(cpuid, "Intel")) { in cpu_isa_init()
149 } else if (strstr(cpuid, "AMD")) { in cpu_isa_init()
/linux-4.4.14/arch/mips/netlogic/xlr/
Dsetup.c120 if ((strstr(arcs_cmdline, "console=")) == NULL) { in build_arcs_cmdline()
129 if ((strstr(arcs_cmdline, "rdinit=")) == NULL) { in build_arcs_cmdline()
/linux-4.4.14/drivers/macintosh/
Dwindfarm_lm87_sensor.c119 if (strstr(loc, "DIMM")) in wf_lm87_probe()
121 else if (strstr(loc, "Processors")) in wf_lm87_probe()
/linux-4.4.14/drivers/target/iscsi/
Discsi_target_nego.c73 ptr = strstr(in_buf, pattern); in extract_param()
77 ptr = strstr(ptr, "="); in extract_param()
153 if (strstr("CHAP", authtype)) in iscsi_handle_authentication()
158 if (strstr("None", authtype)) in iscsi_handle_authentication()
161 else if (strstr("SRP", authtype)) in iscsi_handle_authentication()
165 else if (strstr("CHAP", authtype)) in iscsi_handle_authentication()
168 else if (strstr("SPKM1", authtype)) in iscsi_handle_authentication()
170 else if (strstr("SPKM2", authtype)) in iscsi_handle_authentication()
172 else if (strstr("KRB5", authtype)) in iscsi_handle_authentication()
Discsi_target_configfs.c225 str = strstr(buf, "["); in lio_target_call_addnptotpg()
229 str2 = strstr(str, "]"); in lio_target_call_addnptotpg()
238 port_str = strstr(str2, ":"); in lio_target_call_addnptotpg()
263 port_str = strstr(ip_str, ":"); in lio_target_call_addnptotpg()
1197 tpgt_str = strstr(name, "tpgt_"); in lio_target_tiqn_addtpg()
Discsi_target_tpg.c625 none = strstr(buf1, NONE); in iscsit_ta_authentication()
647 none = strstr(buf1, NONE); in iscsit_ta_authentication()
/linux-4.4.14/arch/x86/lib/
Dstrstr_32.c3 char *strstr(const char *cs, const char *ct) in strstr() function
/linux-4.4.14/tools/testing/selftests/powerpc/pmu/
Dlib.c201 if (strstr(name, "libc")) { in parse_proc_maps()
204 } else if (strstr(name, "[vdso]")) { in parse_proc_maps()
/linux-4.4.14/arch/x86/kernel/
Di386_ksyms_32.c36 EXPORT_SYMBOL(strstr);
Dearly_printk.c344 keep = (strstr(buf, "keep") != NULL); in setup_early_printk()
/linux-4.4.14/arch/unicore32/kernel/
Dearly_printk.c42 if (strstr(buf, "keep")) in setup_early_printk()
/linux-4.4.14/arch/s390/lib/
Dstring.c244 char * strstr(const char * s1,const char * s2) in strstr() function
271 EXPORT_SYMBOL(strstr);
/linux-4.4.14/drivers/firmware/efi/libstub/
Dstring.c17 char *strstr(const char *s1, const char *s2) in strstr() function
Defi-stub-helper.c324 str = strstr(cmdline, "efi="); in efi_parse_options()
391 str = strstr(str, option_string); in handle_cmdline_files()
421 str = strstr(str, option_string); in handle_cmdline_files()
/linux-4.4.14/drivers/target/loopback/
Dtcm_loop.c940 ptr = strstr(i_port, "naa."); in tcm_loop_tpg_nexus_store()
951 ptr = strstr(i_port, "fc."); in tcm_loop_tpg_nexus_store()
962 ptr = strstr(i_port, "iqn."); in tcm_loop_tpg_nexus_store()
1061 if (strstr(name, "tpgt_") != name) { in tcm_loop_make_naa_tpg()
1142 ptr = strstr(name, "naa."); in tcm_loop_make_scsi_hba()
1147 ptr = strstr(name, "fc."); in tcm_loop_make_scsi_hba()
1153 ptr = strstr(name, "iqn."); in tcm_loop_make_scsi_hba()
/linux-4.4.14/arch/powerpc/kernel/
Dprom_init.c606 opt = strstr(prom_cmd_line, "iommu="); in early_cmdline_parse()
618 opt = strstr(prom_cmd_line, "mem="); in early_cmdline_parse()
1534 if ((type[0] == 0) || (strstr(type, "pci") == NULL)) in prom_initialize_tce_table()
1539 if ((strstr(compatible, "python") == NULL) && in prom_initialize_tce_table()
1540 (strstr(compatible, "Speedwagon") == NULL) && in prom_initialize_tce_table()
1541 (strstr(compatible, "Winnipeg") == NULL)) in prom_initialize_tce_table()
1544 if ((strstr(model, "ython") == NULL) && in prom_initialize_tce_table()
1545 (strstr(model, "peedwagon") == NULL) && in prom_initialize_tce_table()
1546 (strstr(model, "innipeg") == NULL)) in prom_initialize_tce_table()
1855 if (strstr(p, "Power Macintosh") || in prom_find_machine_type()
[all …]
Dmodule_32.c112 if ((strstr(secstrings + sechdrs[i].sh_name, ".init") != 0) in get_plt_size()
117 if (strstr(secstrings + sechdrs[i].sh_name, ".debug") != 0) in get_plt_size()
Dudbg.c170 if (strstr(boot_command_line, "udbg-immortal")) { in register_early_udbg_console()
Drtas_pci.c186 if (model && strstr(model, "Python")) in is_python()
Dprom.c273 if (model && strstr(model, "440EP")) { in identical_pvr_fixup()
Dmodule_64.c380 while ((p = strstr(secstrings + sechdrs[i].sh_name, ".init"))) in module_frob_arch_sections()
Dlegacy_serial.c579 if (strstr(boot_command_line, "console=")) { in check_legacy_serial_console()
/linux-4.4.14/tools/testing/selftests/vm/
Dmlock2-tests.c198 if (!strstr(line, VMFLAGS)) { in is_vmflag_set()
206 ret = (strstr(flags, vmflag) != NULL); in is_vmflag_set()
241 if (!strstr(line, SIZE)) { in is_vma_lock_on_fault()
257 if (!strstr(line, RSS)) { in is_vma_lock_on_fault()
/linux-4.4.14/drivers/ide/
Dide-iops.c201 strstr((char *)&id[ATA_ID_FW_REV], table->id_firmware))) in ide_in_drive_list()
259 if (strstr(model, "TSSTcorp CDDVDW SH-S202")) { in eighty_ninty_three()
304 if (strstr(m, *list) != NULL) { in ide_check_nien_quirk_list()
Dide-probe.c132 if (!strstr(m, "CD-ROM")) { in ide_classify_atapi_dev()
133 if (!strstr(m, "oppy") && in ide_classify_atapi_dev()
134 !strstr(m, "poyp") && in ide_classify_atapi_dev()
135 !strstr(m, "ZIP")) in ide_classify_atapi_dev()
149 if (!strstr(m, "CD-ROM") && strstr(m, "ZIP")) { in ide_classify_atapi_dev()
230 if (strstr(m, "E X A B Y T E N E S T")) in do_identify()
Dide-atapi.c52 !strstr((char *)&id[ATA_ID_PROD], "CD-ROM") && in ide_check_atapi_device()
53 strstr((char *)&id[ATA_ID_PROD], "ZIP")) in ide_check_atapi_device()
Dalim15x3.c149 strstr((char *)&drive->id[ATA_ID_PROD], "WDC ")) in ali_udma_filter()
Dide-gd.c360 if (!strstr("ide-gd", drive->driver_req))
Dit821x.c464 if (strstr((char *)&id[ATA_ID_PROD], in it821x_quirkproc()
Dsiimage.c227 return strstr(m, "Maxtor") ? ATA_UDMA5 : ATA_UDMA6; in sil_sata_udma_filter()
Dide-cd.c1487 strstr((char *)&id[ATA_ID_FW_REV], cle->id_firmware))) in ide_cd_flags()
1735 if (!strstr("ide-cdrom", drive->driver_req)) in ide_cd_probe()
Dide-tape.c1763 if (strstr((char *)&drive->id[ATA_ID_PROD], "Seagate STT3401")) in idetape_setup()
1961 if (!strstr(DRV_NAME, drive->driver_req)) in ide_tape_probe()
/linux-4.4.14/drivers/net/hamradio/
Dbaycom_epp.c972 if (strstr(modestr,"intclk")) in baycom_setmode()
974 if (strstr(modestr,"extclk")) in baycom_setmode()
976 if (strstr(modestr,"intmodem")) in baycom_setmode()
978 if (strstr(modestr,"extmodem")) in baycom_setmode()
980 if (strstr(modestr,"noloopback")) in baycom_setmode()
982 if (strstr(modestr,"loopback")) in baycom_setmode()
984 if ((cp = strstr(modestr,"fclk="))) { in baycom_setmode()
991 if ((cp = strstr(modestr,"bps="))) { in baycom_setmode()
/linux-4.4.14/arch/h8300/kernel/
Dsim-console.c42 if (!strstr(sim_console_buf, "keep")) in sim_probe()
/linux-4.4.14/tools/net/
Dbpf_jit_disasm.c200 if (!strstr(ptr, "JIT code")) in get_last_jit_image()
203 while ((ptr = strstr(pptr, ":"))) in get_last_jit_image()
/linux-4.4.14/security/apparmor/
Dpolicy.c112 for (split = strstr(hname, "//"); split; split = strstr(hname, "//")) in hname_tail()
798 for (split = strstr(hname, "//"); split;) { in __lookup_parent()
805 split = strstr(hname, "//"); in __lookup_parent()
829 for (split = strstr(hname, "//"); split;) { in __lookup_profile()
837 split = strstr(hname, "//"); in __lookup_profile()
/linux-4.4.14/arch/arm/boot/compressed/
Ddecompress.c34 extern char * strstr(const char * s1, const char *s2);
/linux-4.4.14/arch/metag/kernel/
Dmodule.c98 if ((strstr(secstrings + sechdrs[i].sh_name, ".init") != NULL) in get_plt_size()
103 if (strstr(secstrings + sechdrs[i].sh_name, ".debug") != NULL) in get_plt_size()
/linux-4.4.14/arch/microblaze/kernel/
Dprom.c63 if (stdout && strstr(stdout, uname)) { in early_init_dt_scan_chosen_serial()
/linux-4.4.14/tools/testing/selftests/powerpc/dscr/
Ddscr_sysfs_test.c60 if (!strstr(dp->d_name, "cpu")) in check_all_cpu_dscr_defaults()
/linux-4.4.14/arch/ia64/kernel/
Dmachvec.c52 if (! (start = strstr(cmdline, "machvec=")) ) in machvec_init_from_cmdline()
Dmodule.c458 if (strstr(secstrings + s->sh_name, ".init")) in module_frob_arch_sections()
/linux-4.4.14/arch/mips/alchemy/common/
Dprom.c115 ethaddr_str = strstr(arcs_cmdline, "ethaddr="); in prom_get_ethernet_addr()
/linux-4.4.14/drivers/parport/
Dprobe.c108 if (strstr(sep, "PJL") || strstr(sep, "PCL")) in parse_data()
/linux-4.4.14/drivers/xen/
Dcpu_hotplug.c77 cpustr = strstr(node, "cpu/"); in handle_vcpu_hotplug_event()
Dxen-scsiback.c1290 ptr = strstr(name, "naa."); in scsiback_make_tport()
1295 ptr = strstr(name, "fc."); in scsiback_make_tport()
1301 ptr = strstr(name, "iqn."); in scsiback_make_tport()
1638 ptr = strstr(i_port, "naa."); in scsiback_tpg_nexus_store()
1648 ptr = strstr(i_port, "fc."); in scsiback_tpg_nexus_store()
1658 ptr = strstr(i_port, "iqn."); in scsiback_tpg_nexus_store()
1748 if (strstr(name, "tpgt_") != name) in scsiback_make_tpg()
/linux-4.4.14/drivers/media/usb/siano/
Dsmsusb.c298 } else if (strstr(product_string, "DVBH")) in smsusb1_detectmode()
300 else if (strstr(product_string, "BDA")) in smsusb1_detectmode()
302 else if (strstr(product_string, "DVBT")) in smsusb1_detectmode()
304 else if (strstr(product_string, "TDMB")) in smsusb1_detectmode()
/linux-4.4.14/tools/perf/arch/s390/util/
Dkvm-stat.c98 if (strstr(cpuid, "IBM/S390")) { in cpu_isa_init()
/linux-4.4.14/arch/sh/kernel/
Dsh_bios.c155 if (strstr(buf, "keep")) in setup_early_printk()
/linux-4.4.14/arch/x86/boot/
Dstring.c142 char *strstr(const char *s1, const char *s2) in strstr() function
/linux-4.4.14/arch/s390/include/asm/
Dstring.h41 extern char *strstr(const char *, const char *);
/linux-4.4.14/tools/power/cpupower/utils/helpers/
Dcpuid.c79 if (strstr(value, cpu_vendor_table[x])) in get_cpu_info()
/linux-4.4.14/sound/soc/fsl/
Dfsl-asoc-card.c553 if (strstr(cpu_np->name, "ssi")) { in fsl_asoc_card_probe()
560 } else if (strstr(cpu_np->name, "esai")) { in fsl_asoc_card_probe()
563 } else if (strstr(cpu_np->name, "sai")) { in fsl_asoc_card_probe()
/linux-4.4.14/tools/perf/bench/
Dnuma.c467 tok_end = strstr(tok, "-"); in parse_setup_cpu_list()
480 tok_step = strstr(tok, "#"); in parse_setup_cpu_list()
492 tok_len = strstr(tok, "_"); in parse_setup_cpu_list()
500 tok_mul = strstr(tok, "x"); in parse_setup_cpu_list()
603 tok_end = strstr(tok, "-"); in parse_setup_node_list()
616 tok_step = strstr(tok, "#"); in parse_setup_node_list()
624 tok_mul = strstr(tok, "x"); in parse_setup_node_list()
/linux-4.4.14/arch/sh/mm/
Dconsistent.c116 while ((p = strstr(p, "memchunk."))) { in memchunk_cmdline_override()
Dpmb.c780 if (strstr(p, "iomap")) in early_pmb()
/linux-4.4.14/drivers/watchdog/
Dsbc_fitpc2_wdt.c206 if (!brd_name || !strstr(brd_name, "SBC-FITPC2")) in fitpc2_wdt_init()
/linux-4.4.14/drivers/tty/serial/8250/
D8250_pnp.c395 if (strstr(name, *tmp)) in check_name()
D8250_omap.c1410 if (strstr(boot_command_line, "console=ttyS")) in omap8250_console_fixup()
1414 omap_str = strstr(boot_command_line, "console=ttyO"); in omap8250_console_fixup()
/linux-4.4.14/scripts/selinux/genheaders/
Dgenheaders.c99 substr = strstr(map->name, needle); in main()
/linux-4.4.14/arch/mips/bcm47xx/
Dsetup.c153 if (strstr(buf, "console=ttyS1")) { in bcm47xx_register_ssb()
/linux-4.4.14/scripts/
Ddocproc.c217 if (((p = strstr(line, "EXPORT_SYMBOL_GPL")) != NULL) || in find_export_symbols()
218 ((p = strstr(line, "EXPORT_SYMBOL")) != NULL)) { in find_export_symbols()
/linux-4.4.14/arch/ia64/sn/kernel/
Dsetup.c428 if (!strstr(*cmdline_p, "console=")) in sn_setup()
432 if (!strstr(*cmdline_p, "console=")) in sn_setup()
/linux-4.4.14/sound/soc/intel/atom/
Dsst-atom-controls.c1411 if (strstr(kctl->id.name, "Volume")) in sst_fill_widget_module_info()
1414 else if (strstr(kctl->id.name, "params")) in sst_fill_widget_module_info()
1417 else if (strstr(kctl->id.name, "Switch") && in sst_fill_widget_module_info()
1418 strstr(kctl->id.name, "Gain")) { in sst_fill_widget_module_info()
1424 } else if (strstr(kctl->id.name, "interleaver")) { in sst_fill_widget_module_info()
1429 } else if (strstr(kctl->id.name, "deinterleaver")) { in sst_fill_widget_module_info()
/linux-4.4.14/drivers/vhost/
Dscsi.c1917 ptr = strstr(i_port, "naa."); in vhost_scsi_tpg_nexus_store()
1928 ptr = strstr(i_port, "fc."); in vhost_scsi_tpg_nexus_store()
1939 ptr = strstr(i_port, "iqn."); in vhost_scsi_tpg_nexus_store()
1986 if (strstr(name, "tpgt_") != name) in vhost_scsi_make_tpg()
2055 ptr = strstr(name, "naa."); in vhost_scsi_make_tport()
2060 ptr = strstr(name, "fc."); in vhost_scsi_make_tport()
2066 ptr = strstr(name, "iqn."); in vhost_scsi_make_tport()
/linux-4.4.14/lib/
Dstring.c809 char *strstr(const char *s1, const char *s2) in strstr() function
825 EXPORT_SYMBOL(strstr);
Ddynamic_debug.c175 !strstr(dp->format, query->format)) in ddebug_change()
/linux-4.4.14/drivers/infiniband/hw/qib/
Dqib_eeprom.c266 if (!strstr(ifp->if_comment, "Tested successfully")) in qib_get_eeprom_info()
/linux-4.4.14/arch/arm/kernel/
Dmodule-plts.c161 if (strstr(secstrings + s->sh_name, ".init")) in module_frob_arch_sections()
/linux-4.4.14/drivers/acpi/acpica/
Ddbutils.c85 if (strstr(arguments[i].name, user_argument) == in acpi_db_match_argument()
Ddbcmds.c485 sub_string = strstr("INSTALL", action_arg); in acpi_db_display_interfaces()
498 sub_string = strstr("REMOVE", action_arg); in acpi_db_display_interfaces()
Ddbinput.c659 if (strstr(acpi_gbl_db_commands[i].name, user_command) == in acpi_db_match_command()
/linux-4.4.14/tools/perf/tests/
Dbuiltin-test.c295 if (argc > 1 && !strstr(t->desc, argv[1])) in perf_test__list()
/linux-4.4.14/tools/usb/usbip/
Dconfigure.ac44 AC_CHECK_FUNCS([memset mkdir regcomp socket strchr strerror strstr dnl
/linux-4.4.14/arch/powerpc/platforms/pseries/
Dsetup.c238 if (strstr(typep, "open-pic")) { in pseries_discover_pic()
244 } else if (strstr(typep, "ppc-xicp")) { in pseries_discover_pic()
Dhotplug-cpu.c390 if (strstr(typep, "open-pic")) { in pseries_cpu_hotplug_init()
/linux-4.4.14/drivers/video/fbdev/
Dstifb.c1155 if (strstr(dev_name, "DX")) { in stifb_init_fb()
1195 if (strstr(dev_name, "GRAYSCALE") || in stifb_init_fb()
1196 strstr(dev_name, "Grayscale") || in stifb_init_fb()
1197 strstr(dev_name, "grayscale")) in stifb_init_fb()
Dsm712fb.c793 if (strstr(options, vesa_mode_table[i].index)) { in sm7xx_vga_setup()
/linux-4.4.14/tools/perf/ui/browsers/
Dannotate.c266 if (strstr(sym->name, "@plt")) in annotate_browser__draw_current_jump()
579 if (pos->line && strstr(pos->line, s) != NULL) in annotate_browser__find_string()
618 if (pos->line && strstr(pos->line, s) != NULL) in annotate_browser__find_string_reverse()
974 if (strstr(sym->name, "@plt")) in annotate_browser__mark_jump_targets()
/linux-4.4.14/drivers/cpufreq/
Dspeedstep-lib.c313 (strstr(c->x86_model_id, in speedstep_detect_processor()
Dpmac32-cpufreq.c614 if (strstr(boot_command_line, "nocpufreq")) in pmac_cpufreq_setup()
/linux-4.4.14/security/tomoyo/
Dcommon.c547 const char *cp = strstr(string, find); in tomoyo_find_yesno()
570 const char *cp = strstr(string, find); in tomoyo_set_uint()
616 if (strstr(value, "use_default")) { in tomoyo_set_mode()
621 if (strstr(value, tomoyo_mode[mode])) in tomoyo_set_mode()
1953 argv0 = strstr(header, " argv[]={ \""); in tomoyo_add_entry()
1958 realpath = strstr(header, " exec={ realpath=\""); in tomoyo_add_entry()
1963 symlink = strstr(header, " symlink.target=\""); in tomoyo_add_entry()
Dutil.c133 const char *cp = strstr(string, keyword); in tomoyo_permstr()
Ddomain.c239 char *domainname = strstr(program, " from "); in tomoyo_write_transition_control()
/linux-4.4.14/drivers/net/ethernet/dec/tulip/
Dde4x5.c3913 if (strstr(name,de4x5_signatures[i])!=NULL) break; in PCI_signature()
5184 if ((p = strstr(args, dev->name))) { in de4x5_parse_params()
5185 if (!(q = strstr(p+strlen(dev->name), "eth"))) q = p + strlen(p); in de4x5_parse_params()
5189 if (strstr(p, "fdx") || strstr(p, "FDX")) lp->params.fdx = true; in de4x5_parse_params()
5191 if (strstr(p, "autosense") || strstr(p, "AUTOSENSE")) { in de4x5_parse_params()
5192 if (strstr(p, "TP_NW")) { in de4x5_parse_params()
5194 } else if (strstr(p, "TP")) { in de4x5_parse_params()
5196 } else if (strstr(p, "BNC_AUI")) { in de4x5_parse_params()
5198 } else if (strstr(p, "BNC")) { in de4x5_parse_params()
5200 } else if (strstr(p, "AUI")) { in de4x5_parse_params()
[all …]
/linux-4.4.14/drivers/target/
Dtarget_core_fabric_lib.c332 p = strstr(&buf[4], ",i,0x"); in iscsi_parse_pr_out_transport_id()
Dtarget_core_fabric_configfs.c297 if (strstr(buf, "lun_") != buf) { in target_fabric_make_mappedlun()
802 if (strstr(name, "lun_") != name) { in target_fabric_make_lun()
Dtarget_core_configfs.c1815 ptr = strstr(page, "1"); in target_dev_enable_store()
3029 str = strstr(buf, "_"); in target_core_call_addhbatotarget()
3039 str2 = strstr(str+1, "_"); in target_core_call_addhbatotarget()
/linux-4.4.14/arch/arm/mach-omap2/
Dserial.c173 return strstr(saved_command_line, str); in cmdline_find_option()
/linux-4.4.14/arch/x86/include/asm/
Dstring_32.h250 extern char *strstr(const char *cs, const char *ct);
/linux-4.4.14/arch/s390/kernel/
Dsetup.c172 ptr = strstr(query_buffer, "SUBCHANNEL ="); in conmode_default()
175 ptr = strstr(query_buffer, "CONMODE"); in conmode_default()
Dearly.c102 savesys_ptr = strstr(upper_command_line, "SAVESYS="); in create_kernel_nss()
/linux-4.4.14/drivers/i2c/busses/
Di2c-taos-evm.c189 start = strstr(buffer, "TAOS "); in taos_adapter_name()
/linux-4.4.14/tools/perf/util/
Dannotate.c149 if (strstr(raw, "(%rip)") == NULL) in comment__symbol()
1064 if (!strstr(dl->line, " nop ") && in delete_last_nop()
1065 !strstr(dl->line, " nopl ") && in delete_last_nop()
1066 !strstr(dl->line, " nopw ")) in delete_last_nop()
1102 strstr(command, "[kernel.kallsyms]") || in symbol__annotate()
Devent.c94 name = strstr(bf, "Name:"); in perf_event__get_comm_ids()
95 tgids = strstr(bf, "Tgid:"); in perf_event__get_comm_ids()
96 ppids = strstr(bf, "PPid:"); in perf_event__get_comm_ids()
Dsvghelper.c335 if (strstr(buf, "model name")) { in cpu_model()
393 else if (svg_highlight_name && strstr(name, svg_highlight_name)) in svg_process()
Dsymbol-elf.c131 return strstr(elf_sec__name(shdr, secstrs), "text") != NULL; in elf_sec__is_text()
137 return strstr(elf_sec__name(shdr, secstrs), "data") != NULL; in elf_sec__is_data()
Dmachine.c923 name = strstr(version, prefix); in get_kernel_version()
1229 if (strstr(kernel->long_name, "vmlinux")) in machine__process_kernel_mmap_event()
Dhist.c1288 (!he->ms.sym || strstr(he->ms.sym->name, in hists__filter_entry_by_symbol()
/linux-4.4.14/drivers/usb/gadget/udc/
Dfsl_qe_udc.c545 if (strstr(ep->ep.name, "-iso") in qe_ep_init()
546 || strstr(ep->ep.name, "-int")) in qe_ep_init()
567 if (strstr(ep->ep.name, "-iso")) /* bulk is ok */ in qe_ep_init()
583 if (strstr(ep->ep.name, "-bulk") in qe_ep_init()
584 || strstr(ep->ep.name, "-int")) in qe_ep_init()
598 if (strstr(ep->ep.name, "-iso") in qe_ep_init()
599 || strstr(ep->ep.name, "-int")) in qe_ep_init()
Ddummy_hcd.c519 if (strstr(ep->ep.name, "-iso") in dummy_enable()
520 || strstr(ep->ep.name, "-int")) { in dummy_enable()
542 if (strstr(ep->ep.name, "-iso")) /* bulk is ok */ in dummy_enable()
562 if (strstr(ep->ep.name, "-bulk") in dummy_enable()
563 || strstr(ep->ep.name, "-int")) in dummy_enable()
/linux-4.4.14/drivers/misc/
Dkgdbts.c1067 if (strstr(config, "V1")) in kgdbts_option_setup()
1069 if (strstr(config, "V2")) in kgdbts_option_setup()
Dpch_phub.c731 if (board_name && strstr(board_name, "CM-iTC")) in pch_phub_probe()
/linux-4.4.14/drivers/ata/
Dpata_it821x.c508 if (strstr(model_num, "Integrated Technology Express")) { in it821x_dev_config()
553 if (strstr(model_num, "Integrated Technology Express")) { in it821x_read_id()
Dpata_ali.c125 if (strstr(model_num, "WDC")) in ali_20_filter()
Dpata_pdc2027x.c279 if (strstr(model_num, "Maxtor") == NULL && pair->dma_mode == XFER_UDMA_6) in pdc2027x_mode_filter()
/linux-4.4.14/arch/microblaze/mm/
Dinit.c286 p = strstr(cmd_line, "mem="); in mm_cmdline_setup()
/linux-4.4.14/Documentation/ide/
DChangeLog.ide-floppy.1996-200250 * Ver 0.94 Oct 27 00 Tidied up to remove strstr(Clik) everywhere
/linux-4.4.14/drivers/media/platform/davinci/
Dvpbe.c573 if (strstr(pdev->name, "vpbe-osd") != NULL) in platform_device_get()
575 if (strstr(pdev->name, "vpbe-venc") != NULL) in platform_device_get()
Dvpbe_venc.c602 if (strstr(pdev->name, "vpbe-venc") != NULL) in venc_device_get()
Dvpbe_display.c1288 if (strstr(pdev->name, "vpbe-osd") != NULL) in vpbe_device_get()
/linux-4.4.14/arch/mips/cavium-octeon/
Dsetup.c804 arg = strstr(arcs_cmdline, "mem="); in prom_init()
845 if (strstr(arcs_cmdline, "console=") == NULL) { in prom_init()
/linux-4.4.14/tools/lib/traceevent/
Devent-plugin.c181 p = strstr(plugin, "."); in update_option()
Devent-parse.c1314 (strstr(field->type, "char") || strstr(field->type, "u8") || in field_is_string()
1315 strstr(field->type, "s8"))) in field_is_string()
1332 if (strstr(field->type, "long")) in field_is_long()
/linux-4.4.14/drivers/platform/x86/
Dhp_accel.c370 if (strstr(dev_name(&device->dev), "HPQ6000")) in lis3lv02d_add()
Dintel_ips.c1390 if (strstr(boot_cpu_data.x86_model_id, "CPU M")) in ips_detect_cpu()
1392 else if (strstr(boot_cpu_data.x86_model_id, "CPU L")) in ips_detect_cpu()
1394 else if (strstr(boot_cpu_data.x86_model_id, "CPU U")) in ips_detect_cpu()
/linux-4.4.14/arch/x86/xen/
Dsetup.c80 arg = strstr(xen_start_info->cmd_line, "xen_512gb_limit"); in xen_parse_512gb()
84 arg = strstr(xen_start_info->cmd_line, "xen_512gb_limit="); in xen_parse_512gb()
/linux-4.4.14/drivers/s390/crypto/
Dzcrypt_api.c1299 ptr = strstr(lbuf, "Online devices"); in zcrypt_proc_write()
1302 ptr = strstr(ptr, "\n"); in zcrypt_proc_write()
1307 if (strstr(ptr, "Waiting work element counts") == NULL) in zcrypt_proc_write()
/linux-4.4.14/arch/powerpc/platforms/chrp/
Dsetup.c261 if (strstr(boot_command_line, "console=")) in chrp_init_early()
/linux-4.4.14/drivers/tty/hvc/
Dhvc_vio.c455 if (!strstr(boot_command_line, "console=")) in hvc_vio_init_early()
/linux-4.4.14/tools/perf/
Dbuiltin-script.c1490 p = strstr(p, "-e"); in check_ev_match()
1557 if (strstr(lang_path, "perl")) in find_scripts()
1561 if (strstr(lang_path, "python")) in find_scripts()
1571 if (strstr(script_dirent.d_name, "top.")) in find_scripts()
Dbuiltin-top.c672 strstr(name, "_text_start") || in symbol_filter()
673 strstr(name, "_text_end")) in symbol_filter()
Dbuiltin-report.c338 strstr(evname, "call-graph=no")) { in hists__fprintf_nr_sample_events()
/linux-4.4.14/drivers/hid/
Dwacom_sys.c1654 if (strstr(wacom->hdev->name, "Wacom") || in wacom_update_name()
1655 strstr(wacom->hdev->name, "wacom") || in wacom_update_name()
1656 strstr(wacom->hdev->name, "WACOM")) { in wacom_update_name()
1662 char *gap = strstr(name, " "); in wacom_update_name()
/linux-4.4.14/drivers/target/tcm_fc/
Dtfc_conf.c245 if (strstr(name, "tpgt_") != name) in ft_add_tpg()
/linux-4.4.14/usr/
Dgen_init_cpio.c387 while ((start = strstr(new_location, "${")) && in cpio_replace_env()
/linux-4.4.14/init/
Ddo_mounts.c637 (!root_fs_names || strstr(root_fs_names, "tmpfs"))) { in init_rootfs()
/linux-4.4.14/kernel/
Dkexec_core.c1208 p = strstr(p, name); in get_last_crashkernel()
1233 p = strstr(p+1, name); in get_last_crashkernel()
Dresource.c1539 if (strstr(str, "relaxed")) in strict_iomem()
1541 if (strstr(str, "strict")) in strict_iomem()
/linux-4.4.14/drivers/net/ethernet/natsemi/
Dmacsonic.c439 if (strstr(ndev->board->name, "DuoDock")) in macsonic_ident()
/linux-4.4.14/tools/power/cpupower/utils/
Dcpufreq-info.c41 if (strstr(value, "cpu ")) in count_cpus()
/linux-4.4.14/sound/usb/
Dmixer.c863 if (strstr(kctl->id.name, "Effect Return") != NULL) { in volume_control_quirks()
869 if ((strstr(kctl->id.name, "Playback Volume") != NULL) || in volume_control_quirks()
870 (strstr(kctl->id.name, "Effect Send") != NULL)) { in volume_control_quirks()
1212 if (strstr(card->shortname, *s)) { in check_no_speaker_on_headset()
/linux-4.4.14/drivers/pinctrl/uniphier/
Dpinctrl-uniphier-core.c605 if (strstr(range->name, "irq")) in uniphier_pmx_gpio_request_enable()
/linux-4.4.14/security/smack/
Dsmack_lsm.c589 if (strstr(cp, SMK_FSDEFAULT) == cp) in smack_sb_copy_data()
591 else if (strstr(cp, SMK_FSFLOOR) == cp) in smack_sb_copy_data()
593 else if (strstr(cp, SMK_FSHAT) == cp) in smack_sb_copy_data()
595 else if (strstr(cp, SMK_FSROOT) == cp) in smack_sb_copy_data()
597 else if (strstr(cp, SMK_FSTRANS) == cp) in smack_sb_copy_data()
/linux-4.4.14/scripts/mod/
Dsumversion.c378 if ((strstr(line, dir)+strlen(dir)-1) == strrchr(line, '/')) { in parse_source_files()
Dfile2alias.c1325 name = strstr(symname, "__mod_"); in handle_moddevtable()
1334 identifier = strstr(name, "__"); in handle_moddevtable()
Dmodpost.c793 here = strstr(sym, bare); in match()
1325 if (strstr(s, "rodata") != NULL) in sec2annotation()
1327 else if (strstr(s, "data") != NULL) in sec2annotation()
/linux-4.4.14/drivers/mfd/
Dkempld-core.c758 if (strstr(id->ident, force_device_id)) in kempld_init()
/linux-4.4.14/kernel/trace/
Dtrace_events_filter.c955 if (strstr(type, "__data_loc") && strstr(type, "char")) in filter_assign_type()
958 if (strchr(type, '[') && strstr(type, "char")) in filter_assign_type()
/linux-4.4.14/drivers/hwmon/
Dcoretemp.c265 if (strstr(c->x86_model_id, tjmax_table[i].id)) in adjust_tjmax()
/linux-4.4.14/drivers/s390/char/
Dvmlogrdr.c285 if (strstr(cp_response,"Command complete")) in vmlogrdr_recording()
/linux-4.4.14/drivers/usb/gadget/legacy/
Dtcm_usb_gadget.c1358 n = strstr(name, "naa."); in usbg_check_wwn()
1388 if (strstr(name, "tpgt_") != name) in usbg_make_tpg()
1651 ptr = strstr(i_port, "naa."); in tcm_usbg_tpg_nexus_store()
/linux-4.4.14/sound/i2c/other/
Dak4114.c490 if (strstr(kctl->id.name, "Playback")) { in snd_ak4114_build()
/linux-4.4.14/drivers/staging/lustre/lustre/ldlm/
Dldlm_lib.c288 if (strstr(lustre_cfg_buf(lcfg, 1), "OST") == NULL) { in client_obd_setup()
/linux-4.4.14/drivers/staging/octeon/
Dethernet.c449 && (always_use_pow || strstr(pow_send_list, dev->name))) in cvm_oct_common_init()
/linux-4.4.14/drivers/media/pci/cobalt/
Dcobalt-driver.c429 if (strstr(cobalt->hdl_info, COBALT_HDL_SEARCH_STR)) in cobalt_hdl_info_get()
/linux-4.4.14/drivers/usb/host/
Dxhci.c514 if (!(strstr(dmi_sys_vendor, "Hewlett-Packard"))) in xhci_compliance_mode_recovery_timer_quirk_check()
517 if (strstr(dmi_product_name, "Z420") || in xhci_compliance_mode_recovery_timer_quirk_check()
518 strstr(dmi_product_name, "Z620") || in xhci_compliance_mode_recovery_timer_quirk_check()
519 strstr(dmi_product_name, "Z820") || in xhci_compliance_mode_recovery_timer_quirk_check()
520 strstr(dmi_product_name, "Z1 Workstation")) in xhci_compliance_mode_recovery_timer_quirk_check()
/linux-4.4.14/sound/core/
Dinit.c881 ptr = strstr(card->components, component); in snd_component_add()
/linux-4.4.14/arch/mips/txx9/generic/
Dsetup.c139 if (strstr(board_vecs[i]->system, name)) in find_board_byname()
/linux-4.4.14/drivers/staging/rdma/ipath/
Dipath_eeprom.c829 if (!strstr(ifp->if_comment, "Tested successfully")) in ipath_get_eeprom_info()
/linux-4.4.14/drivers/staging/fbtft/
Dfbtft_device.c1310 if (strstr(pdev->name, "fb")) in p_device_found()
/linux-4.4.14/Documentation/mic/mpssd/
Dmpssd.c1581 temp = strstr(map, "__log_buf"); in set_log_buf_info()
1591 temp = strstr(map, "log_buf_len"); in set_log_buf_info()
/linux-4.4.14/drivers/scsi/qla2xxx/
Dtcm_qla2xxx.c927 if (strstr(name, "tpgt_") != name) in tcm_qla2xxx_make_tpg()
1048 if (strstr(name, "tpgt_") != name) in tcm_qla2xxx_npiv_make_tpg()
/linux-4.4.14/drivers/video/fbdev/omap2/dss/
Ddss.c1234 if (strstr(dev_name(dev), "rfbi")) in dss_add_child_component()
/linux-4.4.14/sound/soc/
Dsoc-ops.c197 if (platform_max == 1 && !strstr(kcontrol->id.name, " Volume")) in snd_soc_info_volsw()
/linux-4.4.14/drivers/block/xen-blkback/
Dxenbus.c73 devname = strstr(devpath, "/dev/"); in blkback_name()
/linux-4.4.14/arch/alpha/kernel/
Dsetup.c546 alpha_using_qemu = strstr((const char *)hwrpb->ssn, "QEMU") != 0; in setup_arch()
/linux-4.4.14/drivers/scsi/bfa/
Dbfad_attr.c792 else if (strstr(model, "Brocade-1860")) { in bfad_im_model_desc_show()
/linux-4.4.14/arch/x86/kernel/cpu/
Dcommon.c1105 if (vendor && !strstr(c->x86_model_id, vendor)) in print_cpu_info()
/linux-4.4.14/drivers/net/wireless/libertas/
Ddebugfs.c932 p = strstr(p0, d[i].name); in lbs_debugfs_write()
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/
Dobd_mount.c1027 s1 = strstr(devname, ":/"); in lmd_parse()
Dobd_config.c62 ptr = strstr(buf, key); in class_find_param()
/linux-4.4.14/drivers/target/sbp/
Dsbp_target.c2023 if (strstr(name, "tpgt_") != name) in sbp_make_tpg()
2149 if (strstr(page, "implicit") == page) { in sbp_tpg_directory_id_store()
/linux-4.4.14/arch/sparc/mm/
Dinit_64.c729 if (strstr(p, "off")) in early_numa()
732 if (strstr(p, "debug")) in early_numa()
/linux-4.4.14/drivers/edac/
De752x_edac.c1222 } else if (cpu_id[0] && !strstr(cpu_id, "Xeon")) { in e752x_init_sysbus_parity_mask()
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/
Dlproc_ptlrpc.c1252 ptr = strstr(uuid, "::"); in lprocfs_wr_import()
/linux-4.4.14/samples/bpf/
Dtest_verifier.c1282 if (strstr(bpf_log_buf, expected_errstr) == 0) { in test()
/linux-4.4.14/drivers/s390/scsi/
Dzfcp_fc.c799 !(strstr(gspn_rsp->gspn.fp_name, devno))) in zfcp_fc_gspn()
/linux-4.4.14/net/ipv4/
Dipconfig.c1578 client_id = strstr(name, "dhcp,"); in ic_proto_name()
/linux-4.4.14/drivers/tty/serial/
Ducc_uart.c1220 if (qe_fw_info && strstr(qe_fw_info->id, "Soft-UART")) { in ucc_uart_probe()
/linux-4.4.14/drivers/media/pci/ivtv/
Divtv-driver.c973 if (strstr(itv->sd_video->name, "saa7114")) { in ivtv_load_and_init_modules()
/linux-4.4.14/drivers/net/ethernet/xircom/
Dxirc2ps_cs.c614 if (p_dev->prod_id[2] && strstr(p_dev->prod_id[2], "CE2")) in has_ce2_string()
/linux-4.4.14/mm/
Dmemblock.c1655 if (p && strstr(p, "debug")) in early_memblock()
/linux-4.4.14/drivers/crypto/
Datmel-tdes.c814 if (!ctx->dd->caps.has_cfb_3keys && strstr(alg_name, "cfb") in atmel_tdes_setkey()
/linux-4.4.14/drivers/pci/
Dquirks.c2379 (strstr(board_name, "P5N32-SLI PREMIUM") || in nvenet_msi_disable()
2380 strstr(board_name, "P5N32-E SLI"))) { in nvenet_msi_disable()
/linux-4.4.14/arch/mips/pci/
Dpcie-octeon.c1476 if (strstr(octeon_board_type_string(), "EBH5600") && in octeon_pcie_pcibios_map_irq()
/linux-4.4.14/drivers/isdn/icn/
Dicn.c650 p = strstr(card->imsg, "BRV") + 3; in icn_polldchan()

12