Lines Matching refs:malloc_free_list
144 static struct free_list malloc_free_list[NBUCKETS]; variable
158 spin_lock_init (&malloc_free_list[i].lock); in malloc_init()
159 malloc_free_list[i].head = NULL; in malloc_init()
161 malloc_free_list[i].in_use = 0; in malloc_init()
220 fl = &malloc_free_list[i]; in malloc()
284 i = fl - malloc_free_list; in free()
292 if (fl != &malloc_free_list[i]) { in free()
293 assert(fl == &malloc_free_list[i]); in free()
333 i = fl - malloc_free_list; in realloc()
341 if (fl != &malloc_free_list[i]) { in realloc()
342 assert(fl == &malloc_free_list[i]); in realloc()
384 for (i = 0, size = MIN_SIZE, fl = malloc_free_list; in print_malloc_free_list()
413 spin_lock(&malloc_free_list[i].lock); in _hurd_malloc_fork_prepare()
426 spin_unlock(&malloc_free_list[i].lock); in _hurd_malloc_fork_parent()
439 spin_unlock(&malloc_free_list[i].lock); in _hurd_malloc_fork_child()