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