Lines Matching refs:list_head
34 int (*cmp)(void *, struct list_head *, struct list_head *);
41 struct list_head *le1, *le2;
45 le1 = *(__DECONST(struct list_head **, d1));
46 le2 = *(__DECONST(struct list_head **, d2));
54 drm_list_sort(void *priv, struct list_head *head, int (*cmp)(void *priv,
55 struct list_head *a, struct list_head *b))
58 struct list_head **ar, *le;
64 ar = malloc(sizeof(struct list_head *) * count, M_TEMP, M_WAITOK);
70 qsort_r(ar, count, sizeof(struct list_head *), &thunk, drm_le_cmp);