Lines Matching refs:item
37 * struct xge_list_t - List item.
38 * @prev: Previous list item.
39 * @next: Next list item.
77 * xge_list_first_get - Return the first item from the linked list.
80 * Returns the next item from the header.
81 * Returns NULL if the next item is header itself
97 * xge_list_remove - Remove the specified item from the linked list.
98 * item: element of the list
100 * Remove item from a list.
103 static inline void xge_list_remove(xge_list_t *item)
105 xge_assert(item != NULL);
106 xge_assert(item->next != NULL);
107 xge_assert(item->prev != NULL);
109 item->next->prev = item->prev;
110 item->prev->next = item->next;
112 item->next = item->prev = NULL;
117 * xge_list_insert - Insert a new item after the specified item.
122 * Insert new item (new_item) after given item (prev_item).
139 * xge_list_insert_before - Insert a new item before the specified item.
143 * Insert new item (new_item) before given item (next_item).