Home
last modified time | relevance | path

Searched refs:UU_PTR_ENCODE (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/lib/libuutil/common/
H A Duu_avl.c100 pp->uap_null_avl.ua_next_enc = UU_PTR_ENCODE(&pp->uap_null_avl); in uu_avl_pool_create()
101 pp->uap_null_avl.ua_prev_enc = UU_PTR_ENCODE(&pp->uap_null_avl); in uu_avl_pool_create()
118 UU_PTR_ENCODE(&pp->uap_null_avl) || in uu_avl_pool_destroy()
120 UU_PTR_ENCODE(&pp->uap_null_avl)) { in uu_avl_pool_destroy()
226 ap->ua_parent_enc = UU_PTR_ENCODE(parent); in uu_avl_create()
239 ap->ua_next_enc = UU_PTR_ENCODE(next); in uu_avl_create()
240 ap->ua_prev_enc = UU_PTR_ENCODE(prev); in uu_avl_create()
241 next->ua_prev_enc = UU_PTR_ENCODE(ap); in uu_avl_create()
242 prev->ua_next_enc = UU_PTR_ENCODE(ap); in uu_avl_create()
268 ap->ua_prev_enc = UU_PTR_ENCODE(NULL); in uu_avl_destroy()
[all …]
H A Dlibuutil_impl.h63 #define UU_PTR_ENCODE(ptr) BSWAP_64((uintptr_t)(void *)(ptr)) macro
65 #define UU_PTR_ENCODE(ptr) BSWAP_32((uintptr_t)(void *)(ptr)) macro
68 #define UU_PTR_DECODE(ptr) ((void *)UU_PTR_ENCODE(ptr))
H A Duu_list.c97 pp->ulp_null_list.ul_next_enc = UU_PTR_ENCODE(&pp->ulp_null_list); in uu_list_pool_create()
98 pp->ulp_null_list.ul_prev_enc = UU_PTR_ENCODE(&pp->ulp_null_list); in uu_list_pool_create()
115 UU_PTR_ENCODE(&pp->ulp_null_list) || in uu_list_pool_destroy()
117 UU_PTR_ENCODE(&pp->ulp_null_list)) { in uu_list_pool_destroy()
206 lp->ul_parent_enc = UU_PTR_ENCODE(parent); in uu_list_create()
222 lp->ul_next_enc = UU_PTR_ENCODE(next); in uu_list_create()
223 lp->ul_prev_enc = UU_PTR_ENCODE(prev); in uu_list_create()
224 next->ul_prev_enc = UU_PTR_ENCODE(lp); in uu_list_create()
225 prev->ul_next_enc = UU_PTR_ENCODE(lp); in uu_list_create()
257 lp->ul_prev_enc = UU_PTR_ENCODE(NULL); in uu_list_destroy()
[all …]