Lines Matching refs:ent
25 #define LIST_ADD(begin, ent) \
28 ent->next = begin; \
29 ent->next->prev = ent; \
31 ent->next = NULL; \
32 ent->prev = NULL; \
33 begin = ent; \
36 #define LIST_DEL(begin, ent) \
38 if (ent->prev) \
39 ent->prev->next = ent->next; \
41 begin = ent->next; \
42 if (ent->next) \
43 ent->next->prev = ent->prev; \
44 ent->prev = NULL; \
45 ent->next = NULL; \