Home
last modified time | relevance | path

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

123456

/arch/x86/kernel/
Dpci-dma.c171 if (!strncmp(p, "off", 3)) in iommu_setup()
174 if (!strncmp(p, "force", 5)) in iommu_setup()
176 if (!strncmp(p, "noforce", 7)) { in iommu_setup()
181 if (!strncmp(p, "biomerge", 8)) { in iommu_setup()
185 if (!strncmp(p, "panic", 5)) in iommu_setup()
187 if (!strncmp(p, "nopanic", 7)) in iommu_setup()
189 if (!strncmp(p, "merge", 5)) { in iommu_setup()
193 if (!strncmp(p, "nomerge", 7)) in iommu_setup()
195 if (!strncmp(p, "forcesac", 8)) in iommu_setup()
197 if (!strncmp(p, "allowdac", 8)) in iommu_setup()
[all …]
Dapm_32.c1822 if (strncmp(str, "off", 3) == 0) in apm_setup()
1824 if (strncmp(str, "on", 2) == 0) in apm_setup()
1826 if ((strncmp(str, "bounce-interval=", 16) == 0) || in apm_setup()
1827 (strncmp(str, "bounce_interval=", 16) == 0)) in apm_setup()
1829 if ((strncmp(str, "idle-threshold=", 15) == 0) || in apm_setup()
1830 (strncmp(str, "idle_threshold=", 15) == 0)) in apm_setup()
1832 if ((strncmp(str, "idle-period=", 12) == 0) || in apm_setup()
1833 (strncmp(str, "idle_period=", 12) == 0)) in apm_setup()
1835 invert = (strncmp(str, "no-", 3) == 0) || in apm_setup()
1836 (strncmp(str, "no_", 3) == 0); in apm_setup()
[all …]
Dpci-gart_64.c867 if (!strncmp(p, "leak", 4)) { in gart_parse_options()
878 if (!strncmp(p, "fullflush", 8)) in gart_parse_options()
880 if (!strncmp(p, "nofullflush", 11)) in gart_parse_options()
882 if (!strncmp(p, "noagp", 5)) in gart_parse_options()
884 if (!strncmp(p, "noaperture", 10)) in gart_parse_options()
887 if (!strncmp(p, "force", 5)) in gart_parse_options()
889 if (!strncmp(p, "allowed", 7)) in gart_parse_options()
891 if (!strncmp(p, "memaper", 7)) { in gart_parse_options()
/arch/x86/include/asm/summit/
Dmpparse.h17 if (!strncmp(oem, "IBM ENSW", 8) && in mps_oem_check()
18 (!strncmp(productid, "VIGIL SMP", 9) in mps_oem_check()
19 || !strncmp(productid, "EXA", 3) in mps_oem_check()
20 || !strncmp(productid, "RUTHLESS SMP", 12))){ in mps_oem_check()
32 if (!strncmp(oem_id, "IBM", 3) && in acpi_madt_oem_check()
33 (!strncmp(oem_table_id, "SERVIGIL", 8) in acpi_madt_oem_check()
34 || !strncmp(oem_table_id, "EXA", 3))){ in acpi_madt_oem_check()
/arch/blackfin/lib/
Dstrncmp.c9 #define strncmp __inline_strncmp macro
11 #undef strncmp
15 int strncmp(const char *cs, const char *ct, size_t count) in strncmp() function
19 EXPORT_SYMBOL(strncmp);
DMakefile9 strcmp.o strcpy.o strncmp.o strncpy.o \
/arch/sparc/lib/
Dstrncmp_64.S11 .globl strncmp symbol
12 .type strncmp,#function
13 strncmp: label
32 .size strncmp, .-strncmp
Dstrncmp_32.S8 .global __strncmp, strncmp
10 strncmp: label
/arch/sparc/boot/
Dbtfixupprep.c115 if (!strncmp (buffer, symtab, symlen)) in main()
121 if (!strncmp (buffer, relrec, rellen)) in main()
135 if (!strncmp (buffer, relrec, rellen)) in main()
143 if (strncmp (buffer + mode, " R_SPARC_", 9)) in main()
223 if (strncmp (buffer + mode+9, "32 ", 10)) { in main()
227 } else if (strncmp (buffer + mode+9, "WDISP30 ", 10) && in main()
228 strncmp (buffer + mode+9, "HI22 ", 10) && in main()
229 strncmp (buffer + mode+9, "LO10 ", 10)) { in main()
239 if (strncmp (buffer + mode+9, "HI22 ", 10)) { in main()
249 if (strncmp (buffer + mode+9, "13 ", 10)) { in main()
[all …]
/arch/x86/kernel/acpi/
Dsleep.c150 if (strncmp(str, "s3_bios", 7) == 0) in acpi_sleep_setup()
152 if (strncmp(str, "s3_mode", 7) == 0) in acpi_sleep_setup()
154 if (strncmp(str, "s3_beep", 7) == 0) in acpi_sleep_setup()
157 if (strncmp(str, "s4_nohwsig", 10) == 0) in acpi_sleep_setup()
159 if (strncmp(str, "s4_nonvs", 8) == 0) in acpi_sleep_setup()
162 if (strncmp(str, "old_ordering", 12) == 0) in acpi_sleep_setup()
/arch/m68k/sun3/prom/
Dconsole.c95 if(strncmp(propb, "serial", sizeof("serial")))
142 strncmp("display", propb, sizeof("display")) == 0)
147 if(strncmp("serial", propb, sizeof("serial")))
/arch/powerpc/platforms/chrp/
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()
Dsetup.c110 if (model && !strncmp(model, "IBM,LongTrail", 13)) { in chrp_show_cpuinfo()
205 if (model && !strncmp(model, "IBM,LongTrail", 13)) { in sio_init()
312 if (machine && strncmp(machine, "Pegasos", 7) == 0) { in chrp_setup_arch()
314 } else if (machine && strncmp(machine, "IBM", 3) == 0) { in chrp_setup_arch()
316 } else if (machine && strncmp(machine, "MOT", 3) == 0) { in chrp_setup_arch()
318 } else if (machine && strncmp(machine, "TotalImpact,BRIQ-1", 18) == 0) { in chrp_setup_arch()
/arch/arm/kernel/
Dtime.c142 if (strncmp(buf, "claim", len) == 0) { in leds_store()
145 } else if (strncmp(buf, "release", len) == 0) { in leds_store()
153 strncmp(buf, evt_names[i].name, len) != 0) in leds_store()
155 if (strncmp(buf+len, " on", 3) == 0) { in leds_store()
158 } else if (strncmp(buf+len, " off", 4) == 0) { in leds_store()
/arch/mips/pmc-sierra/yosemite/
Dprom.c119 if (strncmp("ocd_base", *env, strlen("ocd_base")) == 0) in prom_init()
124 if (strncmp("cpuclock", *env, strlen("cpuclock")) == 0) in prom_init()
/arch/mips/fw/arc/
Dcmdline.c50 if (!strncmp(prom_argv(actr), used_arc[i][0], len)) { in move_firmware_args()
89 if (!strncmp(prom_argv(actr), ignored[i], len)) in prom_init_cmdline()
/arch/blackfin/kernel/
Dearly_printk.c143 if (!strncmp(buf, "serial,uart", 11)) { in setup_early_printk()
151 if (!strncmp(buf, "jtag", 4)) { in setup_early_printk()
/arch/x86/lib/
Dstring_32.c117 int strncmp(const char *cs, const char *ct, size_t count) in strncmp() function
138 EXPORT_SYMBOL(strncmp);
/arch/s390/kernel/
Dsetup.c154 if (strncmp(str, "hwc", 4) == 0 || strncmp(str, "sclp", 5) == 0) in conmode_setup()
158 if (strncmp(str, "3215", 5) == 0) in conmode_setup()
162 if (strncmp(str, "3270", 5) == 0) in conmode_setup()
196 if (strncmp(ptr + 8, "3270", 4) == 0) { in conmode_default()
204 } else if (strncmp(ptr + 8, "3215", 4) == 0) { in conmode_default()
352 if (!strncmp(p, "off", 3)) in early_parse_noexec()
/arch/x86/include/asm/es7000/
Dmpparse.h23 !strncmp(header.oem_id, "UNISYS", 6)) in es7000_check_dsdt()
/arch/powerpc/include/asm/
Dstring.h22 extern int strncmp(const char *, const char *, __kernel_size_t);
/arch/mips/sni/
Dsetup.c66 if (strncmp(cdev, "tty", 3) == 0) { in sni_console_setup()
81 if (strncmp(cdev, "tty552", 6) == 0) in sni_console_setup()
/arch/mips/nxp/pnx833x/common/
Dprom.c54 if (strncmp(envname, *env, i) == 0 && *(*env+i) == '=') in prom_getenv()
/arch/powerpc/boot/
Dstring.h10 extern int strncmp(const char *s1, const char *s2, size_t n);
/arch/sh/kernel/
Dearly_printk.c215 if (!strncmp(buf, "bios", 4)) in setup_early_printk()
219 if (!strncmp(buf, "serial", 6)) { in setup_early_printk()

123456