Searched refs:INDEX_NEXT (Results 1 – 2 of 2) sorted by relevance
43 #define INDEX_NEXT(m) (((m) == INDEX_MAX)? 2 : ((m) + 2) & INDEX_MAX) macro227 ap->ua_index = (pp->uap_last_index = INDEX_NEXT(pp->uap_last_index)); in uu_avl_create()430 ap->ua_index = INDEX_NEXT(ap->ua_index); in uu_avl_remove()520 ap->ua_index = INDEX_NEXT(ap->ua_index); in uu_avl_insert()
51 #define INDEX_NEXT(m) (((m) == INDEX_MAX)? 1 : ((m) + 1) & INDEX_MAX) macro211 lp->ul_index = (pp->ulp_last_index = INDEX_NEXT(pp->ulp_last_index)); in uu_list_create()282 lp->ul_index = INDEX_NEXT(lp->ul_index); in list_insert()555 lp->ul_index = INDEX_NEXT(lp->ul_index); in uu_list_remove()