Lines Matching full:qlink
55 static void qlist_put(struct qlist_head *q, struct qlist_node *qlink, in qlist_put() argument
59 q->head = qlink; in qlist_put()
61 q->tail->next = qlink; in qlist_put()
62 q->tail = qlink; in qlist_put()
63 qlink->next = NULL; in qlist_put()
129 static struct kmem_cache *qlink_to_cache(struct qlist_node *qlink) in qlink_to_cache() argument
131 return virt_to_slab(qlink)->slab_cache; in qlink_to_cache()
134 static void *qlink_to_object(struct qlist_node *qlink, struct kmem_cache *cache) in qlink_to_object() argument
137 container_of(qlink, struct kasan_free_meta, in qlink_to_object()
143 static void qlink_free(struct qlist_node *qlink, struct kmem_cache *cache) in qlink_free() argument
145 void *object = qlink_to_object(qlink, cache); in qlink_free()
168 struct qlist_node *qlink; in qlist_free_all() local
173 qlink = q->head; in qlist_free_all()
174 while (qlink) { in qlist_free_all()
176 cache ? cache : qlink_to_cache(qlink); in qlist_free_all()
177 struct qlist_node *next = qlink->next; in qlist_free_all()
179 qlink_free(qlink, obj_cache); in qlist_free_all()
180 qlink = next; in qlist_free_all()