Searched refs:un_nsm (Results 1 – 8 of 8) sorted by relevance
31 int un_nsm; member108 data->un_nsm, MD_MIN2UNIT(mdc_sm.un_self_id)); in print_submirror()110 data->un_nsm++; in print_submirror()111 if (data->un_nsm == data->mm_un_nsm) in print_submirror()208 mm_un_nsm = mm.un_nsm; in print_mirror()260 data.un_nsm = 0; in print_mirror()
317 small_un->un_nsm = big_un->un_nsm; in mirror_convert()345 big_un->un_nsm = small_un->un_nsm; in mirror_convert()
155 ushort_t un_nsm; /* number of submirrors */ member367 ushort_t un_nsm; /* number of submirrors */ member
600 (un->c.un_status & MD_UN_OFFLINE_SM) || (un->un_nsm < 2)) { in check_resync_regions()2988 if (un->un_nsm < 2) { in mirror_ioctl_resync()3103 if (un->un_nsm < 2) in mirror_mark_resync_region_non_owner()3245 if (un->un_nsm < 2) in mirror_mark_resync_region_owner()3669 if (un->un_nsm < 2) { in mirror_set_dirty_rr()3819 if (un->un_nsm < 2) { in mirror_set_clean_rr()
640 if (un->un_nsm == 1) { in comp_replace()950 un->un_nsm++; in mirror_attach()1061 if (un->un_nsm == 1) { in mirror_detach()1096 un->un_nsm--; in mirror_detach()1562 if (un->un_nsm < 2) { in mirror_get_resync()
1848 int nsmidx = un->un_nsm - 1; in collapse_submirrors()3241 (un->un_nsm >= 2) && in mirror_done_common()5639 for (i = 0; i < un32->un_nsm; i++) { in mirror_imp_set()5658 for (i = 0; i < un64->un_nsm; i++) { in mirror_imp_set()
158 assert(nsm == mm->un_nsm); in meta_get_mirror_common()2435 mm->un_nsm = nsm; in meta_create_mirror()
813 for (i = 0, sm = &mm->un_sm[0]; i < mm->un_nsm; i++, sm++) { in process_mirror()