Home
last modified time | relevance | path

Searched refs:INDEX_NEXT (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libuutil/common/
H A Duu_avl.c43 #define INDEX_NEXT(m) (((m) == INDEX_MAX)? 2 : ((m) + 2) & INDEX_MAX) macro
227 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()
H A Duu_list.c51 #define INDEX_NEXT(m) (((m) == INDEX_MAX)? 1 : ((m) + 1) & INDEX_MAX) macro
211 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()