/linux-master/arch/arm64/include/asm/ |
H A D | string.h | 19 extern int strncmp(const char *, const char *, __kernel_size_t);
|
/linux-master/tools/tracing/rtla/src/ |
H A D | timerlat.c | 56 } else if (strncmp(argv[1], "-", 1) == 0) {
|
/linux-master/arch/arm/mach-omap2/ |
H A D | sr_device.c | 95 if (!strncmp(name, "smartreflex_mpu_iva", 20) || 96 !strncmp(name, "smartreflex_mpu", 16)) 98 else if (!strncmp(name, "smartreflex_core", 17)) 100 else if (!strncmp(name, "smartreflex_iva", 16))
|
H A D | pm44xx.c | 125 if (!strncmp(pwrdm->name, "cpu", 3)) { 131 if (!strncmp(pwrdm->name, "core", 4) || 132 !strncmp(pwrdm->name, "l4per", 5))
|
/linux-master/arch/riscv/include/asm/ |
H A D | string.h | 29 extern asmlinkage int strncmp(const char *cs, const char *ct, size_t count);
|
/linux-master/include/linux/remoteproc/ |
H A D | pruss.h | 77 if (strncmp(drv_name, PRU_RPROC_DRVNAME, sizeof(PRU_RPROC_DRVNAME)))
|
/linux-master/tools/perf/arch/x86/util/ |
H A D | auxtrace.c | 68 if (!strncmp(buffer, "GenuineIntel,", 13))
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | unpriv_helpers.c | 31 if (strncmp(c, "mitigations=off", strlen(c)))
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | pci_irq.h | 34 return !strncmp("mlx5_sf", pool->name, strlen("mlx5_sf"));
|
/linux-master/arch/x86/kernel/apic/ |
H A D | apic_numachip.c | 185 if ((strncmp(oem_id, "NUMASC", 6) != 0) || 186 (strncmp(oem_table_id, "NCONNECT", 8) != 0)) 196 if ((strncmp(oem_id, "NUMASC", 6) != 0) || 197 (strncmp(oem_table_id, "NCONECT2", 8) != 0))
|
/linux-master/lib/ |
H A D | fw_table.c | 90 if (strncmp(id, ACPI_SIG_HMAT, 4) == 0) 92 if (strncmp(id, ACPI_SIG_PRMT, 4) == 0) 94 if (strncmp(id, ACPI_SIG_CEDT, 4) == 0) 96 if (strncmp(id, ACPI_SIG_CDAT, 4) == 0)
|
/linux-master/drivers/firmware/efi/libstub/ |
H A D | arm64.c | 44 if (!version || (strncmp(version, altra, sizeof(altra) - 1) && 45 strncmp(version, emag, sizeof(emag) - 1)))
|
/linux-master/drivers/power/reset/ |
H A D | pwr-mlxbf.c | 41 if (!strncmp(priv->hid, rst_pwr_hid, 8)) 44 if (!strncmp(priv->hid, low_pwr_hid, 8))
|
/linux-master/arch/riscv/lib/ |
H A D | Makefile | 8 lib-y += strncmp.o
|
/linux-master/arch/sparc/lib/ |
H A D | strncmp_32.S | 3 * strncmp.S: Hand optimized Sparc assembly of GCC output from GNU libc 4 * generic strncmp routine. 11 ENTRY(strncmp) 120 ENDPROC(strncmp) 121 EXPORT_SYMBOL(strncmp)
|
/linux-master/arch/powerpc/platforms/chrp/ |
H A D | pci.c | 225 is_longtrail = strncmp(machine, "IBM,LongTrail", 13) == 0; 226 is_mot = strncmp(machine, "MOT", 3) == 0; 227 if (strncmp(machine, "Pegasos2", 8) == 0) 229 else if (strncmp(machine, "Pegasos", 7) == 0) 270 if (strncmp(model, "IBM, Python", 11) == 0) { 273 || strncmp(model, "Motorola, Grackle", 17) == 0) { 284 } else if (!strncmp(model, "IBM,CPC710", 10)) {
|
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | debugfs-vif.c | 80 if (!strncmp("keep_alive=", buf, 11)) { 84 } else if (!strncmp("skip_over_dtim=", buf, 15)) { 88 } else if (!strncmp("skip_dtim_periods=", buf, 18)) { 92 } else if (!strncmp("rx_data_timeout=", buf, 16)) { 96 } else if (!strncmp("tx_data_timeout=", buf, 16)) { 100 } else if (!strncmp("lprx=", buf, 5)) { 104 } else if (!strncmp("lprx_rssi_threshold=", buf, 20)) { 111 } else if (!strncmp("snooze_enable=", buf, 14)) { 115 } else if (!strncmp("uapsd_misbehaving=", buf, 18)) { 119 } else if (!strncmp("use_ps_pol [all...] |
/linux-master/fs/overlayfs/ |
H A D | xattrs.c | 12 return strncmp(name, OVL_XATTR_ESCAPE_USER_PREFIX, 15 return strncmp(name, OVL_XATTR_ESCAPE_TRUSTED_PREFIX, 24 return strncmp(name, OVL_XATTR_USER_PREFIX, 27 return strncmp(name, OVL_XATTR_TRUSTED_PREFIX, 105 if (strncmp(s, XATTR_TRUSTED_PREFIX, XATTR_TRUSTED_PREFIX_LEN) != 0)
|
/linux-master/drivers/md/ |
H A D | md-autodetect.c | 148 if (strncmp(devname, "/dev/", 5) == 0) 239 if (!strncmp(str, "noautodetect", wlen)) 241 if (!strncmp(str, "autodetect", wlen)) 243 if (strncmp(str, "partitionable", wlen)==0) 245 if (strncmp(str, "part", wlen)==0)
|
/linux-master/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_debugfs.c | 85 if (strncmp(ixgbe_dbg_reg_ops_buf, "write", 5) == 0) { 96 } else if (strncmp(ixgbe_dbg_reg_ops_buf, "read", 4) == 0) { 168 if (strncmp(ixgbe_dbg_netdev_ops_buf, "tx_timeout", 10) == 0) {
|
/linux-master/arch/riscv/purgatory/ |
H A D | Makefile | 5 purgatory-y += strcmp.o strlen.o strncmp.o 28 $(obj)/strncmp.o: $(srctree)/arch/riscv/lib/strncmp.S FORCE
|
/linux-master/kernel/ |
H A D | reboot.c | 1024 if (!strncmp(str, "panic_", 6)) { 1141 if (!strncmp(buf, REBOOT_COLD_STR, strlen(REBOOT_COLD_STR))) 1143 else if (!strncmp(buf, REBOOT_WARM_STR, strlen(REBOOT_WARM_STR))) 1145 else if (!strncmp(buf, REBOOT_HARD_STR, strlen(REBOOT_HARD_STR))) 1147 else if (!strncmp(buf, REBOOT_SOFT_STR, strlen(REBOOT_SOFT_STR))) 1149 else if (!strncmp(buf, REBOOT_GPIO_STR, strlen(REBOOT_GPIO_STR))) 1218 if (!strncmp(buf, BOOT_TRIPLE_STR, strlen(BOOT_TRIPLE_STR))) 1220 else if (!strncmp(buf, BOOT_KBD_STR, strlen(BOOT_KBD_STR))) 1222 else if (!strncmp(buf, BOOT_BIOS_STR, strlen(BOOT_BIOS_STR))) 1224 else if (!strncmp(bu [all...] |
/linux-master/drivers/spi/ |
H A D | spi-sprd-adi.c | 378 else if (!strncmp(cmd, "recovery", 8)) 380 else if (!strncmp(cmd, "alarm", 5)) 382 else if (!strncmp(cmd, "fastsleep", 9)) 384 else if (!strncmp(cmd, "bootloader", 10)) 386 else if (!strncmp(cmd, "panic", 5)) 388 else if (!strncmp(cmd, "special", 7)) 390 else if (!strncmp(cmd, "cftreboot", 9)) 392 else if (!strncmp(cmd, "autodloader", 11)) 394 else if (!strncmp(cmd, "iqmode", 6)) 396 else if (!strncmp(cm [all...] |
/linux-master/drivers/net/wireless/ath/ath5k/ |
H A D | debug.c | 235 if (strncmp(buf, "disable", 7) == 0) { 238 } else if (strncmp(buf, "enable", 6) == 0) { 338 if (strncmp(buf, dbg_info[i].name, 442 if (strncmp(buf, "diversity", 9) == 0) { 445 } else if (strncmp(buf, "fixed-a", 7) == 0) { 448 } else if (strncmp(buf, "fixed-b", 7) == 0) { 451 } else if (strncmp(buf, "clear", 5) == 0) { 615 if (strncmp(buf, "clear", 5) == 0) { 764 if (strncmp(buf, "sens-low", 8) == 0) { 766 } else if (strncmp(bu [all...] |
/linux-master/tools/perf/util/ |
H A D | map.h | 242 return strncmp(name, "bpf_trampoline_", sizeof("bpf_trampoline_") - 1) == 0 || 243 strncmp(name, "bpf_dispatcher_", sizeof("bpf_dispatcher_") - 1) == 0; 249 !strncmp(filename, "/dev/zero", sizeof("/dev/zero") - 1) || 250 !strncmp(filename, "/anon_hugepage", sizeof("/anon_hugepage") - 1); 255 return !strncmp(filename, "[stack", 6) || 256 !strncmp(filename, "/SYSV", 5) ||
|