Lines Matching refs:item
39 * struct vxge_list_t - List item.
40 * @prev: Previous list item.
41 * @next: Next list item.
81 * vxge_list_first_get - Return the first item from the linked list.
84 * Returns the next item from the header.
85 * Returns NULL if the next item is header itself
101 * vxge_list_remove - Remove the specified item from the linked list.
102 * @item: element of the list
104 * Remove item from a list.
107 static inline void vxge_list_remove(vxge_list_t *item)
109 vxge_assert(item != NULL);
110 vxge_assert(item->next != NULL);
111 vxge_assert(item->prev != NULL);
113 item->next->prev = item->prev;
114 item->prev->next = item->next;
116 item->next = item->prev = NULL;
121 * vxge_list_insert - Insert a new item after the specified item.
126 * Insert new item (new_item) after given item (prev_item).
143 * vxge_list_insert_before - Insert a new item before the specified item.
147 * Insert new item (new_item) before given item (next_item).