/arch/x86/kernel/ |
D | pci-dma.c | 159 if (!strncmp(p, "off", 3)) in iommu_setup() 162 if (!strncmp(p, "force", 5)) in iommu_setup() 164 if (!strncmp(p, "noforce", 7)) { in iommu_setup() 169 if (!strncmp(p, "biomerge", 8)) { in iommu_setup() 173 if (!strncmp(p, "panic", 5)) in iommu_setup() 175 if (!strncmp(p, "nopanic", 7)) in iommu_setup() 177 if (!strncmp(p, "merge", 5)) { in iommu_setup() 181 if (!strncmp(p, "nomerge", 7)) in iommu_setup() 183 if (!strncmp(p, "forcesac", 8)) in iommu_setup() 185 if (!strncmp(p, "allowdac", 8)) in iommu_setup() [all …]
|
D | early_printk.c | 160 if (!strncmp(s, "0x", 2)) { in early_serial_init() 165 if (!strncmp(s, "ttyS", 4)) in early_serial_init() 347 if (!strncmp(buf, "serial", 6)) { in setup_early_printk() 351 if (!strncmp(buf, ",ttyS", 5)) in setup_early_printk() 354 if (!strncmp(buf, "ttyS", 4)) { in setup_early_printk() 359 if (!strncmp(buf, "pciserial", 9)) { in setup_early_printk() 365 if (!strncmp(buf, "vga", 3) && in setup_early_printk() 373 if (!strncmp(buf, "dbgp", 4) && !early_dbgp_init(buf + 4)) in setup_early_printk() 377 if (!strncmp(buf, "xen", 3)) in setup_early_printk() 381 if (!strncmp(buf, "efi", 3)) in setup_early_printk()
|
D | apm_32.c | 1874 if (strncmp(str, "off", 3) == 0) in apm_setup() 1876 if (strncmp(str, "on", 2) == 0) in apm_setup() 1878 if ((strncmp(str, "bounce-interval=", 16) == 0) || in apm_setup() 1879 (strncmp(str, "bounce_interval=", 16) == 0)) in apm_setup() 1881 if ((strncmp(str, "idle-threshold=", 15) == 0) || in apm_setup() 1882 (strncmp(str, "idle_threshold=", 15) == 0)) in apm_setup() 1884 if ((strncmp(str, "idle-period=", 12) == 0) || in apm_setup() 1885 (strncmp(str, "idle_period=", 12) == 0)) in apm_setup() 1887 invert = (strncmp(str, "no-", 3) == 0) || in apm_setup() 1888 (strncmp(str, "no_", 3) == 0); in apm_setup() [all …]
|
D | amd_gart_64.c | 863 if (!strncmp(p, "leak", 4)) { in gart_parse_options() 874 if (!strncmp(p, "fullflush", 9)) in gart_parse_options() 876 if (!strncmp(p, "nofullflush", 11)) in gart_parse_options() 878 if (!strncmp(p, "noagp", 5)) in gart_parse_options() 880 if (!strncmp(p, "noaperture", 10)) in gart_parse_options() 883 if (!strncmp(p, "force", 5)) in gart_parse_options() 885 if (!strncmp(p, "allowed", 7)) in gart_parse_options() 887 if (!strncmp(p, "memaper", 7)) { in gart_parse_options()
|
/arch/microblaze/kernel/ |
D | prom.c | 67 if ((strncmp(p, "xlnx,xps-uart16550", 18) == 0) || in early_init_dt_scan_chosen_serial() 68 (strncmp(p, "xlnx,axi-uart16550", 18) == 0)) { in early_init_dt_scan_chosen_serial() 79 if ((strncmp(p, "xlnx,xps-uartlite", 17) == 0) || in early_init_dt_scan_chosen_serial() 80 (strncmp(p, "xlnx,opb-uartlite", 17) == 0) || in early_init_dt_scan_chosen_serial() 81 (strncmp(p, "xlnx,axi-uartlite", 17) == 0) || in early_init_dt_scan_chosen_serial() 82 (strncmp(p, "xlnx,mdm", 8) == 0)) { in early_init_dt_scan_chosen_serial()
|
/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()
|
/arch/x86/xen/ |
D | platform-pci-unplug.c | 198 if (!strncmp(p, "all", l)) in parse_xen_emul_unplug() 200 else if (!strncmp(p, "ide-disks", l)) in parse_xen_emul_unplug() 202 else if (!strncmp(p, "aux-ide-disks", l)) in parse_xen_emul_unplug() 204 else if (!strncmp(p, "nics", l)) in parse_xen_emul_unplug() 206 else if (!strncmp(p, "unnecessary", l)) in parse_xen_emul_unplug() 208 else if (!strncmp(p, "never", l)) in parse_xen_emul_unplug()
|
/arch/sparc/lib/ |
D | strncmp_64.S | 12 ENTRY(strncmp) 31 ENDPROC(strncmp) 32 EXPORT_SYMBOL(strncmp)
|
D | strncmp_32.S | 10 ENTRY(strncmp) 119 ENDPROC(strncmp) 120 EXPORT_SYMBOL(strncmp)
|
/arch/x86/boot/ |
D | early_serial_console.c | 55 if (!strncmp(arg, "serial", 6)) { in parse_earlyprintk() 69 if (pos == 7 && !strncmp(arg + pos, "0x", 2)) { in parse_earlyprintk() 75 } else if (!strncmp(arg + pos, "ttyS", 4)) { in parse_earlyprintk() 131 if (!strncmp(options, "uart8250,io,", 12)) in parse_console_uart8250() 133 else if (!strncmp(options, "uart,io,", 8)) in parse_console_uart8250()
|
/arch/nios2/kernel/ |
D | prom.c | 83 if (strncmp(uname, "serial", 6) != 0) in early_init_dt_scan_serial() 95 if (strncmp(p, "altr,juart", 10) == 0) in early_init_dt_scan_serial() 103 if (strncmp(p, "altr,uart", 9) == 0) in early_init_dt_scan_serial()
|
/arch/x86/mm/ |
D | setup_nx.c | 23 if (!strncmp(str, "on", 2)) { in noexec_setup() 25 } else if (!strncmp(str, "off", 3)) { in noexec_setup()
|
/arch/m68k/sun3/prom/ |
D | console.c | 94 if(strncmp(propb, "serial", sizeof("serial"))) 141 strncmp("display", propb, sizeof("display")) == 0) 146 if(strncmp("serial", propb, sizeof("serial")))
|
/arch/powerpc/platforms/chrp/ |
D | pci.c | 225 is_longtrail = strncmp(machine, "IBM,LongTrail", 13) == 0; in chrp_find_bridges() 226 is_mot = strncmp(machine, "MOT", 3) == 0; in chrp_find_bridges() 227 if (strncmp(machine, "Pegasos2", 8) == 0) in chrp_find_bridges() 229 else if (strncmp(machine, "Pegasos", 7) == 0) in chrp_find_bridges() 270 if (strncmp(model, "IBM, Python", 11) == 0) { in chrp_find_bridges() 273 || strncmp(model, "Motorola, Grackle", 17) == 0) { in chrp_find_bridges() 284 } else if (!strncmp(model, "IBM,CPC710", 10)) { in chrp_find_bridges()
|
D | setup.c | 109 if (model && !strncmp(model, "IBM,LongTrail", 13)) { in chrp_show_cpuinfo() 204 if (model && !strncmp(model, "IBM,LongTrail", 13)) { in sio_init() 311 if (machine && strncmp(machine, "Pegasos", 7) == 0) { in chrp_setup_arch() 313 } else if (machine && strncmp(machine, "IBM", 3) == 0) { in chrp_setup_arch() 315 } else if (machine && strncmp(machine, "MOT", 3) == 0) { in chrp_setup_arch() 317 } else if (machine && strncmp(machine, "TotalImpact,BRIQ-1", 18) == 0) { in chrp_setup_arch()
|
/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/s390/kernel/ |
D | nospec-branch.c | 95 if (str && !strncmp(str, "on", 2)) { in spectre_v2_setup_early() 99 if (str && !strncmp(str, "off", 3)) in spectre_v2_setup_early() 101 if (str && !strncmp(str, "auto", 4)) in spectre_v2_setup_early()
|
/arch/arm/mach-omap2/ |
D | pm-debug.c | 83 strncmp(clkdm->name, "dpll", 4) == 0) in clkdm_dbg_show_counter() 99 strncmp(pwrdm->name, "dpll", 4) == 0) in pwrdm_dbg_show_counter() 129 strncmp(pwrdm->name, "dpll", 4) == 0) in pwrdm_dbg_show_timer() 216 if (strncmp(pwrdm->name, "dpll", 4) == 0) in pwrdms_setup()
|
/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/powerpc/platforms/pseries/ |
D | dlpar.c | 438 if (!strncmp(arg, "memory", 6)) { in dlpar_store() 441 } else if (!strncmp(arg, "cpu", 3)) { in dlpar_store() 450 if (!strncmp(arg, "add", 3)) { in dlpar_store() 453 } else if (!strncmp(arg, "remove", 6)) { in dlpar_store() 462 if (!strncmp(arg, "index", 5)) { in dlpar_store() 474 } else if (!strncmp(arg, "count", 5)) { in dlpar_store()
|
/arch/x86/lib/ |
D | string_32.c | 117 int strncmp(const char *cs, const char *ct, size_t count) in strncmp() function 138 EXPORT_SYMBOL(strncmp);
|
/arch/powerpc/include/asm/ |
D | string.h | 18 extern int strncmp(const char *, const char *, __kernel_size_t);
|
/arch/blackfin/lib/ |
D | Makefile | 9 strcmp.o strcpy.o strncmp.o strncpy.o \
|
/arch/mips/sni/ |
D | setup.c | 68 if (strncmp(cdev, "tty", 3) == 0) { in sni_console_setup() 83 if (strncmp(cdev, "tty552", 6) == 0) in sni_console_setup()
|
/arch/blackfin/kernel/ |
D | early_printk.c | 127 if (!strncmp(buf, "serial,uart", 11)) { in setup_early_printk() 135 if (!strncmp(buf, "jtag", 4)) { in setup_early_printk()
|