/linux-6.3-rc2/tools/testing/selftests/powerpc/pmu/sampling_tests/ |
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_name, "R9")) in __perf_reg_mask() [all …]
|
/linux-6.3-rc2/tools/perf/tests/ |
A D | hists_output.c | 169 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "perf") && in test1() 181 !strcmp(COMM(he), "bash") && !strcmp(DSO(he), "bash") && in test1() 187 !strcmp(COMM(he), "bash") && !strcmp(DSO(he), "bash") && in test1() 205 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "libc") && in test1() 211 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "libc") && in test1() 217 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "perf") && in test1() 323 !strcmp(COMM(he), "bash") && !strcmp(DSO(he), "bash") && in test3() 335 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "perf") && in test3() 407 !strcmp(DSO(he), "libc") && !strcmp(SYM(he), "free") && in test4() 413 !strcmp(DSO(he), "bash") && !strcmp(SYM(he), "main") && in test4() [all …]
|
/linux-6.3-rc2/tools/perf/arch/csky/annotate/ |
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() 17 !strcmp(name, "bhsz") || in csky__associate_ins_ops() 18 !strcmp(name, "bhz") || in csky__associate_ins_ops() 20 !strcmp(name, "blz") || in csky__associate_ins_ops() 21 !strcmp(name, "br") || in csky__associate_ins_ops() 23 !strcmp(name, "jmp")) in csky__associate_ins_ops() 29 !strcmp(name, "jsr")) in csky__associate_ins_ops() [all …]
|
/linux-6.3-rc2/drivers/target/iscsi/ |
A D | iscsi_target_parameters.c | 743 if (!strcmp(key, "CHAP_A") || !strcmp(key, "CHAP_I") || in iscsi_check_for_auth_key() 744 !strcmp(key, "CHAP_C") || !strcmp(key, "CHAP_N") || in iscsi_check_for_auth_key() 751 if (!strcmp(key, "SRP_U") || !strcmp(key, "SRP_N") || in iscsi_check_for_auth_key() 752 !strcmp(key, "SRP_g") || !strcmp(key, "SRP_s") || in iscsi_check_for_auth_key() 753 !strcmp(key, "SRP_A") || !strcmp(key, "SRP_B") || in iscsi_check_for_auth_key() 754 !strcmp(key, "SRP_M") || !strcmp(key, "SRP_HM")) in iscsi_check_for_auth_key() 800 if (strcmp(value, YES) && strcmp(value, NO)) { in iscsi_check_boolean_value() 882 if (strcmp(value, KRB5) && strcmp(value, SPKM1) && in iscsi_check_string_or_list_value() 883 strcmp(value, SPKM2) && strcmp(value, SRP) && in iscsi_check_string_or_list_value() 884 strcmp(value, CHAP) && strcmp(value, NONE)) { in iscsi_check_string_or_list_value() [all …]
|
/linux-6.3-rc2/drivers/macintosh/ |
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() 192 else if (!strcmp(l, "Rear Fan 1") || !strcmp(l, "Rear fan 1") || in smu_fan_create() 195 else if (!strcmp(l, "Front Fan 0") || !strcmp(l, "Front Fan") || in smu_fan_create() 196 !strcmp(l, "Front fan 0") || !strcmp(l, "Front fan") || in smu_fan_create() 199 else if (!strcmp(l, "Front Fan 1") || !strcmp(l, "Front fan 1") || in smu_fan_create() 206 else if (!strcmp(l, "Slots Fan") || !strcmp(l, "Slots fan") || in smu_fan_create() 209 else if (!strcmp(l, "Drive Bay") || !strcmp(l, "Drive bay") || in smu_fan_create() 216 if (!strcmp(l, "System Fan") || !strcmp(l, "System fan")) in smu_fan_create() 218 else if (!strcmp(l, "CPU Fan") || !strcmp(l, "CPU fan")) in smu_fan_create() [all …]
|
/linux-6.3-rc2/fs/orangefs/ |
A D | orangefs-sysfs.c | 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() 332 if (strcmp(kobj->name, PC_KOBJ_ID)) in sysfs_service_op_show() 350 if (strcmp(kobj->name, PC_KOBJ_ID)) in sysfs_service_op_show() 367 else if (!strcmp(attr->attr.name, in sysfs_service_op_show() 371 else if (!strcmp(attr->attr.name, in sysfs_service_op_show() 376 else if (!strcmp(attr->attr.name, in sysfs_service_op_show() 381 else if (!strcmp(attr->attr.name, in sysfs_service_op_show() 386 else if (!strcmp(attr->attr.name, in sysfs_service_op_show() [all …]
|
/linux-6.3-rc2/tools/testing/selftests/net/ |
A D | ioam6_parser.c | 447 if (!strcmp("out_bit0", tname)) in str2id() 481 if (!strcmp("in_bit0", tname)) in str2id() 483 if (!strcmp("in_bit1", tname)) in str2id() 485 if (!strcmp("in_bit2", tname)) in str2id() 487 if (!strcmp("in_bit3", tname)) in str2id() 489 if (!strcmp("in_bit4", tname)) in str2id() 491 if (!strcmp("in_bit5", tname)) in str2id() 493 if (!strcmp("in_bit6", tname)) in str2id() 495 if (!strcmp("in_bit7", tname)) in str2id() 497 if (!strcmp("in_bit8", tname)) in str2id() [all …]
|
/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/ |
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_signal", set.tests[2].name), "test name"); in test_parse_test_list() [all …]
|
/linux-6.3-rc2/tools/perf/arch/ |
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(arch, "mips")) in perf_env__lookup_binutils_path() [all …]
|
/linux-6.3-rc2/arch/x86/pci/ |
A D | common.c | 518 if (!strcmp(str, "off")) { in pcibios_setup() 521 } else if (!strcmp(str, "bfsort")) { in pcibios_setup() 529 else if (!strcmp(str, "bios")) { in pcibios_setup() 544 else if (!strcmp(str, "conf1")) { in pcibios_setup() 548 else if (!strcmp(str, "conf2")) { in pcibios_setup() 563 else if (!strcmp(str, "noacpi")) { in pcibios_setup() 567 else if (!strcmp(str, "noearly")) { in pcibios_setup() 580 } else if (!strcmp(str, "rom")) { in pcibios_setup() 583 } else if (!strcmp(str, "norom")) { in pcibios_setup() 586 } else if (!strcmp(str, "nobar")) { in pcibios_setup() [all …]
|
/linux-6.3-rc2/tools/power/cpupower/utils/ |
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(param, "--debug")) { in handle_options() 203 if (argc > 1 && !strcmp(argv[1], "--help")) { in main() 219 if (!ret && !strcmp(uts.machine, "x86_64") && in main() 228 if (strcmp(p->cmd, cmd)) in main()
|
/linux-6.3-rc2/include/linux/ |
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()
|
/linux-6.3-rc2/tools/power/cpupower/bench/ |
A D | parse.c | 183 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-6.3-rc2/arch/powerpc/platforms/83xx/ |
A D | usb.c | 47 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-6.3-rc2/drivers/media/cec/core/ |
A D | cec-pin-error-inj.c | 90 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() 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() 166 else if (!strcmp(comma, "always")) in cec_pin_error_inj_parse_line() 180 if (!strcmp(token, "clear")) { in cec_pin_error_inj_parse_line() 184 if (!strcmp(token, "rx-clear")) { in cec_pin_error_inj_parse_line() 188 if (!strcmp(token, "tx-clear")) { in cec_pin_error_inj_parse_line() [all …]
|
/linux-6.3-rc2/tools/verification/rv/src/ |
A D | rv.c | 61 if (!strcmp(argv[1], "-h") || !strcmp(argv[1], "--help")) in rv_list() 100 } else if (!strcmp(argv[1], "-h") || !strcmp(argv[1], "--help")) { in rv_mon() 170 if (!strcmp(argv[1], "-h") || !strcmp(argv[1], "--help")) in main() 173 if (!strcmp(argv[1], "list")) in main() 176 if (!strcmp(argv[1], "mon")) { in main()
|
/linux-6.3-rc2/arch/mips/bcm47xx/ |
A D | board.c | 246 if (!strcmp(buf1, e1->value1)) in bcm47xx_board_get_nvram() 262 !strcmp(buf2, e2->value2)) in bcm47xx_board_get_nvram() 269 if (!strcmp(buf1, e1->value1)) in bcm47xx_board_get_nvram() 276 if (!strcmp(buf1, e1->value1)) in bcm47xx_board_get_nvram() 285 if (!strcmp(buf1, e1->value1)) in bcm47xx_board_get_nvram() 293 if (!strcmp(buf1, e2->value1) && in bcm47xx_board_get_nvram() 294 !strcmp(buf2, e2->value2)) in bcm47xx_board_get_nvram() 301 if (!strcmp(buf1, e1->value1)) in bcm47xx_board_get_nvram() 312 !strcmp(buf3, e3->value3)) in bcm47xx_board_get_nvram() 322 !strcmp(buf2, e2->value2)) in bcm47xx_board_get_nvram() [all …]
|
/linux-6.3-rc2/crypto/asymmetric_keys/ |
A D | public_key.c | 81 if (strcmp(encoding, "pkcs1") == 0) { in software_key_determine_akcipher() 92 if (strcmp(encoding, "raw") != 0) in software_key_determine_akcipher() 101 if (strcmp(encoding, "x962") != 0) in software_key_determine_akcipher() 112 if (strcmp(hash_algo, "sha1") != 0 && in software_key_determine_akcipher() 113 strcmp(hash_algo, "sha224") != 0 && in software_key_determine_akcipher() 114 strcmp(hash_algo, "sha256") != 0 && in software_key_determine_akcipher() 115 strcmp(hash_algo, "sha384") != 0 && in software_key_determine_akcipher() 116 strcmp(hash_algo, "sha512") != 0) in software_key_determine_akcipher() 119 if (strcmp(encoding, "raw") != 0) in software_key_determine_akcipher() 123 if (strcmp(hash_algo, "sm3") != 0) in software_key_determine_akcipher() [all …]
|
/linux-6.3-rc2/tools/perf/arch/powerpc/util/ |
A D | event.c | 42 if (!strcmp(se_header, "Local INSTR Latency")) in arch_perf_header_entry() 44 else if (!strcmp(se_header, "INSTR Latency")) in arch_perf_header_entry() 46 else if (!strcmp(se_header, "Local Pipeline Stage Cycle")) in arch_perf_header_entry() 48 else if (!strcmp(se_header, "Pipeline Stage Cycle")) in arch_perf_header_entry() 55 if (!strcmp(sort_key, "p_stage_cyc")) in arch_support_sort_key() 57 if (!strcmp(sort_key, "local_p_stage_cyc")) in arch_support_sort_key()
|
/linux-6.3-rc2/tools/perf/ |
A D | perf.c | 202 if (!strcmp(cmd, "--help") || !strcmp(cmd, "--version")) in handle_options() 209 if (!strcmp(cmd, "-h")) { in handle_options() 214 if (!strcmp(cmd, "-v")) { in handle_options() 219 if (!strcmp(cmd, "-vv")) { in handle_options() 236 } else if (!strcmp(cmd, "--html-path")) { in handle_options() 239 } else if (!strcmp(cmd, "-p") || !strcmp(cmd, "--paginate")) { in handle_options() 241 } else if (!strcmp(cmd, "--no-pager")) { in handle_options() 270 } else if (!strcmp(cmd, "--list-cmds")) { in handle_options() 279 } else if (!strcmp(cmd, "--list-opts")) { in handle_options() 288 } else if (!strcmp(cmd, "--debug")) { in handle_options() [all …]
|
/linux-6.3-rc2/drivers/clk/renesas/ |
A D | clk-r8a7779.c | 92 if (!strcmp(name, "plla")) { in r8a7779_cpg_register_clock() 95 } else if (!strcmp(name, "z")) { in r8a7779_cpg_register_clock() 98 } else if (!strcmp(name, "zs") || !strcmp(name, "s")) { in r8a7779_cpg_register_clock() 100 } else if (!strcmp(name, "s1")) { in r8a7779_cpg_register_clock() 102 } else if (!strcmp(name, "p")) { in r8a7779_cpg_register_clock() 104 } else if (!strcmp(name, "b") || !strcmp(name, "out")) { in r8a7779_cpg_register_clock()
|
/linux-6.3-rc2/tools/perf/arch/powerpc/annotate/ |
A D | instructions.c | 36 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-6.3-rc2/tools/perf/arch/s390/annotate/ |
A D | instructions.c | 119 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-6.3-rc2/arch/s390/boot/ |
A D | ipl_parm.c | 272 if (!strcmp(param, "mem") && val) in parse_boot_command_line() 275 if (!strcmp(param, "vmalloc") && val) { in parse_boot_command_line() 280 if (!strcmp(param, "dfltcc") && val) { in parse_boot_command_line() 281 if (!strcmp(val, "off")) in parse_boot_command_line() 283 else if (!strcmp(val, "on")) in parse_boot_command_line() 285 else if (!strcmp(val, "def_only")) in parse_boot_command_line() 287 else if (!strcmp(val, "inf_only")) in parse_boot_command_line() 289 else if (!strcmp(val, "always")) in parse_boot_command_line() 293 if (!strcmp(param, "noexec")) { in parse_boot_command_line() 302 if (!strcmp(param, "nokaslr")) in parse_boot_command_line() [all …]
|
/linux-6.3-rc2/drivers/parport/ |
A D | probe.c | 78 if (!strcmp(p, "MFG") || !strcmp(p, "MANUFACTURER")) { in parse_data() 81 } else if (!strcmp(p, "MDL") || !strcmp(p, "MODEL")) { in parse_data() 84 } else if (!strcmp(p, "CLS") || !strcmp(p, "CLASS")) { in parse_data() 91 if (!strcmp(classes[i].token, sep)) { in parse_data() 99 } else if (!strcmp(p, "CMD") || in parse_data() 100 !strcmp(p, "COMMAND SET")) { in parse_data() 107 } else if (!strcmp(p, "DES") || !strcmp(p, "DESCRIPTION")) { in parse_data()
|