Home
last modified time | relevance | path

Searched refs:strcmp (Results 1 – 25 of 1912) sorted by relevance

12345678910>>...77

/Linux-v5.10/tools/perf/tests/
Dhists_output.c169 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "perf") && in test1()
170 !strcmp(SYM(he), "main") && he->stat.period == 200); in test1()
175 !strcmp(COMM(he), "bash") && !strcmp(DSO(he), "[kernel]") && in test1()
176 !strcmp(SYM(he), "page_fault") && he->stat.period == 100); in test1()
181 !strcmp(COMM(he), "bash") && !strcmp(DSO(he), "bash") && in test1()
182 !strcmp(SYM(he), "main") && he->stat.period == 100); in test1()
187 !strcmp(COMM(he), "bash") && !strcmp(DSO(he), "bash") && in test1()
188 !strcmp(SYM(he), "xmalloc") && he->stat.period == 100); in test1()
193 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "[kernel]") && in test1()
194 !strcmp(SYM(he), "page_fault") && he->stat.period == 100); in test1()
[all …]
/Linux-v5.10/tools/perf/arch/csky/annotate/
Dinstructions.c12 if (!strcmp(name, "bt") || in csky__associate_ins_ops()
13 !strcmp(name, "bf") || in csky__associate_ins_ops()
14 !strcmp(name, "bez") || in csky__associate_ins_ops()
15 !strcmp(name, "bnez") || in csky__associate_ins_ops()
16 !strcmp(name, "bnezad") || in csky__associate_ins_ops()
17 !strcmp(name, "bhsz") || in csky__associate_ins_ops()
18 !strcmp(name, "bhz") || in csky__associate_ins_ops()
19 !strcmp(name, "blsz") || in csky__associate_ins_ops()
20 !strcmp(name, "blz") || in csky__associate_ins_ops()
21 !strcmp(name, "br") || in csky__associate_ins_ops()
[all …]
/Linux-v5.10/drivers/target/iscsi/
Discsi_target_parameters.c443 if (!strcmp(param->name, AUTHMETHOD)) { in iscsi_set_keys_to_negotiate()
445 } else if (!strcmp(param->name, HEADERDIGEST)) { in iscsi_set_keys_to_negotiate()
448 } else if (!strcmp(param->name, DATADIGEST)) { in iscsi_set_keys_to_negotiate()
451 } else if (!strcmp(param->name, MAXCONNECTIONS)) { in iscsi_set_keys_to_negotiate()
453 } else if (!strcmp(param->name, TARGETNAME)) { in iscsi_set_keys_to_negotiate()
455 } else if (!strcmp(param->name, INITIATORNAME)) { in iscsi_set_keys_to_negotiate()
457 } else if (!strcmp(param->name, TARGETALIAS)) { in iscsi_set_keys_to_negotiate()
460 } else if (!strcmp(param->name, INITIATORALIAS)) { in iscsi_set_keys_to_negotiate()
462 } else if (!strcmp(param->name, TARGETPORTALGROUPTAG)) { in iscsi_set_keys_to_negotiate()
464 } else if (!strcmp(param->name, INITIALR2T)) { in iscsi_set_keys_to_negotiate()
[all …]
/Linux-v5.10/fs/orangefs/
Dorangefs-sysfs.c195 if (!strcmp(kobj->name, PC_KOBJ_ID) || in orangefs_attr_store()
196 !strcmp(kobj->name, STATS_KOBJ_ID)) in orangefs_attr_store()
218 if (!strcmp(kobj->name, ORANGEFS_KOBJ_ID)) { in sysfs_int_show()
219 if (!strcmp(attr->attr.name, "op_timeout_secs")) { in sysfs_int_show()
225 } else if (!strcmp(attr->attr.name, in sysfs_int_show()
232 } else if (!strcmp(attr->attr.name, in sysfs_int_show()
239 } else if (!strcmp(attr->attr.name, in sysfs_int_show()
246 } else if (!strcmp(attr->attr.name, in sysfs_int_show()
257 } else if (!strcmp(kobj->name, STATS_KOBJ_ID)) { in sysfs_int_show()
258 if (!strcmp(attr->attr.name, "reads")) { in sysfs_int_show()
[all …]
/Linux-v5.10/drivers/macintosh/
Dwindfarm_smu_controls.c187 if (!strcmp(l, "Rear Fan 0") || !strcmp(l, "Rear Fan") || in smu_fan_create()
188 !strcmp(l, "Rear fan 0") || !strcmp(l, "Rear fan") || in smu_fan_create()
189 !strcmp(l, "CPU A EXHAUST")) in smu_fan_create()
191 else if (!strcmp(l, "Rear Fan 1") || !strcmp(l, "Rear fan 1") || in smu_fan_create()
192 !strcmp(l, "CPU B EXHAUST")) in smu_fan_create()
194 else if (!strcmp(l, "Front Fan 0") || !strcmp(l, "Front Fan") || in smu_fan_create()
195 !strcmp(l, "Front fan 0") || !strcmp(l, "Front fan") || in smu_fan_create()
196 !strcmp(l, "CPU A INTAKE")) in smu_fan_create()
198 else if (!strcmp(l, "Front Fan 1") || !strcmp(l, "Front fan 1") || in smu_fan_create()
199 !strcmp(l, "CPU B INTAKE")) in smu_fan_create()
[all …]
Dwindfarm_lm75_sensor.c116 if (!strcmp(loc, "Hard drive") || !strcmp(loc, "DRIVE BAY")) in wf_lm75_probe()
118 else if (!strcmp(loc, "Incoming Air Temp")) in wf_lm75_probe()
120 else if (!strcmp(loc, "ODD Temp")) in wf_lm75_probe()
122 else if (!strcmp(loc, "HD Temp")) in wf_lm75_probe()
124 else if (!strcmp(loc, "PCI SLOTS")) in wf_lm75_probe()
126 else if (!strcmp(loc, "CPU A INLET")) in wf_lm75_probe()
128 else if (!strcmp(loc, "CPU B INLET")) in wf_lm75_probe()
/Linux-v5.10/tools/perf/
Dbuiltin-list.c68 if (strcmp(argv[i], "tracepoint") == 0) in cmd_list()
70 else if (strcmp(argv[i], "hw") == 0 || in cmd_list()
71 strcmp(argv[i], "hardware") == 0) in cmd_list()
74 else if (strcmp(argv[i], "sw") == 0 || in cmd_list()
75 strcmp(argv[i], "software") == 0) { in cmd_list()
79 } else if (strcmp(argv[i], "cache") == 0 || in cmd_list()
80 strcmp(argv[i], "hwcache") == 0) in cmd_list()
82 else if (strcmp(argv[i], "pmu") == 0) in cmd_list()
86 else if (strcmp(argv[i], "sdt") == 0) in cmd_list()
88 else if (strcmp(argv[i], "metric") == 0 || strcmp(argv[i], "metrics") == 0) in cmd_list()
[all …]
Dperf.c101 if (strstarts(var, "pager.") && !strcmp(var + 6, c->cmd)) in pager_command_config()
120 if (strstarts(var, "tui.") && !strcmp(var + 4, c->cmd)) in browser_command_config()
122 if (strstarts(var, "gtk.") && !strcmp(var + 4, c->cmd)) in browser_command_config()
184 if (!strcmp(cmd, "--help") || !strcmp(cmd, "--version")) in handle_options()
191 if (!strcmp(cmd, "-h")) { in handle_options()
196 if (!strcmp(cmd, "-v")) { in handle_options()
201 if (!strcmp(cmd, "-vv")) { in handle_options()
218 } else if (!strcmp(cmd, "--html-path")) { in handle_options()
221 } else if (!strcmp(cmd, "-p") || !strcmp(cmd, "--paginate")) { in handle_options()
223 } else if (!strcmp(cmd, "--no-pager")) { in handle_options()
[all …]
/Linux-v5.10/tools/perf/arch/
Dcommon.c144 if (!strcmp(perf_env__arch(NULL), arch)) in perf_env__lookup_binutils_path()
161 if (!strcmp(arch, "arc")) in perf_env__lookup_binutils_path()
163 else if (!strcmp(arch, "arm")) in perf_env__lookup_binutils_path()
165 else if (!strcmp(arch, "arm64")) in perf_env__lookup_binutils_path()
167 else if (!strcmp(arch, "powerpc")) in perf_env__lookup_binutils_path()
169 else if (!strcmp(arch, "sh")) in perf_env__lookup_binutils_path()
171 else if (!strcmp(arch, "s390")) in perf_env__lookup_binutils_path()
173 else if (!strcmp(arch, "sparc")) in perf_env__lookup_binutils_path()
175 else if (!strcmp(arch, "x86")) in perf_env__lookup_binutils_path()
177 else if (!strcmp(arch, "mips")) in perf_env__lookup_binutils_path()
[all …]
/Linux-v5.10/tools/power/cpupower/utils/
Dcpupower.c92 if ((subpage != NULL) && strcmp(subpage, "help")) { in print_man_page()
129 if (!strcmp(param, "-h") || !strcmp(param, "--help")) { in handle_options()
132 } else if (!strcmp(param, "-c") || !strcmp(param, "--cpu")) { in handle_options()
137 if (!strcmp((*argv)[x+1], "all")) in handle_options()
152 } else if (!strcmp(param, "-v") || in handle_options()
153 !strcmp(param, "--version")) { in handle_options()
157 } else if (!strcmp(param, "-d") || !strcmp(param, "--debug")) { in handle_options()
198 if (argc > 1 && !strcmp(argv[1], "--help")) { in main()
214 if (!ret && !strcmp(uts.machine, "x86_64") && in main()
223 if (strcmp(p->cmd, cmd)) in main()
/Linux-v5.10/arch/powerpc/include/asm/
Dftrace.h81 return !strcmp(sym + 1, name) || in arch_syscall_match_sym_name()
82 (!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()
90 return !strcmp(sym, name) || 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()
/Linux-v5.10/include/linux/
Dlicense.h7 return (strcmp(license, "GPL") == 0 in license_is_gpl_compatible()
8 || strcmp(license, "GPL v2") == 0 in license_is_gpl_compatible()
9 || strcmp(license, "GPL and additional rights") == 0 in license_is_gpl_compatible()
10 || strcmp(license, "Dual BSD/GPL") == 0 in license_is_gpl_compatible()
11 || strcmp(license, "Dual MIT/GPL") == 0 in license_is_gpl_compatible()
12 || strcmp(license, "Dual MPL/GPL") == 0); in license_is_gpl_compatible()
/Linux-v5.10/arch/x86/pci/
Dcommon.c518 if (!strcmp(str, "off")) { in pcibios_setup()
521 } else if (!strcmp(str, "bfsort")) { in pcibios_setup()
524 } else if (!strcmp(str, "nobfsort")) { in pcibios_setup()
529 else if (!strcmp(str, "bios")) { in pcibios_setup()
532 } else if (!strcmp(str, "nobios")) { in pcibios_setup()
535 } else if (!strcmp(str, "biosirq")) { in pcibios_setup()
544 else if (!strcmp(str, "conf1")) { in pcibios_setup()
548 else if (!strcmp(str, "conf2")) { in pcibios_setup()
554 else if (!strcmp(str, "nommconf")) { in pcibios_setup()
558 else if (!strcmp(str, "check_enable_amd_mmconf")) { in pcibios_setup()
[all …]
/Linux-v5.10/tools/power/cpupower/bench/
Dparse.c183 if (strcmp("sleep", opt) == 0) in prepare_config()
186 else if (strcmp("load", opt) == 0) in prepare_config()
189 else if (strcmp("load_step", opt) == 0) in prepare_config()
192 else if (strcmp("sleep_step", opt) == 0) in prepare_config()
195 else if (strcmp("cycles", opt) == 0) in prepare_config()
198 else if (strcmp("rounds", opt) == 0) in prepare_config()
201 else if (strcmp("verbose", opt) == 0) in prepare_config()
204 else if (strcmp("output", opt) == 0) in prepare_config()
207 else if (strcmp("cpu", opt) == 0) in prepare_config()
210 else if (strcmp("governor", opt) == 0) { in prepare_config()
[all …]
/Linux-v5.10/arch/powerpc/platforms/83xx/
Dusb.c47 if (prop && (!strcmp(prop, "utmi") || in mpc834x_usb_cfg()
48 !strcmp(prop, "utmi_wide"))) { in mpc834x_usb_cfg()
52 } else if (prop && !strcmp(prop, "serial")) { in mpc834x_usb_cfg()
54 if (dr_mode && !strcmp(dr_mode, "otg")) { in mpc834x_usb_cfg()
60 } else if (prop && !strcmp(prop, "ulpi")) { in mpc834x_usb_cfg()
137 if (prop && !strcmp(prop, "ulpi")) { in mpc831x_usb_cfg()
172 if (prop && (!strcmp(prop, "utmi_wide") || in mpc831x_usb_cfg()
173 !strcmp(prop, "utmi"))) { in mpc831x_usb_cfg()
187 } else if (prop && !strcmp(prop, "ulpi")) { in mpc831x_usb_cfg()
194 if (dr_mode && !strcmp(dr_mode, "otg")) in mpc831x_usb_cfg()
[all …]
/Linux-v5.10/arch/mips/bcm47xx/
Dboard.c239 if (!strcmp(buf1, e1->value1)) in bcm47xx_board_get_nvram()
255 !strcmp(buf2, e2->value2)) in bcm47xx_board_get_nvram()
262 if (!strcmp(buf1, e1->value1)) in bcm47xx_board_get_nvram()
269 if (!strcmp(buf1, e1->value1)) in bcm47xx_board_get_nvram()
278 if (!strcmp(buf1, e1->value1)) in bcm47xx_board_get_nvram()
286 if (!strcmp(buf1, e2->value1) && in bcm47xx_board_get_nvram()
287 !strcmp(buf2, e2->value2)) in bcm47xx_board_get_nvram()
294 if (!strcmp(buf1, e1->value1)) in bcm47xx_board_get_nvram()
303 if (!strcmp(buf1, e3->value1) && in bcm47xx_board_get_nvram()
304 !strcmp(buf2, e3->value2) && in bcm47xx_board_get_nvram()
[all …]
/Linux-v5.10/drivers/media/cec/core/
Dcec-pin-error-inj.c90 if (!strcmp(token, "clear")) { in cec_pin_error_inj_parse_line()
99 if (!strcmp(token, "rx-clear")) { in cec_pin_error_inj_parse_line()
105 if (!strcmp(token, "tx-clear")) { in cec_pin_error_inj_parse_line()
115 if (!strcmp(token, "tx-ignore-nack-until-eom")) { in cec_pin_error_inj_parse_line()
119 if (!strcmp(token, "tx-custom-pulse")) { in cec_pin_error_inj_parse_line()
128 if (!strcmp(token, "tx-custom-low-usecs")) { in cec_pin_error_inj_parse_line()
136 if (!strcmp(token, "tx-custom-high-usecs")) { in cec_pin_error_inj_parse_line()
148 if (!strcmp(token, "any")) { in cec_pin_error_inj_parse_line()
162 if (!strcmp(comma, "off")) in cec_pin_error_inj_parse_line()
164 else if (!strcmp(comma, "once")) in cec_pin_error_inj_parse_line()
[all …]
/Linux-v5.10/tools/perf/arch/powerpc/annotate/
Dinstructions.c36 if (strcmp(name, "bnl") && strcmp(name, "bnl+") && in powerpc__associate_instruction_ops()
37 strcmp(name, "bnl-") && strcmp(name, "bnla") && in powerpc__associate_instruction_ops()
38 strcmp(name, "bnla+") && strcmp(name, "bnla-")) in powerpc__associate_instruction_ops()
/Linux-v5.10/tools/testing/selftests/resctrl/
Dresctrlfs.c37 if (strcmp(fs, "resctrl")) in find_resctrl_mount()
154 if (!strcmp(cache_type, "L3")) { in get_cache_size()
156 } else if (!strcmp(cache_type, "L2")) { in get_cache_size()
329 if (strcmp(benchmark_cmd[0], "fill_buf") == 0) { in run_benchmark()
337 if (strcmp(resctrl_val, "cqm") != 0) in run_benchmark()
382 if (strcmp(ep->d_name, grp_name) == 0) in create_grp()
462 if ((strcmp(resctrl_val, "cqm") == 0) || in write_bm_pid_to_resctrl()
463 (strcmp(resctrl_val, "mbm") == 0)) { in write_bm_pid_to_resctrl()
508 if ((strcmp(resctrl_val, "mba") != 0) && in write_schemata()
509 (strcmp(resctrl_val, "cat") != 0) && in write_schemata()
[all …]
Dresctrl_val.c114 if (strcmp(token[i], "event") == 0) { in get_event_and_umask()
122 if (strcmp(token[i], "umask") == 0) { in get_event_and_umask()
358 if (strcmp(bw_report, "reads") == 0) in get_mem_bw_imc()
361 if (strcmp(bw_report, "writes") == 0) in get_mem_bw_imc()
400 if (strcmp(resctrl_val, "mbm") == 0) in initialize_mem_bw_resctrl()
403 if ((strcmp(resctrl_val, "mba") == 0)) { in initialize_mem_bw_resctrl()
472 if (strcmp(filename, "stdio") == 0 || strcmp(filename, "stderr") == 0) { in print_results_bw()
527 if (strcmp(resctrl_val, "cqm") == 0) in initialize_llc_occu_resctrl()
579 if (strcmp(param->filename, "") == 0) in resctrl_val()
582 if ((strcmp(resctrl_val, "mba")) == 0 || in resctrl_val()
[all …]
/Linux-v5.10/arch/s390/boot/
Dipl_parm.c240 if (!strcmp(param, "mem") && val) { in parse_boot_command_line()
245 if (!strcmp(param, "vmalloc") && val) in parse_boot_command_line()
248 if (!strcmp(param, "dfltcc") && val) { in parse_boot_command_line()
249 if (!strcmp(val, "off")) in parse_boot_command_line()
251 else if (!strcmp(val, "on")) in parse_boot_command_line()
253 else if (!strcmp(val, "def_only")) in parse_boot_command_line()
255 else if (!strcmp(val, "inf_only")) in parse_boot_command_line()
257 else if (!strcmp(val, "always")) in parse_boot_command_line()
261 if (!strcmp(param, "noexec")) { in parse_boot_command_line()
267 if (!strcmp(param, "facilities") && val) in parse_boot_command_line()
[all …]
/Linux-v5.10/tools/perf/arch/s390/annotate/
Dinstructions.c119 if (!strcmp(name, "bras") || in s390__associate_ins_ops()
120 !strcmp(name, "brasl") || in s390__associate_ins_ops()
121 !strcmp(name, "basr")) in s390__associate_ins_ops()
123 if (!strcmp(name, "br")) in s390__associate_ins_ops()
126 if (!strcmp(name, "lrl") || in s390__associate_ins_ops()
127 !strcmp(name, "lgrl") || in s390__associate_ins_ops()
128 !strcmp(name, "lgfrl") || in s390__associate_ins_ops()
129 !strcmp(name, "llgfrl") || in s390__associate_ins_ops()
130 !strcmp(name, "strl") || in s390__associate_ins_ops()
131 !strcmp(name, "stgrl")) in s390__associate_ins_ops()
/Linux-v5.10/drivers/clk/renesas/
Dclk-r8a7779.c98 if (!strcmp(name, "plla")) { in r8a7779_cpg_register_clock()
101 } else if (!strcmp(name, "z")) { in r8a7779_cpg_register_clock()
104 } else if (!strcmp(name, "zs") || !strcmp(name, "s")) { in r8a7779_cpg_register_clock()
106 } else if (!strcmp(name, "s1")) { in r8a7779_cpg_register_clock()
108 } else if (!strcmp(name, "p")) { in r8a7779_cpg_register_clock()
110 } else if (!strcmp(name, "b") || !strcmp(name, "out")) { in r8a7779_cpg_register_clock()
/Linux-v5.10/tools/perf/arch/sparc/annotate/
Dinstructions.c124 if (!strcmp(name, "call") || in sparc__associate_instruction_ops()
125 !strcmp(name, "jmp") || in sparc__associate_instruction_ops()
126 !strcmp(name, "jmpl")) { in sparc__associate_instruction_ops()
128 } else if (!strcmp(name, "ret") || in sparc__associate_instruction_ops()
129 !strcmp(name, "retl") || in sparc__associate_instruction_ops()
130 !strcmp(name, "return")) { in sparc__associate_instruction_ops()
132 } else if (!strcmp(name, "mov")) { in sparc__associate_instruction_ops()
/Linux-v5.10/drivers/parport/
Dprobe.c82 if (!strcmp(p, "MFG") || !strcmp(p, "MANUFACTURER")) { in parse_data()
85 } else if (!strcmp(p, "MDL") || !strcmp(p, "MODEL")) { in parse_data()
88 } else if (!strcmp(p, "CLS") || !strcmp(p, "CLASS")) { in parse_data()
96 if (!strcmp(classes[i].token, sep)) { in parse_data()
104 } else if (!strcmp(p, "CMD") || in parse_data()
105 !strcmp(p, "COMMAND SET")) { in parse_data()
112 } else if (!strcmp(p, "DES") || !strcmp(p, "DESCRIPTION")) { in parse_data()

12345678910>>...77