Home
last modified time | relevance | path

Searched refs:strncmp (Results 1 – 25 of 144) sorted by relevance

123456

/arch/x86/kernel/
A Dpci-dma.c119 if (!strncmp(p, "off", 3)) in iommu_setup()
122 if (!strncmp(p, "force", 5)) in iommu_setup()
133 if (!strncmp(p, "panic", 5)) in iommu_setup()
135 if (!strncmp(p, "nopanic", 7)) in iommu_setup()
137 if (!strncmp(p, "merge", 5)) { in iommu_setup()
141 if (!strncmp(p, "nomerge", 7)) in iommu_setup()
143 if (!strncmp(p, "forcesac", 8)) in iommu_setup()
147 if (!strncmp(p, "nodac", 5)) in iommu_setup()
154 if (!strncmp(p, "soft", 4)) in iommu_setup()
157 if (!strncmp(p, "pt", 2)) in iommu_setup()
[all …]
A Dearly_printk.c168 if (!strncmp(s, "0x", 2)) { in early_serial_init()
173 if (!strncmp(s, "ttyS", 4)) in early_serial_init()
228 if (!strncmp(s, "0x", 2)) { in early_mmio_serial_init()
241 if (!strncmp(s, "nocfg", 5)) { in early_mmio_serial_init()
279 if (!strncmp(s, "force,", 6)) { in early_pci_serial_init()
401 if (!strncmp(buf, "mmio32", 6)) { in setup_early_printk()
410 if (!strncmp(buf, ",ttyS", 5)) in setup_early_printk()
413 if (!strncmp(buf, "ttyS", 4)) { in setup_early_printk()
424 if (!strncmp(buf, "vga", 3) && in setup_early_printk()
436 if (!strncmp(buf, "xen", 3)) in setup_early_printk()
[all …]
A Dapm_32.c1832 if (strncmp(str, "off", 3) == 0) in apm_setup()
1834 if (strncmp(str, "on", 2) == 0) in apm_setup()
1843 (strncmp(str, "idle_period=", 12) == 0)) in apm_setup()
1845 invert = (strncmp(str, "no-", 3) == 0) || in apm_setup()
1846 (strncmp(str, "no_", 3) == 0); in apm_setup()
1849 if (strncmp(str, "debug", 5) == 0) in apm_setup()
1851 if ((strncmp(str, "power-off", 9) == 0) || in apm_setup()
1852 (strncmp(str, "power_off", 9) == 0)) in apm_setup()
1854 if (strncmp(str, "smp", 3) == 0) { in apm_setup()
1859 (strncmp(str, "allow_ints", 10) == 0)) in apm_setup()
[all …]
/arch/x86/kernel/acpi/
A Dsleep.c157 if (strncmp(str, "s3_bios", 7) == 0) in acpi_sleep_setup()
159 if (strncmp(str, "s3_mode", 7) == 0) in acpi_sleep_setup()
161 if (strncmp(str, "s3_beep", 7) == 0) in acpi_sleep_setup()
164 if (strncmp(str, "s4_hwsig", 8) == 0) in acpi_sleep_setup()
166 if (strncmp(str, "s4_nohwsig", 10) == 0) in acpi_sleep_setup()
169 if (strncmp(str, "nonvs", 5) == 0) in acpi_sleep_setup()
171 if (strncmp(str, "nonvs_s3", 8) == 0) in acpi_sleep_setup()
173 if (strncmp(str, "old_ordering", 12) == 0) in acpi_sleep_setup()
175 if (strncmp(str, "nobl", 4) == 0) in acpi_sleep_setup()
/arch/x86/xen/
A Dplatform-pci-unplug.c192 if (!strncmp(p, "all", l)) in parse_xen_emul_unplug()
194 else if (!strncmp(p, "ide-disks", l)) in parse_xen_emul_unplug()
196 else if (!strncmp(p, "aux-ide-disks", l)) in parse_xen_emul_unplug()
198 else if (!strncmp(p, "nics", l)) in parse_xen_emul_unplug()
200 else if (!strncmp(p, "unnecessary", l)) in parse_xen_emul_unplug()
202 else if (!strncmp(p, "never", l)) in parse_xen_emul_unplug()
/arch/x86/boot/
A Dearly_serial_console.c56 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/sparc/lib/
A Dstrncmp_64.S13 ENTRY(strncmp)
32 ENDPROC(strncmp)
33 EXPORT_SYMBOL(strncmp)
A Dstrncmp_32.S11 ENTRY(strncmp)
120 ENDPROC(strncmp)
121 EXPORT_SYMBOL(strncmp)
/arch/riscv/lib/
A Dstrncmp.S9 SYM_FUNC_START(strncmp)
139 SYM_FUNC_END(strncmp)
140 SYM_FUNC_ALIAS(__pi_strncmp, strncmp)
141 EXPORT_SYMBOL(strncmp)
/arch/powerpc/include/asm/
A Dftrace.h90 (!strncmp(sym, "__se_sys", 8) && !strcmp(sym + 5, name)) || in arch_syscall_match_sym_name()
91 (!strncmp(sym, "ppc_", 4) && !strcmp(sym + 4, name + 4)) || in arch_syscall_match_sym_name()
92 (!strncmp(sym, "ppc32_", 6) && !strcmp(sym + 6, name + 4)) || in arch_syscall_match_sym_name()
93 (!strncmp(sym, "ppc64_", 6) && !strcmp(sym + 6, name + 4)); in arch_syscall_match_sym_name()
/arch/powerpc/platforms/chrp/
A Dpci.c225 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()
A Dsetup.c111 if (model && !strncmp(model, "IBM,LongTrail", 13)) { in chrp_show_cpuinfo()
206 if (model && !strncmp(model, "IBM,LongTrail", 13)) { in sio_init()
307 if (machine && strncmp(machine, "Pegasos", 7) == 0) { in chrp_setup_arch()
309 } else if (machine && strncmp(machine, "IBM", 3) == 0) { in chrp_setup_arch()
311 } else if (machine && strncmp(machine, "MOT", 3) == 0) { in chrp_setup_arch()
313 } else if (machine && strncmp(machine, "TotalImpact,BRIQ-1", 18) == 0) { in chrp_setup_arch()
/arch/arm/mach-omap2/
A Dsr_device.c95 if (!strncmp(name, "smartreflex_mpu_iva", 20) || in sr_init_by_name()
96 !strncmp(name, "smartreflex_mpu", 16)) in sr_init_by_name()
98 else if (!strncmp(name, "smartreflex_core", 17)) in sr_init_by_name()
100 else if (!strncmp(name, "smartreflex_iva", 16)) in sr_init_by_name()
A Dpm-debug.c73 strncmp(clkdm->name, "dpll", 4) == 0) in clkdm_dbg_show_counter()
89 strncmp(pwrdm->name, "dpll", 4) == 0) in pwrdm_dbg_show_counter()
118 strncmp(pwrdm->name, "dpll", 4) == 0) in pwrdm_dbg_show_timer()
187 if (strncmp(pwrdm->name, "dpll", 4) == 0) in pwrdms_setup()
A Dpm44xx.c125 if (!strncmp(pwrdm->name, "cpu", 3)) { in pwrdms_setup()
131 if (!strncmp(pwrdm->name, "core", 4) || in pwrdms_setup()
132 !strncmp(pwrdm->name, "l4per", 5)) in pwrdms_setup()
/arch/x86/include/asm/
A Dftrace.h132 (!strncmp(sym, "__x64_", 6) && !strcmp(sym + 9, name + 3)) || in arch_syscall_match_sym_name()
133 (!strncmp(sym, "__ia32_", 7) && !strcmp(sym + 10, name + 3)) || in arch_syscall_match_sym_name()
134 (!strncmp(sym, "__do_sys", 8) && !strcmp(sym + 8, name + 3)); in arch_syscall_match_sym_name()
/arch/m68k/sun3/prom/
A Dconsole.c95 if(strncmp(propb, "serial", sizeof("serial")))
142 strncmp("display", propb, sizeof("display")) == 0)
147 if(strncmp("serial", propb, sizeof("serial")))
/arch/s390/kernel/
A Dnospec-branch.c89 if (str && !strncmp(str, "on", 2)) { in spectre_v2_setup_early()
93 if (str && !strncmp(str, "off", 3)) in spectre_v2_setup_early()
95 if (str && !strncmp(str, "auto", 4)) in spectre_v2_setup_early()
/arch/x86/kernel/apic/
A Dapic_numachip.c186 if ((strncmp(oem_id, "NUMASC", 6) != 0) || in numachip1_acpi_madt_oem_check()
187 (strncmp(oem_table_id, "NCONNECT", 8) != 0)) in numachip1_acpi_madt_oem_check()
197 if ((strncmp(oem_id, "NUMASC", 6) != 0) || in numachip2_acpi_madt_oem_check()
198 (strncmp(oem_table_id, "NCONECT2", 8) != 0)) in numachip2_acpi_madt_oem_check()
/arch/mips/fw/arc/
A Dcmdline.c52 if (!strncmp(prom_argv(actr), used_arc[i][0], len)) { in move_firmware_args()
91 if (!strncmp(prom_argv(actr), ignored[i], len)) in prom_init_cmdline()
/arch/powerpc/lib/
A Dstring.S35 _GLOBAL(strncmp)
51 EXPORT_SYMBOL(strncmp)
/arch/x86/mm/
A Dnuma.c32 if (!strncmp(opt, "off", 3)) in numa_setup()
34 if (!strncmp(opt, "fake=", 5)) in numa_setup()
36 if (!strncmp(opt, "noacpi", 6)) in numa_setup()
38 if (!strncmp(opt, "nohmat", 6)) in numa_setup()
/arch/riscv/purgatory/
A DMakefile5 purgatory-y += strcmp.o strlen.o strncmp.o
29 $(obj)/strncmp.o: $(srctree)/arch/riscv/lib/strncmp.S FORCE
/arch/um/drivers/
A Dvector_transports.c481 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/x86/boot/compressed/
A Dpgtable_64.c51 if (strncmp(signature, EFI32_LOADER_SIGNATURE, 4) && in find_trampoline_placement()
52 strncmp(signature, EFI64_LOADER_SIGNATURE, 4)) { in find_trampoline_placement()

Completed in 851 milliseconds

123456