Home
last modified time | relevance | path

Searched refs:strncasecmp (Results 1 – 25 of 29) sorted by relevance

12

/linux-3.4.99/Documentation/watchdog/src/
Dwatchdog-test.c45 if (!strncasecmp(argv[1], "-d", 2)) { in main()
51 } else if (!strncasecmp(argv[1], "-e", 2)) { in main()
/linux-3.4.99/tools/power/cpupower/bench/
Dparse.c45 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-3.4.99/tools/perf/util/
Dcolor.c18 if (!strncasecmp(name, str, len) && !str[len]) in parse_color()
37 if (!strncasecmp(name, str, len) && !str[len]) in parse_attr()
57 if (!strncasecmp(value, "reset", len)) { in color_parse_mem()
Dsort.c451 if (strncasecmp(tok, sd->name, strlen(tok))) in sort_dimension__add()
Dparse-events.c383 if (n > longest && !strncasecmp(str, names[i][j], n)) in parse_aliases()
/linux-3.4.99/tools/perf/
Dbuiltin-help.c188 return (!strncasecmp("man", name, len) || in supported_man_viewer()
189 !strncasecmp("woman", name, len) || in supported_man_viewer()
190 !strncasecmp("konqueror", name, len)); in supported_man_viewer()
/linux-3.4.99/include/linux/
Dstring.h54 extern int strncasecmp(const char *s1, const char *s2, size_t n);
/linux-3.4.99/drivers/hwmon/pmbus/
Ducd9200.c72 if (!strncasecmp(mid->name, block_buffer, strlen(mid->name))) in ucd9200_probe()
Ducd9000.c145 if (!strncasecmp(mid->name, block_buffer, strlen(mid->name))) in ucd9000_probe()
Dzl6100.c187 if (!strncasecmp(mid->name, device_id, strlen(mid->name))) in zl6100_probe()
Dadm1275.c259 if (!strncasecmp(mid->name, block_buffer, strlen(mid->name))) in adm1275_probe()
/linux-3.4.99/lib/
Dstring.c77 int strncasecmp(const char *s1, const char *s2, size_t n) in strncasecmp() function
87 EXPORT_SYMBOL(strncasecmp);
/linux-3.4.99/arch/powerpc/sysdev/qe_lib/
Dqe.c243 if (strncasecmp(source, "brg", 3) == 0) { in qe_clock_source()
251 if (strncasecmp(source, "clk", 3) == 0) { in qe_clock_source()
/linux-3.4.99/net/dns_resolver/
Ddns_key.c197 if (slen != dlen || strncasecmp(src, dsp, slen) != 0) in dns_resolver_match()
/linux-3.4.99/drivers/power/
Dtest_power.c244 if (strncasecmp(map->key, buf, MAX_KEYLENGTH) == 0) in map_get_value()
/linux-3.4.99/drivers/staging/quickstart/
Dquickstart.c113 if (strncasecmp(buf, "none", 4) != 0) in quickstart_pressed_button_store()
/linux-3.4.99/fs/afs/
Dcell.c161 if (strncasecmp(cell->name, name, namesz) == 0) in afs_cell_create()
/linux-3.4.99/arch/x86/platform/olpc/
Dolpc-xo1-sci.c143 if (strlen(mode) != count || strncasecmp(mode, buf, count)) in lid_wake_mode_set()
/linux-3.4.99/scripts/kconfig/
Dmconf.c329 if (strncasecmp(dialog_input_result, CONFIG_, strlen(CONFIG_)) == 0) in search_conf()
/linux-3.4.99/drivers/hwmon/
Dabituguru3.c1208 if (!strncasecmp(board_name, *dmi_name, sublen)) in abituguru3_dmi_detect()
/linux-3.4.99/drivers/input/mouse/
Dhgpk.c99 if (strlen(name) == len && !strncasecmp(name, buf, len)) in hgpk_mode_from_name()
/linux-3.4.99/drivers/staging/ramster/cluster/
Dnodemanager.c612 if (strncasecmp(page, r2nm_fence_method_desc[i], count - 1)) in r2nm_cluster_attr_fence_method_write()
/linux-3.4.99/fs/ocfs2/cluster/
Dnodemanager.c610 if (strncasecmp(page, o2nm_fence_method_desc[i], count - 1)) in o2nm_cluster_attr_fence_method_write()
/linux-3.4.99/drivers/media/rc/
Drc-main.c872 if (!enable && !disable && !strncasecmp(tmp, PROTO_NONE, sizeof(PROTO_NONE))) { in store_protocols()
/linux-3.4.99/drivers/acpi/
Dbattery.c164 if (!strncasecmp("LI-ION", battery->type, 6)) in acpi_battery_technology()

12