Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/lib/libuutil/
H A Duu_avl.c45 #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.c50 #define INDEX_NEXT(m) (((m) == INDEX_MAX)? 1 : ((m) + 1) & INDEX_MAX) macro
208 lp->ul_index = (pp->ulp_last_index = INDEX_NEXT(pp->ulp_last_index)); in uu_list_create()
279 lp->ul_index = INDEX_NEXT(lp->ul_index); in list_insert()
556 lp->ul_index = INDEX_NEXT(lp->ul_index); in uu_list_remove()