Searched refs:strncmp (Results 326 - 350 of 1092) sorted by relevance

<<11121314151617181920>>

/linux-master/net/netfilter/
H A Dnfnetlink_cthelper.c443 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 Dactypes.h524 #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 Denclosure.c519 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 Dsysfs.c300 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 Dwindfarm_fcu_controls.c351 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 Dkaslr.c136 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 Dleds-lp5521.c419 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 Dfill_link_info.c77 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 Dtables.c245 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 Dops-tx4927.c202 if (!strncmp(str, "trdyto=", 7)) {
208 if (!strncmp(str, "retryto=", 8)) {
214 if (!strncmp(str, "gbwc=", 5)) {
/linux-master/drivers/input/gameport/
H A Dgameport.c475 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 Diio_utils.c37 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 Dmpparse.c89 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 Dsysctl.c410 if (!strncmp(tmp, "md5", 3)) {
416 if (!strncmp(tmp, "sha1", 4)) {
421 if (!strncmp(tmp, "none", 4)) {
/linux-master/security/integrity/evm/
H A Devm_main.c78 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 Ddavinci_nand.c460 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 Dloader.c474 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 Dportdrv.c619 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 Dmap.c83 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 Dradio-ma901.c345 (strncmp(dev->product, "MA901", 5) != 0
346 || strncmp(dev->manufacturer, "www.masterkit.ru", 16) != 0))
/linux-master/drivers/rtc/
H A Drtc-ds1343.c110 if (strncmp(buf, "enabled", 7) == 0)
112 else if (strncmp(buf, "disabled", 8))
/linux-master/drivers/bus/mhi/host/
H A Ddebugfs.c261 if (!strncmp(buf, "get", 3)) {
263 } else if (!strncmp(buf, "put", 3)) {
/linux-master/drivers/block/aoe/
H A Daoedev.c256 return !strncmp(s, p, lim);
319 all = !strncmp(buf, "all", 3);
/linux-master/arch/arm/mach-orion5x/
H A Dts78xx-setup.c476 if (strncmp(buf, "online", sizeof("online") - 1) == 0)
478 else if (strncmp(buf, "offline", sizeof("offline") - 1) == 0)
/linux-master/drivers/char/
H A Dapm-emulation.c690 if (strncmp(str, "off", 3) == 0)
692 if (strncmp(str, "on", 2) == 0)

Completed in 226 milliseconds

<<11121314151617181920>>