/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/drivers/cpuidle/ |
H A 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/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/drivers/infiniband/ulp/rtrs/ |
H A 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/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 | 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/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/net/netfilter/ipvs/ |
H A 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/drivers/gpu/drm/nouveau/include/nvkm/core/ |
H A D | option.h | 17 return strncasecmp(str, cmp, len); in strncasecmpz()
|
/linux/fs/smb/server/ |
H A 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/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()
|
/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 | 3643 if (!sd->name || strncasecmp(tok, sd->name, strlen(tok))) in sort_dimension__add() 3690 if (!sd->name || strncasecmp(tok, sd->name, strlen(tok))) in sort_dimension__add() 3694 strncasecmp(tok, "callchain_branch_predicted", in sort_dimension__add() 3696 strncasecmp(tok, "callchain_branch_abort", in sort_dimension__add() 3698 strncasecmp(tok, "callchain_branch_cycles", in sort_dimension__add() 3712 if (!sd->name || strncasecmp(tok, sd->name, strlen(tok))) in sort_dimension__add() 3731 if (strncasecmp(tok, hd->name, strlen(tok))) in sort_dimension__add() 3758 if (sd->name && !strncasecmp(key, sd->name, strlen(key))) in is_hpp_sort_key() 3765 if (!strncasecmp(key, hd->name, strlen(key))) in is_hpp_sort_key() 3816 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 | 830 if (!strncasecmp("SPX", buf, strlen("SPX"))) in xcp_config_store() 832 else if (!strncasecmp("DPX", buf, strlen("DPX"))) in xcp_config_store() 834 else if (!strncasecmp("TPX", buf, strlen("TPX"))) in xcp_config_store() 836 else if (!strncasecmp("QPX", buf, strlen("QPX"))) in xcp_config_store() 838 else if (!strncasecmp("CPX", buf, strlen("CPX"))) in xcp_config_store()
|
/linux/arch/riscv/kernel/pi/ |
H A D | fdt_early.c | 108 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/md/dm-vdo/ |
H A D | dump.c | 52 return strncasecmp(arg, this_option, strlen(this_option)) == 0; in is_arg_string()
|