Home
last modified time | relevance | path

Searched refs:SKIPLIST_OVERFLOW (Results 1 – 4 of 4) sorted by relevance

/dports/net/frr7-pythontools/frr-frr-7.5.1/lib/
H A Dtypesafe.c164 if (level < SKIPLIST_OVERFLOW) in sl_level_get()
169 uintptr_t ptrval = (uintptr_t)item->next[SKIPLIST_OVERFLOW]; in sl_level_get()
172 return oflow->next[level - SKIPLIST_OVERFLOW]; in sl_level_get()
178 if (level < SKIPLIST_OVERFLOW) in sl_level_set()
183 uintptr_t ptrval = (uintptr_t)item->next[SKIPLIST_OVERFLOW]; in sl_level_set()
186 oflow->next[level - SKIPLIST_OVERFLOW] = value; in sl_level_set()
242 * (newlevel - SKIPLIST_OVERFLOW)); in typesafe_skiplist_add()
243 item->next[SKIPLIST_OVERFLOW] = (struct sskip_item *) in typesafe_skiplist_add()
384 if ((uintptr_t)item->next[SKIPLIST_OVERFLOW] & 1) { in typesafe_skiplist_del()
385 uintptr_t ptrval = (uintptr_t)item->next[SKIPLIST_OVERFLOW]; in typesafe_skiplist_del()
[all …]
H A Dtypesafe.h746 #define SKIPLIST_OVERFLOW (SKIPLIST_EMBED - 1) macro
753 struct sskip_item *next[SKIPLIST_MAXDEPTH - SKIPLIST_OVERFLOW];
758 struct sskip_item *overflow[SKIPLIST_MAXDEPTH - SKIPLIST_OVERFLOW];
782 h->sh.hitem.next[SKIPLIST_OVERFLOW] = (struct sskip_item *) \
/dports/net/frr7/frr-frr-7.5.1/lib/
H A Dtypesafe.c164 if (level < SKIPLIST_OVERFLOW) in sl_level_get()
169 uintptr_t ptrval = (uintptr_t)item->next[SKIPLIST_OVERFLOW]; in sl_level_get()
172 return oflow->next[level - SKIPLIST_OVERFLOW]; in sl_level_get()
178 if (level < SKIPLIST_OVERFLOW) in sl_level_set()
183 uintptr_t ptrval = (uintptr_t)item->next[SKIPLIST_OVERFLOW]; in sl_level_set()
186 oflow->next[level - SKIPLIST_OVERFLOW] = value; in sl_level_set()
242 * (newlevel - SKIPLIST_OVERFLOW)); in typesafe_skiplist_add()
243 item->next[SKIPLIST_OVERFLOW] = (struct sskip_item *) in typesafe_skiplist_add()
384 if ((uintptr_t)item->next[SKIPLIST_OVERFLOW] & 1) { in typesafe_skiplist_del()
385 uintptr_t ptrval = (uintptr_t)item->next[SKIPLIST_OVERFLOW]; in typesafe_skiplist_del()
[all …]
H A Dtypesafe.h746 #define SKIPLIST_OVERFLOW (SKIPLIST_EMBED - 1) macro
753 struct sskip_item *next[SKIPLIST_MAXDEPTH - SKIPLIST_OVERFLOW];
758 struct sskip_item *overflow[SKIPLIST_MAXDEPTH - SKIPLIST_OVERFLOW];
782 h->sh.hitem.next[SKIPLIST_OVERFLOW] = (struct sskip_item *) \