Lines Matching refs:entry
159 #define QUEUE_STARTED_NAMED(entry, name) \ argument
160 (((entry)->m_##name##next == (entry)) && ((entry)->m_##name##prev == (entry)))
162 #define QUEUE_START_NAMED(entry, name) \ argument
164 (entry)->m_##name##next = (entry); \
165 (entry)->m_##name##prev = (entry); \
168 #define QUEUE_REMOVE_NAMED(entry, name) \ argument
170 (entry)->m_##name##prev->m_##name##next = (entry)->m_##name##next; \
171 (entry)->m_##name##next->m_##name##prev = (entry)->m_##name##prev; \
172 QUEUE_START_NAMED(entry, name); \
175 #define QUEUE_INSERT_HEAD_NAMED(head, entry, name) \ argument
177 (entry)->m_##name##prev = (head); \
178 (entry)->m_##name##next = (head)->m_##name##next; \
179 (head)->m_##name##next = (entry); \
180 (entry)->m_##name##next->m_##name##prev = (entry); \
183 #define QUEUE_INSERT_TAIL_NAMED(head, entry, name) \ argument
185 (entry)->m_##name##next = (head); \
186 (entry)->m_##name##prev = (head)->m_##name##prev; \
187 (head)->m_##name##prev = (entry); \
188 (entry)->m_##name##prev->m_##name##next = (entry); \