Searched refs:MAF_ZERO_INIT (Results 1 – 7 of 7) sorted by relevance
| /optee_os/lib/libutils/isoc/include/ |
| H A D | malloc_flags.h | 26 #define MAF_ZERO_INIT 0x01 /* Zero initialize the allocated buffer */ macro
|
| H A D | malloc.h | 44 #define calloc(nmemb, size) __mdbg_alloc(MAF_ZERO_INIT, NULL, 1, (nmemb), \ 96 #define nex_calloc(nmemb, size) __mdbg_alloc(MAF_NEX | MAF_ZERO_INIT, NULL, 1, \
|
| /optee_os/lib/libutee/ |
| H A D | tcb.c | 114 _tcb = malloc_flags(MAF_ZERO_INIT, _tcb, 1, TCB_SIZE(total_size)); in __utee_tcb_init() 122 _tcb->dtv = malloc_flags(MAF_ZERO_INIT, _tcb->dtv, 1, size); in __utee_tcb_init()
|
| H A D | tee_api.c | 774 return raw_malloc_flags(MAF_ZERO_INIT, p, 0, 0, in TEE_Realloc() 779 return malloc_flags(MAF_ZERO_INIT, p, 1, newSize); in TEE_Realloc()
|
| /optee_os/core/mm/ |
| H A D | page_alloc.c | 88 if (flags & MAF_ZERO_INIT) in virt_page_alloc()
|
| H A D | tee_mm.c | 37 pool->entry = malloc_flags(pool->flags | MAF_ZERO_INIT, NULL, in tee_mm_init()
|
| /optee_os/lib/libutils/isoc/ |
| H A D | bget_malloc.c | 451 if ((flags & MAF_ZERO_INIT) && !ptr) in raw_malloc_flags() 463 if (flags & MAF_ZERO_INIT) in raw_malloc_flags() 501 return raw_malloc_flags(MAF_ZERO_INIT, NULL, hdr_size, ftr_size, 1, in raw_calloc() 726 return mem_alloc(MAF_ZERO_INIT, NULL, 1, nmemb, size, __FILE__, in calloc() 931 return mem_alloc(MAF_NEX | MAF_ZERO_INIT, NULL, 1, nmemb, size, in nex_calloc()
|