Lines Matching refs:list
19 typedef queue list; typedef
62 static __inline__ void init_list(list **lhead) in init_list()
67 static __inline__ void add_to_list(list **lhead,list *member) in add_to_list()
73 static __inline__ list *remove_listhead(list **lhead) in remove_listhead()
75 list *oldhead=*lhead; in remove_listhead()
82 static __inline__ void add_to_list_tail(list **lhead,list *member) in add_to_list_tail()
84 list *curr,*prev; in add_to_list_tail()
95 static __inline__ void add_to_list_tail_null(list **lhead,list *member) in add_to_list_tail_null()
102 static __inline__ int is_in_list(list *lhead,list *member) in is_in_list()
104 list *curr; in is_in_list()
112 static __inline__ int get_prev(list *lhead,list *member,list **prev) in get_prev()
114 list *curr; in get_prev()
129 static __inline__ int remove_from_list(list **lhead,list *member) in remove_from_list()
131 list *prev; in remove_from_list()
149 if(get_prev(qhead->head,(list *)member,(list **)&prev)) in remove_from_queue()