Searched refs:strncmp (Results 1 - 25 of 1086) sorted by relevance

1234567891011>>

/linux-master/tools/perf/arch/mips/annotate/
H A Dinstructions.c8 if (!strncmp(name, "bal", 3) ||
9 !strncmp(name, "bgezal", 6) ||
10 !strncmp(name, "bltzal", 6) ||
11 !strncmp(name, "bgtzal", 6) ||
12 !strncmp(name, "blezal", 6) ||
13 !strncmp(name, "beqzal", 6) ||
14 !strncmp(name, "bnezal", 6) ||
15 !strncmp(name, "bgtzl", 5) ||
16 !strncmp(name, "bltzl", 5) ||
17 !strncmp(nam
[all...]
/linux-master/tools/perf/arch/riscv64/annotate/
H A Dinstructions.c8 if (!strncmp(name, "jal", 3) ||
9 !strncmp(name, "jr", 2) ||
10 !strncmp(name, "call", 4))
12 else if (!strncmp(name, "ret", 3))
/linux-master/tools/perf/util/
H A Ddemangle-rust.c107 if (strncmp(str, hash_prefix, hash_prefix_len))
136 if (!strncmp(str, "$C$", 3))
138 else if (!strncmp(str, "$SP$", 4)
139 || !strncmp(str, "$BP$", 4)
140 || !strncmp(str, "$RF$", 4)
141 || !strncmp(str, "$LT$", 4)
142 || !strncmp(str, "$GT$", 4)
143 || !strncmp(str, "$LP$", 4)
144 || !strncmp(str, "$RP$", 4))
146 else if (!strncmp(st
[all...]
H A Dfind-map.c24 if (!strncmp(&line[m], name, strlen(name)))
/linux-master/arch/x86/kernel/
H A Dpci-dma.c123 if (!strncmp(p, "off", 3))
126 if (!strncmp(p, "force", 5))
128 if (!strncmp(p, "noforce", 7)) {
133 if (!strncmp(p, "biomerge", 8)) {
137 if (!strncmp(p, "panic", 5))
139 if (!strncmp(p, "nopanic", 7))
141 if (!strncmp(p, "merge", 5)) {
145 if (!strncmp(p, "nomerge", 7))
147 if (!strncmp(p, "forcesac", 8))
149 if (!strncmp(
[all...]
/linux-master/security/integrity/evm/
H A Devm_posix_acl.c17 && (strncmp(XATTR_NAME_POSIX_ACL_ACCESS, xattr, xattr_len) == 0))
20 && (strncmp(XATTR_NAME_POSIX_ACL_DEFAULT, xattr, xattr_len) == 0))
/linux-master/arch/sparc/lib/
H A Dstrncmp_64.S3 * Sparc64 optimized strncmp code.
13 ENTRY(strncmp)
32 ENDPROC(strncmp)
33 EXPORT_SYMBOL(strncmp)
/linux-master/arch/x86/kernel/acpi/
H A Dsleep.c156 if (strncmp(str, "s3_bios", 7) == 0)
158 if (strncmp(str, "s3_mode", 7) == 0)
160 if (strncmp(str, "s3_beep", 7) == 0)
163 if (strncmp(str, "s4_hwsig", 8) == 0)
165 if (strncmp(str, "s4_nohwsig", 10) == 0)
168 if (strncmp(str, "nonvs", 5) == 0)
170 if (strncmp(str, "nonvs_s3", 8) == 0)
172 if (strncmp(str, "old_ordering", 12) == 0)
174 if (strncmp(str, "nobl", 4) == 0)
/linux-master/tools/perf/arch/powerpc/annotate/
H A Dinstructions.c14 !strncmp(name, "bcd", 3) ||
15 !strncmp(name, "brinc", 5) ||
16 !strncmp(name, "bper", 4))
/linux-master/drivers/video/fbdev/core/
H A Dfb_cmdline.c43 is_of = strncmp(name, "offb", 4);
48 if (!strncmp(options, "off", 3))
/linux-master/arch/riscv/kernel/
H A Driscv_ksyms.c17 EXPORT_SYMBOL(strncmp); variable
/linux-master/drivers/mtd/nand/raw/
H A Dnand_sandisk.c16 if (!strncmp("SDTNQGAMA", chip->parameters.model,
/linux-master/drivers/iommu/
H A Dirq_remapping.c61 if (!strncmp(str, "on", 2)) {
64 } else if (!strncmp(str, "off", 3)) {
67 } else if (!strncmp(str, "nosid", 5))
69 else if (!strncmp(str, "no_x2apic_optout", 16))
71 else if (!strncmp(str, "nopost", 6))
/linux-master/arch/x86/xen/
H A Dplatform-pci-unplug.c192 if (!strncmp(p, "all", l))
194 else if (!strncmp(p, "ide-disks", l))
196 else if (!strncmp(p, "aux-ide-disks", l))
198 else if (!strncmp(p, "nics", l))
200 else if (!strncmp(p, "unnecessary", l))
202 else if (!strncmp(p, "never", l))
/linux-master/tools/bpf/
H A Dbpf_asm.c35 if (!strncmp("-c", argv[i], 2)) {
/linux-master/include/ufs/
H A Dufs_quirks.h10 #define STR_PRFX_EQUAL(s1, s2) !strncmp(s1, s2, strlen(s1))
/linux-master/arch/x86/boot/
H A Dearly_serial_console.c56 if (!strncmp(arg, "serial", 6)) {
70 if (pos == 7 && !strncmp(arg + pos, "0x", 2)) {
76 } else if (!strncmp(arg + pos, "ttyS", 4)) {
132 if (!strncmp(options, "uart8250,io,", 12))
134 else if (!strncmp(options, "uart,io,", 8))
/linux-master/tools/perf/arch/s390/util/
H A Dheader.c61 if (!strncmp(line, SYSINFO_MANU, strlen(SYSINFO_MANU))) {
70 if (!strncmp(line, SYSINFO_TYPE, strlen(SYSINFO_TYPE))) {
79 if (!strncmp(line, SYSINFO_MODEL, strlen(SYSINFO_MODEL))) {
104 if (strncmp(line, SRVLVL_CPUMF, strlen(SRVLVL_CPUMF)))
109 if (!strncmp(cp, SRVLVL_VERSION,
116 if (!strncmp(cp, SRVLVL_AUTHORIZATION,
H A Ddwarf-regs.c34 if (!name || strncmp(name, "%r", 2))
/linux-master/tools/power/cpupower/utils/idle_monitor/
H A Dcpuidle_sysfs.c82 if (!strncmp(tmp, "NHM-", 4)) {
94 } else if (!strncmp(tmp, "SNB-", 4)) {
109 } else if (!strncmp(tmp, "ATM-", 4)) {
130 if (!strncmp(tmp, "stop0_lite", CSTATE_NAME_LEN))
132 else if (!strncmp(tmp, "stop1_lite", CSTATE_NAME_LEN))
134 else if (!strncmp(tmp, "stop2_lite", CSTATE_NAME_LEN))
/linux-master/tools/perf/arch/loongarch/annotate/
H A Dinstructions.c110 !strncmp(name, "beq", 3) ||
111 !strncmp(name, "bne", 3) ||
112 !strncmp(name, "blt", 3) ||
113 !strncmp(name, "bge", 3) ||
114 !strncmp(name, "bltu", 4) ||
115 !strncmp(name, "bgeu", 4))
/linux-master/tools/perf/arch/riscv/util/
H A Dheader.c52 if (!strncmp(line, CPUINFO_MVEN, strlen(CPUINFO_MVEN))) {
56 } else if (!strncmp(line, CPUINFO_MARCH, strlen(CPUINFO_MARCH))) {
60 } else if (!strncmp(line, CPUINFO_MIMP, strlen(CPUINFO_MIMP))) {
/linux-master/tools/perf/arch/powerpc/util/
H A Dsym-handling.c25 if (strlen(sym) >= 3 && !strncmp(sym, "SyS", 3))
27 if (strlen(sym) >= 10 && !strncmp(sym, "compat_SyS", 10))
55 return strncmp(namea, nameb, n);
/linux-master/drivers/scsi/
H A Dsr_vendor.c82 } else if (!strncmp(vendor, "NEC", 3)) {
84 if (!strncmp(model, "CD-ROM DRIVE:25", 15) ||
85 !strncmp(model, "CD-ROM DRIVE:36", 15) ||
86 !strncmp(model, "CD-ROM DRIVE:83", 15) ||
87 !strncmp(model, "CD-ROM DRIVE:84 ", 16)
91 || !strncmp(model, "CD-ROM DRIVE:500", 16)
97 } else if (!strncmp(vendor, "TOSHIBA", 7)) {
100 } else if (!strncmp(vendor, "Beurer", 6) &&
101 !strncmp(model, "Gluco Memory", 12)) {
/linux-master/drivers/accessibility/speakup/
H A Dmakemapdata.c25 if (strncmp(buffer, "#define", 7))
73 if (strncmp(def_name, "KEY_", 4))
82 if (strncmp(def_name, "KEY_", 4))
106 } else if (!strncmp(def_val, "0x", 2))

Completed in 215 milliseconds

1234567891011>>