| /linux/tools/testing/selftests/net/ |
| A D | timestamping.c | 353 if (!strcasecmp(argv[i], "SO_TIMESTAMP")) in main() 355 else if (!strcasecmp(argv[i], "SO_TIMESTAMPNS")) in main() 357 else if (!strcasecmp(argv[i], "SIOCGSTAMP")) in main() 359 else if (!strcasecmp(argv[i], "SIOCGSTAMPNS")) in main() 361 else if (!strcasecmp(argv[i], "IP_MULTICAST_LOOP")) in main() 363 else if (!strcasecmp(argv[i], "PTPV2")) in main() 365 else if (!strcasecmp(argv[i], "SOF_TIMESTAMPING_TX_HARDWARE")) in main() 367 else if (!strcasecmp(argv[i], "SOF_TIMESTAMPING_TX_SOFTWARE")) in main() 369 else if (!strcasecmp(argv[i], "SOF_TIMESTAMPING_RX_HARDWARE")) in main() 373 else if (!strcasecmp(argv[i], "SOF_TIMESTAMPING_SOFTWARE")) in main() [all …]
|
| /linux/drivers/md/ |
| A D | dm-dust.c | 429 if (!strcasecmp(argv[0], "addbadblock") || in dust_message() 430 !strcasecmp(argv[0], "removebadblock") || in dust_message() 431 !strcasecmp(argv[0], "queryblock")) { in dust_message() 433 } else if (!strcasecmp(argv[0], "disable")) { in dust_message() 437 } else if (!strcasecmp(argv[0], "enable")) { in dust_message() 449 } else if (!strcasecmp(argv[0], "quiet")) { in dust_message() 455 } else if (!strcasecmp(argv[0], "listbadblocks")) { in dust_message() 471 if (!strcasecmp(argv[0], "addbadblock")) in dust_message() 473 else if (!strcasecmp(argv[0], "removebadblock")) in dust_message() 475 else if (!strcasecmp(argv[0], "queryblock")) in dust_message() [all …]
|
| A D | dm-flakey.c | 88 if (!strcasecmp(arg_name, "error_reads")) { in parse_features() 99 if (!strcasecmp(arg_name, "drop_writes")) { in parse_features() 114 if (!strcasecmp(arg_name, "error_writes")) { in parse_features() 130 if (!strcasecmp(arg_name, "corrupt_bio_byte")) { in parse_features() 145 if (arg_name && !strcasecmp(arg_name, "w")) in parse_features() 147 else if (arg_name && !strcasecmp(arg_name, "r")) in parse_features() 178 if (!strcasecmp(arg_name, "random_read_corrupt")) { in parse_features() 191 if (!strcasecmp(arg_name, "random_write_corrupt")) { in parse_features()
|
| A D | dm-verity-fec.c | 567 return (!strcasecmp(arg_name, DM_VERITY_OPT_FEC_DEV) || in verity_is_fec_opt_arg() 568 !strcasecmp(arg_name, DM_VERITY_OPT_FEC_BLOCKS) || in verity_is_fec_opt_arg() 569 !strcasecmp(arg_name, DM_VERITY_OPT_FEC_START) || in verity_is_fec_opt_arg() 570 !strcasecmp(arg_name, DM_VERITY_OPT_FEC_ROOTS)); in verity_is_fec_opt_arg() 591 if (!strcasecmp(arg_name, DM_VERITY_OPT_FEC_DEV)) { in verity_fec_parse_opt_args() 598 } else if (!strcasecmp(arg_name, DM_VERITY_OPT_FEC_BLOCKS)) { in verity_fec_parse_opt_args() 607 } else if (!strcasecmp(arg_name, DM_VERITY_OPT_FEC_START)) { in verity_fec_parse_opt_args() 616 } else if (!strcasecmp(arg_name, DM_VERITY_OPT_FEC_ROOTS)) { in verity_fec_parse_opt_args()
|
| A D | dm-raid.c | 377 if (!strcasecmp(mode, _raid456_journal_mode[m].param)) in dm_raid_journal_mode_to_md() 583 if (!strcasecmp(name, "near")) in raid10_name_to_format() 585 else if (!strcasecmp(name, "offset")) in raid10_name_to_format() 587 else if (!strcasecmp(name, "far")) in raid10_name_to_format() 662 if (!strcasecmp(rtp->name, name)) in get_raid_type() 3742 if (!strcasecmp(argv[0], "frozen")) { in raid_message() 3749 } else if (!strcasecmp(argv[0], "idle")) { in raid_message() 3761 else if (!strcasecmp(argv[0], "resync")) in raid_message() 3763 else if (!strcasecmp(argv[0], "recover")) in raid_message() 3766 if (!strcasecmp(argv[0], "check")) { in raid_message() [all …]
|
| A D | dm-verity-target.c | 1126 return (!strcasecmp(arg_name, DM_VERITY_OPT_LOGGING) || in verity_is_verity_mode() 1127 !strcasecmp(arg_name, DM_VERITY_OPT_RESTART) || in verity_is_verity_mode() 1128 !strcasecmp(arg_name, DM_VERITY_OPT_PANIC)); in verity_is_verity_mode() 1136 if (!strcasecmp(arg_name, DM_VERITY_OPT_LOGGING)) in verity_parse_verity_mode() 1138 else if (!strcasecmp(arg_name, DM_VERITY_OPT_RESTART)) in verity_parse_verity_mode() 1140 else if (!strcasecmp(arg_name, DM_VERITY_OPT_PANIC)) in verity_parse_verity_mode() 1148 return (!strcasecmp(arg_name, DM_VERITY_OPT_ERROR_RESTART) || in verity_is_verity_error_mode() 1149 !strcasecmp(arg_name, DM_VERITY_OPT_ERROR_PANIC)); in verity_is_verity_error_mode() 1157 if (!strcasecmp(arg_name, DM_VERITY_OPT_ERROR_RESTART)) in verity_parse_verity_error_mode() 1159 else if (!strcasecmp(arg_name, DM_VERITY_OPT_ERROR_PANIC)) in verity_parse_verity_error_mode() [all …]
|
| A D | dm-mpath.c | 1132 if (!strcasecmp(arg_name, "queue_if_no_path")) { in parse_features() 1142 if (!strcasecmp(arg_name, "pg_init_retries") && in parse_features() 1156 if (!strcasecmp(arg_name, "queue_mode") && in parse_features() 1160 if (!strcasecmp(queue_mode_name, "bio")) in parse_features() 1162 else if (!strcasecmp(queue_mode_name, "rq") || in parse_features() 1163 !strcasecmp(queue_mode_name, "mq")) in parse_features() 1974 if (!strcasecmp(argv[0], "queue_if_no_path")) { in multipath_message() 1992 if (!strcasecmp(argv[0], "disable_group")) { in multipath_message() 1995 } else if (!strcasecmp(argv[0], "enable_group")) { in multipath_message() 1998 } else if (!strcasecmp(argv[0], "switch_group")) { in multipath_message() [all …]
|
| A D | dm-writecache.c | 1197 if (!strcasecmp(argv[0], "flush")) in writecache_message() 1199 else if (!strcasecmp(argv[0], "flush_on_suspend")) in writecache_message() 1201 else if (!strcasecmp(argv[0], "cleaner")) in writecache_message() 1203 else if (!strcasecmp(argv[0], "clear_stats")) in writecache_message() 2307 if (!strcasecmp(string, "s")) { in writecache_ctr() 2309 } else if (!strcasecmp(string, "p")) { in writecache_ctr() 2404 if (!strcasecmp(string, "start_sector") && opt_params >= 1) { in writecache_ctr() 2463 } else if (!strcasecmp(string, "cleaner")) { in writecache_ctr() 2466 } else if (!strcasecmp(string, "fua")) { in writecache_ctr() 2472 } else if (!strcasecmp(string, "nofua")) { in writecache_ctr() [all …]
|
| A D | dm-stats.c | 1064 if (!strcasecmp(a, "precise_timestamps")) in message_stats_create() 1226 if (!strcasecmp(argv[0], "@stats_create")) in dm_stats_message() 1228 else if (!strcasecmp(argv[0], "@stats_delete")) in dm_stats_message() 1230 else if (!strcasecmp(argv[0], "@stats_clear")) in dm_stats_message() 1232 else if (!strcasecmp(argv[0], "@stats_list")) in dm_stats_message() 1234 else if (!strcasecmp(argv[0], "@stats_print")) in dm_stats_message() 1236 else if (!strcasecmp(argv[0], "@stats_print_clear")) in dm_stats_message() 1238 else if (!strcasecmp(argv[0], "@stats_set_aux")) in dm_stats_message()
|
| /linux/tools/perf/util/ |
| A D | color_config.c | 15 if (!strcasecmp(value, "never")) in perf_config_colorbool() 17 if (!strcasecmp(value, "always")) in perf_config_colorbool() 19 if (!strcasecmp(value, "auto")) in perf_config_colorbool()
|
| A D | config.c | 302 else if (!strcasecmp(end, "k")) { in parse_unit_factor() 306 else if (!strcasecmp(end, "m")) { in parse_unit_factor() 310 else if (!strcasecmp(end, "g")) { in parse_unit_factor() 399 if (!strcasecmp(value, "true") || !strcasecmp(value, "yes") || !strcasecmp(value, "on")) in perf_config_bool_or_int() 401 if (!strcasecmp(value, "false") || !strcasecmp(value, "no") || !strcasecmp(value, "off")) in perf_config_bool_or_int()
|
| /linux/sound/soc/fsl/ |
| A D | p1022_ds.c | 276 if (strcasecmp(sprop, "i2s-slave") == 0) { in p1022_ds_probe() 294 } else if (strcasecmp(sprop, "i2s-master") == 0) { in p1022_ds_probe() 299 } else if (strcasecmp(sprop, "lj-slave") == 0) { in p1022_ds_probe() 304 } else if (strcasecmp(sprop, "lj-master") == 0) { in p1022_ds_probe() 309 } else if (strcasecmp(sprop, "rj-slave") == 0) { in p1022_ds_probe() 314 } else if (strcasecmp(sprop, "rj-master") == 0) { in p1022_ds_probe() 319 } else if (strcasecmp(sprop, "ac97-slave") == 0) { in p1022_ds_probe() 324 } else if (strcasecmp(sprop, "ac97-master") == 0) { in p1022_ds_probe()
|
| /linux/drivers/pcmcia/ |
| A D | o2micro.h | 146 if (strcasecmp(o2_speedup, "on") == 0) in o2micro_override() 148 else if (strcasecmp(o2_speedup, "off") == 0) in o2micro_override() 150 else if (strcasecmp(o2_speedup, "default") != 0) in o2micro_override()
|
| /linux/drivers/usb/host/ |
| A D | fsl-mph-dr-of.c | 64 if (!strcasecmp(phy_type, "ulpi")) in determine_usb_phy() 66 if (!strcasecmp(phy_type, "utmi")) in determine_usb_phy() 68 if (!strcasecmp(phy_type, "utmi_wide")) in determine_usb_phy() 70 if (!strcasecmp(phy_type, "utmi_dual")) in determine_usb_phy() 72 if (!strcasecmp(phy_type, "serial")) in determine_usb_phy()
|
| /linux/block/partitions/ |
| A D | mac.c | 106 && strcasecmp(part->processor, "powerpc") == 0) in mac_partition() 109 if (strcasecmp(part->type, "Apple_UNIX_SVR2") == 0 in mac_partition() 111 && strcasecmp(part->type, "Linux_swap") != 0)) { in mac_partition()
|
| /linux/scripts/dtc/ |
| A D | dtc.c | 123 if (!strcasecmp(s, ".dts")) in guess_type_by_name() 125 if (!strcasecmp(s, ".yaml")) in guess_type_by_name() 127 if (!strcasecmp(s, ".dtbo")) in guess_type_by_name() 129 if (!strcasecmp(s, ".dtb")) in guess_type_by_name()
|
| /linux/lib/ |
| A D | string_kunit.c | 275 STRCMP_TEST_EXPECT_EQUAL(test, strcasecmp, "Hello, Kernel!", "HeLLO, KErNeL!"); in string_test_strcasecmp() 277 STRCMP_TEST_EXPECT_EQUAL(test, strcasecmp, "", ""); in string_test_strcasecmp() 279 STRCMP_TEST_EXPECT_LOWER(test, strcasecmp, "a", "B"); in string_test_strcasecmp() 280 STRCMP_TEST_EXPECT_GREATER(test, strcasecmp, "B", "a"); in string_test_strcasecmp() 282 STRCMP_TEST_EXPECT_EQUAL(test, strcasecmp, "-+**.1230ghTTT~^", "-+**.1230Ghttt~^"); in string_test_strcasecmp() 288 STRCMP_TEST_EXPECT_EQUAL(test, strcasecmp, strcmp_buffer1, strcmp_buffer2); in string_test_strcasecmp_long_strings() 291 STRCMP_TEST_EXPECT_LOWER(test, strcasecmp, strcmp_buffer1, strcmp_buffer2); in string_test_strcasecmp_long_strings() 294 STRCMP_TEST_EXPECT_GREATER(test, strcasecmp, strcmp_buffer1, strcmp_buffer2); in string_test_strcasecmp_long_strings()
|
| /linux/drivers/mfd/ |
| A D | gateworks-gsc.c | 112 if (strcasecmp(name, "fw_version") == 0) in gsc_show() 114 else if (strcasecmp(name, "fw_crc") == 0) in gsc_show() 129 if (strcasecmp(name, "powerdown") == 0) { in gsc_store()
|
| /linux/tools/perf/ |
| A D | builtin-help.c | 66 if (!strcasecmp(name, viewer->name)) in get_man_viewer_info() 351 if (!strcasecmp(name, "man")) in exec_viewer() 353 else if (!strcasecmp(name, "woman")) in exec_viewer() 355 else if (!strcasecmp(name, "konqueror")) in exec_viewer()
|
| A D | builtin-check.c | 97 if ((strcasecmp(feature, supported_features[i].name) == 0) || in has_support() 98 (strcasecmp(feature, supported_features[i].macro) == 0)) { in has_support()
|
| /linux/drivers/staging/fbtft/ |
| A D | fb_agm1264k-fl.c | 126 if (strcasecmp(gpio->name, "wr") == 0) { in request_gpios_match() 130 } else if (strcasecmp(gpio->name, "cs0") == 0) { in request_gpios_match() 134 } else if (strcasecmp(gpio->name, "cs1") == 0) { in request_gpios_match() 142 else if (strcasecmp(gpio->name, "rw") == 0) { in request_gpios_match()
|
| /linux/tools/testing/selftests/resctrl/ |
| A D | resctrl_tests.c | 202 if (!strcasecmp(token, resctrl_tests[i]->name) || in main() 204 !strcasecmp(token, resctrl_tests[i]->group))) { in main()
|
| /linux/tools/testing/selftests/bpf/ |
| A D | veristat.c | 529 if (strcasecmp(p, "true") == 0 || in append_filter() 530 strcasecmp(p, "t") == 0 || in append_filter() 531 strcasecmp(p, "success") == 0 || in append_filter() 532 strcasecmp(p, "succ") == 0 || in append_filter() 533 strcasecmp(p, "s") == 0 || in append_filter() 534 strcasecmp(p, "match") == 0 || in append_filter() 535 strcasecmp(p, "m") == 0) { in append_filter() 538 strcasecmp(p, "f") == 0 || in append_filter() 539 strcasecmp(p, "failure") == 0 || in append_filter() 540 strcasecmp(p, "fail") == 0 || in append_filter() [all …]
|
| /linux/drivers/media/pci/tw686x/ |
| A D | tw686x-core.c | 79 if (!strcasecmp(val, dma_mode_name(TW686X_DMA_MODE_MEMCPY))) in tw686x_dma_mode_set() 81 else if (!strcasecmp(val, dma_mode_name(TW686X_DMA_MODE_CONTIG))) in tw686x_dma_mode_set() 83 else if (!strcasecmp(val, dma_mode_name(TW686X_DMA_MODE_SG))) in tw686x_dma_mode_set()
|
| /linux/arch/arm/include/asm/ |
| A D | ftrace.h | 75 return !strcasecmp(sym, name); in arch_syscall_match_sym_name()
|