Lines Matching full:used
138 /* re-use this freenode as our used node */ in mlist_fulfill()
142 /* adjust the free node and create a new used node */ in mlist_fulfill()
148 mlist_sort_insert(s->used, usednode); in mlist_fulfill()
153 * Used only if ALLOC_PARANOID is set. */
169 QTAILQ_FOREACH(node, s->used, MLIST_ENTNAME) { in mlist_check()
197 node = mlist_find_key(s->used, addr); in mlist_free()
205 /* Rip it out of the used list and re-insert back into the free list. */ in mlist_free()
206 QTAILQ_REMOVE(s->used, node, MLIST_ENTNAME); in mlist_free()
222 QTAILQ_FOREACH_SAFE(node, allocator->used, MLIST_ENTNAME, tmp) { in alloc_destroy()
249 g_free(allocator->used); in alloc_destroy()
296 s->used = g_new(MemList, 1); in alloc_init()
298 QTAILQ_INIT(s->used); in alloc_init()
324 QTAILQ_FOREACH_SAFE(node, dst->used, MLIST_ENTNAME, tmp) { in migrate_allocator()
331 tmpused = dst->used; in migrate_allocator()
335 dst->used = src->used; in migrate_allocator()
339 src->used = tmpused; in migrate_allocator()
341 QTAILQ_INIT(src->used); in migrate_allocator()