Home
last modified time | relevance | path

Searched refs:un_totalcolumncnt (Results 1 – 10 of 10) sorted by relevance

/titanic_41/usr/src/uts/common/io/lvm/raid/
H A Draid_ioctl.c262 for (i = 0; i < un->un_totalcolumncnt; i++) { in raid_check_pw()
496 for (ix = 0; ix < un->un_totalcolumncnt; ix++) { in raid_init_columns()
610 un->un_totalcolumncnt) in raid_init_columns()
684 for (i = 0; i < un->un_totalcolumncnt; i++) in raid_init_unit()
771 (raid_state_cnt(un, RCS_OKAY) == un->un_totalcolumncnt)) in regen_unit()
776 raid_state_cnt(un, RCS_OKAY) != un->un_totalcolumncnt) { in regen_unit()
814 for (i = 0; i < un->un_totalcolumncnt; i++) in raid_regen_unit()
853 if ((raid_state_cnt(un, RCS_OKAY) != un->un_totalcolumncnt) || in raid_regen()
865 if ((raid_state_cnt(un, RCS_OKAY) != un->un_totalcolumncnt) || in raid_regen()
957 num_recs = un->un_totalcolumncnt + 3; in raid_set()
[all …]
H A Draid_replay.c85 for (i = 0, tmp = *bufs; i < un->un_totalcolumncnt; i++, tmp++) { in raid_rply_dealloc()
95 kmem_free(*bufs, sizeof (raid_rplybuf_t) * un->un_totalcolumncnt); in raid_rply_dealloc()
126 *bufs = kmem_zalloc(sizeof (raid_rplybuf_t) * un->un_totalcolumncnt, in raid_rply_alloc()
133 for (i = 0, tmp = *bufs; i < un->un_totalcolumncnt; i++, tmp++) { in raid_rply_alloc()
640 ASSERT(col2 < un->un_totalcolumncnt); in replay_line()
662 if ((i != un->un_totalcolumncnt) && in replay_line()
663 (i != (un->un_totalcolumncnt - down))) in replay_line()
727 int totalcolumns = un->un_totalcolumncnt; in raid_replay()
734 for (j = 0; j < un->un_totalcolumncnt; j++) { in raid_replay()
811 for (j = 0; j < un->un_totalcolumncnt; j++) { in raid_replay()
H A Draid.c204 ASSERT(col < un->un_totalcolumncnt); in raid_set_state()
236 if (raid_state_cnt(un, RCS_OKAY) != un->un_totalcolumncnt) in raid_set_state()
248 for (i = 0; i < un->un_totalcolumncnt; i++) { in raid_set_state()
262 if (okaycnt == un->un_totalcolumncnt) in raid_set_state()
330 for (i = 0; i < un->un_totalcolumncnt; i++) { in raid_set_state()
423 for (i = 0; i < un->un_totalcolumncnt; i++) in raid_state_cnt()
801 for (i = 0; i < un->un_totalcolumncnt; i++) in raid_check_pw()
880 un->un_totalcolumncnt, KM_SLEEP); in raid_build_incore()
882 for (i = 0; i < un->un_totalcolumncnt; i++) { in raid_build_incore()
992 for (i = 0; i < un->un_totalcolumncnt; i++) { in raid_build_incore()
[all …]
H A Draid_hotspare.c348 for (i = 0; i < un->un_totalcolumncnt; i++) in check_4_hs()
H A Draid_resync.c513 for (i = 0; i < un->un_totalcolumncnt; i++) { in raid_resync_region()
897 for (i = 0; i < un->un_totalcolumncnt; i++) { in resync_comp()
/titanic_41/usr/src/uts/common/sys/lvm/
H A Dmd_raid.h106 rpw64->rpw_totalcolumncnt = (un)->un_totalcolumncnt; \
129 rpw32->rpw_totalcolumncnt = (un)->un_totalcolumncnt; \
270 uint_t un_totalcolumncnt; member
337 uint_t un_totalcolumncnt; member
H A Dmd_convert.h270 small_un->un_totalcolumncnt = big_un->un_totalcolumncnt; \
291 big_un->un_totalcolumncnt = small_un->un_totalcolumncnt; \
/titanic_41/usr/src/lib/lvm/libmeta/common/
H A Dmeta_raid.c126 ncol = mr->un_totalcolumncnt; in meta_get_raid_common()
1263 mr->un_totalcolumncnt++; in attach_raid_col()
1354 old_rusize += old_mr->un_totalcolumncnt * sizeof (old_mr->un_column[0]); in meta_raid_attach()
1356 new_rusize += (old_mr->un_totalcolumncnt + concat_cnt) in meta_raid_attach()
1370 mdc = &new_mr->un_column[new_mr->un_totalcolumncnt]; in meta_raid_attach()
1376 assert(new_mr->un_totalcolumncnt in meta_raid_attach()
1377 == (old_mr->un_totalcolumncnt + concat_cnt)); in meta_raid_attach()
2053 for (col = 0; col < mr->un_totalcolumncnt; col++) in meta_raid_state_cnt()
2072 for (col = 0; col < mr->un_totalcolumncnt; col++) { in meta_raid_valid()
2111 mr->un_totalcolumncnt) || in meta_raid_valid()
[all …]
H A Dmeta_statconcise.c683 for (i = 0, mc = &mr->un_column[0]; i < mr->un_totalcolumncnt; in process_raid()
1356 ncol = small_un->un_totalcolumncnt; in extract_mduser_data()
1369 ncol = big_un->un_totalcolumncnt; in extract_mduser_data()
/titanic_41/usr/src/common/lvm/
H A Dmd_convert.c403 ncol = small_un->un_totalcolumncnt; in raid_convert()
415 ncol = big_un->un_totalcolumncnt; in raid_convert()