Lines Matching refs:list
43 struct list { struct
53 extern void list_init(struct list *list); argument
54 extern void list_init_etc(struct list *list, int32 offset);
55 extern void list_add_link_to_head(struct list *list, void *_link);
56 extern void list_add_link_to_tail(struct list *list, void *_link);
58 extern void *list_get_next_item(struct list *list, void *item);
59 extern void *list_get_prev_item(struct list *list, void *item);
60 extern void *list_get_last_item(struct list *list);
61 extern void list_add_item(struct list *list, void *item);
62 extern void list_remove_item(struct list *list, void *item);
63 extern void list_insert_item_before(struct list *list, void *before, void *item);
64 extern void *list_remove_head_item(struct list *list);
65 extern void *list_remove_tail_item(struct list *list);
66 extern void list_move_to_list(struct list *sourceList, struct list *targetList);
69 list_is_empty(struct list *list) in list_is_empty() argument
71 return list->link.next == (list_link *)list; in list_is_empty()
75 list_get_first_item(struct list *list) in list_get_first_item() argument
77 return list_get_next_item(list, NULL); in list_get_first_item()