Lines Matching refs:leaks
2507 putleakinfo(struct leaktree *leaks, void *f, size_t sz, int cnt) in putleakinfo() argument
2517 p = RBT_FIND(leaktree, leaks, &key); in putleakinfo()
2532 RBT_INSERT(leaktree, leaks, p); in putleakinfo()
2586 dump_leaks(struct leaktree *leaks) in dump_leaks() argument
2593 RBT_FOREACH(p, leaktree, leaks) in dump_leaks()
2598 dump_chunk(struct leaktree* leaks, struct chunk_info *p, void **f, in dump_chunk() argument
2610 putleakinfo(leaks, f[i], sz, 1); in dump_chunk()
2621 dump_free_chunk_info(struct dir_info *d, struct leaktree *leaks) in dump_free_chunk_info() argument
2642 dump_chunk(leaks, p, NULL, 1); in dump_free_chunk_info()
2676 malloc_dump1(int poolno, struct dir_info *d, struct leaktree *leaks) in malloc_dump1() argument
2692 dump_free_chunk_info(d, leaks); in malloc_dump1()
2707 putleakinfo(leaks, d->r[i].f, realsize, 1); in malloc_dump1()
2712 dump_chunk(leaks, in malloc_dump1()
2722 malloc_dump0(int poolno, struct dir_info *pool, struct leaktree *leaks) in malloc_dump0() argument
2740 malloc_dump1(poolno, pool, leaks); in malloc_dump0()
2750 struct leaktree leaks = RBT_INITIALIZER(&leaks); in malloc_dump() local
2753 malloc_dump0(i, mopts.malloc_pool[i], &leaks); in malloc_dump()
2755 dump_leaks(&leaks); in malloc_dump()