Home
last modified time | relevance | path

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

/optee_os/lib/libutils/isoc/
H A Dbget_malloc.c134 struct malloc_ctx { struct
148 static uint32_t malloc_lock(struct malloc_ctx *ctx) in malloc_lock() argument
153 static void malloc_unlock(struct malloc_ctx *ctx, uint32_t exceptions) in malloc_unlock()
160 static uint32_t malloc_lock(struct malloc_ctx *ctx __unused) in malloc_lock()
165 static void malloc_unlock(struct malloc_ctx *ctx __unused, in malloc_unlock()
172 #define DEFINE_CTX(name) struct malloc_ctx name = \
177 static DEFINE_CTX(malloc_ctx);
285 struct malloc_ctx *ctx) in raw_malloc_return_hook()
303 static void gen_malloc_reset_stats(struct malloc_ctx *ctx) in gen_malloc_reset_stats()
316 gen_malloc_reset_stats(&malloc_ctx); in malloc_reset_stats()
[all …]
/optee_os/lib/libutils/isoc/include/
H A Dmalloc.h143 struct malloc_ctx;
145 size_t pl_size, struct malloc_ctx *ctx);
147 struct malloc_ctx *ctx);
150 size_t pl_size, struct malloc_ctx *ctx);
151 void raw_free(void *ptr, struct malloc_ctx *ctx, bool wipe);
153 size_t pl_size, struct malloc_ctx *ctx);
155 size_t pl_size, struct malloc_ctx *ctx);
157 void raw_malloc_init_ctx(struct malloc_ctx *ctx);
158 void raw_malloc_add_pool(struct malloc_ctx *ctx, void *buf, size_t len);
159 bool raw_malloc_buffer_overlaps_heap(struct malloc_ctx *ctx,
[all …]
/optee_os/lib/libutils/ext/
H A Dmempool.c59 struct malloc_ctx *mctx;
86 pool->mctx = (struct malloc_ctx *)v; in init_mpool()
/optee_os/lib/libutee/include/
H A Duser_ta_header.h175 extern struct malloc_ctx *__ta_no_share_malloc_ctx;
/optee_os/lib/libutee/
H A Dtee_api.c30 struct malloc_ctx *__ta_no_share_malloc_ctx __weak;
285 struct malloc_ctx *ctx = __ta_no_share_malloc_ctx; in buf_overlaps_no_share_heap()
H A Duser_ta_entry.c39 struct malloc_ctx *__ta_no_share_malloc_ctx;