Searched refs:elem (Results 1 – 7 of 7) sorted by relevance
44 obj->elem.next = obj->elem.prev = &(obj->elem); in QueueP_init()52 return (obj->elem.next == &(obj->elem)); in QueueP_empty()60 QueueP_Elem *elem; in QueueP_get() local65 elem = obj->elem.next; in QueueP_get()67 obj->elem.next = elem->next; in QueueP_get()68 elem->next->prev = &(obj->elem); in QueueP_get()72 return ((uintptr_t)elem); in QueueP_get()81 QueueP_Elem *elem; in QueueP_getTail() local86 elem = obj->elem.prev; in QueueP_getTail()88 obj->elem.prev = elem->prev; in QueueP_getTail()[all …]
42 QueueP_Elem elem; member52 void QueueP_put(QueueP_Obj *obj, QueueP_Elem *elem);
34 QueueP_Elem elem; member134 QueueP_init((QueueP_Obj *)&swi->elem); in SwiP_construct()156 QueueP_remove(&swi->elem); in SwiP_destruct()264 (QueueP_Elem *)&swi->elem); in SwiP_post()
63 List_Elem *elem; in List_get() local68 elem = list->head; in List_get()71 if (elem != NULL) { in List_get()72 list->head = elem->next; in List_get()73 if (elem->next != NULL) { in List_get()74 elem->next->prev = NULL; in List_get()83 return (elem); in List_get()113 void List_put(List_List *list, List_Elem *elem) in List_put() argument119 elem->next = NULL; in List_put()120 elem->prev = list->tail; in List_put()[all …]
203 static inline List_Elem *List_next(List_Elem *elem) in List_next() argument205 return (elem->next); in List_next()218 static inline List_Elem *List_prev(List_Elem *elem) in List_prev() argument220 return (elem->prev); in List_prev()230 extern void List_put(List_List *list, List_Elem *elem);239 extern void List_putHead(List_List *list, List_Elem *elem);248 extern void List_remove(List_List *list, List_Elem *elem);
1281 List_Elem *elem; in notify() local1286 elem = List_head(&PowerCC26X2_module.notifyList); in notify()1290 if (((Power_NotifyObj *)elem)->eventTypes & eventType) { in notify()1292 notifyFxn = ((Power_NotifyObj *)elem)->notifyFxn; in notify()1293 clientArg = ((Power_NotifyObj *)elem)->clientArg; in notify()1306 elem = List_next(elem); in notify()1308 } while (elem != NULL); in notify()
1155 List_Elem *elem; in notify() local1160 elem = List_head(&PowerCC32XX_module.notifyList); in notify()1164 if (((Power_NotifyObj *)elem)->eventTypes & eventType) { in notify()1166 notifyFxn = ((Power_NotifyObj *)elem)->notifyFxn; in notify()1167 clientArg = ((Power_NotifyObj *)elem)->clientArg; in notify()1180 elem = List_next(elem); in notify()1182 } while (elem != NULL); in notify()