Lines Matching refs:item
32 * struct xge_list_t - List item.
33 * @prev: Previous list item.
34 * @next: Next list item.
72 * xge_list_first_get - Return the first item from the linked list.
75 * Returns the next item from the header.
76 * Returns NULL if the next item is header itself
92 * xge_list_remove - Remove the specified item from the linked list.
93 * item: element of the list
95 * Remove item from a list.
98 static inline void xge_list_remove(xge_list_t *item)
100 xge_assert(item != NULL);
101 xge_assert(item->next != NULL);
102 xge_assert(item->prev != NULL);
104 item->next->prev = item->prev;
105 item->prev->next = item->next;
107 item->next = item->prev = NULL;
112 * xge_list_insert - Insert a new item after the specified item.
117 * Insert new item (new_item) after given item (prev_item).
134 * xge_list_insert_before - Insert a new item before the specified item.
138 * Insert new item (new_item) before given item (next_item).