Home
last modified time | relevance | path

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

12345

/Linux-v6.6/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-v6.6/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-raid.c376 if (!strcasecmp(mode, _raid456_journal_mode[m].param)) in dm_raid_journal_mode_to_md()
582 if (!strcasecmp(name, "near")) in raid10_name_to_format()
584 else if (!strcasecmp(name, "offset")) in raid10_name_to_format()
586 else if (!strcasecmp(name, "far")) in raid10_name_to_format()
661 if (!strcasecmp(rtp->name, name)) in get_raid_type()
1194 if (!strcasecmp(key, dm_raid_arg_name_by_flag(CTR_FLAG_NOSYNC))) { in parse_raid_params()
1201 if (!strcasecmp(key, dm_raid_arg_name_by_flag(CTR_FLAG_SYNC))) { in parse_raid_params()
1208 if (!strcasecmp(key, dm_raid_arg_name_by_flag(CTR_FLAG_RAID10_USE_NEAR_SETS))) { in parse_raid_params()
1227 if (!strcasecmp(key, dm_raid_arg_name_by_flag(CTR_FLAG_RAID10_FORMAT))) { in parse_raid_params()
1245 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.c1133 if (!strcasecmp(arg_name, "queue_if_no_path")) { in parse_features()
1138 if (!strcasecmp(arg_name, "retain_attached_hw_handler")) { in parse_features()
1143 if (!strcasecmp(arg_name, "pg_init_retries") && in parse_features()
1150 if (!strcasecmp(arg_name, "pg_init_delay_msecs") && in parse_features()
1157 if (!strcasecmp(arg_name, "queue_mode") && in parse_features()
1161 if (!strcasecmp(queue_mode_name, "bio")) in parse_features()
1163 else if (!strcasecmp(queue_mode_name, "rq") || in parse_features()
1164 !strcasecmp(queue_mode_name, "mq")) in parse_features()
1976 if (!strcasecmp(argv[0], "queue_if_no_path")) { in multipath_message()
1982 } 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-verity-target.c1047 return (!strcasecmp(arg_name, DM_VERITY_OPT_LOGGING) || in verity_is_verity_mode()
1048 !strcasecmp(arg_name, DM_VERITY_OPT_RESTART) || in verity_is_verity_mode()
1049 !strcasecmp(arg_name, DM_VERITY_OPT_PANIC)); in verity_is_verity_mode()
1057 if (!strcasecmp(arg_name, DM_VERITY_OPT_LOGGING)) in verity_parse_verity_mode()
1059 else if (!strcasecmp(arg_name, DM_VERITY_OPT_RESTART)) in verity_parse_verity_mode()
1061 else if (!strcasecmp(arg_name, DM_VERITY_OPT_PANIC)) in verity_parse_verity_mode()
1101 } else if (!strcasecmp(arg_name, DM_VERITY_OPT_IGN_ZEROES)) { in verity_parse_opt_args()
1111 } else if (!strcasecmp(arg_name, DM_VERITY_OPT_AT_MOST_ONCE)) { in verity_parse_opt_args()
1119 } else if (!strcasecmp(arg_name, DM_VERITY_OPT_TASKLET_VERIFY)) { in verity_parse_opt_args()
Ddm-stats.c1055 if (!strcasecmp(a, "precise_timestamps")) in message_stats_create()
1217 if (!strcasecmp(argv[0], "@stats_create")) in dm_stats_message()
1219 else if (!strcasecmp(argv[0], "@stats_delete")) in dm_stats_message()
1221 else if (!strcasecmp(argv[0], "@stats_clear")) in dm_stats_message()
1223 else if (!strcasecmp(argv[0], "@stats_list")) in dm_stats_message()
1225 else if (!strcasecmp(argv[0], "@stats_print")) in dm_stats_message()
1227 else if (!strcasecmp(argv[0], "@stats_print_clear")) in dm_stats_message()
1229 else if (!strcasecmp(argv[0], "@stats_set_aux")) in dm_stats_message()
/Linux-v6.6/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-v6.6/sound/soc/fsl/
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()
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-v6.6/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-v6.6/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-v6.6/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()
/Linux-v6.6/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, ".dtbo")) in guess_type_by_name()
127 if (!strcasecmp(s, ".dtb")) in guess_type_by_name()
/Linux-v6.6/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-v6.6/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()
/Linux-v6.6/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-v6.6/tools/testing/selftests/bpf/
Dveristat.c508 if (strcasecmp(p, "true") == 0 || in append_filter()
509 strcasecmp(p, "t") == 0 || in append_filter()
510 strcasecmp(p, "success") == 0 || in append_filter()
511 strcasecmp(p, "succ") == 0 || in append_filter()
512 strcasecmp(p, "s") == 0 || in append_filter()
513 strcasecmp(p, "match") == 0 || in append_filter()
514 strcasecmp(p, "m") == 0) { in append_filter()
516 } else if (strcasecmp(p, "false") == 0 || in append_filter()
517 strcasecmp(p, "f") == 0 || in append_filter()
518 strcasecmp(p, "failure") == 0 || in append_filter()
[all …]
/Linux-v6.6/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-v6.6/arch/arm/include/asm/
Dftrace.h75 return !strcasecmp(sym, name); in arch_syscall_match_sym_name()
/Linux-v6.6/arch/sparc/include/asm/
Dprom.h25 #define of_prop_cmp(s1, s2) strcasecmp((s1), (s2))
/Linux-v6.6/tools/testing/selftests/net/mptcp/
Dmptcp_connect.c1310 if (!strcasecmp(proto, "MPTCP")) in parse_proto()
1312 if (!strcasecmp(proto, "TCP")) in parse_proto()
1324 if (!strcasecmp(mode, "poll")) in parse_mode()
1326 if (!strcasecmp(mode, "mmap")) in parse_mode()
1328 if (!strcasecmp(mode, "sendfile")) in parse_mode()
1345 if (!strcasecmp(mode, "saveWithPeek")) in parse_peek()
1347 if (!strcasecmp(mode, "saveAfterPeek")) in parse_peek()

12345