/Linux-v6.1/tools/perf/arch/mips/annotate/ |
D | instructions.c | 8 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(name, "bgezl", 5) || in mips__associate_ins_ops() [all …]
|
/Linux-v6.1/arch/x86/kernel/ |
D | pci-dma.c | 138 if (!strncmp(p, "off", 3)) in iommu_setup() 141 if (!strncmp(p, "force", 5)) in iommu_setup() 143 if (!strncmp(p, "noforce", 7)) { in iommu_setup() 148 if (!strncmp(p, "biomerge", 8)) { in iommu_setup() 152 if (!strncmp(p, "panic", 5)) in iommu_setup() 154 if (!strncmp(p, "nopanic", 7)) in iommu_setup() 156 if (!strncmp(p, "merge", 5)) { in iommu_setup() 160 if (!strncmp(p, "nomerge", 7)) in iommu_setup() 162 if (!strncmp(p, "forcesac", 8)) in iommu_setup() 164 if (!strncmp(p, "allowdac", 8)) in iommu_setup() [all …]
|
D | early_printk.c | 159 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(buf, "xen", 3)) in setup_early_printk() [all …]
|
/Linux-v6.1/tools/perf/util/ |
D | demangle-rust.c | 107 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(str, "$u20$", 5) in looks_like_rust() [all …]
|
D | env.c | 245 if (!strncmp(arch, "x86_64", 6) || !strncmp(arch, "aarch64", 7) || in perf_env__init_kernel_mode() 246 !strncmp(arch, "arm64", 5) || !strncmp(arch, "mips64", 6) || in perf_env__init_kernel_mode() 247 !strncmp(arch, "parisc64", 8) || !strncmp(arch, "riscv64", 7) || in perf_env__init_kernel_mode() 248 !strncmp(arch, "s390x", 5) || !strncmp(arch, "sparc64", 7)) in perf_env__init_kernel_mode() 422 if (!strcmp(arch, "sun4u") || !strncmp(arch, "sparc", 5)) in normalize_arch() 424 if (!strncmp(arch, "aarch64", 7) || !strncmp(arch, "arm64", 5)) in normalize_arch() 426 if (!strncmp(arch, "arm", 3) || !strcmp(arch, "sa110")) in normalize_arch() 428 if (!strncmp(arch, "s390", 4)) in normalize_arch() 430 if (!strncmp(arch, "parisc", 6)) in normalize_arch() 432 if (!strncmp(arch, "powerpc", 7) || !strncmp(arch, "ppc", 3)) in normalize_arch() [all …]
|
D | map.h | 166 return strncmp(name, "bpf_trampoline_", sizeof("bpf_trampoline_") - 1) == 0 || in is_bpf_image() 167 strncmp(name, "bpf_dispatcher_", sizeof("bpf_dispatcher_") - 1) == 0; in is_bpf_image() 173 !strncmp(filename, "/dev/zero", sizeof("/dev/zero") - 1) || in is_anon_memory() 174 !strncmp(filename, "/anon_hugepage", sizeof("/anon_hugepage") - 1); in is_anon_memory() 179 return !strncmp(filename, "[stack", 6) || in is_no_dso_memory() 180 !strncmp(filename, "/SYSV", 5) || in is_no_dso_memory()
|
/Linux-v6.1/arch/x86/kernel/acpi/ |
D | sleep.c | 136 if (strncmp(str, "s3_bios", 7) == 0) in acpi_sleep_setup() 138 if (strncmp(str, "s3_mode", 7) == 0) in acpi_sleep_setup() 140 if (strncmp(str, "s3_beep", 7) == 0) in acpi_sleep_setup() 143 if (strncmp(str, "s4_hwsig", 8) == 0) in acpi_sleep_setup() 145 if (strncmp(str, "s4_nohwsig", 10) == 0) in acpi_sleep_setup() 148 if (strncmp(str, "nonvs", 5) == 0) in acpi_sleep_setup() 150 if (strncmp(str, "nonvs_s3", 8) == 0) in acpi_sleep_setup() 152 if (strncmp(str, "old_ordering", 12) == 0) in acpi_sleep_setup() 154 if (strncmp(str, "nobl", 4) == 0) in acpi_sleep_setup()
|
/Linux-v6.1/arch/powerpc/include/asm/ |
D | ftrace.h | 72 (!strncmp(sym, ".__se_sys", 9) && !strcmp(sym + 6, name)) || in arch_syscall_match_sym_name() 73 (!strncmp(sym, ".ppc_", 5) && !strcmp(sym + 5, name + 4)) || in arch_syscall_match_sym_name() 74 (!strncmp(sym, ".ppc32_", 7) && !strcmp(sym + 7, name + 4)) || in arch_syscall_match_sym_name() 75 (!strncmp(sym, ".ppc64_", 7) && !strcmp(sym + 7, name + 4)); in arch_syscall_match_sym_name() 81 (!strncmp(sym, "__se_sys", 8) && !strcmp(sym + 5, name)) || in arch_syscall_match_sym_name() 82 (!strncmp(sym, "ppc_", 4) && !strcmp(sym + 4, name + 4)) || in arch_syscall_match_sym_name() 83 (!strncmp(sym, "ppc32_", 6) && !strcmp(sym + 6, name + 4)) || in arch_syscall_match_sym_name() 84 (!strncmp(sym, "ppc64_", 6) && !strcmp(sym + 6, name + 4)); in arch_syscall_match_sym_name()
|
/Linux-v6.1/tools/testing/selftests/resctrl/ |
D | resctrlfs.c | 332 if (strncmp(resctrl_val, CMT_STR, sizeof(CMT_STR))) in run_benchmark() 457 if (!strncmp(resctrl_val, CMT_STR, sizeof(CMT_STR)) || in write_bm_pid_to_resctrl() 458 !strncmp(resctrl_val, MBM_STR, sizeof(MBM_STR))) { in write_bm_pid_to_resctrl() 500 if (strncmp(resctrl_val, MBA_STR, sizeof(MBA_STR)) && in write_schemata() 501 strncmp(resctrl_val, CAT_STR, sizeof(CAT_STR)) && in write_schemata() 502 strncmp(resctrl_val, CMT_STR, sizeof(CMT_STR))) in write_schemata() 523 if (!strncmp(resctrl_val, CAT_STR, sizeof(CAT_STR)) || in write_schemata() 524 !strncmp(resctrl_val, CMT_STR, sizeof(CMT_STR))) in write_schemata() 526 if (!strncmp(resctrl_val, MBA_STR, sizeof(MBA_STR))) in write_schemata() 599 if (strncmp(line, str, slen)) in fgrep() [all …]
|
/Linux-v6.1/arch/x86/xen/ |
D | platform-pci-unplug.c | 192 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()
|
/Linux-v6.1/tools/perf/arch/riscv64/annotate/ |
D | instructions.c | 8 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()
|
/Linux-v6.1/drivers/iommu/ |
D | irq_remapping.c | 61 if (!strncmp(str, "on", 2)) { in setup_irqremap() 64 } else if (!strncmp(str, "off", 3)) { in setup_irqremap() 67 } else if (!strncmp(str, "nosid", 5)) in setup_irqremap() 69 else if (!strncmp(str, "no_x2apic_optout", 16)) in setup_irqremap() 71 else if (!strncmp(str, "nopost", 6)) in setup_irqremap()
|
/Linux-v6.1/drivers/scsi/ |
D | sr_vendor.c | 82 } else if (!strncmp(vendor, "NEC", 3)) { in sr_vendor_init() 84 if (!strncmp(model, "CD-ROM DRIVE:25", 15) || in sr_vendor_init() 85 !strncmp(model, "CD-ROM DRIVE:36", 15) || in sr_vendor_init() 86 !strncmp(model, "CD-ROM DRIVE:83", 15) || in sr_vendor_init() 87 !strncmp(model, "CD-ROM DRIVE:84 ", 16) in sr_vendor_init() 91 || !strncmp(model, "CD-ROM DRIVE:500", 16) in sr_vendor_init() 97 } else if (!strncmp(vendor, "TOSHIBA", 7)) { in sr_vendor_init() 100 } else if (!strncmp(vendor, "Beurer", 6) && in sr_vendor_init() 101 !strncmp(model, "Gluco Memory", 12)) { in sr_vendor_init()
|
/Linux-v6.1/tools/perf/arch/s390/util/ |
D | header.c | 61 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()
|
/Linux-v6.1/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | debugfs-vif.c | 80 if (!strncmp("keep_alive=", buf, 11)) { in iwl_dbgfs_pm_params_write() 84 } else if (!strncmp("skip_over_dtim=", buf, 15)) { in iwl_dbgfs_pm_params_write() 88 } else if (!strncmp("skip_dtim_periods=", buf, 18)) { in iwl_dbgfs_pm_params_write() 92 } else if (!strncmp("rx_data_timeout=", buf, 16)) { in iwl_dbgfs_pm_params_write() 96 } else if (!strncmp("tx_data_timeout=", buf, 16)) { in iwl_dbgfs_pm_params_write() 100 } else if (!strncmp("lprx=", buf, 5)) { in iwl_dbgfs_pm_params_write() 104 } else if (!strncmp("lprx_rssi_threshold=", buf, 20)) { in iwl_dbgfs_pm_params_write() 111 } else if (!strncmp("snooze_enable=", buf, 14)) { in iwl_dbgfs_pm_params_write() 115 } else if (!strncmp("uapsd_misbehaving=", buf, 18)) { in iwl_dbgfs_pm_params_write() 119 } else if (!strncmp("use_ps_poll=", buf, 12)) { in iwl_dbgfs_pm_params_write() [all …]
|
/Linux-v6.1/drivers/video/fbdev/core/ |
D | fb_cmdline.c | 41 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()
|
/Linux-v6.1/tools/power/cpupower/utils/idle_monitor/ |
D | cpuidle_sysfs.c | 82 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()
|
/Linux-v6.1/arch/x86/boot/ |
D | early_serial_console.c | 56 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()
|
/Linux-v6.1/drivers/firmware/ |
D | edd.c | 141 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(info->params.interface_type, "USB", 3)) { in edd_show_interface() [all …]
|
/Linux-v6.1/tools/power/cpupower/utils/helpers/ |
D | cpuid.c | 71 if (!strncmp(value, "processor\t: ", 12)) in get_cpu_info() 78 if (!strncmp(value, "vendor_id", 9)) { in get_cpu_info() 84 } else if (!strncmp(value, "cpu family\t: ", 13)) { in get_cpu_info() 87 } else if (!strncmp(value, "model\t\t: ", 9)) { in get_cpu_info() 90 } else if (!strncmp(value, "stepping\t: ", 10)) { in get_cpu_info()
|
/Linux-v6.1/drivers/net/ethernet/intel/i40e/ |
D | i40e_debugfs.c | 807 if (strncmp(cmd_buf, "add vsi", 7) == 0) { in i40e_dbg_command_write() 834 } else if (strncmp(cmd_buf, "del vsi", 7) == 0) { in i40e_dbg_command_write() 852 } else if (strncmp(cmd_buf, "add relay", 9) == 0) { in i40e_dbg_command_write() 894 } else if (strncmp(cmd_buf, "del relay", 9) == 0) { in i40e_dbg_command_write() 920 } else if (strncmp(cmd_buf, "add pvid", 8) == 0) { in i40e_dbg_command_write() 950 } else if (strncmp(cmd_buf, "del pvid", 8) == 0) { in i40e_dbg_command_write() 971 } else if (strncmp(cmd_buf, "dump", 4) == 0) { in i40e_dbg_command_write() 972 if (strncmp(&cmd_buf[5], "switch", 6) == 0) { in i40e_dbg_command_write() 974 } else if (strncmp(&cmd_buf[5], "vsi", 3) == 0) { in i40e_dbg_command_write() 980 } else if (strncmp(&cmd_buf[5], "veb", 3) == 0) { in i40e_dbg_command_write() [all …]
|
/Linux-v6.1/arch/sparc/lib/ |
D | strncmp_64.S | 13 ENTRY(strncmp) 32 ENDPROC(strncmp) 33 EXPORT_SYMBOL(strncmp)
|
/Linux-v6.1/drivers/accessibility/speakup/ |
D | makemapdata.c | 25 if (strncmp(buffer, "#define", 7)) in get_define() 70 if (strncmp(def_name, "KEY_", 4)) in main() 79 if (strncmp(def_name, "KEY_", 4)) in main() 103 } else if (!strncmp(def_val, "0x", 2)) in main()
|
/Linux-v6.1/drivers/spi/ |
D | spi-sprd-adi.c | 383 else if (!strncmp(cmd, "recovery", 8)) in sprd_adi_restart() 385 else if (!strncmp(cmd, "alarm", 5)) in sprd_adi_restart() 387 else if (!strncmp(cmd, "fastsleep", 9)) in sprd_adi_restart() 389 else if (!strncmp(cmd, "bootloader", 10)) in sprd_adi_restart() 391 else if (!strncmp(cmd, "panic", 5)) in sprd_adi_restart() 393 else if (!strncmp(cmd, "special", 7)) in sprd_adi_restart() 395 else if (!strncmp(cmd, "cftreboot", 9)) in sprd_adi_restart() 397 else if (!strncmp(cmd, "autodloader", 11)) in sprd_adi_restart() 399 else if (!strncmp(cmd, "iqmode", 6)) in sprd_adi_restart() 401 else if (!strncmp(cmd, "sprdisk", 7)) in sprd_adi_restart() [all …]
|
/Linux-v6.1/drivers/net/wireless/ath/ath5k/ |
D | debug.c | 235 if (strncmp(buf, "disable", 7) == 0) { in write_file_beacon() 238 } else if (strncmp(buf, "enable", 6) == 0) { in write_file_beacon() 338 if (strncmp(buf, dbg_info[i].name, in write_file_debug() 442 if (strncmp(buf, "diversity", 9) == 0) { in write_file_antenna() 445 } else if (strncmp(buf, "fixed-a", 7) == 0) { in write_file_antenna() 448 } else if (strncmp(buf, "fixed-b", 7) == 0) { in write_file_antenna() 451 } else if (strncmp(buf, "clear", 5) == 0) { in write_file_antenna() 615 if (strncmp(buf, "clear", 5) == 0) { in write_file_frameerrors() 764 if (strncmp(buf, "sens-low", 8) == 0) { in write_file_ani() 766 } else if (strncmp(buf, "sens-high", 9) == 0) { in write_file_ani() [all …]
|