Lines Matching refs:item
47 static inline void list_inithead(struct list_head *item) in list_inithead() argument
49 item->prev = item; in list_inithead()
50 item->next = item; in list_inithead()
53 static inline void list_add(struct list_head *item, struct list_head *list) in list_add() argument
55 item->prev = list; in list_add()
56 item->next = list->next; in list_add()
57 list->next->prev = item; in list_add()
58 list->next = item; in list_add()
61 static inline void list_addtail(struct list_head *item, struct list_head *list) in list_addtail() argument
63 item->next = list; in list_addtail()
64 item->prev = list->prev; in list_addtail()
65 list->prev->next = item; in list_addtail()
66 list->prev = item; in list_addtail()
77 static inline void list_del(struct list_head *item) in list_del() argument
79 item->prev->next = item->next; in list_del()
80 item->next->prev = item->prev; in list_del()
83 static inline void list_delinit(struct list_head *item) in list_delinit() argument
85 item->prev->next = item->next; in list_delinit()
86 item->next->prev = item->prev; in list_delinit()
87 item->next = item; in list_delinit()
88 item->prev = item; in list_delinit()