Lines Matching refs:strcasecmp
376 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()
1278 if (!strcasecmp(key, dm_raid_arg_name_by_flag(CTR_FLAG_JOURNAL_MODE))) { in parse_raid_params()
1306 if (!strcasecmp(key, dm_raid_arg_name_by_flag(CTR_FLAG_REBUILD))) { in parse_raid_params()
1327 } else if (!strcasecmp(key, dm_raid_arg_name_by_flag(CTR_FLAG_WRITE_MOSTLY))) { in parse_raid_params()
1341 } else if (!strcasecmp(key, dm_raid_arg_name_by_flag(CTR_FLAG_MAX_WRITE_BEHIND))) { in parse_raid_params()
1362 } else if (!strcasecmp(key, dm_raid_arg_name_by_flag(CTR_FLAG_DAEMON_SLEEP))) { in parse_raid_params()
1372 } else if (!strcasecmp(key, dm_raid_arg_name_by_flag(CTR_FLAG_DATA_OFFSET))) { in parse_raid_params()
1385 } else if (!strcasecmp(key, dm_raid_arg_name_by_flag(CTR_FLAG_DELTA_DISKS))) { in parse_raid_params()
1398 } else if (!strcasecmp(key, dm_raid_arg_name_by_flag(CTR_FLAG_STRIPE_CACHE))) { in parse_raid_params()
1414 } else if (!strcasecmp(key, dm_raid_arg_name_by_flag(CTR_FLAG_MIN_RECOVERY_RATE))) { in parse_raid_params()
1425 } else if (!strcasecmp(key, dm_raid_arg_name_by_flag(CTR_FLAG_MAX_RECOVERY_RATE))) { in parse_raid_params()
1436 } else if (!strcasecmp(key, dm_raid_arg_name_by_flag(CTR_FLAG_REGION_SIZE))) { in parse_raid_params()
1444 } else if (!strcasecmp(key, dm_raid_arg_name_by_flag(CTR_FLAG_RAID10_COPIES))) { in parse_raid_params()
3535 resync_mismatches = (mddev->last_sync_action && !strcasecmp(mddev->last_sync_action, "check")) ? in raid_status()
3718 if (!strcasecmp(argv[0], "frozen")) in raid_message()
3723 if (!strcasecmp(argv[0], "idle") || !strcasecmp(argv[0], "frozen")) { in raid_message()
3730 else if (!strcasecmp(argv[0], "resync")) in raid_message()
3732 else if (!strcasecmp(argv[0], "recover")) in raid_message()
3735 if (!strcasecmp(argv[0], "check")) { in raid_message()
3739 } else if (!strcasecmp(argv[0], "repair")) { in raid_message()