Lines Matching refs:qlink
53 static void qlist_put(struct qlist_head *q, struct qlist_node *qlink, in qlist_put() argument
57 q->head = qlink; in qlist_put()
59 q->tail->next = qlink; in qlist_put()
60 q->tail = qlink; in qlist_put()
61 qlink->next = NULL; in qlist_put()
127 static struct kmem_cache *qlink_to_cache(struct qlist_node *qlink) in qlink_to_cache() argument
129 return virt_to_slab(qlink)->slab_cache; in qlink_to_cache()
132 static void *qlink_to_object(struct qlist_node *qlink, struct kmem_cache *cache) in qlink_to_object() argument
135 container_of(qlink, struct kasan_free_meta, in qlink_to_object()
141 static void qlink_free(struct qlist_node *qlink, struct kmem_cache *cache) in qlink_free() argument
143 void *object = qlink_to_object(qlink, cache); in qlink_free()
174 struct qlist_node *qlink; in qlist_free_all() local
179 qlink = q->head; in qlist_free_all()
180 while (qlink) { in qlist_free_all()
182 cache ? cache : qlink_to_cache(qlink); in qlist_free_all()
183 struct qlist_node *next = qlink->next; in qlist_free_all()
185 qlink_free(qlink, obj_cache); in qlist_free_all()
186 qlink = next; in qlist_free_all()