/arch/x86/kernel/ |
D | pci-dma.c | 70 if (!strncmp(p, "off", 3)) in iommu_setup() 73 if (!strncmp(p, "force", 5)) in iommu_setup() 75 if (!strncmp(p, "noforce", 7)) { in iommu_setup() 80 if (!strncmp(p, "biomerge", 8)) { in iommu_setup() 84 if (!strncmp(p, "panic", 5)) in iommu_setup() 86 if (!strncmp(p, "nopanic", 7)) in iommu_setup() 88 if (!strncmp(p, "merge", 5)) { in iommu_setup() 92 if (!strncmp(p, "nomerge", 7)) in iommu_setup() 94 if (!strncmp(p, "forcesac", 8)) in iommu_setup() 96 if (!strncmp(p, "allowdac", 8)) in iommu_setup() [all …]
|
D | early_printk.c | 162 if (!strncmp(s, "0x", 2)) { in early_serial_init() 167 if (!strncmp(s, "ttyS", 4)) in early_serial_init() 237 if (!strncmp(s, "force,", 6)) { in early_pci_serial_init() 358 if (!strncmp(buf, "serial", 6)) { in setup_early_printk() 362 if (!strncmp(buf, ",ttyS", 5)) in setup_early_printk() 365 if (!strncmp(buf, "ttyS", 4)) { in setup_early_printk() 370 if (!strncmp(buf, "pciserial", 9)) { in setup_early_printk() 376 if (!strncmp(buf, "vga", 3) && in setup_early_printk() 384 if (!strncmp(buf, "dbgp", 4) && !early_dbgp_init(buf + 4)) in setup_early_printk() 388 if (!strncmp(buf, "xen", 3)) in setup_early_printk() [all …]
|
D | apm_32.c | 1860 if (strncmp(str, "off", 3) == 0) in apm_setup() 1862 if (strncmp(str, "on", 2) == 0) in apm_setup() 1864 if ((strncmp(str, "bounce-interval=", 16) == 0) || in apm_setup() 1865 (strncmp(str, "bounce_interval=", 16) == 0)) in apm_setup() 1867 if ((strncmp(str, "idle-threshold=", 15) == 0) || in apm_setup() 1868 (strncmp(str, "idle_threshold=", 15) == 0)) in apm_setup() 1870 if ((strncmp(str, "idle-period=", 12) == 0) || in apm_setup() 1871 (strncmp(str, "idle_period=", 12) == 0)) in apm_setup() 1873 invert = (strncmp(str, "no-", 3) == 0) || in apm_setup() 1874 (strncmp(str, "no_", 3) == 0); in apm_setup() [all …]
|
/arch/x86/kernel/acpi/ |
D | sleep.c | 124 if (strncmp(str, "s3_bios", 7) == 0) in acpi_sleep_setup() 126 if (strncmp(str, "s3_mode", 7) == 0) in acpi_sleep_setup() 128 if (strncmp(str, "s3_beep", 7) == 0) in acpi_sleep_setup() 131 if (strncmp(str, "s4_nohwsig", 10) == 0) in acpi_sleep_setup() 134 if (strncmp(str, "nonvs", 5) == 0) in acpi_sleep_setup() 136 if (strncmp(str, "nonvs_s3", 8) == 0) in acpi_sleep_setup() 138 if (strncmp(str, "old_ordering", 12) == 0) in acpi_sleep_setup() 140 if (strncmp(str, "nobl", 4) == 0) in acpi_sleep_setup()
|
/arch/powerpc/include/asm/ |
D | ftrace.h | 82 (!strncmp(sym, ".__se_sys", 9) && !strcmp(sym + 6, name)) || in arch_syscall_match_sym_name() 83 (!strncmp(sym, ".ppc_", 5) && !strcmp(sym + 5, name + 4)) || in arch_syscall_match_sym_name() 84 (!strncmp(sym, ".ppc32_", 7) && !strcmp(sym + 7, name + 4)) || in arch_syscall_match_sym_name() 85 (!strncmp(sym, ".ppc64_", 7) && !strcmp(sym + 7, name + 4)); in arch_syscall_match_sym_name() 91 (!strncmp(sym, "__se_sys", 8) && !strcmp(sym + 5, name)) || in arch_syscall_match_sym_name() 92 (!strncmp(sym, "ppc_", 4) && !strcmp(sym + 4, name + 4)) || in arch_syscall_match_sym_name() 93 (!strncmp(sym, "ppc32_", 6) && !strcmp(sym + 6, name + 4)) || in arch_syscall_match_sym_name() 94 (!strncmp(sym, "ppc64_", 6) && !strcmp(sym + 6, name + 4)); in arch_syscall_match_sym_name()
|
/arch/x86/xen/ |
D | platform-pci-unplug.c | 190 if (!strncmp(p, "all", l)) in parse_xen_emul_unplug() 192 else if (!strncmp(p, "ide-disks", l)) in parse_xen_emul_unplug() 194 else if (!strncmp(p, "aux-ide-disks", l)) in parse_xen_emul_unplug() 196 else if (!strncmp(p, "nics", l)) in parse_xen_emul_unplug() 198 else if (!strncmp(p, "unnecessary", l)) in parse_xen_emul_unplug() 200 else if (!strncmp(p, "never", l)) in parse_xen_emul_unplug()
|
/arch/sparc/lib/ |
D | strncmp_64.S | 13 ENTRY(strncmp) 32 ENDPROC(strncmp) 33 EXPORT_SYMBOL(strncmp)
|
D | strncmp_32.S | 11 ENTRY(strncmp) 120 ENDPROC(strncmp) 121 EXPORT_SYMBOL(strncmp)
|
/arch/x86/boot/ |
D | early_serial_console.c | 56 if (!strncmp(arg, "serial", 6)) { in parse_earlyprintk() 70 if (pos == 7 && !strncmp(arg + pos, "0x", 2)) { in parse_earlyprintk() 76 } else if (!strncmp(arg + pos, "ttyS", 4)) { in parse_earlyprintk() 132 if (!strncmp(options, "uart8250,io,", 12)) in parse_console_uart8250() 134 else if (!strncmp(options, "uart,io,", 8)) in parse_console_uart8250()
|
/arch/x86/mm/ |
D | setup_nx.c | 24 if (!strncmp(str, "on", 2)) { in noexec_setup() 26 } else if (!strncmp(str, "off", 3)) { in noexec_setup()
|
/arch/arm/mach-omap2/ |
D | sr_device.c | 98 if (!strncmp(oh->name, "smartreflex_mpu_iva", 20) || in sr_dev_init() 99 !strncmp(oh->name, "smartreflex_mpu", 16)) in sr_dev_init() 101 else if (!strncmp(oh->name, "smartreflex_core", 17)) in sr_dev_init() 103 else if (!strncmp(oh->name, "smartreflex_iva", 16)) in sr_dev_init()
|
D | pm44xx.c | 125 if (!strncmp(pwrdm->name, "cpu", 3)) { in pwrdms_setup() 139 if (!strncmp(pwrdm->name, "core", 4) || in pwrdms_setup() 140 !strncmp(pwrdm->name, "l4per", 5) || in pwrdms_setup() 141 !strncmp(pwrdm->name, "wkup", 4)) in pwrdms_setup()
|
D | pm-debug.c | 75 strncmp(clkdm->name, "dpll", 4) == 0) in clkdm_dbg_show_counter() 91 strncmp(pwrdm->name, "dpll", 4) == 0) in pwrdm_dbg_show_counter() 120 strncmp(pwrdm->name, "dpll", 4) == 0) in pwrdm_dbg_show_timer() 189 if (strncmp(pwrdm->name, "dpll", 4) == 0) in pwrdms_setup()
|
/arch/x86/include/asm/ |
D | ftrace.h | 56 (!strncmp(sym, "__x64_", 6) && !strcmp(sym + 9, name + 3)) || in arch_syscall_match_sym_name() 57 (!strncmp(sym, "__ia32_", 7) && !strcmp(sym + 10, name + 3)); in arch_syscall_match_sym_name()
|
/arch/powerpc/platforms/chrp/ |
D | pci.c | 226 is_longtrail = strncmp(machine, "IBM,LongTrail", 13) == 0; in chrp_find_bridges() 227 is_mot = strncmp(machine, "MOT", 3) == 0; in chrp_find_bridges() 228 if (strncmp(machine, "Pegasos2", 8) == 0) in chrp_find_bridges() 230 else if (strncmp(machine, "Pegasos", 7) == 0) in chrp_find_bridges() 271 if (strncmp(model, "IBM, Python", 11) == 0) { in chrp_find_bridges() 274 || strncmp(model, "Motorola, Grackle", 17) == 0) { in chrp_find_bridges() 285 } else if (!strncmp(model, "IBM,CPC710", 10)) { in chrp_find_bridges()
|
D | setup.c | 110 if (model && !strncmp(model, "IBM,LongTrail", 13)) { in chrp_show_cpuinfo() 205 if (model && !strncmp(model, "IBM,LongTrail", 13)) { in sio_init() 306 if (machine && strncmp(machine, "Pegasos", 7) == 0) { in chrp_setup_arch() 308 } else if (machine && strncmp(machine, "IBM", 3) == 0) { in chrp_setup_arch() 310 } else if (machine && strncmp(machine, "MOT", 3) == 0) { in chrp_setup_arch() 312 } else if (machine && strncmp(machine, "TotalImpact,BRIQ-1", 18) == 0) { in chrp_setup_arch()
|
/arch/m68k/sun3/prom/ |
D | console.c | 95 if(strncmp(propb, "serial", sizeof("serial"))) 142 strncmp("display", propb, sizeof("display")) == 0) 147 if(strncmp("serial", propb, sizeof("serial")))
|
/arch/s390/kernel/ |
D | nospec-branch.c | 87 if (str && !strncmp(str, "on", 2)) { in spectre_v2_setup_early() 91 if (str && !strncmp(str, "off", 3)) in spectre_v2_setup_early() 93 if (str && !strncmp(str, "auto", 4)) in spectre_v2_setup_early()
|
/arch/mips/fw/arc/ |
D | cmdline.c | 46 if (!strncmp(prom_argv(actr), used_arc[i][0], len)) { in move_firmware_args() 85 if (!strncmp(prom_argv(actr), ignored[i], len)) in prom_init_cmdline()
|
/arch/powerpc/lib/ |
D | string.S | 35 _GLOBAL(strncmp) 51 EXPORT_SYMBOL(strncmp)
|
/arch/x86/boot/compressed/ |
D | acpi.c | 103 if (strncmp(sig, EFI64_LOADER_SIGNATURE, 4)) { in kexec_get_rsdp_addr() 131 if (!strncmp(sig, EFI64_LOADER_SIGNATURE, 4)) { in efi_get_rsdp_addr() 133 } else if (!strncmp(sig, EFI32_LOADER_SIGNATURE, 4)) { in efi_get_rsdp_addr() 327 !strncmp(arg, "rsdt", 4)) && in get_acpi_srat_table() 384 !strncmp(arg, "off", 3)) in count_immovable_mem_regions()
|
D | pgtable_64.c | 59 if (strncmp(signature, EFI32_LOADER_SIGNATURE, 4) && in find_trampoline_placement() 60 strncmp(signature, EFI64_LOADER_SIGNATURE, 4)) { in find_trampoline_placement()
|
/arch/x86/kernel/apic/ |
D | apic_numachip.c | 211 if ((strncmp(oem_id, "NUMASC", 6) != 0) || in numachip1_acpi_madt_oem_check() 212 (strncmp(oem_table_id, "NCONNECT", 8) != 0)) in numachip1_acpi_madt_oem_check() 222 if ((strncmp(oem_id, "NUMASC", 6) != 0) || in numachip2_acpi_madt_oem_check() 223 (strncmp(oem_table_id, "NCONECT2", 8) != 0)) in numachip2_acpi_madt_oem_check()
|
/arch/um/drivers/ |
D | vector_transports.c | 481 if (strncmp(transport, TRANS_GRE, TRANS_GRE_LEN) == 0) in build_transport_data() 483 if (strncmp(transport, TRANS_L2TPV3, TRANS_L2TPV3_LEN) == 0) in build_transport_data() 485 if (strncmp(transport, TRANS_RAW, TRANS_RAW_LEN) == 0) in build_transport_data() 487 if (strncmp(transport, TRANS_TAP, TRANS_TAP_LEN) == 0) in build_transport_data() 489 if (strncmp(transport, TRANS_HYBRID, TRANS_HYBRID_LEN) == 0) in build_transport_data() 491 if (strncmp(transport, TRANS_BESS, TRANS_BESS_LEN) == 0) in build_transport_data()
|
/arch/riscv/kernel/ |
D | cpu.c | 60 if (strncmp(isa, "rv32i", 5) != 0) in print_isa() 63 if (strncmp(isa, "rv64i", 5) != 0) in print_isa()
|