Lines Matching refs:primary
365 uint32_t primary = GET_PRIMARY(m_id); in update_matrix() local
368 if (primary >= matrix->x) { in update_matrix()
374 if (primary >= matrix->x * 2) { in update_matrix()
375 new_x = primary + 1; in update_matrix()
442 if (TEST_MEMBERSHIP(bmp, primary, second) == 0) { in update_matrix()
443 SET_MEMBERSHIP(bmp, primary, second); in update_matrix()
449 CLEAR_MEMBERSHIP(bmp, primary, second); in update_matrix()
455 if (TEST_MEMBERSHIP(bmp, primary, second) != 0) { in update_matrix()
456 CLEAR_MEMBERSHIP(bmp, primary, second); in update_matrix()
465 primary, second) != 0) { in update_matrix()
474 SET_MEMBERSHIP(bmp, primary, second); in update_matrix()
530 uint32_t primary; in clear_matrix() local
570 primary = GET_PRIMARY(i); in clear_matrix()
572 SET_MEMBERSHIP(bmp, primary, second); in clear_matrix()
704 uint32_t primary; in is_dd_active() local
715 primary = GET_PRIMARY(dd_id); in is_dd_active()
718 if (primary < dds_matrix->x) { in is_dd_active()
724 TEST_MEMBERSHIP(bmp, primary, second) != 0) { in is_dd_active()
750 uint32_t primary; in get_scope() local
782 primary = GET_PRIMARY(uid); in get_scope()
785 if (primary < dd_matrix->x) { in get_scope()
791 TEST_MEMBERSHIP(bmp, primary, second) != 0) { in get_scope()
821 primary ++; in get_scope()
823 *p = (bmp_t *)calloc(primary, sizeof (bmp_t)); in get_scope()
825 *n = primary; in get_scope()
833 (*p)[primary - 1] |= (1 << second); in get_scope()
970 uint32_t primary; in dd_matrix_init() local
1018 primary = GET_PRIMARY(ISNS_DEFAULT_DD_ID); in dd_matrix_init()
1020 SET_MEMBERSHIP(bmp, primary, second); in dd_matrix_init()
1033 uint32_t primary = GET_PRIMARY(m_id); in get_ds_id() local
1039 if (matrix->x > primary) { in get_ds_id()
1044 TEST_MEMBERSHIP(bmp, primary, second) != 0) { in get_ds_id()
1665 uint32_t primary = GET_PRIMARY(m_id); in remove_member_wildchar() local
1670 if (primary >= matrix->x) { in remove_member_wildchar()
1679 TEST_MEMBERSHIP(bmp, primary, second) != 0) { in remove_member_wildchar()
1681 CLEAR_MEMBERSHIP(bmp, primary, second); in remove_member_wildchar()