Home
last modified time | relevance | path

Searched refs:strcasecmp (Results 1 – 25 of 125) sorted by relevance

12345

/linux-6.12.1/tools/testing/selftests/net/
Dtimestamping.c353 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()
371 else if (!strcasecmp(argv[i], "SOF_TIMESTAMPING_RX_SOFTWARE")) in main()
[all …]
/linux-6.12.1/drivers/md/
Ddm-dust.c429 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()
441 } else if (!strcasecmp(argv[0], "countbadblocks")) { in dust_message()
447 } else if (!strcasecmp(argv[0], "clearbadblocks")) { 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()
[all …]
Ddm-flakey.c88 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()
Ddm-verity-fec.c567 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()
Ddm-raid.c377 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()
1200 if (!strcasecmp(key, dm_raid_arg_name_by_flag(CTR_FLAG_NOSYNC))) { in parse_raid_params()
1207 if (!strcasecmp(key, dm_raid_arg_name_by_flag(CTR_FLAG_SYNC))) { in parse_raid_params()
1214 if (!strcasecmp(key, dm_raid_arg_name_by_flag(CTR_FLAG_RAID10_USE_NEAR_SETS))) { in parse_raid_params()
1233 if (!strcasecmp(key, dm_raid_arg_name_by_flag(CTR_FLAG_RAID10_FORMAT))) { in parse_raid_params()
1251 if (!strcasecmp(key, dm_raid_arg_name_by_flag(CTR_FLAG_JOURNAL_DEV))) { in parse_raid_params()
[all …]
Ddm-verity-target.c1126 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 …]
Ddm-mpath.c1132 if (!strcasecmp(arg_name, "queue_if_no_path")) { in parse_features()
1137 if (!strcasecmp(arg_name, "retain_attached_hw_handler")) { in parse_features()
1142 if (!strcasecmp(arg_name, "pg_init_retries") && in parse_features()
1149 if (!strcasecmp(arg_name, "pg_init_delay_msecs") && 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()
1980 } else if (!strcasecmp(argv[0], "fail_if_no_path")) { in multipath_message()
[all …]
Ddm-writecache.c1197 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()
2415 } else if (!strcasecmp(string, "high_watermark") && opt_params >= 1) { in writecache_ctr()
2423 } else if (!strcasecmp(string, "low_watermark") && opt_params >= 1) { in writecache_ctr()
2431 } else if (!strcasecmp(string, "writeback_jobs") && opt_params >= 1) { in writecache_ctr()
[all …]
Ddm-stats.c1064 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-6.12.1/tools/perf/util/
Dcolor_config.c15 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()
Dconfig.c302 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-6.12.1/sound/soc/fsl/
Dp1022_ds.c276 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-6.12.1/drivers/pcmcia/
Do2micro.h146 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-6.12.1/drivers/usb/host/
Dfsl-mph-dr-of.c64 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-6.12.1/block/partitions/
Dmac.c106 && 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-6.12.1/scripts/dtc/
Ddtc.c123 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-6.12.1/lib/
Dstring_kunit.c275 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-6.12.1/drivers/mfd/
Dgateworks-gsc.c112 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-6.12.1/tools/perf/
Dbuiltin-help.c66 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()
Dbuiltin-check.c97 if ((strcasecmp(feature, supported_features[i].name) == 0) || in has_support()
98 (strcasecmp(feature, supported_features[i].macro) == 0)) { in has_support()
/linux-6.12.1/drivers/staging/fbtft/
Dfb_agm1264k-fl.c126 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-6.12.1/tools/testing/selftests/resctrl/
Dresctrl_tests.c202 if (!strcasecmp(token, resctrl_tests[i]->name) || in main()
204 !strcasecmp(token, resctrl_tests[i]->group))) { in main()
/linux-6.12.1/tools/testing/selftests/bpf/
Dveristat.c529 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()
537 } else if (strcasecmp(p, "false") == 0 || in append_filter()
538 strcasecmp(p, "f") == 0 || in append_filter()
539 strcasecmp(p, "failure") == 0 || in append_filter()
[all …]
/linux-6.12.1/drivers/media/pci/tw686x/
Dtw686x-core.c79 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-6.12.1/arch/arm/include/asm/
Dftrace.h75 return !strcasecmp(sym, name); in arch_syscall_match_sym_name()

12345