Searched refs:malloc_ctx (Results 1 – 6 of 6) sorted by relevance
| /optee_os/lib/libutils/isoc/ |
| H A D | bget_malloc.c | 134 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 D | malloc.h | 143 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 D | mempool.c | 59 struct malloc_ctx *mctx; 86 pool->mctx = (struct malloc_ctx *)v; in init_mpool()
|
| /optee_os/lib/libutee/include/ |
| H A D | user_ta_header.h | 175 extern struct malloc_ctx *__ta_no_share_malloc_ctx;
|
| /optee_os/lib/libutee/ |
| H A D | tee_api.c | 30 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 D | user_ta_entry.c | 39 struct malloc_ctx *__ta_no_share_malloc_ctx;
|