Lines Matching refs:list
71 list_append (struct list_head *list, struct list_head *newp) in list_append() argument
73 newp->prev = list->prev; in list_append()
74 newp->next = list; in list_append()
75 list->prev->next = newp; in list_append()
76 list->prev = newp; in list_append()
80 list_insbefore (struct list_head *list, struct list_head *newp) in list_insbefore() argument
82 list_append (list, newp); in list_insbefore()
91 list_unlink (struct list_head *list) in list_unlink() argument
93 struct list_head *lnext = list->next, *lprev = list->prev; in list_unlink()
100 list_first (struct list_head *list) in list_first() argument
102 return list->next; in list_first()
106 list_null (struct list_head *list) in list_null() argument
108 return list; in list_null()
112 list_next (struct list_head *list) in list_next() argument
114 return list->next; in list_next()
118 list_isempty (struct list_head *list) in list_isempty() argument
120 return list->next == list; in list_isempty()
126 thread_links2ptr (struct list_head *list) in thread_links2ptr() argument
128 return (struct thread_node *) ((char *) list in thread_links2ptr()
133 timer_links2ptr (struct list_head *list) in timer_links2ptr() argument
135 return (struct timer_node *) ((char *) list in timer_links2ptr()