Searched refs:INDEX_MAX (Results 1 – 3 of 3) sorted by relevance
35 #define INDEX_MAX (6) macro38 CTASSERT(INDEX_MAX * 10 < sizeof (uint64_t) * 8);76 while (index < INDEX_MAX) { in nicenum_scale()
42 #define INDEX_MAX (sizeof (uintptr_t) - 2) macro43 #define INDEX_NEXT(m) (((m) == INDEX_MAX)? 2 : ((m) + 2) & INDEX_MAX)45 #define INDEX_DECODE(i) ((i) & ~INDEX_MAX)46 #define INDEX_ENCODE(p, n) (((n) & ~INDEX_MAX) | (p)->ua_index)47 #define INDEX_VALID(p, i) (((i) & INDEX_MAX) == (p)->ua_index)48 #define INDEX_CHECK(i) (((i) & INDEX_MAX) != 0)
50 #define INDEX_MAX (sizeof (uintptr_t) - 1) macro51 #define INDEX_NEXT(m) (((m) == INDEX_MAX)? 1 : ((m) + 1) & INDEX_MAX)53 #define INDEX_TO_NODE(i) ((uu_list_node_impl_t *)((i) & ~INDEX_MAX))54 #define NODE_TO_INDEX(p, n) (((uintptr_t)(n) & ~INDEX_MAX) | (p)->ul_index)55 #define INDEX_VALID(p, i) (((i) & INDEX_MAX) == (p)->ul_index)56 #define INDEX_CHECK(i) (((i) & INDEX_MAX) != 0)