| /linux/tools/testing/selftests/net/ |
| H A D | ioam6_parser.c | 608 if (!strcmp("output_undef_ns", tname)) in str2id() 610 if (!strcmp("output_no_room", tname)) in str2id() 612 if (!strcmp("output_no_room_oss", tname)) in str2id() 614 if (!strcmp("output_bit0", tname)) in str2id() 616 if (!strcmp("output_bit1", tname)) in str2id() 618 if (!strcmp("output_bit2", tname)) in str2id() 620 if (!strcmp("output_bit3", tname)) in str2id() 622 if (!strcmp("output_bit4", tname)) in str2id() 624 if (!strcmp("output_bit5", tname)) in str2id() 626 if (!strcmp("output_bit6", tname)) in str2id() [all …]
|
| /linux/tools/testing/selftests/powerpc/pmu/sampling_tests/ |
| H A D | misc.c | 319 if (!strcmp(register_name, "R0")) in __perf_reg_mask() 321 else if (!strcmp(register_name, "R1")) in __perf_reg_mask() 323 else if (!strcmp(register_name, "R2")) in __perf_reg_mask() 325 else if (!strcmp(register_name, "R3")) in __perf_reg_mask() 327 else if (!strcmp(register_name, "R4")) in __perf_reg_mask() 329 else if (!strcmp(register_name, "R5")) in __perf_reg_mask() 331 else if (!strcmp(register_name, "R6")) in __perf_reg_mask() 333 else if (!strcmp(register_name, "R7")) in __perf_reg_mask() 335 else if (!strcmp(register_name, "R8")) in __perf_reg_mask() 337 else if (!strcmp(register_name, "R9")) in __perf_reg_mask() [all …]
|
| /linux/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(COMM(he), "bash") && !strcmp(DSO(he), "bash") && in test1() 201 !strcmp(SYM(he), "xmalloc") && he->stat.period == 100); in test1() 206 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "[kernel]") && in test1() 207 !strcmp(SYM(he), "page_fault") && he->stat.period == 100); in test1() [all …]
|
| /linux/drivers/target/iscsi/ |
| H A D | iscsi_target_parameters.c | 395 if (!strcmp(param->name, AUTHMETHOD)) { in iscsi_set_keys_to_negotiate() 397 } else if (!strcmp(param->name, HEADERDIGEST)) { in iscsi_set_keys_to_negotiate() 400 } else if (!strcmp(param->name, DATADIGEST)) { in iscsi_set_keys_to_negotiate() 403 } else if (!strcmp(param->name, MAXCONNECTIONS)) { in iscsi_set_keys_to_negotiate() 405 } else if (!strcmp(param->name, TARGETNAME)) { in iscsi_set_keys_to_negotiate() 407 } else if (!strcmp(param->name, INITIATORNAME)) { in iscsi_set_keys_to_negotiate() 409 } else if (!strcmp(param->name, TARGETALIAS)) { in iscsi_set_keys_to_negotiate() 412 } else if (!strcmp(param->name, INITIATORALIAS)) { in iscsi_set_keys_to_negotiate() 414 } else if (!strcmp(param->name, TARGETPORTALGROUPTAG)) { in iscsi_set_keys_to_negotiate() 416 } else if (!strcmp(param->name, INITIALR2T)) { in iscsi_set_keys_to_negotiate() [all …]
|
| /linux/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() 224 } else if (!strcmp(attr->attr.name, in sysfs_int_show() 230 } else if (!strcmp(attr->attr.name, in sysfs_int_show() 236 } else if (!strcmp(attr->attr.name, in sysfs_int_show() 242 } else if (!strcmp(attr->attr.name, in sysfs_int_show() 252 } else if (!strcmp(kobj->name, STATS_KOBJ_ID)) { in sysfs_int_show() 253 if (!strcmp(attr->attr.name, "reads")) { in sysfs_int_show() [all …]
|
| /linux/tools/perf/util/annotate-arch/ |
| H A D | annotate-csky.c | 14 if (!strcmp(name, "bt") || in csky__associate_ins_ops() 15 !strcmp(name, "bf") || in csky__associate_ins_ops() 16 !strcmp(name, "bez") || in csky__associate_ins_ops() 17 !strcmp(name, "bnez") || in csky__associate_ins_ops() 18 !strcmp(name, "bnezad") || in csky__associate_ins_ops() 19 !strcmp(name, "bhsz") || in csky__associate_ins_ops() 20 !strcmp(name, "bhz") || in csky__associate_ins_ops() 21 !strcmp(name, "blsz") || in csky__associate_ins_ops() 22 !strcmp(name, "blz") || in csky__associate_ins_ops() 23 !strcmp(name, "br") || in csky__associate_ins_ops() [all …]
|
| H A D | annotate-s390.c | 131 if (!strcmp(name, "bras") || in s390__associate_ins_ops() 132 !strcmp(name, "brasl") || in s390__associate_ins_ops() 133 !strcmp(name, "basr")) in s390__associate_ins_ops() 135 if (!strcmp(name, "br")) in s390__associate_ins_ops() 138 if (!strcmp(name, "lrl") || in s390__associate_ins_ops() 139 !strcmp(name, "lgrl") || in s390__associate_ins_ops() 140 !strcmp(name, "lgfrl") || in s390__associate_ins_ops() 141 !strcmp(name, "llgfrl") || in s390__associate_ins_ops() 142 !strcmp(name, "strl") || in s390__associate_ins_ops() 143 !strcmp(name, "stgrl")) in s390__associate_ins_ops()
|
| /linux/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(l, "Front Fan") || in smu_fan_create() 196 !strcmp(l, "Front fan 0") || !strcmp(l, "Front fan") || in smu_fan_create() 197 !strcmp(l, "CPU A INTAKE")) in smu_fan_create() 199 else if (!strcmp(l, "Front Fan 1") || !strcmp(l, "Front fan 1") || in smu_fan_create() 200 !strcmp(l, "CPU B INTAKE")) in smu_fan_create() [all …]
|
| /linux/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_signal", set.tests[2].name), "test name"); in test_parse_test_list() [all …]
|
| /linux/arch/s390/boot/ |
| H A D | ipl_parm.c | 262 if (!strcmp(param, "mem") && val) in parse_boot_command_line() 265 if (!strcmp(param, "vmalloc") && val) { in parse_boot_command_line() 270 if (!strcmp(param, "dfltcc") && val) { in parse_boot_command_line() 271 if (!strcmp(val, "off")) in parse_boot_command_line() 273 else if (!strcmp(val, "on")) in parse_boot_command_line() 275 else if (!strcmp(val, "def_only")) in parse_boot_command_line() 277 else if (!strcmp(val, "inf_only")) in parse_boot_command_line() 279 else if (!strcmp(val, "always")) in parse_boot_command_line() 283 if (!strcmp(param, "facilities") && val) in parse_boot_command_line() 286 if (!strcmp(param, "debug-alternative")) in parse_boot_command_line() [all …]
|
| /linux/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(arch, "sparc")) in perf_env__lookup_binutils_path() [all …]
|
| /linux/crypto/asymmetric_keys/ |
| H A D | public_key.c | 79 if (strcmp(pkey->pkey_algo, "rsa") == 0) { in software_key_determine_akcipher() 83 if (strcmp(encoding, "pkcs1") == 0) { in software_key_determine_akcipher() 103 if (strcmp(encoding, "raw") != 0) in software_key_determine_akcipher() 113 if (strcmp(encoding, "x962") != 0 && in software_key_determine_akcipher() 114 strcmp(encoding, "p1363") != 0) in software_key_determine_akcipher() 125 if (strcmp(hash_algo, "sha1") != 0 && in software_key_determine_akcipher() 126 strcmp(hash_algo, "sha224") != 0 && in software_key_determine_akcipher() 127 strcmp(hash_algo, "sha256") != 0 && in software_key_determine_akcipher() 128 strcmp(hash_algo, "sha384") != 0 && in software_key_determine_akcipher() 129 strcmp(hash_algo, "sha512") != 0 && in software_key_determine_akcipher() [all …]
|
| /linux/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(str, "check_enable_amd_mmconf")) { in pcibios_setup() [all …]
|
| /linux/sound/hda/codecs/hdmi/ |
| H A D | eld.c | 142 if (!strcmp(name, "monitor_present")) in snd_hdmi_write_eld_info() 144 else if (!strcmp(name, "eld_valid")) in snd_hdmi_write_eld_info() 146 else if (!strcmp(name, "connection_type")) in snd_hdmi_write_eld_info() 148 else if (!strcmp(name, "port_id")) in snd_hdmi_write_eld_info() 150 else if (!strcmp(name, "support_hdcp")) in snd_hdmi_write_eld_info() 152 else if (!strcmp(name, "support_ai")) in snd_hdmi_write_eld_info() 154 else if (!strcmp(name, "audio_sync_delay")) in snd_hdmi_write_eld_info() 156 else if (!strcmp(name, "speakers")) in snd_hdmi_write_eld_info() 158 else if (!strcmp(name, "sad_count")) in snd_hdmi_write_eld_info() 169 if (!strcmp(sname, "_coding_type")) in snd_hdmi_write_eld_info() [all …]
|
| /linux/drivers/media/cec/core/ |
| H A D | cec-pin-error-inj.c | 91 if (!strcmp(token, "clear")) { in cec_pin_error_inj_parse_line() 105 if (!strcmp(token, "rx-clear")) { in cec_pin_error_inj_parse_line() 112 if (!strcmp(token, "tx-clear")) { in cec_pin_error_inj_parse_line() 126 if (!strcmp(token, "rx-no-low-drive")) { in cec_pin_error_inj_parse_line() 130 if (!strcmp(token, "tx-ignore-nack-until-eom")) { in cec_pin_error_inj_parse_line() 134 if (!strcmp(token, "tx-custom-pulse")) { in cec_pin_error_inj_parse_line() 139 if (!strcmp(token, "tx-glitch-falling-edge")) { in cec_pin_error_inj_parse_line() 143 if (!strcmp(token, "tx-glitch-rising-edge")) { in cec_pin_error_inj_parse_line() 151 if (!strcmp(token, "tx-custom-low-usecs")) { in cec_pin_error_inj_parse_line() 159 if (!strcmp(token, "tx-custom-high-usecs")) { in cec_pin_error_inj_parse_line() [all …]
|
| /linux/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(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/tools/perf/ |
| H A D | perf.c | 108 return (strstarts(var, header) && !strcmp(var + strlen(header), c->cmd)); in same_cmd_with_prefix() 211 if (!strcmp(cmd, "--help") || !strcmp(cmd, "--version")) in handle_options() 218 if (!strcmp(cmd, "-h")) { in handle_options() 223 if (!strcmp(cmd, "-v")) { in handle_options() 228 if (!strcmp(cmd, "-vv")) { in handle_options() 245 } else if (!strcmp(cmd, "--html-path")) { in handle_options() 248 } else if (!strcmp(cmd, "-p") || !strcmp(cmd, "--paginate")) { in handle_options() 250 } else if (!strcmp(cmd, "--no-pager")) { in handle_options() 254 } else if (!strcmp(cmd, "--debugfs-dir")) { in handle_options() 264 } else if (!strcmp(cmd, "--buildid-dir")) { in handle_options() [all …]
|
| /linux/tools/testing/selftests/drivers/net/ |
| H A D | gro.c | 157 if (strcmp(testname, "ip_opt") == 0) { in setup_sock_filter() 159 } else if (strcmp(testname, "ip_frag6") == 0 || in setup_sock_filter() 160 strcmp(testname, "ip_v6ext_same") == 0 || in setup_sock_filter() 161 strcmp(testname, "ip_v6ext_diff") == 0) { in setup_sock_filter() 1080 if (strcmp(testname, "data_same") == 0) { in gro_sender() 1083 } else if (strcmp(testname, "data_lrg_sml") == 0) { in gro_sender() 1086 } else if (strcmp(testname, "data_sml_lrg") == 0) { in gro_sender() 1091 } else if (strcmp(testname, "ack") == 0) { in gro_sender() 1096 } else if (strcmp(testname, "flags_psh") == 0) { in gro_sender() 1099 } else if (strcmp(testname, "flags_syn") == 0) { in gro_sender() [all …]
|
| /linux/tools/power/cpupower/bench/ |
| H A D | parse.c | 188 if (strcmp("sleep", opt) == 0) in prepare_config() 191 else if (strcmp("load", opt) == 0) in prepare_config() 194 else if (strcmp("load_step", opt) == 0) in prepare_config() 197 else if (strcmp("sleep_step", opt) == 0) in prepare_config() 200 else if (strcmp("cycles", opt) == 0) in prepare_config() 203 else if (strcmp("rounds", opt) == 0) in prepare_config() 206 else if (strcmp("verbose", opt) == 0) in prepare_config() 209 else if (strcmp("output", opt) == 0) in prepare_config() 212 else if (strcmp("cpu", opt) == 0) in prepare_config() 215 else if (strcmp("governor", opt) == 0) { in prepare_config() [all …]
|
| /linux/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()
|
| /linux/arch/mips/bcm47xx/ |
| H A D | board.c | 247 if (!strcmp(buf1, e1->value1)) in bcm47xx_board_get_nvram() 263 !strcmp(buf2, e2->value2)) in bcm47xx_board_get_nvram() 270 if (!strcmp(buf1, e1->value1)) in bcm47xx_board_get_nvram() 277 if (!strcmp(buf1, e1->value1)) in bcm47xx_board_get_nvram() 286 if (!strcmp(buf1, e1->value1)) in bcm47xx_board_get_nvram() 294 if (!strcmp(buf1, e2->value1) && in bcm47xx_board_get_nvram() 295 !strcmp(buf2, e2->value2)) in bcm47xx_board_get_nvram() 302 if (!strcmp(buf1, e1->value1)) in bcm47xx_board_get_nvram() 311 if (!strcmp(buf1, e3->value1) && in bcm47xx_board_get_nvram() 312 !strcmp(buf2, e3->value2) && in bcm47xx_board_get_nvram() [all …]
|
| /linux/arch/x86/kernel/cpu/ |
| H A D | bugs.c | 405 if (!strcmp(str, "off")) in mds_cmdline() 407 else if (!strcmp(str, "full")) in mds_cmdline() 409 else if (!strcmp(str, "full,nosmt")) { in mds_cmdline() 517 if (!strcmp(str, "off")) { in tsx_async_abort_parse_cmdline() 519 } else if (!strcmp(str, "full")) { in tsx_async_abort_parse_cmdline() 521 } else if (!strcmp(str, "full,nosmt")) { in tsx_async_abort_parse_cmdline() 629 if (!strcmp(str, "off")) { in mmio_stale_data_parse_cmdline() 631 } else if (!strcmp(str, "full")) { in mmio_stale_data_parse_cmdline() 633 } else if (!strcmp(str, "full,nosmt")) { in mmio_stale_data_parse_cmdline() 709 if (!strcmp(str, "off")) in rfds_parse_cmdline() [all …]
|
| /linux/tools/verification/rv/src/ |
| H A D | rv.c | 57 if (!strcmp(argv[1], "-h") || !strcmp(argv[1], "--help")) { in rv_list() 112 } else if (!strcmp(argv[1], "-h") || !strcmp(argv[1], "--help")) { in rv_mon() 182 if (!strcmp(argv[1], "-h") || !strcmp(argv[1], "--help")) in main() 185 if (!strcmp(argv[1], "list")) in main() 188 if (!strcmp(argv[1], "mon")) { in main()
|
| /linux/drivers/crypto/tegra/ |
| H A D | tegra-se.h | 456 if (!strcmp(name, "cbc(aes)")) in se_algname_to_algid() 458 else if (!strcmp(name, "ecb(aes)")) in se_algname_to_algid() 460 else if (!strcmp(name, "ctr(aes)")) in se_algname_to_algid() 462 else if (!strcmp(name, "xts(aes)")) in se_algname_to_algid() 464 else if (!strcmp(name, "cmac(aes)")) in se_algname_to_algid() 466 else if (!strcmp(name, "gcm(aes)")) in se_algname_to_algid() 468 else if (!strcmp(name, "ccm(aes)")) in se_algname_to_algid() 471 else if (!strcmp(name, "sha1")) in se_algname_to_algid() 473 else if (!strcmp(name, "sha224")) in se_algname_to_algid() 475 else if (!strcmp(name, "sha256")) in se_algname_to_algid() [all …]
|
| /linux/drivers/clk/renesas/ |
| H 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()
|