Lines Matching refs:list
160 static void free_slablist(struct slab_info *list) in free_slablist() argument
162 while (list) { in free_slablist()
163 struct slab_info *temp = list->next; in free_slablist()
164 free(list); in free_slablist()
165 list = temp; in free_slablist()
171 struct slab_info list; in merge_objs() local
172 struct slab_info *p = &list; in merge_objs()
187 return list.next; in merge_objs()
193 static struct slab_info *slabsort(struct slab_info *list) in slabsort() argument
197 if (!list || !list->next) in slabsort()
198 return list; in slabsort()
200 a = list; in slabsort()
201 b = list->next; in slabsort()
204 list = list->next; in slabsort()
208 b = list->next; in slabsort()
209 list->next = NULL; in slabsort()
272 struct slab_info *list, *p; in main() local
308 list = get_slabinfo (&stats); in main()
309 if (!list) in main()
337 p = list = slabsort(list); in main()
348 free_slablist(list); in main()