Home
last modified time | relevance | path

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

12345

/linux/tools/testing/selftests/net/
H A 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(arg in main()
[all...]
/linux/drivers/md/
H A 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(arg in dust_message()
[all...]
H A 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()
148 if (arg_name && !strcasecmp(arg_name, "w")) in parse_features()
150 else if (arg_name && !strcasecmp(arg_name, "r")) in parse_features()
181 if (!strcasecmp(arg_name, "random_read_corrupt")) { in parse_features()
197 if (!strcasecmp(arg_name, "random_write_corrupt")) { in parse_features()
H A Ddm-verity-fec.c571 return (!strcasecmp(arg_name, DM_VERITY_OPT_FEC_DEV) || in verity_is_fec_opt_arg()
572 !strcasecmp(arg_name, DM_VERITY_OPT_FEC_BLOCKS) || in verity_is_fec_opt_arg()
573 !strcasecmp(arg_name, DM_VERITY_OPT_FEC_START) || in verity_is_fec_opt_arg()
574 !strcasecmp(arg_name, DM_VERITY_OPT_FEC_ROOTS)); in verity_is_fec_opt_arg()
595 if (!strcasecmp(arg_name, DM_VERITY_OPT_FEC_DEV)) { in verity_fec_parse_opt_args()
606 } else if (!strcasecmp(arg_name, DM_VERITY_OPT_FEC_BLOCKS)) { in verity_fec_parse_opt_args()
615 } else if (!strcasecmp(arg_name, DM_VERITY_OPT_FEC_START)) { in verity_fec_parse_opt_args()
624 } else if (!strcasecmp(arg_name, DM_VERITY_OPT_FEC_ROOTS)) { in verity_fec_parse_opt_args()
H A 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(ke in parse_raid_params()
[all...]
H A Ddm-mpath.c1135 if (!strcasecmp(arg_name, "queue_if_no_path")) { in parse_features()
1140 if (!strcasecmp(arg_name, "retain_attached_hw_handler")) { in parse_features()
1145 if (!strcasecmp(arg_name, "pg_init_retries") && in parse_features()
1152 if (!strcasecmp(arg_name, "pg_init_delay_msecs") && in parse_features()
1159 if (!strcasecmp(arg_name, "queue_mode") && in parse_features()
1163 if (!strcasecmp(queue_mode_name, "bio")) in parse_features()
1165 else if (!strcasecmp(queue_mode_name, "rq") || in parse_features()
1166 !strcasecmp(queue_mode_name, "mq")) in parse_features()
1981 if (!strcasecmp(argv[0], "queue_if_no_path")) { in multipath_message()
1987 } else if (!strcasecmp(arg in multipath_message()
[all...]
H A Ddm-writecache.c1196 if (!strcasecmp(argv[0], "flush")) in writecache_message()
1198 else if (!strcasecmp(argv[0], "flush_on_suspend")) in writecache_message()
1200 else if (!strcasecmp(argv[0], "cleaner")) in writecache_message()
1202 else if (!strcasecmp(argv[0], "clear_stats")) in writecache_message()
2306 if (!strcasecmp(string, "s")) { in writecache_ctr()
2308 } else if (!strcasecmp(string, "p")) { in writecache_ctr()
2403 if (!strcasecmp(string, "start_sector") && opt_params >= 1) { in writecache_ctr()
2414 } else if (!strcasecmp(string, "high_watermark") && opt_params >= 1) { in writecache_ctr()
2422 } else if (!strcasecmp(string, "low_watermark") && opt_params >= 1) { in writecache_ctr()
2430 } else if (!strcasecmp(strin in writecache_ctr()
[all...]
H A 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/tools/perf/util/
H A 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()
H A Dconfig.c319 else if (!strcasecmp(end, "k")) { in parse_unit_factor()
323 else if (!strcasecmp(end, "m")) { in parse_unit_factor()
327 else if (!strcasecmp(end, "g")) { in parse_unit_factor()
416 if (!strcasecmp(value, "true") || !strcasecmp(value, "yes") || !strcasecmp(value, "on")) in perf_config_bool_or_int()
418 if (!strcasecmp(value, "false") || !strcasecmp(value, "no") || !strcasecmp(value, "off")) in perf_config_bool_or_int()
H A Dtool_pmu.c39 if (strcasecmp(name, "slots") == 0) in tool_pmu__skip_event()
44 if (strcasecmp(name, "system_tsc_freq") == 0) in tool_pmu__skip_event()
80 if (!strcasecmp(str, tool_pmu__event_names[i])) in tool_pmu__str_to_event()
/linux/sound/soc/fsl/
H A 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/drivers/pcmcia/
H A 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/drivers/usb/host/
H A 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/block/partitions/
H A Dmac.c118 && strcasecmp(part->processor, "powerpc") == 0) in mac_partition()
121 if (strcasecmp(part->type, "Apple_UNIX_SVR2") == 0 in mac_partition()
123 && strcasecmp(part->type, "Linux_swap") != 0)) { in mac_partition()
/linux/scripts/dtc/
H A 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/lib/tests/
H A 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/tools/perf/
H A 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()
H A Dbuiltin-check.c105 if ((strcasecmp(feature, supported_features[i].name) == 0) || in has_support()
106 (strcasecmp(feature, supported_features[i].macro) == 0)) { in has_support()
/linux/drivers/mfd/
H A 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/drivers/staging/fbtft/
H A 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/drivers/media/pci/tw686x/
H A 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/drivers/thermal/
H A Dthermal_of.c55 if (!strcasecmp(t, trip_types[i])) { in thermal_of_get_trip_type()
409 if (!strcasecmp(action, "reboot")) in thermal_of_zone_register()
411 else if (!strcasecmp(action, "shutdown")) in thermal_of_zone_register()
/linux/arch/arm/include/asm/
H A Dftrace.h75 return !strcasecmp(sym, name); in arch_syscall_match_sym_name()
/linux/tools/testing/selftests/resctrl/
H A Dresctrl_tests.c281 if (!strcasecmp(token, resctrl_tests[i]->name) || in main()
283 !strcasecmp(token, resctrl_tests[i]->group))) { in main()

12345