PARENT_ENTRY
while ((parent = PARENT_ENTRY(map, entry)) != NULL) {
prev_parent = PARENT_ENTRY(map, entry->prev);
next_parent = PARENT_ENTRY(map, entry->next);
&& prev_parent != PARENT_ENTRY(map, entry->prev))
&& next_parent != PARENT_ENTRY(map, entry->next))
PARENT_ENTRY(map, tmp));