| /linux/drivers/pnp/ |
| H A 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/block/partitions/ |
| H A D | mac.c | 103 if (!strncasecmp(part->type, "Linux_RAID", 10)) in mac_partition() 122 || (strncasecmp(part->type, "Linux", 5) == 0 in mac_partition() 131 if (strncasecmp(part->name + i, "root", in mac_partition() 137 if (strncasecmp(part->name, "swap", 4) == 0) in mac_partition()
|
| /linux/sound/xen/ |
| H A 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/fs/ocfs2/cluster/ |
| H A 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/arch/riscv/kernel/ |
| H A D | cpu.c | 71 if (IS_ENABLED(CONFIG_32BIT) && strncasecmp(isa, "rv32i", 5)) { in riscv_early_of_processor_hartid() 76 if (IS_ENABLED(CONFIG_64BIT) && strncasecmp(isa, "rv64i", 5)) { in riscv_early_of_processor_hartid() 106 if (IS_ENABLED(CONFIG_32BIT) && strncasecmp(isa, "rv32ima", 7)) { in riscv_early_of_processor_hartid() 111 if (IS_ENABLED(CONFIG_64BIT) && strncasecmp(isa, "rv64ima", 7)) { in riscv_early_of_processor_hartid()
|
| /linux/sound/core/ |
| H A 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/tools/perf/ |
| H A D | builtin-help.c | 203 return (!strncasecmp("man", name, len) || in supported_man_viewer() 204 !strncasecmp("woman", name, len) || in supported_man_viewer() 205 !strncasecmp("konqueror", name, len)); in supported_man_viewer()
|
| /linux/drivers/gpu/drm/nouveau/include/nvkm/core/ |
| H A D | option.h | 17 return strncasecmp(str, cmp, len); in strncasecmpz()
|
| /linux/drivers/hwmon/pmbus/ |
| H A D | max15301.c | 75 if (!strncasecmp(mid->name, device_id, strlen(mid->name))) in max15301_probe()
|
| H A D | ltc4286.c | 99 if (!strncasecmp(mid->name, block_buffer, strlen(mid->name))) in ltc4286_probe()
|
| H A D | bpa-rs600.c | 176 if (!strncasecmp(buf, mid->name, strlen(mid->name))) in bpa_rs600_probe()
|
| H A D | ucd9200.c | 97 if (!strncasecmp(mid->name, block_buffer, strlen(mid->name))) in ucd9200_probe()
|
| H A D | stpddc60.c | 214 if (!strncasecmp(mid->name, device_id, strlen(mid->name))) in stpddc60_probe()
|
| H A D | pim4328.c | 159 if (!strncasecmp(mid->name, device_id, strlen(mid->name))) in pim4328_probe()
|
| /linux/drivers/gpu/drm/nouveau/ |
| H A 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/tools/perf/util/ |
| H A D | clockid.c | 94 if (!strncasecmp(str, "CLOCK_", 6)) in parse_clockid()
|
| H A D | sort.c | 3703 if (!sd->name || strncasecmp(tok, sd->name, strlen(tok))) in sort_dimension__add() 3717 if (!sd->name || strncasecmp(tok, sd->name, strlen(tok))) in sort_dimension__add() 3721 strncasecmp(tok, "callchain_branch_predicted", in sort_dimension__add() 3723 strncasecmp(tok, "callchain_branch_abort", in sort_dimension__add() 3725 strncasecmp(tok, "callchain_branch_cycles", in sort_dimension__add() 3736 if (!sd->name || strncasecmp(tok, sd->name, strlen(tok))) in sort_dimension__add() 3749 if (strncasecmp(tok, hd->name, strlen(tok))) in sort_dimension__add() 3776 if (sd->name && !strncasecmp(key, sd->name, strlen(key))) in is_hpp_sort_key() 3783 if (!strncasecmp(key, hd->name, strlen(key))) in is_hpp_sort_key() 3834 if (!cacheline_size() && !strncasecmp(tok, "dcacheline", strlen(tok))) in setup_sort_list() [all …]
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_xcp.c | 852 if (!strncasecmp("SPX", buf, strlen("SPX"))) in xcp_config_store() 854 else if (!strncasecmp("DPX", buf, strlen("DPX"))) in xcp_config_store() 856 else if (!strncasecmp("TPX", buf, strlen("TPX"))) in xcp_config_store() 858 else if (!strncasecmp("QPX", buf, strlen("QPX"))) in xcp_config_store() 860 else if (!strncasecmp("CPX", buf, strlen("CPX"))) in xcp_config_store()
|
| /linux/arch/riscv/kernel/pi/ |
| H A D | fdt_early.c | 109 if (strncasecmp(isa_str, ext_name, len) == 0) { in isa_string_contains()
|
| /linux/drivers/soc/fsl/qe/ |
| H A 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/lib/ |
| H A D | string.c | 40 int strncasecmp(const char *s1, const char *s2, size_t len) in strncasecmp() function 62 EXPORT_SYMBOL(strncasecmp);
|
| /linux/net/netfilter/ |
| H A D | nf_conntrack_ftp.c | 302 if (strncasecmp(data, pattern, dlen) == 0) in find_pattern() 307 if (strncasecmp(data, pattern, plen) != 0) in find_pattern()
|
| /linux/drivers/crypto/marvell/octeontx/ |
| H A D | otx_cptpf_ucode.c | 1037 if (!strncasecmp(eng_grps->grp[i].ucode[0].ver_str, in find_mirrored_eng_grp() 1347 if (!strncasecmp(val, "engine_group", 12)) { in ucode_load_store() 1358 if (strncasecmp(val, "null", 4)) in ucode_load_store() 1362 } else if (!strncasecmp(val, "se", 2) && strchr(val, ':')) { in ucode_load_store() 1374 } else if (!strncasecmp(val, "ae", 2) && strchr(val, ':')) { in ucode_load_store()
|
| /linux/drivers/md/dm-vdo/ |
| H A D | dump.c | 52 return strncasecmp(arg, this_option, strlen(this_option)) == 0; in is_arg_string()
|
| /linux/drivers/crypto/marvell/octeontx2/ |
| H A D | otx2_cptpf_ucode.c | 834 if (!strncasecmp(eng_grps->grp[i].ucode[0].ver_str, in find_mirrored_eng_grp() 1632 if (!strncasecmp(val, "se", 2) && strchr(val, ':')) { in otx2_cpt_dl_custom_egrp_create() 1647 } else if (!strncasecmp(val, "ae", 2) && strchr(val, ':')) { in otx2_cpt_dl_custom_egrp_create() 1662 } else if (!strncasecmp(val, "ie", 2) && strchr(val, ':')) { in otx2_cpt_dl_custom_egrp_create() 1771 if (strncasecmp(ctx->val.vstr, "egrp", 4)) in otx2_cpt_dl_custom_egrp_delete()
|