Home
last modified time | relevance | path

Searched refs:strncasecmp (Results 1 – 25 of 77) sorted by relevance

1234

/Linux-v5.4/drivers/pnp/
Dinterface.c350 if (!strncasecmp(buf, "disable", 7)) { in resources_store()
354 if (!strncasecmp(buf, "activate", 8)) { in resources_store()
358 if (!strncasecmp(buf, "fill", 4)) { in resources_store()
364 if (!strncasecmp(buf, "auto", 4)) { in resources_store()
371 if (!strncasecmp(buf, "clear", 5)) { in resources_store()
377 if (!strncasecmp(buf, "get", 3)) { in resources_store()
384 if (!strncasecmp(buf, "set", 3)) { in resources_store()
396 if (!strncasecmp(buf, "io", 2)) { in resources_store()
402 } else if (!strncasecmp(buf, "mem", 3)) { in resources_store()
408 } else if (!strncasecmp(buf, "irq", 3)) { in resources_store()
[all …]
/Linux-v5.4/block/partitions/
Dmac.c89 if (!strncasecmp(part->type, "Linux_RAID", 10)) in mac_partition()
108 || (strncasecmp(part->type, "Linux", 5) == 0 in mac_partition()
117 if (strncasecmp(part->name + i, "root", in mac_partition()
123 if (strncasecmp(part->name, "swap", 4) == 0) in mac_partition()
/Linux-v5.4/drivers/cpuidle/
Dgovernor.c36 if (!strncasecmp(str, gov->name, CPUIDLE_NAME_LEN)) in cpuidle_find_governor()
95 !strncasecmp(param_governor, gov->name, CPUIDLE_NAME_LEN) || in cpuidle_register_governor()
97 strncasecmp(param_governor, cpuidle_curr_governor->name, in cpuidle_register_governor()
/Linux-v5.4/arch/arm/mach-pxa/
Dlpd270.c427 if (!strncasecmp(str, "lq057q3dc02", 11)) { in lpd270_set_lcd()
429 } else if (!strncasecmp(str, "lq121s1dg31", 11)) { in lpd270_set_lcd()
431 } else if (!strncasecmp(str, "lq036q1da01", 11)) { in lpd270_set_lcd()
433 } else if (!strncasecmp(str, "lq64d343", 8)) { in lpd270_set_lcd()
435 } else if (!strncasecmp(str, "lq10d368", 8)) { in lpd270_set_lcd()
437 } else if (!strncasecmp(str, "lq035q7db02-20", 14)) { in lpd270_set_lcd()
/Linux-v5.4/sound/xen/
Dxen_snd_front_cfg.c166 if (!strncasecmp(cur_rate, in cfg_hw_rates()
196 if (!strncasecmp(cur_format, in cfg_formats()
313 if (!strncasecmp(str, XENSND_STREAM_TYPE_PLAYBACK, in cfg_get_stream_type()
316 } else if (!strncasecmp(str, XENSND_STREAM_TYPE_CAPTURE, in cfg_get_stream_type()
355 if (!strncasecmp(str, XENSND_STREAM_TYPE_PLAYBACK, in cfg_stream()
358 } else if (!strncasecmp(str, XENSND_STREAM_TYPE_CAPTURE, in cfg_stream()
/Linux-v5.4/tools/power/cpupower/bench/
Dparse.c32 if (strncasecmp("high", str, strlen(str)) == 0) in string_to_prio()
34 else if (strncasecmp("default", str, strlen(str)) == 0) in string_to_prio()
36 else if (strncasecmp("low", str, strlen(str)) == 0) in string_to_prio()
/Linux-v5.4/fs/ocfs2/cluster/
Dmasklog.c38 if (!strncasecmp(buf, "allow", 5)) { in mlog_mask_store()
41 } else if (!strncasecmp(buf, "deny", 4)) { in mlog_mask_store()
44 } else if (!strncasecmp(buf, "off", 3)) { in mlog_mask_store()
/Linux-v5.4/fs/cifs/
Dcifs_dfs_ref.c202 if (strncasecmp(sb_mountdata + off, "unc=", 4) == 0) { in cifs_compose_mount_options()
206 if (strncasecmp(sb_mountdata + off, "ip=", 3) == 0) { in cifs_compose_mount_options()
210 if (strncasecmp(sb_mountdata + off, "prefixpath=", 11) == 0) { in cifs_compose_mount_options()
/Linux-v5.4/net/netfilter/ipvs/
Dip_vs_ftp.c110 if (strncasecmp(data, pattern, data_limit - data) == 0) in ip_vs_ftp_get_addrport()
116 if (strncasecmp(data, pattern, plen) != 0) { in ip_vs_ftp_get_addrport()
446 strncasecmp(data, "PASV\r\n", 6) == 0) { in ip_vs_ftp_in()
456 if (strncasecmp(data, "EPSV", 4) == 0 && in ip_vs_ftp_in()
/Linux-v5.4/kernel/debug/kdb/
Dkdb_bp.c55 if (strncasecmp(argv[nextarg], "datar", sizeof("datar")) == 0) in kdb_parsebp()
57 else if (strncasecmp(argv[nextarg], "dataw", sizeof("dataw")) == 0) in kdb_parsebp()
59 else if (strncasecmp(argv[nextarg], "inst", sizeof("inst")) == 0) in kdb_parsebp()
/Linux-v5.4/drivers/gpu/drm/nouveau/include/nvkm/core/
Doption.h17 return strncasecmp(str, cmp, len); in strncasecmpz()
/Linux-v5.4/net/batman-adv/
Dgateway_common.c47 if (strncasecmp(tmp_ptr, "mbit", 4) == 0) in batadv_parse_throughput()
50 if (strncasecmp(tmp_ptr, "kbit", 4) == 0 || in batadv_parse_throughput()
/Linux-v5.4/tools/perf/
Dbuiltin-help.c202 return (!strncasecmp("man", name, len) || in supported_man_viewer()
203 !strncasecmp("woman", name, len) || in supported_man_viewer()
204 !strncasecmp("konqueror", name, len)); in supported_man_viewer()
/Linux-v5.4/net/netfilter/
Dnf_conntrack_sip.c259 if (strncasecmp(dptr, "sip:", strlen("sip:")) == 0) { in ct_sip_parse_request()
361 if (strncasecmp(dptr, needle, len) == 0) in ct_sip_header_search()
394 strncasecmp(dptr, hdr->name, hdr->len) == 0) in ct_sip_get_header()
397 strncasecmp(dptr, hdr->cname, hdr->clen) == 0 && in ct_sip_get_header()
631 if (!strncasecmp(dptr + matchoff, "TCP", strlen("TCP"))) in ct_sip_parse_transport()
633 else if (!strncasecmp(dptr + matchoff, "UDP", strlen("UDP"))) in ct_sip_parse_transport()
754 strncasecmp(dptr, thdr->name, thdr->len) == 0) in ct_sip_get_sdp_header()
757 strncasecmp(dptr, hdr->name, hdr->len) == 0) in ct_sip_get_sdp_header()
1439 strncasecmp(*dptr + matchend, handler->method, handler->len)) in process_sip_response()
1480 strncasecmp(*dptr, handler->method, handler->len)) in process_sip_request()
[all …]
Dnf_conntrack_ftp.c306 if (strncasecmp(data, pattern, dlen) == 0) in find_pattern()
311 if (strncasecmp(data, pattern, plen) != 0) in find_pattern()
/Linux-v5.4/drivers/gpu/drm/nouveau/
Dnouveau_debugfs.c162 if (!strncasecmp(cur, "dc:", 3)) { in nouveau_debugfs_pstate_set()
166 if (!strncasecmp(cur, "ac:", 3)) { in nouveau_debugfs_pstate_set()
/Linux-v5.4/drivers/video/fbdev/sis/
Dsis_main.c199 if(!strncasecmp(name, sisbios_mode[MODE_INDEX_NONE].name, strlen(name))) { in sisfb_search_mode()
238 if(!strncasecmp(nameptr, sisbios_mode[i++].name, strlen(nameptr))) { in sisfb_search_mode()
299 if(!strncasecmp(name, sis_crt2type[i].name, strlen(sis_crt2type[i].name))) { in sisfb_search_crt2type()
326 if(!strncasecmp(name, sis_tvtype[i].name, strlen(sis_tvtype[i].name))) { in sisfb_search_tvstd()
345 if(!strncasecmp(name, "none", 4)) { in sisfb_search_specialtiming()
350 if(!strncasecmp(name,mycustomttable[i].optionName, in sisfb_search_specialtiming()
3993 if(!strncasecmp(this_opt, "off", 3)) { in sisfb_setup()
3995 } else if(!strncasecmp(this_opt, "forcecrt2type:", 14)) { in sisfb_setup()
3998 } else if(!strncasecmp(this_opt, "tvmode:",7)) { in sisfb_setup()
4000 } else if(!strncasecmp(this_opt, "tvstandard:",11)) { in sisfb_setup()
[all …]
/Linux-v5.4/tools/perf/pmu-events/
Djson.c161 return len == strlen(s) && !strncasecmp(map + t->start, s, len); in json_streq()
/Linux-v5.4/drivers/firmware/xilinx/
Dzynqmp-debug.c72 if (!strncasecmp(pm_api_req, pm_api_list[i].api_name, in get_pm_api_id()
/Linux-v5.4/drivers/hwmon/pmbus/
Ducd9200.c98 if (!strncasecmp(mid->name, block_buffer, strlen(mid->name))) in ucd9200_probe()
/Linux-v5.4/drivers/soc/fsl/qe/
Dqe.c257 if (strncasecmp(source, "brg", 3) == 0) { in qe_clock_source()
265 if (strncasecmp(source, "clk", 3) == 0) { in qe_clock_source()
/Linux-v5.4/drivers/video/fbdev/
Ds3c2410fb.c604 if (strncasecmp(buf, "on", 2) == 0 || in s3c2410fb_debug_store()
605 strncasecmp(buf, "1", 1) == 0) { in s3c2410fb_debug_store()
608 } else if (strncasecmp(buf, "off", 3) == 0 || in s3c2410fb_debug_store()
609 strncasecmp(buf, "0", 1) == 0) { in s3c2410fb_debug_store()
/Linux-v5.4/drivers/staging/rtl8188eu/os_dep/
Drtw_android.c70 if (!strncasecmp(cmdstr, android_wifi_cmd_str[cmd_num], in rtw_android_cmdstr_to_num()
/Linux-v5.4/lib/
Dstring.c43 int strncasecmp(const char *s1, const char *s2, size_t len) in strncasecmp() function
65 EXPORT_SYMBOL(strncasecmp);
/Linux-v5.4/drivers/thermal/
Dthermal_core.c67 if (!strncasecmp(name, pos->name, THERMAL_NAME_LENGTH)) in __find_governor()
162 if (!strncasecmp(name, governor->name, THERMAL_NAME_LENGTH)) { in thermal_register_governor()
194 if (!strncasecmp(pos->governor->name, governor->name, in thermal_unregister_governor()
1449 if (!strncasecmp(name, pos->type, THERMAL_NAME_LENGTH)) { in thermal_zone_get_zone_by_name()

1234