/linux-6.6.21/drivers/pnp/ |
D | interface.c | 351 if (!strncasecmp(buf, "disable", 7)) { in resources_store() 355 if (!strncasecmp(buf, "activate", 8)) { in resources_store() 359 if (!strncasecmp(buf, "fill", 4)) { in resources_store() 365 if (!strncasecmp(buf, "auto", 4)) { in resources_store() 372 if (!strncasecmp(buf, "clear", 5)) { in resources_store() 378 if (!strncasecmp(buf, "get", 3)) { in resources_store() 385 if (!strncasecmp(buf, "set", 3)) { in resources_store() 397 if (!strncasecmp(buf, "io", 2)) { in resources_store() 403 } else if (!strncasecmp(buf, "mem", 3)) { in resources_store() 409 } else if (!strncasecmp(buf, "irq", 3)) { in resources_store() [all …]
|
/linux-6.6.21/block/partitions/ |
D | mac.c | 89 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-6.6.21/drivers/cpuidle/ |
D | governor.c | 36 if (!strncasecmp(str, gov->name, CPUIDLE_NAME_LEN)) in cpuidle_find_governor() 94 !strncasecmp(param_governor, gov->name, CPUIDLE_NAME_LEN) || in cpuidle_register_governor() 96 strncasecmp(param_governor, cpuidle_curr_governor->name, in cpuidle_register_governor()
|
/linux-6.6.21/arch/riscv/kernel/ |
D | cpu.c | 72 if (IS_ENABLED(CONFIG_32BIT) && strncasecmp(isa, "rv32i", 5)) { in riscv_early_of_processor_hartid() 77 if (IS_ENABLED(CONFIG_64BIT) && strncasecmp(isa, "rv64i", 5)) { in riscv_early_of_processor_hartid() 107 if (IS_ENABLED(CONFIG_32BIT) && strncasecmp(isa, "rv32ima", 7)) { in riscv_early_of_processor_hartid() 112 if (IS_ENABLED(CONFIG_64BIT) && strncasecmp(isa, "rv64ima", 7)) { in riscv_early_of_processor_hartid()
|
/linux-6.6.21/sound/xen/ |
D | xen_snd_front_cfg.c | 166 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-6.6.21/fs/ocfs2/cluster/ |
D | masklog.c | 36 if (!strncasecmp(buf, "allow", 5)) { in mlog_mask_store() 39 } else if (!strncasecmp(buf, "deny", 4)) { in mlog_mask_store() 42 } else if (!strncasecmp(buf, "off", 3)) { in mlog_mask_store()
|
/linux-6.6.21/tools/power/cpupower/bench/ |
D | parse.c | 32 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-6.6.21/drivers/infiniband/ulp/rtrs/ |
D | rtrs-clt-sysfs.c | 139 if (!strncasecmp(buf, "round-robin", 11) || in mpath_policy_store() 140 (len == 2 && !strncasecmp(buf, "rr", 2))) in mpath_policy_store() 142 else if (!strncasecmp(buf, "min-inflight", 12) || in mpath_policy_store() 143 (len == 2 && !strncasecmp(buf, "mi", 2))) in mpath_policy_store() 145 else if (!strncasecmp(buf, "min-latency", 11) || in mpath_policy_store() 146 (len == 2 && !strncasecmp(buf, "ml", 2))) in mpath_policy_store()
|
/linux-6.6.21/sound/core/ |
D | control_led.c | 514 if (!strncasecmp(s, "card", 4)) in parse_iface() 516 else if (!strncasecmp(s, "mixer", 5)) in parse_iface() 543 if (!strncasecmp(s, "numid=", 6)) { in set_led_id() 545 } else if (!strncasecmp(s, "iface=", 6)) { in set_led_id() 547 } else if (!strncasecmp(s, "device=", 7)) { in set_led_id() 549 } else if (!strncasecmp(s, "subdevice=", 10)) { in set_led_id() 551 } else if (!strncasecmp(s, "name=", 5)) { in set_led_id() 553 } else if (!strncasecmp(s, "index=", 6)) { in set_led_id()
|
/linux-6.6.21/net/netfilter/ipvs/ |
D | ip_vs_ftp.c | 110 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-6.6.21/kernel/debug/kdb/ |
D | kdb_bp.c | 55 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-6.6.21/drivers/gpu/drm/nouveau/include/nvkm/core/ |
D | option.h | 17 return strncasecmp(str, cmp, len); in strncasecmpz()
|
/linux-6.6.21/tools/perf/ |
D | builtin-help.c | 204 return (!strncasecmp("man", name, len) || in supported_man_viewer() 205 !strncasecmp("woman", name, len) || in supported_man_viewer() 206 !strncasecmp("konqueror", name, len)); in supported_man_viewer()
|
/linux-6.6.21/net/netfilter/ |
D | nf_conntrack_sip.c | 259 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() 1444 strncasecmp(*dptr + matchend, handler->method, handler->len)) in process_sip_response() 1485 strncasecmp(*dptr, handler->method, handler->len)) in process_sip_request() [all …]
|
/linux-6.6.21/fs/smb/server/ |
D | misc.c | 140 if (!strncasecmp("$data", stream_type, 5)) in parse_stream_name() 142 else if (!strncasecmp("$index_allocation", stream_type, 17)) in parse_stream_name()
|
/linux-6.6.21/drivers/video/fbdev/sis/ |
D | sis_main.c | 200 if(!strncasecmp(name, sisbios_mode[MODE_INDEX_NONE].name, strlen(name))) { in sisfb_search_mode() 239 if(!strncasecmp(nameptr, sisbios_mode[i++].name, strlen(nameptr))) { in sisfb_search_mode() 300 if(!strncasecmp(name, sis_crt2type[i].name, strlen(sis_crt2type[i].name))) { in sisfb_search_crt2type() 327 if(!strncasecmp(name, sis_tvtype[i].name, strlen(sis_tvtype[i].name))) { in sisfb_search_tvstd() 346 if(!strncasecmp(name, "none", 4)) { in sisfb_search_specialtiming() 351 if(!strncasecmp(name,mycustomttable[i].optionName, in sisfb_search_specialtiming() 4005 if(!strncasecmp(this_opt, "off", 3)) { in sisfb_setup() 4007 } else if(!strncasecmp(this_opt, "forcecrt2type:", 14)) { in sisfb_setup() 4010 } else if(!strncasecmp(this_opt, "tvmode:",7)) { in sisfb_setup() 4012 } else if(!strncasecmp(this_opt, "tvstandard:",11)) { in sisfb_setup() [all …]
|
/linux-6.6.21/tools/perf/util/ |
D | clockid.c | 94 if (!strncasecmp(str, "CLOCK_", 6)) in parse_clockid()
|
/linux-6.6.21/drivers/gpu/drm/nouveau/ |
D | nouveau_debugfs.c | 164 if (!strncasecmp(cur, "dc:", 3)) { in nouveau_debugfs_pstate_set() 168 if (!strncasecmp(cur, "ac:", 3)) { in nouveau_debugfs_pstate_set()
|
/linux-6.6.21/drivers/hwmon/pmbus/ |
D | bpa-rs600.c | 176 if (!strncasecmp(buf, mid->name, strlen(mid->name))) in bpa_rs600_probe()
|
D | max15301.c | 159 if (!strncasecmp(mid->name, device_id, strlen(mid->name))) in max15301_probe()
|
D | ucd9200.c | 97 if (!strncasecmp(mid->name, block_buffer, strlen(mid->name))) in ucd9200_probe()
|
D | stpddc60.c | 214 if (!strncasecmp(mid->name, device_id, strlen(mid->name))) in stpddc60_probe()
|
/linux-6.6.21/drivers/firmware/xilinx/ |
D | zynqmp-debug.c | 72 if (!strncasecmp(pm_api_req, pm_api_list[i].api_name, in get_pm_api_id()
|
/linux-6.6.21/drivers/soc/fsl/qe/ |
D | qe.c | 259 if (strncasecmp(source, "brg", 3) == 0) { in qe_clock_source() 267 if (strncasecmp(source, "clk", 3) == 0) { in qe_clock_source()
|
/linux-6.6.21/drivers/power/supply/ |
D | sbs-battery.c | 854 if (!strncasecmp(chemistry, "LION", 4)) in sbs_get_chemistry() 856 else if (!strncasecmp(chemistry, "LiP", 3)) in sbs_get_chemistry() 858 else if (!strncasecmp(chemistry, "NiCd", 4)) in sbs_get_chemistry() 860 else if (!strncasecmp(chemistry, "NiMH", 4)) in sbs_get_chemistry()
|