/linux-master/net/netfilter/ |
H A D | nfnetlink_cthelper.c | 443 if (strncmp(cur->name, helper_name, NF_CT_HELPER_NAME_LEN)) 651 strncmp(cur->name, helper_name, NF_CT_HELPER_NAME_LEN)) 711 strncmp(cur->name, helper_name, NF_CT_HELPER_NAME_LEN))
|
/linux-master/include/acpi/ |
H A D | actypes.h | 524 #define ACPI_COMPARE_NAMESEG(a,b) (!strncmp (ACPI_CAST_PTR (char, (a)), ACPI_CAST_PTR (char, (b)), ACPI_NAMESEG_SIZE)) 530 #define ACPI_VALIDATE_RSDP_SIG(a) (!strncmp (ACPI_CAST_PTR (char, (a)), ACPI_SIG_RSDP, 8)) 534 #define ACPI_IS_OEM_SIG(a) (!strncmp (ACPI_CAST_PTR (char, (a)), ACPI_OEM_NAME, 3) &&\
|
/linux-master/drivers/misc/ |
H A D | enclosure.c | 519 if (strncmp(buf, enclosure_status[i], 606 if (strncmp(buf, "on", 2) == 0 && 609 else if (strncmp(buf, "off", 3) == 0 &&
|
/linux-master/net/sunrpc/ |
H A D | sysfs.c | 300 if (!strncmp(buf, "offline", 7)) 302 else if (!strncmp(buf, "online", 6)) 304 else if (!strncmp(buf, "remove", 6))
|
/linux-master/drivers/macintosh/ |
H A D | windfarm_fcu_controls.c | 351 if (!strncmp(fan->ctrl.name, "cpu-fan", 7)) { 378 if (!strncmp(name, "cpu-pump", strlen("cpu-pump"))) 459 if (strncmp(loc, loc_trans[i].dt_name,
|
/linux-master/arch/x86/boot/compressed/ |
H A D | kaslr.c | 136 if (!strncmp(p, "exactmap", 8)) 719 if (strncmp(signature, EFI32_LOADER_SIGNATURE, 4) && 720 strncmp(signature, EFI64_LOADER_SIGNATURE, 4))
|
/linux-master/drivers/leds/ |
H A D | leds-lp5521.c | 419 if (!strncmp(buf, "run", 3)) { 422 } else if (!strncmp(buf, "load", 4)) { 426 } else if (!strncmp(buf, "disabled", 8)) {
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | fill_link_info.c | 77 err = strncmp(u64_to_ptr(info.perf_event.kprobe.func_name), KPROBE_FUNC, 91 err = strncmp(u64_to_ptr(info.perf_event.tracepoint.tp_name), TP_NAME, 108 err = strncmp(u64_to_ptr(info.perf_event.uprobe.file_name), UPROBE_FILE,
|
/linux-master/drivers/acpi/ |
H A D | tables.c | 245 if (!strncmp(id, ACPI_SIG_MADT, 4)) 325 if (strncmp(id, ACPI_SIG_MADT, 4) == 0) 676 if (!strncmp(existing_table->signature, "DSDT", 4)) {
|
/linux-master/arch/mips/pci/ |
H A D | ops-tx4927.c | 202 if (!strncmp(str, "trdyto=", 7)) { 208 if (!strncmp(str, "retryto=", 8)) { 214 if (!strncmp(str, "gbwc=", 5)) {
|
/linux-master/drivers/input/gameport/ |
H A D | gameport.c | 475 if (!strncmp(buf, "none", count)) { 477 } else if (!strncmp(buf, "reconnect", count)) { 479 } else if (!strncmp(buf, "rescan", count)) {
|
/linux-master/tools/iio/ |
H A D | iio_utils.c | 37 if (!strncmp(full_name, iio_direction[i], 580 strncmp(ent->d_name, type, strlen(type)) == 0) { 597 if (strncmp(ent->d_name + strlen(type) + numstrlen,
|
/linux-master/arch/x86/kernel/ |
H A D | mpparse.c | 89 if (strncmp(str, BUSTYPE_ISA, sizeof(BUSTYPE_ISA) - 1) == 0) { 93 } else if (strncmp(str, BUSTYPE_PCI, sizeof(BUSTYPE_PCI) - 1) == 0) { 97 } else if (strncmp(str, BUSTYPE_EISA, sizeof(BUSTYPE_EISA) - 1) == 0) {
|
/linux-master/net/sctp/ |
H A D | sysctl.c | 410 if (!strncmp(tmp, "md5", 3)) { 416 if (!strncmp(tmp, "sha1", 4)) { 421 if (!strncmp(tmp, "none", 4)) {
|
/linux-master/security/integrity/evm/ |
H A D | evm_main.c | 78 if (strncmp(str, "fix", 3) == 0) 312 && (strncmp(req_xattr_name, xattr->name, namelen) == 0)) { 316 if (strncmp(req_xattr_name,
|
/linux-master/drivers/mtd/nand/raw/ |
H A D | davinci_nand.c | 460 if (!strncmp("none", mode, 4)) 462 if (!strncmp("soft", mode, 4)) 464 if (!strncmp("hw", mode, 2))
|
/linux-master/sound/soc/intel/catpt/ |
H A D | loader.c | 474 if (strncmp(fw->signature, mod->signature, 520 if (strncmp(fw->signature, mod->signature, 556 if (strncmp(fw->signature, signature, FW_SIGNATURE_SIZE)) {
|
/linux-master/drivers/pci/pcie/ |
H A D | portdrv.c | 619 if (!strncmp(str, "compat", 6)) 621 else if (!strncmp(str, "native", 6)) 623 else if (!strncmp(str, "dpc-native", 10))
|
/linux-master/tools/perf/util/ |
H A D | map.c | 83 arch = !strncmp(app_abi, "arm", 3) ? "arm" : 84 !strncmp(app_abi, "mips", 4) ? "mips" : 85 !strncmp(app_abi, "x86", 3) ? "x86" : NULL;
|
/linux-master/drivers/media/radio/ |
H A D | radio-ma901.c | 345 (strncmp(dev->product, "MA901", 5) != 0 346 || strncmp(dev->manufacturer, "www.masterkit.ru", 16) != 0))
|
/linux-master/drivers/rtc/ |
H A D | rtc-ds1343.c | 110 if (strncmp(buf, "enabled", 7) == 0) 112 else if (strncmp(buf, "disabled", 8))
|
/linux-master/drivers/bus/mhi/host/ |
H A D | debugfs.c | 261 if (!strncmp(buf, "get", 3)) { 263 } else if (!strncmp(buf, "put", 3)) {
|
/linux-master/drivers/block/aoe/ |
H A D | aoedev.c | 256 return !strncmp(s, p, lim); 319 all = !strncmp(buf, "all", 3);
|
/linux-master/arch/arm/mach-orion5x/ |
H A D | ts78xx-setup.c | 476 if (strncmp(buf, "online", sizeof("online") - 1) == 0) 478 else if (strncmp(buf, "offline", sizeof("offline") - 1) == 0)
|
/linux-master/drivers/char/ |
H A D | apm-emulation.c | 690 if (strncmp(str, "off", 3) == 0) 692 if (strncmp(str, "on", 2) == 0)
|