Home
last modified time | relevance | path

Searched refs:malloc_ctx (Results 1 – 3 of 3) sorted by relevance

/optee_os-3.20.0/lib/libutils/isoc/
A Dbget_malloc.c133 struct malloc_ctx { struct
176 static DEFINE_CTX(malloc_ctx);
276 struct malloc_ctx *ctx) in raw_malloc_return_hook()
307 gen_malloc_reset_stats(&malloc_ctx); in malloc_reset_stats()
328 struct malloc_ctx *ctx ) in raw_malloc_return_hook()
445 struct malloc_ctx *ctx) in raw_malloc()
616 gen_mdbg_free(&malloc_ctx, ptr, wipe); in free_helper()
617 malloc_unlock(&malloc_ctx, exceptions); in free_helper()
756 gen_mdbg_check(&malloc_ctx, bufdump); in mdbg_check()
799 raw_free(ptr, &malloc_ctx, wipe); in free_helper()
[all …]
/optee_os-3.20.0/lib/libutils/isoc/include/
A Dmalloc.h159 struct malloc_ctx;
161 size_t pl_size, struct malloc_ctx *ctx);
163 struct malloc_ctx *ctx);
164 void raw_free(void *ptr, struct malloc_ctx *ctx, bool wipe);
166 size_t pl_size, struct malloc_ctx *ctx);
168 size_t pl_size, struct malloc_ctx *ctx);
170 void raw_malloc_init_ctx(struct malloc_ctx *ctx);
171 void raw_malloc_add_pool(struct malloc_ctx *ctx, void *buf, size_t len);
172 bool raw_malloc_buffer_overlaps_heap(struct malloc_ctx *ctx,
174 bool raw_malloc_buffer_is_within_alloced(struct malloc_ctx *ctx,
[all …]
/optee_os-3.20.0/lib/libutils/ext/
A Dmempool.c58 struct malloc_ctx *mctx;
85 pool->mctx = (struct malloc_ctx *)v; in init_mpool()

Completed in 7 milliseconds