/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/pmu/sampling_tests/ |
H A D | misc.c | 312 if (!strcmp(register_name, "R0")) in __perf_reg_mask() 314 else if (!strcmp(register_name, "R1")) in __perf_reg_mask() 316 else if (!strcmp(register_name, "R2")) in __perf_reg_mask() 318 else if (!strcmp(register_name, "R3")) in __perf_reg_mask() 320 else if (!strcmp(register_name, "R4")) in __perf_reg_mask() 322 else if (!strcmp(register_name, "R5")) in __perf_reg_mask() 324 else if (!strcmp(register_name, "R6")) in __perf_reg_mask() 326 else if (!strcmp(register_name, "R7")) in __perf_reg_mask() 328 else if (!strcmp(register_name, "R8")) in __perf_reg_mask() 330 else if (!strcmp(register_nam in __perf_reg_mask() [all...] |
/kernel/linux/linux-5.10/tools/perf/tests/ |
H A D | hists_output.c | 169 !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(COM in test1() [all...] |
/kernel/linux/linux-6.6/tools/perf/tests/ |
H A D | hists_output.c | 182 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "perf") && in test1() 183 !strcmp(SYM(he), "main") && he->stat.period == 200); in test1() 188 !strcmp(COMM(he), "bash") && !strcmp(DSO(he), "[kernel]") && in test1() 189 !strcmp(SYM(he), "page_fault") && he->stat.period == 100); in test1() 194 !strcmp(COMM(he), "bash") && !strcmp(DSO(he), "bash") && in test1() 195 !strcmp(SYM(he), "main") && he->stat.period == 100); in test1() 200 !strcmp(COM in test1() [all...] |
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | perf_regs.c | 30 if (!strcmp(arch, "csky")) in perf_reg_name() 32 else if (!strcmp(arch, "loongarch")) in perf_reg_name() 34 else if (!strcmp(arch, "mips")) in perf_reg_name() 36 else if (!strcmp(arch, "powerpc")) in perf_reg_name() 38 else if (!strcmp(arch, "riscv")) in perf_reg_name() 40 else if (!strcmp(arch, "s390")) in perf_reg_name() 42 else if (!strcmp(arch, "x86")) in perf_reg_name() 44 else if (!strcmp(arch, "arm")) in perf_reg_name() 46 else if (!strcmp(arch, "arm64")) in perf_reg_name() 81 if (!strcmp(arc in perf_arch_reg_ip() [all...] |
/kernel/linux/linux-5.10/tools/perf/arch/csky/annotate/ |
H A D | instructions.c | 12 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(nam in csky__associate_ins_ops() [all...] |
/kernel/linux/linux-6.6/tools/perf/arch/csky/annotate/ |
H A D | instructions.c | 12 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(nam in csky__associate_ins_ops() [all...] |
/kernel/linux/linux-5.10/fs/orangefs/ |
H A D | orangefs-sysfs.c | 195 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(att in sysfs_int_show() [all...] |
/kernel/linux/linux-6.6/fs/orangefs/ |
H A D | orangefs-sysfs.c | 195 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(att in sysfs_int_show() [all...] |
/kernel/linux/linux-5.10/drivers/macintosh/ |
H A D | windfarm_smu_controls.c | 187 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( in smu_fan_create() [all...] |
/kernel/linux/linux-6.6/drivers/macintosh/ |
H A D | windfarm_smu_controls.c | 188 if (!strcmp(l, "Rear Fan 0") || !strcmp(l, "Rear Fan") || in smu_fan_create() 189 !strcmp(l, "Rear fan 0") || !strcmp(l, "Rear fan") || in smu_fan_create() 190 !strcmp(l, "CPU A EXHAUST")) in smu_fan_create() 192 else if (!strcmp(l, "Rear Fan 1") || !strcmp(l, "Rear fan 1") || in smu_fan_create() 193 !strcmp(l, "CPU B EXHAUST")) in smu_fan_create() 195 else if (!strcmp(l, "Front Fan 0") || !strcmp( in smu_fan_create() [all...] |
/kernel/linux/linux-5.10/drivers/target/iscsi/ |
H A D | iscsi_target_parameters.c | 443 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(para in iscsi_set_keys_to_negotiate() [all...] |
/kernel/linux/linux-6.6/drivers/target/iscsi/ |
H A D | iscsi_target_parameters.c | 443 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(para in iscsi_set_keys_to_negotiate() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | arg_parsing.c | 39 ASSERT_OK(strcmp("arg_parsing", set.tests[0].name), "subtest name"); in test_parse_test_list() 50 ASSERT_OK(strcmp("arg_parsing", set.tests[0].name), "test name"); in test_parse_test_list() 51 ASSERT_OK(strcmp("bpf_cookie", set.tests[1].name), "test name"); in test_parse_test_list() 65 ASSERT_OK(strcmp("arg_parsing", set.tests[0].name), "test name"); in test_parse_test_list() 66 ASSERT_OK(strcmp("arg_parsing", set.tests[0].subtests[0]), in test_parse_test_list() 68 ASSERT_OK(strcmp("bpf_cookie", set.tests[1].name), "test name"); in test_parse_test_list() 83 ASSERT_OK(strcmp("arg_parsing", set.tests[0].name), "test name"); in test_parse_test_list() 84 ASSERT_OK(strcmp("arg_parsing", set.tests[0].subtests[0]), in test_parse_test_list() 86 ASSERT_OK(strcmp("bpf_cookie", set.tests[1].name), "test name"); in test_parse_test_list() 87 ASSERT_OK(strcmp("send_signa in test_parse_test_list() [all...] |
/kernel/liteos_a/testsuites/kernel/src/ |
H A D | iCunit.c | 289 if ((strcmp(psubCase->pcCaseID, "LLT_PLAT_004") == 0) || in ICunitRunF() 290 (strcmp(psubCase->pcCaseID, "IT_FS_JFFS_MUTIPTHREAD_001") == 0) || in ICunitRunF() 291 (strcmp(psubCase->pcCaseID, "IT_FS_JFFS_PRESSURE_013") == 0) || in ICunitRunF() 292 (strcmp(psubCase->pcCaseID, "IT_FS_JFFS_PRESSURE_052") == 0) || in ICunitRunF() 293 (strcmp(psubCase->pcCaseID, "IT_FS_JFFS_026") == 0) || in ICunitRunF() 294 (strcmp(psubCase->pcCaseID, "IT_PARTITION_JFFS_004") == 0) || in ICunitRunF() 295 (strcmp(psubCase->pcCaseID, "IT_PARTITION_JFFS_009") == 0) || in ICunitRunF() 296 (strcmp(psubCase->pcCaseID, "IT_PARTITION_JFFS_013") == 0) || in ICunitRunF() 297 (strcmp(psubCase->pcCaseID, "IT_PARTITION_JFFS_017") == 0) || in ICunitRunF() 298 (strcmp(psubCas in ICunitRunF() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/net/ |
H A D | ioam6_parser.c | 443 if (!strcmp("out_undef_ns", tname)) in str2id() 445 if (!strcmp("out_no_room", tname)) in str2id() 447 if (!strcmp("out_bit0", tname)) in str2id() 449 if (!strcmp("out_bit1", tname)) in str2id() 451 if (!strcmp("out_bit2", tname)) in str2id() 453 if (!strcmp("out_bit3", tname)) in str2id() 455 if (!strcmp("out_bit4", tname)) in str2id() 457 if (!strcmp("out_bit5", tname)) in str2id() 459 if (!strcmp("out_bit6", tname)) in str2id() 461 if (!strcmp("out_bit in str2id() [all...] |
/kernel/linux/linux-5.10/tools/perf/ |
H A D | builtin-list.c | 68 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(arg in cmd_list() [all...] |
H A D | perf.c | 101 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(cm in handle_options() [all...] |
/kernel/linux/linux-6.6/tools/perf/arch/ |
H A D | common.c | 156 if (!strcmp(perf_env__arch(NULL), arch)) in perf_env__lookup_binutils_path() 173 if (!strcmp(arch, "arc")) in perf_env__lookup_binutils_path() 175 else if (!strcmp(arch, "arm")) in perf_env__lookup_binutils_path() 177 else if (!strcmp(arch, "arm64")) in perf_env__lookup_binutils_path() 179 else if (!strcmp(arch, "powerpc")) in perf_env__lookup_binutils_path() 181 else if (!strcmp(arch, "riscv32")) in perf_env__lookup_binutils_path() 183 else if (!strcmp(arch, "riscv64")) in perf_env__lookup_binutils_path() 185 else if (!strcmp(arch, "sh")) in perf_env__lookup_binutils_path() 187 else if (!strcmp(arch, "s390")) in perf_env__lookup_binutils_path() 189 else if (!strcmp(arc in perf_env__lookup_binutils_path() [all...] |
/kernel/linux/linux-5.10/tools/power/cpupower/utils/ |
H A D | cpupower.c | 92 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(para in handle_options() [all...] |
/kernel/linux/linux-6.6/tools/power/cpupower/utils/ |
H A D | cpupower.c | 95 if ((subpage != NULL) && strcmp(subpage, "help")) { in print_man_page() 132 if (!strcmp(param, "-h") || !strcmp(param, "--help")) { in handle_options() 135 } else if (!strcmp(param, "-c") || !strcmp(param, "--cpu")) { in handle_options() 140 if (!strcmp((*argv)[x+1], "all")) in handle_options() 155 } else if (!strcmp(param, "-v") || in handle_options() 156 !strcmp(param, "--version")) { in handle_options() 160 } else if (!strcmp(param, "-d") || !strcmp(para in handle_options() [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | license.h | 7 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()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | license.h | 7 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()
|
/kernel/linux/linux-5.10/tools/perf/arch/ |
H A D | common.c | 144 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(arc in perf_env__lookup_binutils_path() [all...] |
/kernel/linux/linux-6.6/arch/x86/pci/ |
H A D | common.c | 518 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(st in pcibios_setup() [all...] |
/kernel/linux/linux-5.10/arch/mips/bcm47xx/ |
H A D | board.c | 239 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(buf in bcm47xx_board_get_nvram() [all...] |