Lines Matching refs:item
106 void XMC_LIST_Add(XMC_LIST_t *list, void *item) in XMC_LIST_Add() argument
110 ((struct list *)item)->next = NULL; in XMC_LIST_Add()
115 *list = item; in XMC_LIST_Add()
119 tail->next = (struct list *)item; in XMC_LIST_Add()
123 void XMC_LIST_Remove(XMC_LIST_t *list, void *item) in XMC_LIST_Remove() argument
132 if(right == item) in XMC_LIST_Remove()
182 void XMC_PRIOARRAY_Add(XMC_PRIOARRAY_t *prioarray, int32_t item, int32_t priority) in XMC_PRIOARRAY_Add() argument
187 XMC_ASSERT("XMC_PRIOARRAY_Add: item out of range", (item >= 0) && (item < prioarray->size)); in XMC_PRIOARRAY_Add()
197 prioarray->items[item].next = next; in XMC_PRIOARRAY_Add()
198 prioarray->items[item].previous = previous; in XMC_PRIOARRAY_Add()
199 prioarray->items[item].priority = priority; in XMC_PRIOARRAY_Add()
201 prioarray->items[previous].next = item; in XMC_PRIOARRAY_Add()
202 prioarray->items[next].previous = item; in XMC_PRIOARRAY_Add()
205 void XMC_PRIOARRAY_Remove(XMC_PRIOARRAY_t *prioarray, int32_t item) in XMC_PRIOARRAY_Remove() argument
210 XMC_ASSERT("XMC_PRIOARRAY_Add: item out of range", (item >= 0) && (item < prioarray->size)); in XMC_PRIOARRAY_Remove()
212 next = prioarray->items[item].next; in XMC_PRIOARRAY_Remove()
213 previous = prioarray->items[item].previous; in XMC_PRIOARRAY_Remove()