Home
last modified time | relevance | path

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

12345678910>>...87

/kernel/linux/linux-6.6/tools/perf/arch/mips/annotate/
H A Dinstructions.c8 if (!strncmp(name, "bal", 3) || in mips__associate_ins_ops()
9 !strncmp(name, "bgezal", 6) || in mips__associate_ins_ops()
10 !strncmp(name, "bltzal", 6) || in mips__associate_ins_ops()
11 !strncmp(name, "bgtzal", 6) || in mips__associate_ins_ops()
12 !strncmp(name, "blezal", 6) || in mips__associate_ins_ops()
13 !strncmp(name, "beqzal", 6) || in mips__associate_ins_ops()
14 !strncmp(name, "bnezal", 6) || in mips__associate_ins_ops()
15 !strncmp(name, "bgtzl", 5) || in mips__associate_ins_ops()
16 !strncmp(name, "bltzl", 5) || in mips__associate_ins_ops()
17 !strncmp(nam in mips__associate_ins_ops()
[all...]
/kernel/linux/linux-5.10/tools/perf/arch/loongarch/annotate/
H A Dinstructions.c13 if (!strncmp(name, "beqz", 4) || in loongarch__associate_ins_ops()
14 !strncmp(name, "bnez", 4) || in loongarch__associate_ins_ops()
15 !strncmp(name, "beq", 3) || in loongarch__associate_ins_ops()
16 !strncmp(name, "bne", 3) || in loongarch__associate_ins_ops()
17 !strncmp(name, "blt", 3) || in loongarch__associate_ins_ops()
18 !strncmp(name, "bge", 3) || in loongarch__associate_ins_ops()
19 !strncmp(name, "bltu", 4) || in loongarch__associate_ins_ops()
20 !strncmp(name, "bgeu", 4) || in loongarch__associate_ins_ops()
21 !strncmp(name, "bl", 2)) in loongarch__associate_ins_ops()
23 else if (!strncmp(nam in loongarch__associate_ins_ops()
[all...]
/kernel/linux/linux-5.10/arch/x86/kernel/
H A Dpci-dma.c69 if (!strncmp(p, "off", 3)) in iommu_setup()
72 if (!strncmp(p, "force", 5)) in iommu_setup()
74 if (!strncmp(p, "noforce", 7)) { in iommu_setup()
79 if (!strncmp(p, "biomerge", 8)) { in iommu_setup()
83 if (!strncmp(p, "panic", 5)) in iommu_setup()
85 if (!strncmp(p, "nopanic", 7)) in iommu_setup()
87 if (!strncmp(p, "merge", 5)) { in iommu_setup()
91 if (!strncmp(p, "nomerge", 7)) in iommu_setup()
93 if (!strncmp(p, "forcesac", 8)) in iommu_setup()
95 if (!strncmp( in iommu_setup()
[all...]
H A Dearly_printk.c159 if (!strncmp(s, "0x", 2)) { in early_serial_init()
164 if (!strncmp(s, "ttyS", 4)) in early_serial_init()
234 if (!strncmp(s, "force,", 6)) { in early_pci_serial_init()
355 if (!strncmp(buf, "serial", 6)) { in setup_early_printk()
359 if (!strncmp(buf, ",ttyS", 5)) in setup_early_printk()
362 if (!strncmp(buf, "ttyS", 4)) { in setup_early_printk()
367 if (!strncmp(buf, "pciserial", 9)) { in setup_early_printk()
373 if (!strncmp(buf, "vga", 3) && in setup_early_printk()
381 if (!strncmp(buf, "dbgp", 4) && !early_dbgp_init(buf + 4)) in setup_early_printk()
385 if (!strncmp(bu in setup_early_printk()
[all...]
/kernel/linux/linux-5.10/tools/perf/util/
H A Ddemangle-rust.c107 if (strncmp(str, hash_prefix, hash_prefix_len)) in is_prefixed_hash()
136 if (!strncmp(str, "$C$", 3)) in looks_like_rust()
138 else if (!strncmp(str, "$SP$", 4) in looks_like_rust()
139 || !strncmp(str, "$BP$", 4) in looks_like_rust()
140 || !strncmp(str, "$RF$", 4) in looks_like_rust()
141 || !strncmp(str, "$LT$", 4) in looks_like_rust()
142 || !strncmp(str, "$GT$", 4) in looks_like_rust()
143 || !strncmp(str, "$LP$", 4) in looks_like_rust()
144 || !strncmp(str, "$RP$", 4)) in looks_like_rust()
146 else if (!strncmp(st in looks_like_rust()
[all...]
/kernel/linux/linux-6.6/arch/x86/kernel/
H A Dpci-dma.c123 if (!strncmp(p, "off", 3)) in iommu_setup()
126 if (!strncmp(p, "force", 5)) in iommu_setup()
128 if (!strncmp(p, "noforce", 7)) { in iommu_setup()
133 if (!strncmp(p, "biomerge", 8)) { in iommu_setup()
137 if (!strncmp(p, "panic", 5)) in iommu_setup()
139 if (!strncmp(p, "nopanic", 7)) in iommu_setup()
141 if (!strncmp(p, "merge", 5)) { in iommu_setup()
145 if (!strncmp(p, "nomerge", 7)) in iommu_setup()
147 if (!strncmp(p, "forcesac", 8)) in iommu_setup()
149 if (!strncmp( in iommu_setup()
[all...]
H A Dearly_printk.c159 if (!strncmp(s, "0x", 2)) { in early_serial_init()
164 if (!strncmp(s, "ttyS", 4)) in early_serial_init()
234 if (!strncmp(s, "force,", 6)) { in early_pci_serial_init()
355 if (!strncmp(buf, "serial", 6)) { in setup_early_printk()
359 if (!strncmp(buf, ",ttyS", 5)) in setup_early_printk()
362 if (!strncmp(buf, "ttyS", 4)) { in setup_early_printk()
367 if (!strncmp(buf, "pciserial", 9)) { in setup_early_printk()
373 if (!strncmp(buf, "vga", 3) && in setup_early_printk()
381 if (!strncmp(buf, "dbgp", 4) && !early_dbgp_init(buf + 4)) in setup_early_printk()
385 if (!strncmp(bu in setup_early_printk()
[all...]
/kernel/linux/linux-6.6/tools/perf/util/
H A Ddemangle-rust.c107 if (strncmp(str, hash_prefix, hash_prefix_len)) in is_prefixed_hash()
136 if (!strncmp(str, "$C$", 3)) in looks_like_rust()
138 else if (!strncmp(str, "$SP$", 4) in looks_like_rust()
139 || !strncmp(str, "$BP$", 4) in looks_like_rust()
140 || !strncmp(str, "$RF$", 4) in looks_like_rust()
141 || !strncmp(str, "$LT$", 4) in looks_like_rust()
142 || !strncmp(str, "$GT$", 4) in looks_like_rust()
143 || !strncmp(str, "$LP$", 4) in looks_like_rust()
144 || !strncmp(str, "$RP$", 4)) in looks_like_rust()
146 else if (!strncmp(st in looks_like_rust()
[all...]
H A Denv.c260 if (!strncmp(arch, "x86_64", 6) || !strncmp(arch, "aarch64", 7) || in perf_env__init_kernel_mode()
261 !strncmp(arch, "arm64", 5) || !strncmp(arch, "mips64", 6) || in perf_env__init_kernel_mode()
262 !strncmp(arch, "parisc64", 8) || !strncmp(arch, "riscv64", 7) || in perf_env__init_kernel_mode()
263 !strncmp(arch, "s390x", 5) || !strncmp(arch, "sparc64", 7)) in perf_env__init_kernel_mode()
433 if (!strcmp(arch, "sun4u") || !strncmp(arch, "sparc", 5)) in normalize_arch()
435 if (!strncmp(arc in normalize_arch()
[all...]
/kernel/linux/linux-6.6/arch/x86/kernel/acpi/
H A Dsleep.c156 if (strncmp(str, "s3_bios", 7) == 0) in acpi_sleep_setup()
158 if (strncmp(str, "s3_mode", 7) == 0) in acpi_sleep_setup()
160 if (strncmp(str, "s3_beep", 7) == 0) in acpi_sleep_setup()
163 if (strncmp(str, "s4_hwsig", 8) == 0) in acpi_sleep_setup()
165 if (strncmp(str, "s4_nohwsig", 10) == 0) in acpi_sleep_setup()
168 if (strncmp(str, "nonvs", 5) == 0) in acpi_sleep_setup()
170 if (strncmp(str, "nonvs_s3", 8) == 0) in acpi_sleep_setup()
172 if (strncmp(str, "old_ordering", 12) == 0) in acpi_sleep_setup()
174 if (strncmp(str, "nobl", 4) == 0) in acpi_sleep_setup()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
H A Dftrace.h82 (!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()
/kernel/linux/linux-5.10/arch/x86/kernel/acpi/
H A Dsleep.c135 if (strncmp(str, "s3_bios", 7) == 0) in acpi_sleep_setup()
137 if (strncmp(str, "s3_mode", 7) == 0) in acpi_sleep_setup()
139 if (strncmp(str, "s3_beep", 7) == 0) in acpi_sleep_setup()
142 if (strncmp(str, "s4_nohwsig", 10) == 0) in acpi_sleep_setup()
145 if (strncmp(str, "nonvs", 5) == 0) in acpi_sleep_setup()
147 if (strncmp(str, "nonvs_s3", 8) == 0) in acpi_sleep_setup()
149 if (strncmp(str, "old_ordering", 12) == 0) in acpi_sleep_setup()
151 if (strncmp(str, "nobl", 4) == 0) in acpi_sleep_setup()
/kernel/linux/linux-6.6/tools/perf/arch/riscv64/annotate/
H A Dinstructions.c8 if (!strncmp(name, "jal", 3) || in riscv64__associate_ins_ops()
9 !strncmp(name, "jr", 2) || in riscv64__associate_ins_ops()
10 !strncmp(name, "call", 4)) in riscv64__associate_ins_ops()
12 else if (!strncmp(name, "ret", 3)) in riscv64__associate_ins_ops()
/kernel/linux/linux-5.10/arch/x86/xen/
H A Dplatform-pci-unplug.c190 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()
/kernel/linux/linux-5.10/tools/perf/arch/s390/util/
H A Dheader.c61 if (!strncmp(line, SYSINFO_MANU, strlen(SYSINFO_MANU))) { in get_cpuid()
70 if (!strncmp(line, SYSINFO_TYPE, strlen(SYSINFO_TYPE))) { in get_cpuid()
79 if (!strncmp(line, SYSINFO_MODEL, strlen(SYSINFO_MODEL))) { in get_cpuid()
104 if (strncmp(line, SRVLVL_CPUMF, strlen(SRVLVL_CPUMF))) in get_cpuid()
109 if (!strncmp(cp, SRVLVL_VERSION, in get_cpuid()
116 if (!strncmp(cp, SRVLVL_AUTHORIZATION, in get_cpuid()
/kernel/linux/linux-6.6/arch/x86/xen/
H 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()
/kernel/linux/linux-6.6/tools/perf/arch/s390/util/
H A Dheader.c61 if (!strncmp(line, SYSINFO_MANU, strlen(SYSINFO_MANU))) { in get_cpuid()
70 if (!strncmp(line, SYSINFO_TYPE, strlen(SYSINFO_TYPE))) { in get_cpuid()
79 if (!strncmp(line, SYSINFO_MODEL, strlen(SYSINFO_MODEL))) { in get_cpuid()
104 if (strncmp(line, SRVLVL_CPUMF, strlen(SRVLVL_CPUMF))) in get_cpuid()
109 if (!strncmp(cp, SRVLVL_VERSION, in get_cpuid()
116 if (!strncmp(cp, SRVLVL_AUTHORIZATION, in get_cpuid()
/kernel/linux/linux-6.6/lib/kunit/
H A Dattributes.c82 if (!strncmp(op, "<=", 2)) in int_filter()
84 else if (!strncmp(op, ">=", 2)) in int_filter()
86 else if (!strncmp(op, "!=", 2)) in int_filter()
88 else if (!strncmp(op, ">", 1)) in int_filter()
90 else if (!strncmp(op, "<", 1)) in int_filter()
92 else if (!strncmp(op, "=", 1)) in int_filter()
151 if (!strncmp(input, "<", 1)) { in attr_string_filter()
155 } else if (!strncmp(input, ">", 1)) { in attr_string_filter()
159 } else if (!strncmp(input, "!=", 2)) { in attr_string_filter()
161 } else if (!strncmp(inpu in attr_string_filter()
[all...]
/kernel/linux/linux-5.10/drivers/video/fbdev/core/
H A Dfb_cmdline.c41 if (name_len && ofonly && strncmp(name, "offb", 4)) in fb_get_options()
51 if (!strncmp(name, opt, name_len) && in fb_get_options()
59 if (options && !strncmp(options, "off", 3)) in fb_get_options()
84 if (!strncmp(options, "ofonly", 6)) { in video_setup()
/kernel/linux/linux-5.10/drivers/firmware/
H A Dedd.c141 if (!strncmp(info->params.host_bus_type, "ISA", 3)) { in edd_show_host_bus()
144 } else if (!strncmp(info->params.host_bus_type, "PCIX", 4) || in edd_show_host_bus()
145 !strncmp(info->params.host_bus_type, "PCI", 3) || in edd_show_host_bus()
146 !strncmp(info->params.host_bus_type, "XPRS", 4)) { in edd_show_host_bus()
153 } else if (!strncmp(info->params.host_bus_type, "IBND", 4) || in edd_show_host_bus()
154 !strncmp(info->params.host_bus_type, "HTPT", 4)) { in edd_show_host_bus()
186 if (!strncmp(info->params.interface_type, "ATAPI", 5)) { in edd_show_interface()
190 } else if (!strncmp(info->params.interface_type, "ATA", 3)) { in edd_show_interface()
193 } else if (!strncmp(info->params.interface_type, "SCSI", 4)) { in edd_show_interface()
197 } else if (!strncmp(inf in edd_show_interface()
[all...]
/kernel/linux/linux-6.6/drivers/firmware/
H A Dedd.c141 if (!strncmp(info->params.host_bus_type, "ISA", 3)) { in edd_show_host_bus()
144 } else if (!strncmp(info->params.host_bus_type, "PCIX", 4) || in edd_show_host_bus()
145 !strncmp(info->params.host_bus_type, "PCI", 3) || in edd_show_host_bus()
146 !strncmp(info->params.host_bus_type, "XPRS", 4)) { in edd_show_host_bus()
153 } else if (!strncmp(info->params.host_bus_type, "IBND", 4) || in edd_show_host_bus()
154 !strncmp(info->params.host_bus_type, "HTPT", 4)) { in edd_show_host_bus()
186 if (!strncmp(info->params.interface_type, "ATAPI", 5)) { in edd_show_interface()
190 } else if (!strncmp(info->params.interface_type, "ATA", 3)) { in edd_show_interface()
193 } else if (!strncmp(info->params.interface_type, "SCSI", 4)) { in edd_show_interface()
197 } else if (!strncmp(inf in edd_show_interface()
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
H A Ddebugfs-vif.c135 if (!strncmp("keep_alive=", buf, 11)) { in iwl_dbgfs_pm_params_write()
139 } else if (!strncmp("skip_over_dtim=", buf, 15)) { in iwl_dbgfs_pm_params_write()
143 } else if (!strncmp("skip_dtim_periods=", buf, 18)) { in iwl_dbgfs_pm_params_write()
147 } else if (!strncmp("rx_data_timeout=", buf, 16)) { in iwl_dbgfs_pm_params_write()
151 } else if (!strncmp("tx_data_timeout=", buf, 16)) { in iwl_dbgfs_pm_params_write()
155 } else if (!strncmp("lprx=", buf, 5)) { in iwl_dbgfs_pm_params_write()
159 } else if (!strncmp("lprx_rssi_threshold=", buf, 20)) { in iwl_dbgfs_pm_params_write()
166 } else if (!strncmp("snooze_enable=", buf, 14)) { in iwl_dbgfs_pm_params_write()
170 } else if (!strncmp("uapsd_misbehaving=", buf, 18)) { in iwl_dbgfs_pm_params_write()
174 } else if (!strncmp("use_ps_pol in iwl_dbgfs_pm_params_write()
[all...]
/kernel/linux/linux-5.10/tools/power/cpupower/utils/idle_monitor/
H A Dcpuidle_sysfs.c82 if (!strncmp(tmp, "NHM-", 4)) { in fix_up_intel_idle_driver_name()
94 } else if (!strncmp(tmp, "SNB-", 4)) { in fix_up_intel_idle_driver_name()
109 } else if (!strncmp(tmp, "ATM-", 4)) { in fix_up_intel_idle_driver_name()
130 if (!strncmp(tmp, "stop0_lite", CSTATE_NAME_LEN)) in map_power_idle_state_name()
132 else if (!strncmp(tmp, "stop1_lite", CSTATE_NAME_LEN)) in map_power_idle_state_name()
134 else if (!strncmp(tmp, "stop2_lite", CSTATE_NAME_LEN)) in map_power_idle_state_name()
/kernel/linux/linux-6.6/tools/perf/arch/loongarch/annotate/
H A Dinstructions.c110 !strncmp(name, "beq", 3) || in loongarch__associate_ins_ops()
111 !strncmp(name, "bne", 3) || in loongarch__associate_ins_ops()
112 !strncmp(name, "blt", 3) || in loongarch__associate_ins_ops()
113 !strncmp(name, "bge", 3) || in loongarch__associate_ins_ops()
114 !strncmp(name, "bltu", 4) || in loongarch__associate_ins_ops()
115 !strncmp(name, "bgeu", 4)) in loongarch__associate_ins_ops()
/kernel/linux/linux-6.6/tools/power/cpupower/utils/idle_monitor/
H A Dcpuidle_sysfs.c82 if (!strncmp(tmp, "NHM-", 4)) { in fix_up_intel_idle_driver_name()
94 } else if (!strncmp(tmp, "SNB-", 4)) { in fix_up_intel_idle_driver_name()
109 } else if (!strncmp(tmp, "ATM-", 4)) { in fix_up_intel_idle_driver_name()
130 if (!strncmp(tmp, "stop0_lite", CSTATE_NAME_LEN)) in map_power_idle_state_name()
132 else if (!strncmp(tmp, "stop1_lite", CSTATE_NAME_LEN)) in map_power_idle_state_name()
134 else if (!strncmp(tmp, "stop2_lite", CSTATE_NAME_LEN)) in map_power_idle_state_name()

Completed in 18 milliseconds

12345678910>>...87