Lines Matching refs:b
169 static struct slab_info *merge_objs(struct slab_info *a, struct slab_info *b) in merge_objs() argument
174 while (a && b) { in merge_objs()
175 if (sort_func(a, b)) { in merge_objs()
180 p->next = b; in merge_objs()
181 p = b; in merge_objs()
182 b = b->next; in merge_objs()
186 p->next = (a == NULL) ? b : a; in merge_objs()
195 struct slab_info *a, *b; in slabsort() local
201 b = list->next; in slabsort()
203 while (b && b->next) { in slabsort()
205 b = b->next->next; in slabsort()
208 b = list->next; in slabsort()
211 return merge_objs(slabsort(a), slabsort(b)); in slabsort()
224 static int sort_name(const struct slab_info *a, const struct slab_info *b) in sort_name() argument
226 return (strcmp(a->name, b->name) < 0 ) ? 1: 0; in sort_name()
231 (const struct slab_info *a, const struct slab_info *b) { \
232 return (a-> VAL > b-> VAL); }