/linux-6.12.1/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.12.1/block/partitions/ |
D | mac.c | 91 if (!strncasecmp(part->type, "Linux_RAID", 10)) in mac_partition() 110 || (strncasecmp(part->type, "Linux", 5) == 0 in mac_partition() 119 if (strncasecmp(part->name + i, "root", in mac_partition() 125 if (strncasecmp(part->name, "swap", 4) == 0) in mac_partition()
|
/linux-6.12.1/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.12.1/lib/ |
D | string_kunit.c | 300 STRCMP_TEST_EXPECT_EQUAL(test, strncasecmp, "AbAcAbA", "Abacaba", strlen("Abacaba")); in string_test_strncasecmp() 302 STRCMP_TEST_EXPECT_EQUAL(test, strncasecmp, "AbaCaBa", "abaCaDa", 5); in string_test_strncasecmp() 303 STRCMP_TEST_EXPECT_LOWER(test, strncasecmp, "a", "B", 1); in string_test_strncasecmp() 304 STRCMP_TEST_EXPECT_GREATER(test, strncasecmp, "B", "a", 1); in string_test_strncasecmp() 306 STRCMP_TEST_EXPECT_EQUAL(test, strncasecmp, "Abacaba", "Not abacaba", 0); in string_test_strncasecmp() 312 STRCMP_TEST_EXPECT_EQUAL(test, strncasecmp, strcmp_buffer1, in string_test_strncasecmp_long_strings() 316 STRCMP_TEST_EXPECT_LOWER(test, strncasecmp, strcmp_buffer1, in string_test_strncasecmp_long_strings() 320 STRCMP_TEST_EXPECT_GREATER(test, strncasecmp, strcmp_buffer1, in string_test_strncasecmp_long_strings() 323 STRCMP_TEST_EXPECT_EQUAL(test, strncasecmp, strcmp_buffer1, in string_test_strncasecmp_long_strings() 325 STRCMP_TEST_EXPECT_GREATER(test, strncasecmp, strcmp_buffer1, in string_test_strncasecmp_long_strings()
|
/linux-6.12.1/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.12.1/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.12.1/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.12.1/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.12.1/arch/riscv/kernel/ |
D | cpu.c | 73 if (IS_ENABLED(CONFIG_32BIT) && strncasecmp(isa, "rv32i", 5)) { in riscv_early_of_processor_hartid() 78 if (IS_ENABLED(CONFIG_64BIT) && strncasecmp(isa, "rv64i", 5)) { in riscv_early_of_processor_hartid() 108 if (IS_ENABLED(CONFIG_32BIT) && strncasecmp(isa, "rv32ima", 7)) { in riscv_early_of_processor_hartid() 113 if (IS_ENABLED(CONFIG_64BIT) && strncasecmp(isa, "rv64ima", 7)) { in riscv_early_of_processor_hartid()
|
/linux-6.12.1/sound/core/ |
D | control_led.c | 497 if (!strncasecmp(s, "card", 4)) in parse_iface() 499 else if (!strncasecmp(s, "mixer", 5)) in parse_iface() 526 if (!strncasecmp(s, "numid=", 6)) { in set_led_id() 528 } else if (!strncasecmp(s, "iface=", 6)) { in set_led_id() 530 } else if (!strncasecmp(s, "device=", 7)) { in set_led_id() 532 } else if (!strncasecmp(s, "subdevice=", 10)) { in set_led_id() 534 } else if (!strncasecmp(s, "name=", 5)) { in set_led_id() 536 } else if (!strncasecmp(s, "index=", 6)) { in set_led_id()
|
/linux-6.12.1/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.12.1/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.12.1/drivers/gpu/drm/nouveau/include/nvkm/core/ |
D | option.h | 17 return strncasecmp(str, cmp, len); in strncasecmpz()
|
/linux-6.12.1/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.12.1/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.12.1/drivers/video/fbdev/sis/ |
D | sis_main.c | 199 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() 269 if(!strncasecmp(name, sis_crt2type[i].name, strlen(sis_crt2type[i].name))) { in sisfb_search_crt2type() 296 if(!strncasecmp(name, sis_tvtype[i].name, strlen(sis_tvtype[i].name))) { in sisfb_search_tvstd() 315 if(!strncasecmp(name, "none", 4)) { in sisfb_search_specialtiming() 320 if(!strncasecmp(name,mycustomttable[i].optionName, in sisfb_search_specialtiming() 3976 if(!strncasecmp(this_opt, "off", 3)) { in sisfb_setup() 3978 } else if(!strncasecmp(this_opt, "forcecrt2type:", 14)) { in sisfb_setup() 3981 } else if(!strncasecmp(this_opt, "tvmode:",7)) { in sisfb_setup() 3983 } else if(!strncasecmp(this_opt, "tvstandard:",11)) { in sisfb_setup() [all …]
|
/linux-6.12.1/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.12.1/drivers/hwmon/pmbus/ |
D | max15301.c | 74 if (!strncasecmp(mid->name, device_id, strlen(mid->name))) in max15301_probe()
|
D | bpa-rs600.c | 176 if (!strncasecmp(buf, mid->name, strlen(mid->name))) in bpa_rs600_probe()
|
D | ltc4286.c | 99 if (!strncasecmp(mid->name, block_buffer, strlen(mid->name))) in ltc4286_probe()
|
/linux-6.12.1/tools/perf/util/ |
D | clockid.c | 94 if (!strncasecmp(str, "CLOCK_", 6)) in parse_clockid()
|
/linux-6.12.1/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.12.1/arch/riscv/kernel/pi/ |
D | fdt_early.c | 108 if (strncasecmp(isa_str, ext_name, len) == 0) { in isa_string_contains()
|
/linux-6.12.1/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.12.1/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()
|