Lines Matching defs:qlink
63 static void qlist_put(struct qlist_head *q, struct qlist_node *qlink,
67 q->head = qlink;
69 q->tail->next = qlink;
70 q->tail = qlink;
71 qlink->next = NULL;
128 static struct kmem_cache *qlink_to_cache(struct qlist_node *qlink)
130 return virt_to_head_page(qlink)->slab_cache;
133 static void *qlink_to_object(struct qlist_node *qlink, struct kmem_cache *cache)
136 container_of(qlink, struct kasan_free_meta,
142 static void qlink_free(struct qlist_node *qlink, struct kmem_cache *cache)
144 void *object = qlink_to_object(qlink, cache);
159 struct qlist_node *qlink;
164 qlink = q->head;
165 while (qlink) {
167 cache ? cache : qlink_to_cache(qlink);
168 struct qlist_node *next = qlink->next;
170 qlink_free(qlink, obj_cache);
171 qlink = next;