Searched refs:strncmp (Results 176 - 200 of 1092) sorted by relevance

1234567891011>>

/linux-master/lib/
H A Dcmdline.c206 if (!strncmp(str, option, strlen(option))) {
/linux-master/drivers/firmware/efi/libstub/
H A Dstring.c90 * strncmp - Compare two length-limited strings
95 int strncmp(const char *cs, const char *ct, size_t count) function
/linux-master/certs/
H A Dextract-cert.c124 } else if (!strncmp(cert_src, "pkcs11:", 7)) {
/linux-master/arch/powerpc/platforms/pseries/
H A Dfirmware.c97 if (strncmp(name, s, size - 1))
/linux-master/drivers/target/iscsi/
H A Discsi_target_nego.c260 if (!strncmp(param->name, SESSIONTYPE, 11)) {
268 if (!strncmp(param->value, DISCOVERY, 9))
272 if (!strncmp(param->name, INITIATORNAME, 13)) {
911 if (!strncmp(param->value, NONE, 4)) {
924 if (strncmp(param->value, NONE, 4) &&
1149 if (!strncmp(key, "InitiatorName", 13))
1151 else if (!strncmp(key, "SessionType", 11))
1153 else if (!strncmp(key, "TargetName", 10))
1191 sessiontype = strncmp(s_buf, DISCOVERY, 9);
/linux-master/sound/ppc/
H A Dkeywest.c42 if (strncmp(adapter->name, "mac-io", 6))
/linux-master/tools/perf/arch/x86/util/
H A Devsel.c111 !(evsel->pmu_name && !strncmp(evsel->pmu_name, "ibs", 3)))
/linux-master/drivers/mtd/nand/raw/
H A Dnand_jedec.c41 if (ret || strncmp(id, "JEDEC", sizeof(id)))
/linux-master/drivers/net/wireless/ath/ath10k/
H A Dspectral.c318 if (strncmp("trigger", buf, 7) == 0) {
338 } else if (strncmp("background", buf, 10) == 0) {
340 } else if (strncmp("manual", buf, 6) == 0) {
342 } else if (strncmp("disable", buf, 7) == 0) {
/linux-master/tools/testing/selftests/net/mptcp/
H A Dmptcp_inq.c257 assert(strncmp(buf2, "xmit", 4) == 0);
270 assert(strncmp(buf2, "huge", 4) == 0);
299 assert(strncmp(buf2, "shut", 4) == 0);
431 assert(strncmp(tmp, "closed", 6) == 0);
/linux-master/fs/qnx4/
H A Dnamei.c44 if (strncmp(name, fname, len) == 0)
/linux-master/security/integrity/
H A Ddigsig_asymmetric.c114 } else if (!strncmp(pk->pkey_algo, "ecdsa-", 6)) {
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dtcp_custom_syncookie.c87 ret = strncmp(buf, msg, msglen);
88 if (!ASSERT_EQ(ret, 0, "strncmp"))
H A Dempty_skb.c118 bool at_tc = !strncmp(bpf_program__section_name(prog), "tc", 2);
/linux-master/arch/powerpc/platforms/powermac/
H A Dbacklight.c64 if (prop && strncmp(prop, type, strlen(type)) == 0) {
/linux-master/tools/testing/selftests/lsm/
H A Dlsm_list_modules_test.c135 ASSERT_EQ(0, strncmp(cp, name, strlen(name)));
/linux-master/drivers/clocksource/
H A Dtimer-ti-32k.c89 if (PTR_ERR(clock) == -EINVAL && !strncmp("ick", name, 3))
/linux-master/drivers/hwmon/pmbus/
H A Dpxe1610.c115 if (ret != 2 || strncmp(buf, "XP", 2)) {
/linux-master/tools/testing/selftests/pidfd/
H A Dpidfd_open_test.c104 if (strncmp(line, key, keylen))
/linux-master/include/sound/
H A Dsoc-acpi.h229 !strncmp(dev->parent->driver->name, "sof-audio-acpi", strlen("sof-audio-acpi"));
/linux-master/kernel/debug/kdb/
H A Dkdb_io.c544 if (!strncmp(searched, searchfor, len2))
547 if (!strncmp(searched+len1-len2, searchfor, len2))
553 if (!strncmp(cp, searchfor, len2))
694 if (!strncmp(cp2, kdb_prompt_str, len)) {
/linux-master/arch/mips/rb532/
H A Dprom.c38 return strncmp(arg, tag, strlen(tag)) == 0;
/linux-master/drivers/firmware/efi/
H A Drci2-table.c87 if (strncmp(rci2_base +
/linux-master/sound/core/
H A Dcontrol_led.c409 else if (strncmp(_buf, "off", 3) == 0 || strncmp(_buf, "0", 1) == 0)
411 else if (strncmp(_buf, "on", 2) == 0 || strncmp(_buf, "1", 1) == 0)
/linux-master/drivers/video/fbdev/
H A Dpxafb.c1918 if (!strncmp(this_opt, "vmem:", 5)) {
1920 } else if (!strncmp(this_opt, "mode:", 5)) {
1922 } else if (!strncmp(this_opt, "pixclock:", 9)) {
1925 } else if (!strncmp(this_opt, "left:", 5)) {
1928 } else if (!strncmp(this_opt, "right:", 6)) {
1931 } else if (!strncmp(this_opt, "upper:", 6)) {
1934 } else if (!strncmp(this_opt, "lower:", 6)) {
1937 } else if (!strncmp(this_opt, "hsynclen:", 9)) {
1940 } else if (!strncmp(this_opt, "vsynclen:", 9)) {
1943 } else if (!strncmp(this_op
[all...]

Completed in 294 milliseconds

1234567891011>>