/linux-4.1.27/drivers/pnp/ |
D | interface.c | 349 if (!strncasecmp(buf, "disable", 7)) { in resources_store() 353 if (!strncasecmp(buf, "activate", 8)) { in resources_store() 357 if (!strncasecmp(buf, "fill", 4)) { in resources_store() 363 if (!strncasecmp(buf, "auto", 4)) { in resources_store() 370 if (!strncasecmp(buf, "clear", 5)) { in resources_store() 376 if (!strncasecmp(buf, "get", 3)) { in resources_store() 383 if (!strncasecmp(buf, "set", 3)) { in resources_store() 395 if (!strncasecmp(buf, "io", 2)) { in resources_store() 401 } else if (!strncasecmp(buf, "mem", 3)) { in resources_store() 407 } else if (!strncasecmp(buf, "irq", 3)) { in resources_store() [all …]
|
/linux-4.1.27/block/partitions/ |
D | mac.c | 84 if (!strncasecmp(part->type, "Linux_RAID", 10)) in mac_partition() 103 || (strncasecmp(part->type, "Linux", 5) == 0 in mac_partition() 112 if (strncasecmp(part->name + i, "root", in mac_partition() 118 if (strncasecmp(part->name, "swap", 4) == 0) in mac_partition()
|
/linux-4.1.27/net/batman-adv/ |
D | gateway_common.c | 47 if (strncasecmp(tmp_ptr, "mbit", 4) == 0) in batadv_parse_gw_bandwidth() 50 if ((strncasecmp(tmp_ptr, "kbit", 4) == 0) || in batadv_parse_gw_bandwidth() 80 if (strncasecmp(tmp_ptr, "mbit", 4) == 0) in batadv_parse_gw_bandwidth() 83 if ((strncasecmp(tmp_ptr, "kbit", 4) == 0) || in batadv_parse_gw_bandwidth()
|
/linux-4.1.27/arch/arm/mach-pxa/ |
D | lpd270.c | 425 if (!strncasecmp(str, "lq057q3dc02", 11)) { in lpd270_set_lcd() 427 } else if (!strncasecmp(str, "lq121s1dg31", 11)) { in lpd270_set_lcd() 429 } else if (!strncasecmp(str, "lq036q1da01", 11)) { in lpd270_set_lcd() 431 } else if (!strncasecmp(str, "lq64d343", 8)) { in lpd270_set_lcd() 433 } else if (!strncasecmp(str, "lq10d368", 8)) { in lpd270_set_lcd() 435 } else if (!strncasecmp(str, "lq035q7db02-20", 14)) { in lpd270_set_lcd()
|
/linux-4.1.27/fs/ocfs2/cluster/ |
D | masklog.c | 52 if (!strncasecmp(buf, "allow", 5)) { in mlog_mask_store() 55 } else if (!strncasecmp(buf, "deny", 4)) { in mlog_mask_store() 58 } else if (!strncasecmp(buf, "off", 3)) { in mlog_mask_store()
|
D | nodemanager.c | 609 if (strncasecmp(page, o2nm_fence_method_desc[i], count - 1)) in o2nm_cluster_attr_fence_method_write()
|
D | heartbeat.c | 2247 if (strncasecmp(page, o2hb_heartbeat_mode_desc[i], len)) in o2hb_heartbeat_group_mode_store()
|
/linux-4.1.27/Documentation/watchdog/src/ |
D | watchdog-test.c | 54 if (!strncasecmp(argv[1], "-d", 2)) { in main() 60 } else if (!strncasecmp(argv[1], "-e", 2)) { in main()
|
/linux-4.1.27/tools/power/cpupower/bench/ |
D | parse.c | 45 if (strncasecmp("high", str, strlen(str)) == 0) in string_to_prio() 47 else if (strncasecmp("default", str, strlen(str)) == 0) in string_to_prio() 49 else if (strncasecmp("low", str, strlen(str)) == 0) in string_to_prio()
|
/linux-4.1.27/fs/cifs/ |
D | cifs_dfs_ref.c | 199 if (strncasecmp(sb_mountdata + off, "unc=", 4) == 0) { in cifs_compose_mount_options() 203 if (strncasecmp(sb_mountdata + off, "ip=", 3) == 0) { in cifs_compose_mount_options() 207 if (strncasecmp(sb_mountdata + off, "prefixpath=", 11) == 0) { in cifs_compose_mount_options()
|
D | connect.c | 1735 if (strncasecmp(string, "default", 7) != 0) { in cifs_parse_mount_options() 1804 if (strncasecmp(string, "1", 1) == 0) { in cifs_parse_mount_options()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/core/ |
D | option.h | 15 return strncasecmp(str, cmp, len); in strncasecmpz()
|
/linux-4.1.27/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-4.1.27/drivers/gpu/drm/nouveau/ |
D | nouveau_sysfs.c | 128 if (!strncasecmp(buf, "dc:", 3)) { in nouveau_sysfs_pstate_set() 132 if (!strncasecmp(buf, "ac:", 3)) { in nouveau_sysfs_pstate_set()
|
/linux-4.1.27/net/netfilter/ipvs/ |
D | ip_vs_ftp.c | 99 if (strncasecmp(data, pattern, data_limit - data) == 0) in ip_vs_ftp_get_addrport() 105 if (strncasecmp(data, pattern, plen) != 0) { in ip_vs_ftp_get_addrport() 357 if (strncasecmp(data, "PASV\r\n", 6) == 0) { in ip_vs_ftp_in()
|
/linux-4.1.27/tools/perf/ |
D | builtin-help.c | 187 return (!strncasecmp("man", name, len) || in supported_man_viewer() 188 !strncasecmp("woman", name, len) || in supported_man_viewer() 189 !strncasecmp("konqueror", name, len)); in supported_man_viewer()
|
D | builtin-record.c | 783 if (!strncasecmp(str, "CLOCK_", 6)) in parse_clockid()
|
/linux-4.1.27/net/netfilter/ |
D | nf_conntrack_sip.c | 250 if (strncasecmp(dptr, "sip:", strlen("sip:")) == 0) { in ct_sip_parse_request() 353 if (strncasecmp(dptr, needle, len) == 0) in ct_sip_header_search() 386 strncasecmp(dptr, hdr->name, hdr->len) == 0) in ct_sip_get_header() 389 strncasecmp(dptr, hdr->cname, hdr->clen) == 0 && in ct_sip_get_header() 623 if (!strncasecmp(dptr + matchoff, "TCP", strlen("TCP"))) in ct_sip_parse_transport() 625 else if (!strncasecmp(dptr + matchoff, "UDP", strlen("UDP"))) in ct_sip_parse_transport() 746 strncasecmp(dptr, thdr->name, thdr->len) == 0) in ct_sip_get_sdp_header() 749 strncasecmp(dptr, hdr->name, hdr->len) == 0) in ct_sip_get_sdp_header() 1397 strncasecmp(*dptr + matchend, handler->method, handler->len)) in process_sip_response() 1438 strncasecmp(*dptr, handler->method, handler->len)) in process_sip_request() [all …]
|
D | nf_conntrack_ftp.c | 307 if (strncasecmp(data, pattern, dlen) == 0) in find_pattern() 312 if (strncasecmp(data, pattern, plen) != 0) { in find_pattern()
|
D | nf_log.c | 35 if (!strncasecmp(str_logger, log->name, strlen(log->name))) in __find_logger()
|
D | nf_nat_sip.c | 158 if (strncasecmp(*dptr, "SIP/2.0", strlen("SIP/2.0")) != 0) { in nf_nat_sip()
|
/linux-4.1.27/drivers/cpuidle/ |
D | governor.c | 31 if (!strncasecmp(str, gov->name, CPUIDLE_NAME_LEN)) in __cpuidle_find_governor()
|
/linux-4.1.27/drivers/video/fbdev/sis/ |
D | sis_main.c | 165 if(!strncasecmp(name, sisbios_mode[MODE_INDEX_NONE].name, strlen(name))) { in sisfb_search_mode() 204 if(!strncasecmp(nameptr, sisbios_mode[i++].name, strlen(nameptr))) { in sisfb_search_mode() 265 if(!strncasecmp(name, sis_crt2type[i].name, strlen(sis_crt2type[i].name))) { in sisfb_search_crt2type() 292 if(!strncasecmp(name, sis_tvtype[i].name, strlen(sis_tvtype[i].name))) { in sisfb_search_tvstd() 311 if(!strncasecmp(name, "none", 4)) { in sisfb_search_specialtiming() 316 if(!strncasecmp(name,mycustomttable[i].optionName, in sisfb_search_specialtiming() 3955 if(!strncasecmp(this_opt, "off", 3)) { in sisfb_setup() 3957 } else if(!strncasecmp(this_opt, "forcecrt2type:", 14)) { in sisfb_setup() 3960 } else if(!strncasecmp(this_opt, "tvmode:",7)) { in sisfb_setup() 3962 } else if(!strncasecmp(this_opt, "tvstandard:",11)) { in sisfb_setup() [all …]
|
/linux-4.1.27/include/linux/ |
D | string.h | 47 extern int strncasecmp(const char *s1, const char *s2, size_t n);
|
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/ |
D | libcfs_string.c | 86 strncasecmp(str, debugstr, len) == 0) { in cfs_str2mask() 96 (strncasecmp(str, "ALL", len) == 0)) { in cfs_str2mask()
|
/linux-4.1.27/tools/perf/util/ |
D | sort.c | 1451 if (strncasecmp(tok, sd->name, strlen(tok))) in sort_dimension__add() 1485 if (strncasecmp(tok, hd->name, strlen(tok))) in sort_dimension__add() 1494 if (strncasecmp(tok, sd->name, strlen(tok))) in sort_dimension__add() 1510 if (strncasecmp(tok, sd->name, strlen(tok))) in sort_dimension__add() 1716 if (strncasecmp(tok, sd->name, strlen(tok))) in output_field_add() 1725 if (strncasecmp(tok, hd->name, strlen(tok))) in output_field_add() 1734 if (strncasecmp(tok, sd->name, strlen(tok))) in output_field_add() 1743 if (strncasecmp(tok, sd->name, strlen(tok))) in output_field_add()
|
D | parse-events.c | 308 if (n > longest && !strncasecmp(str, names[i][j], n)) in parse_aliases()
|
/linux-4.1.27/drivers/hwmon/pmbus/ |
D | ucd9200.c | 72 if (!strncasecmp(mid->name, block_buffer, strlen(mid->name))) in ucd9200_probe()
|
D | ucd9000.c | 145 if (!strncasecmp(mid->name, block_buffer, strlen(mid->name))) in ucd9000_probe()
|
D | zl6100.c | 340 if (!strncasecmp(mid->name, device_id, strlen(mid->name))) in zl6100_probe()
|
D | adm1275.c | 259 if (!strncasecmp(mid->name, block_buffer, strlen(mid->name))) in adm1275_probe()
|
/linux-4.1.27/lib/ |
D | string.c | 37 int strncasecmp(const char *s1, const char *s2, size_t len) in strncasecmp() function 59 EXPORT_SYMBOL(strncasecmp);
|
/linux-4.1.27/arch/powerpc/sysdev/qe_lib/ |
D | qe.c | 242 if (strncasecmp(source, "brg", 3) == 0) { in qe_clock_source() 250 if (strncasecmp(source, "clk", 3) == 0) { in qe_clock_source()
|
/linux-4.1.27/drivers/video/fbdev/ |
D | s3c2410fb.c | 604 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()
|
D | sm501fb.c | 1190 if (strncasecmp(buf, "crt", 3) == 0) in sm501fb_crtsrc_store() 1192 else if (strncasecmp(buf, "panel", 5) == 0) in sm501fb_crtsrc_store()
|
D | pvr2fb.c | 1002 if (!strncasecmp(p[i].name, s, strlen(s))) in pvr2_get_param()
|
/linux-4.1.27/drivers/staging/rtl8188eu/os_dep/ |
D | rtw_android.c | 82 if (0 == strncasecmp(cmdstr , android_wifi_cmd_str[cmd_num], in rtw_android_cmdstr_to_num()
|
/linux-4.1.27/net/dns_resolver/ |
D | dns_key.c | 201 if (slen != dlen || strncasecmp(src, dsp, slen) != 0) in dns_resolver_cmp()
|
/linux-4.1.27/fs/efivarfs/ |
D | super.c | 63 return strncasecmp(name->name + guid, str + guid, EFI_VARIABLE_GUID_LEN); in efivarfs_d_compare()
|
/linux-4.1.27/drivers/s390/cio/ |
D | chp.c | 260 if (!strncasecmp(cmd, "on", 2) || !strcmp(cmd, "1")) { in chp_status_write() 264 } else if (!strncasecmp(cmd, "off", 3) || !strcmp(cmd, "0")) { in chp_status_write()
|
/linux-4.1.27/drivers/platform/chrome/ |
D | cros_ec_sysfs.c | 86 if (!strncasecmp(words[i].str, buf+offset, in store_ec_reboot()
|
D | cros_ec_lightbar.c | 305 if (!strncasecmp(seqname[num], buf, len)) in sequence_store()
|
/linux-4.1.27/fs/afs/ |
D | cell.c | 161 if (strncasecmp(cell->name, name, namesz) == 0) in afs_cell_create()
|
/linux-4.1.27/drivers/thermal/ |
D | thermal_core.c | 75 if (!strncasecmp(name, pos->name, THERMAL_NAME_LENGTH)) in __find_governor() 113 if (!strncasecmp(name, governor->name, THERMAL_NAME_LENGTH)) in thermal_register_governor() 138 if (!strncasecmp(pos->governor->name, governor->name, in thermal_unregister_governor() 1721 if (!strncasecmp(name, pos->type, THERMAL_NAME_LENGTH)) { in thermal_zone_get_zone_by_name()
|
/linux-4.1.27/drivers/power/ |
D | test_power.c | 308 if (strncasecmp(map->key, buf, MAX_KEYLENGTH) == 0) in map_get_value()
|
/linux-4.1.27/init/ |
D | do_mounts.c | 94 if (strncasecmp(cmp->uuid, part->info->uuid, cmp->len)) in match_dev_by_uuid()
|
/linux-4.1.27/arch/x86/platform/olpc/ |
D | olpc-xo1-sci.c | 153 if (strlen(mode) != count || strncasecmp(mode, buf, count)) in lid_wake_mode_set()
|
/linux-4.1.27/drivers/acpi/ |
D | battery.c | 168 if (!strncasecmp("LI-ION", battery->type, 6)) in acpi_battery_technology() 704 if (s && !strncasecmp(s, "ThinkPad", 8)) { in acpi_battery_quirks()
|
/linux-4.1.27/drivers/cpufreq/ |
D | cpufreq.c | 442 if (!strncasecmp(str_governor, t->name, CPUFREQ_NAME_LEN)) in find_governor() 460 if (!strncasecmp(str_governor, "performance", CPUFREQ_NAME_LEN)) { in cpufreq_parse_governor() 463 } else if (!strncasecmp(str_governor, "powersave", in cpufreq_parse_governor()
|
/linux-4.1.27/scripts/kconfig/ |
D | mconf.c | 424 if (strncasecmp(dialog_input_result, CONFIG_, strlen(CONFIG_)) == 0) in search_conf()
|
D | nconf.c | 720 if (strncasecmp(dialog_input_result, CONFIG_, strlen(CONFIG_)) == 0) in search_conf()
|
/linux-4.1.27/drivers/hwmon/ |
D | abituguru3.c | 1207 if (!strncasecmp(board_name, *dmi_name, sublen)) in abituguru3_dmi_detect()
|
/linux-4.1.27/sound/pci/hda/ |
D | hda_sysfs.c | 533 return strncasecmp(a, b, strlen(b)) == 0; in strmatch()
|
/linux-4.1.27/drivers/input/mouse/ |
D | hgpk.c | 99 if (strlen(name) == len && !strncasecmp(name, buf, len)) in hgpk_mode_from_name()
|
/linux-4.1.27/fs/f2fs/ |
D | namei.c | 88 return !strncasecmp(s + slen - sublen, sub, sublen); in is_multimedia_file()
|
/linux-4.1.27/drivers/staging/lustre/lnet/lnet/ |
D | router_proc.c | 863 if (strncasecmp(portal_rotors[i].pr_name, tmp, in __proc_lnet_portal_rotor()
|
/linux-4.1.27/drivers/misc/altera-stapl/ |
D | altera.c | 457 if (strncasecmp(aconf->action, name, strlen(name)) == 0) { in altera_execute() 2179 if ((strncasecmp(key, key_ptr, strlen(key_ptr)) == 0) && in altera_get_note()
|
/linux-4.1.27/drivers/input/touchscreen/ |
D | edt-ft5x06.c | 816 if (!(strncasecmp(rdbuf + 1, "EP0", 3))) { in edt_ft5x06_ts_identify()
|
/linux-4.1.27/drivers/infiniband/hw/mlx4/ |
D | sysfs.c | 471 if (!strncasecmp(buf, "no", 2)) in store_port_pkey()
|
/linux-4.1.27/fs/isofs/ |
D | inode.c | 221 if (strncasecmp(name->name, str, alen) == 0) in isofs_dentry_cmp_common()
|
/linux-4.1.27/drivers/platform/x86/ |
D | samsung-laptop.c | 698 if (!strncasecmp(level->name, buf, strlen(level->name))) { in set_performance_level()
|
D | thinkpad_acpi.c | 9102 if (s && !(strncasecmp(s, "ThinkPad", 8) && strncasecmp(s, "Lenovo", 6))) { in get_thinkpad_model_data() 9108 if (s && !(strncasecmp(s, "Lenovo", 6))) { in get_thinkpad_model_data()
|
/linux-4.1.27/drivers/scsi/qla4xxx/ |
D | ql4_os.c | 7268 if (strncasecmp(PORTAL_TYPE_IPV4, buf, 4) && in qla4xxx_sysfs_ddb_add() 7269 strncasecmp(PORTAL_TYPE_IPV6, buf, 4)) { in qla4xxx_sysfs_ddb_add() 7307 if (!strncasecmp("ipv6", buf, 4)) in qla4xxx_sysfs_ddb_add() 7355 if (!strncasecmp(fnode_sess->portal_type, PORTAL_TYPE_IPV6, 4)) in qla4xxx_sysfs_ddb_apply() 7551 if (!strncasecmp(fnode_sess->portal_type, PORTAL_TYPE_IPV6, 4)) in qla4xxx_sysfs_ddb_login()
|
/linux-4.1.27/drivers/media/usb/uvc/ |
D | uvc_driver.c | 2067 if (strncasecmp(val, "clock_", strlen("clock_")) == 0) in uvc_clock_param_set()
|
/linux-4.1.27/drivers/infiniband/ulp/srpt/ |
D | ib_srpt.c | 3522 if (strncasecmp(p, "0x", 2) == 0) in srpt_parse_i_port_id()
|
/linux-4.1.27/drivers/ata/ |
D | libata-core.c | 6565 if (strncasecmp(val, fp->name, strlen(val))) in ata_parse_force_one()
|
/linux-4.1.27/drivers/scsi/ |
D | scsi_debug.c | 4309 if (0 == strncasecmp(work,"0x", 2)) { in opts_store()
|
D | ips.c | 531 if (strncasecmp in ips_setup()
|