Home
last modified time | relevance | path

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

12345

/kernel/liteos_m/testsuites/unittest/posix/src/string/
Dstring_func_test_02.c82 int ret = strcasecmp("", "");
85 ret = strcasecmp("abcdefg", "abcdefg");
88 ret = strcasecmp("abcdefg", "abcdEFg");
91 ret = strcasecmp("abcdefg", "abcdEF");
94 ret = strcasecmp("abcdef", "abcdEFg");
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dtimestamping.c328 if (!strcasecmp(argv[i], "SO_TIMESTAMP")) in main()
330 else if (!strcasecmp(argv[i], "SO_TIMESTAMPNS")) in main()
332 else if (!strcasecmp(argv[i], "SIOCGSTAMP")) in main()
334 else if (!strcasecmp(argv[i], "SIOCGSTAMPNS")) in main()
336 else if (!strcasecmp(argv[i], "IP_MULTICAST_LOOP")) in main()
338 else if (!strcasecmp(argv[i], "SOF_TIMESTAMPING_TX_HARDWARE")) in main()
340 else if (!strcasecmp(argv[i], "SOF_TIMESTAMPING_TX_SOFTWARE")) in main()
342 else if (!strcasecmp(argv[i], "SOF_TIMESTAMPING_RX_HARDWARE")) in main()
344 else if (!strcasecmp(argv[i], "SOF_TIMESTAMPING_RX_SOFTWARE")) in main()
346 else if (!strcasecmp(argv[i], "SOF_TIMESTAMPING_SOFTWARE")) in main()
[all …]
/kernel/linux/linux-5.10/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.c81 if (!strcasecmp(arg_name, "drop_writes")) { in parse_features()
96 if (!strcasecmp(arg_name, "error_writes")) { in parse_features()
112 if (!strcasecmp(arg_name, "corrupt_bio_byte")) { in parse_features()
127 if (!strcasecmp(arg_name, "w")) in parse_features()
129 else if (!strcasecmp(arg_name, "r")) in parse_features()
Ddm-raid.c375 if (!strcasecmp(mode, _raid456_journal_mode[m].param)) in dm_raid_journal_mode_to_md()
581 if (!strcasecmp(name, "near")) in raid10_name_to_format()
583 else if (!strcasecmp(name, "offset")) in raid10_name_to_format()
585 else if (!strcasecmp(name, "far")) in raid10_name_to_format()
660 if (!strcasecmp(rtp->name, name)) in get_raid_type()
1192 if (!strcasecmp(key, dm_raid_arg_name_by_flag(CTR_FLAG_NOSYNC))) { in parse_raid_params()
1199 if (!strcasecmp(key, dm_raid_arg_name_by_flag(CTR_FLAG_SYNC))) { in parse_raid_params()
1206 if (!strcasecmp(key, dm_raid_arg_name_by_flag(CTR_FLAG_RAID10_USE_NEAR_SETS))) { in parse_raid_params()
1225 if (!strcasecmp(key, dm_raid_arg_name_by_flag(CTR_FLAG_RAID10_FORMAT))) { in parse_raid_params()
1243 if (!strcasecmp(key, dm_raid_arg_name_by_flag(CTR_FLAG_JOURNAL_DEV))) { in parse_raid_params()
[all …]
Ddm-verity-fec.c585 return (!strcasecmp(arg_name, DM_VERITY_OPT_FEC_DEV) || in verity_is_fec_opt_arg()
586 !strcasecmp(arg_name, DM_VERITY_OPT_FEC_BLOCKS) || in verity_is_fec_opt_arg()
587 !strcasecmp(arg_name, DM_VERITY_OPT_FEC_START) || in verity_is_fec_opt_arg()
588 !strcasecmp(arg_name, DM_VERITY_OPT_FEC_ROOTS)); in verity_is_fec_opt_arg()
609 if (!strcasecmp(arg_name, DM_VERITY_OPT_FEC_DEV)) { in verity_fec_parse_opt_args()
616 } else if (!strcasecmp(arg_name, DM_VERITY_OPT_FEC_BLOCKS)) { in verity_fec_parse_opt_args()
625 } else if (!strcasecmp(arg_name, DM_VERITY_OPT_FEC_START)) { in verity_fec_parse_opt_args()
634 } else if (!strcasecmp(arg_name, DM_VERITY_OPT_FEC_ROOTS)) { in verity_fec_parse_opt_args()
Ddm-mpath.c1124 if (!strcasecmp(arg_name, "queue_if_no_path")) { in parse_features()
1129 if (!strcasecmp(arg_name, "retain_attached_hw_handler")) { in parse_features()
1134 if (!strcasecmp(arg_name, "pg_init_retries") && in parse_features()
1141 if (!strcasecmp(arg_name, "pg_init_delay_msecs") && in parse_features()
1148 if (!strcasecmp(arg_name, "queue_mode") && in parse_features()
1152 if (!strcasecmp(queue_mode_name, "bio")) in parse_features()
1154 else if (!strcasecmp(queue_mode_name, "rq") || in parse_features()
1155 !strcasecmp(queue_mode_name, "mq")) in parse_features()
1929 if (!strcasecmp(argv[0], "queue_if_no_path")) { in multipath_message()
1935 } else if (!strcasecmp(argv[0], "fail_if_no_path")) { in multipath_message()
[all …]
Ddm-stats.c1009 if (!strcasecmp(a, "precise_timestamps")) in message_stats_create()
1170 if (!strcasecmp(argv[0], "@stats_create")) in dm_stats_message()
1172 else if (!strcasecmp(argv[0], "@stats_delete")) in dm_stats_message()
1174 else if (!strcasecmp(argv[0], "@stats_clear")) in dm_stats_message()
1176 else if (!strcasecmp(argv[0], "@stats_list")) in dm_stats_message()
1178 else if (!strcasecmp(argv[0], "@stats_print")) in dm_stats_message()
1180 else if (!strcasecmp(argv[0], "@stats_print_clear")) in dm_stats_message()
1182 else if (!strcasecmp(argv[0], "@stats_set_aux")) in dm_stats_message()
/kernel/linux/linux-5.10/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.c301 else if (!strcasecmp(end, "k")) { in parse_unit_factor()
305 else if (!strcasecmp(end, "m")) { in parse_unit_factor()
309 else if (!strcasecmp(end, "g")) { in parse_unit_factor()
398 if (!strcasecmp(value, "true") || !strcasecmp(value, "yes") || !strcasecmp(value, "on")) in perf_config_bool_or_int()
400 if (!strcasecmp(value, "false") || !strcasecmp(value, "no") || !strcasecmp(value, "off")) in perf_config_bool_or_int()
/kernel/linux/linux-5.10/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()
Dmpc8610_hpcd.c265 if (strcasecmp(sprop, "i2s-slave") == 0) { in mpc8610_hpcd_probe()
283 } else if (strcasecmp(sprop, "i2s-master") == 0) { in mpc8610_hpcd_probe()
288 } else if (strcasecmp(sprop, "lj-slave") == 0) { in mpc8610_hpcd_probe()
293 } else if (strcasecmp(sprop, "lj-master") == 0) { in mpc8610_hpcd_probe()
298 } else if (strcasecmp(sprop, "rj-slave") == 0) { in mpc8610_hpcd_probe()
303 } else if (strcasecmp(sprop, "rj-master") == 0) { in mpc8610_hpcd_probe()
308 } else if (strcasecmp(sprop, "ac97-slave") == 0) { in mpc8610_hpcd_probe()
313 } else if (strcasecmp(sprop, "ac97-master") == 0) { in mpc8610_hpcd_probe()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/usb/host/
Dfsl-mph-dr-of.c63 if (!strcasecmp(phy_type, "ulpi")) in determine_usb_phy()
65 if (!strcasecmp(phy_type, "utmi")) in determine_usb_phy()
67 if (!strcasecmp(phy_type, "utmi_wide")) in determine_usb_phy()
69 if (!strcasecmp(phy_type, "utmi_dual")) in determine_usb_phy()
71 if (!strcasecmp(phy_type, "serial")) in determine_usb_phy()
/kernel/linux/linux-5.10/block/partitions/
Dmac.c104 && strcasecmp(part->processor, "powerpc") == 0) in mac_partition()
107 if (strcasecmp(part->type, "Apple_UNIX_SVR2") == 0 in mac_partition()
109 && strcasecmp(part->type, "Linux_swap") != 0)) { in mac_partition()
/kernel/liteos_a/fs/rootfs/
Dlos_bootargs.c235 } else if (strcasecmp(endPos, "k") == 0) { in LOS_SizeStrToNum()
237 } else if (strcasecmp(endPos, "m") == 0) { in LOS_SizeStrToNum()
239 } else if (strcasecmp(endPos, "g") == 0) { in LOS_SizeStrToNum()
/kernel/linux/linux-5.10/tools/perf/
Dbuiltin-help.c64 if (!strcasecmp(name, viewer->name)) in get_man_viewer_info()
349 if (!strcasecmp(name, "man")) in exec_viewer()
351 else if (!strcasecmp(name, "woman")) in exec_viewer()
353 else if (!strcasecmp(name, "konqueror")) in exec_viewer()
/kernel/linux/linux-5.10/scripts/dtc/
Ddtc.c121 if (!strcasecmp(s, ".dts")) in guess_type_by_name()
123 if (!strcasecmp(s, ".yaml")) in guess_type_by_name()
125 if (!strcasecmp(s, ".dtb")) in guess_type_by_name()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/staging/fbtft/
Dfb_agm1264k-fl.c139 if (strcasecmp(gpio->name, "wr") == 0) { in request_gpios_match()
143 } else if (strcasecmp(gpio->name, "cs0") == 0) { in request_gpios_match()
147 } else if (strcasecmp(gpio->name, "cs1") == 0) { in request_gpios_match()
155 else if (strcasecmp(gpio->name, "rw") == 0) { in request_gpios_match()
/kernel/linux/linux-5.10/tools/testing/selftests/net/mptcp/
Dmptcp_connect.c772 if (!strcasecmp(proto, "MPTCP")) in parse_proto()
774 if (!strcasecmp(proto, "TCP")) in parse_proto()
786 if (!strcasecmp(mode, "poll")) in parse_mode()
788 if (!strcasecmp(mode, "mmap")) in parse_mode()
790 if (!strcasecmp(mode, "sendfile")) in parse_mode()
/kernel/liteos_m/testsuites/unittest/fuzz/src/strings/
Dit_test_strings_fuzz.c63 (void)strcasecmp(lstring, rstring); in StrcasecmpFuzz()
/kernel/linux/linux-5.10/arch/arm/include/asm/
Dftrace.h73 return !strcasecmp(sym, name); in arch_syscall_match_sym_name()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/sparc/include/asm/
Dprom.h24 #define of_prop_cmp(s1, s2) strcasecmp((s1), (s2))

12345