Home
last modified time | relevance | path

Searched refs:un_devflags (Results 1 – 7 of 7) sorted by relevance

/titanic_41/usr/src/uts/common/io/lvm/raid/
H A Draid_resync.c115 un->un_column[un->un_resync_index].un_devflags &= ~MD_RAID_RESYNC; in release_resync_request()
116 un->un_column[un->un_resync_index].un_devflags &= ~MD_RAID_RESYNC_ERRED; in release_resync_request()
117 un->un_column[un->un_resync_index].un_devflags &= in release_resync_request()
159 if (! (un->un_column[column_index].un_devflags & MD_RAID_RESYNC) && in resync_request()
170 un->un_column[column_index].un_devflags |= MD_RAID_DEV_ERRED; in resync_request()
172 un->un_column[column_index].un_devflags &= ~MD_RAID_DEV_ERRED; in resync_request()
279 ASSERT(un->un_column[col].un_devflags & MD_RAID_DEV_ISOPEN); in init_pw_area()
336 ASSERT(! (column->un_devflags & MD_RAID_WRITE_ALT)); in raid_open_alt()
338 ASSERT(! (column->un_devflags & MD_RAID_ALT_ISOPEN)); in raid_open_alt()
357 column->un_devflags |= MD_RAID_ALT_ISOPEN; in raid_open_alt()
[all …]
H A Draid_hotspare.c95 if (col->un_devflags & MD_RAID_DEV_ISOPEN) { in raid_hs_release()
97 col->un_devflags &= ~MD_RAID_DEV_ISOPEN; in raid_hs_release()
187 col->un_devflags |= MD_RAID_REGEN_RESYNC; in check_comp_4_hs()
222 if (col->un_devflags & MD_RAID_DEV_ISOPEN) { in check_comp_4_hs()
224 col->un_devflags &= ~MD_RAID_DEV_ISOPEN; in check_comp_4_hs()
239 col->un_devflags &= ~MD_RAID_DEV_ISOPEN; in check_comp_4_hs()
251 col->un_devflags |= MD_RAID_DEV_ISOPEN; in check_comp_4_hs()
H A Draid_ioctl.c529 if (! (un->un_column[ix].un_devflags & MD_RAID_DEV_ISOPEN)) { in raid_init_columns()
542 un->un_column[ix].un_devflags |= in raid_init_columns()
1248 ASSERT(!(un->un_column[col].un_devflags & MD_RAID_ALT_ISOPEN)); in raid_replace()
1249 ASSERT(!(un->un_column[col].un_devflags & MD_RAID_WRITE_ALT)); in raid_replace()
1310 un->un_column[col].un_devflags |= MD_RAID_COPY_RESYNC; in raid_replace()
1316 if (un->un_column[col].un_devflags & MD_RAID_DEV_ISOPEN) in raid_replace()
1318 un->un_column[col].un_devflags |= MD_RAID_DEV_ISOPEN; in raid_replace()
1324 un->un_column[col].un_devflags |= in raid_replace()
1395 un->un_column[col].un_devflags |= MD_RAID_COPY_RESYNC; in raid_replace()
1397 if (!(un->un_column[col].un_devflags & in raid_replace()
[all …]
H A Draid.c302 } else if (un->un_column[col].un_devflags & in raid_set_state()
313 un->un_column[col].un_devflags &= ~MD_RAID_DEV_ISOPEN; in raid_set_state()
316 un->un_column[col].un_devflags & MD_RAID_DEV_ISOPEN) { in raid_set_state()
322 un->un_column[col].un_devflags &= ~MD_RAID_DEV_ISOPEN; in raid_set_state()
396 if (column->un_devflags & MD_RAID_COPY_RESYNC) { in erred_check_line()
885 preserve_flags = column->un_devflags & in raid_build_incore()
887 column->un_devflags &= in raid_build_incore()
981 column->un_devflags = preserve_flags; in raid_build_incore()
996 (column->un_devflags & MD_RAID_COPY_RESYNC)) in raid_build_incore()
2158 cs->cs_dflags = un->un_column[cs->cs_dcolumn].un_devflags; in raid_iosetup()
[all …]
/titanic_41/usr/src/uts/common/sys/lvm/
H A Dmd_convert.h226 small_rcol->un_devflags = big_rcol->un_devflags; \
246 big_rcol->un_devflags = small_rcol->un_devflags; \
H A Dmd_raid.h77 (((un)->un_column[(column)].un_devflags & MD_RAID_WRITE_ALT)))
188 rcs_flags_t un_devflags; member
216 rcs_flags_t un_devflags; member
/titanic_41/usr/src/lib/lvm/libmeta/common/
H A Dmeta_raid.c212 mdrcp->flags = rcp->un_devflags; in meta_get_raid_common()