Lines Matching refs:raid_type
321 int raid_type;
353 parse_volume(int fd, int raid_type, struct config_id_state *state,
374 switch (raid_type) {
496 build_volume(int fd, struct volume_info *info, int raid_type, long stripe_size,
554 switch (raid_type) {
597 if (raid_type == RT_RAID1) {
619 int ch, error, fd, i, quick, raid_type, verbose;
637 raid_type = -1;
640 raid_type = raid_type_table[i].raid_type;
644 if (raid_type == -1) {
711 error = parse_volume(fd, raid_type, &state, av[0], info);
721 vol = build_volume(fd, info, raid_type, stripe_size, &state, verbose);