/optee_os/lib/libutils/isoc/include/ |
A D | malloc.h | 33 #define malloc(size) mdbg_malloc(__FILE__, __LINE__, (size)) argument 34 #define calloc(nmemb, size) \ argument 36 #define realloc(ptr, size) \ argument 38 #define memalign(alignment, size) \ argument 104 #define nex_calloc(nmemb, size) \ argument 106 #define nex_realloc(ptr, size) \ argument 108 #define nex_memalign(alignment, size) \ argument 138 #define nex_malloc(size) malloc(size) argument 139 #define nex_calloc(nmemb, size) calloc(nmemb, size) argument 140 #define nex_realloc(ptr, size) realloc(ptr, size) argument [all …]
|
/optee_os/out/arm/export-ta_arm64/include/ |
A D | malloc.h | 33 #define malloc(size) mdbg_malloc(__FILE__, __LINE__, (size)) argument 34 #define calloc(nmemb, size) \ argument 36 #define realloc(ptr, size) \ argument 38 #define memalign(alignment, size) \ argument 104 #define nex_calloc(nmemb, size) \ argument 106 #define nex_realloc(ptr, size) \ argument 108 #define nex_memalign(alignment, size) \ argument 138 #define nex_malloc(size) malloc(size) argument 139 #define nex_calloc(nmemb, size) calloc(nmemb, size) argument 140 #define nex_realloc(ptr, size) realloc(ptr, size) argument [all …]
|
A D | confine_array_index.h | 70 static inline size_t confine_array_index(size_t index, size_t size) { in confine_array_index() 87 static inline size_t confine_array_index(size_t index, size_t size) in confine_array_index() 128 static inline size_t confine_array_index(size_t index, size_t size) { in confine_array_index()
|
/optee_os/out/arm/export-ta_arm32/include/ |
A D | malloc.h | 33 #define malloc(size) mdbg_malloc(__FILE__, __LINE__, (size)) argument 34 #define calloc(nmemb, size) \ argument 36 #define realloc(ptr, size) \ argument 38 #define memalign(alignment, size) \ argument 104 #define nex_calloc(nmemb, size) \ argument 106 #define nex_realloc(ptr, size) \ argument 108 #define nex_memalign(alignment, size) \ argument 138 #define nex_malloc(size) malloc(size) argument 139 #define nex_calloc(nmemb, size) calloc(nmemb, size) argument 140 #define nex_realloc(ptr, size) realloc(ptr, size) argument [all …]
|
A D | confine_array_index.h | 70 static inline size_t confine_array_index(size_t index, size_t size) { in confine_array_index() 87 static inline size_t confine_array_index(size_t index, size_t size) in confine_array_index() 128 static inline size_t confine_array_index(size_t index, size_t size) { in confine_array_index()
|
/optee_os/core/drivers/crypto/caam/utils/ |
A D | utils_mem.c | 39 static void *mem_alloc(size_t size, uint8_t type) in mem_alloc() 93 static enum caam_status mem_alloc_buf(struct caambuf *buf, size_t size, in mem_alloc_buf() 112 void *caam_alloc(size_t size) in caam_alloc() 117 void *caam_calloc(size_t size) in caam_calloc() 122 void *caam_calloc_align(size_t size) in caam_calloc_align() 144 enum caam_status caam_alloc_buf(struct caambuf *buf, size_t size) in caam_alloc_buf() 149 enum caam_status caam_calloc_buf(struct caambuf *buf, size_t size) in caam_calloc_buf() 154 enum caam_status caam_calloc_align_buf(struct caambuf *buf, size_t size) in caam_calloc_align_buf() 159 enum caam_status caam_alloc_align_buf(struct caambuf *buf, size_t size) in caam_alloc_align_buf() 178 bool caam_mem_is_cached_buf(void *buf, size_t size) in caam_mem_is_cached_buf()
|
/optee_os/lib/libutils/ext/include/ |
A D | confine_array_index.h | 70 static inline size_t confine_array_index(size_t index, size_t size) { in confine_array_index() 87 static inline size_t confine_array_index(size_t index, size_t size) in confine_array_index() 128 static inline size_t confine_array_index(size_t index, size_t size) { in confine_array_index()
|
/optee_os/core/drivers/imx/dcp/ |
A D | dcp_utils.c | 20 static void *dcp_alloc_memalign(size_t size) in dcp_alloc_memalign() 47 TEE_Result dcp_calloc_align_buf(struct dcp_align_buf *buf, size_t size) in dcp_calloc_align_buf() 101 void dcp_reverse(uint8_t *in, uint8_t *out, size_t size) in dcp_reverse() 109 void dcp_xor(uint8_t *a, uint8_t *b, uint8_t *out, size_t size) in dcp_xor()
|
/optee_os/core/lib/libtomcrypt/src/pk/rsa/ |
A D | rsa_make_key.c | 19 static int s_rsa_make_key(prng_state *prng, int wprng, int size, void *e, rsa_key *key) in s_rsa_make_key() 99 int rsa_make_key(prng_state *prng, int wprng, int size, long e, rsa_key *key) in rsa_make_key() 130 int rsa_make_key_ubin_e(prng_state *prng, int wprng, int size, in rsa_make_key_ubin_e() 157 int rsa_make_key_bn_e(prng_state *prng, int wprng, int size, void *e, rsa_key *key) in rsa_make_key_bn_e()
|
/optee_os/core/kernel/ |
A D | asan.c | 30 uintptr_t size; member 168 static void check_access(vaddr_t addr, size_t size) in check_access() 196 static void check_load(vaddr_t addr, size_t size) in check_load() 201 static void check_store(vaddr_t addr, size_t size) in check_store() 218 #define DEFINE_ASAN_FUNC(type, size) \ argument 241 void __asan_loadN_noabort(vaddr_t addr, size_t size) in __asan_loadN_noabort() 247 void __asan_storeN_noabort(vaddr_t addr, size_t size) in __asan_storeN_noabort() 253 void __noreturn __asan_report_load_n_noabort(vaddr_t addr, size_t size) in __asan_report_load_n_noabort() 259 void __noreturn __asan_report_store_n_noabort(vaddr_t addr, size_t size) in __asan_report_store_n_noabort() 270 void __asan_register_globals(struct asan_global *globals, size_t size) in __asan_register_globals()
|
A D | tpm.c | 27 size_t *size) in read_dt_tpm_log_info() 68 paddr_t *addr, size_t *size) in get_tpm_phys_params() 99 TEE_Result tpm_get_event_log(void *buf, size_t *size) in tpm_get_event_log()
|
/optee_os/lib/libutils/isoc/ |
A D | snprintf.c | 9 int snprintf(char *bf, size_t size, const char *fmt, ...) in snprintf() 21 int vsnprintf(char *bf, size_t size, const char *fmt, va_list ap) in vsnprintf()
|
A D | bget_malloc.c | 512 int lineno, size_t size) in gen_mdbg_malloc() 561 size_t nmemb, size_t size) in gen_mdbg_calloc() 678 size_t size) in mdbg_memalign() 695 void *malloc(size_t size) in malloc() 701 void *calloc(size_t nmemb, size_t size) in calloc() 707 void *realloc(void *ptr, size_t size) in realloc() 714 void *malloc(size_t size) in malloc() 743 size_t size) in realloc_unlocked() 748 void *realloc(void *ptr, size_t size) in realloc() 936 void *nex_malloc(size_t size) in nex_malloc() [all …]
|
A D | fwrite.c | 10 size_t fwrite(const void *ptr, size_t size, size_t nmemb, FILE *stream) in fwrite()
|
/optee_os/lib/libutils/ext/ |
A D | mempool.c | 56 size_t size; /* size of the memory pool, in bytes */ member 118 mempool_alloc_pool(void *data, size_t size, in mempool_alloc_pool() 140 void *mempool_alloc(struct mempool *pool, size_t size) in mempool_alloc() 166 void *mempool_calloc(struct mempool *pool, size_t nmemb, size_t size) in mempool_calloc()
|
/optee_os/ta/pkcs11/src/ |
A D | serializer.c | 20 void serialargs_init(struct serialargs *args, void *in, size_t size) in serialargs_init() 27 enum pkcs11_rc serialargs_get(struct serialargs *args, void *out, size_t size) in serialargs_get() 41 void **out, size_t size) in alloc_and_get() 75 void **out, size_t size) in serialargs_alloc_and_get() 81 size_t size) in serialargs_get_ptr()
|
A D | attributes.h | 206 uint32_t size = sizeof(uint32_t); in get_u32_attribute() local 239 uint32_t size = sizeof(class); in get_class() local 257 uint32_t size = sizeof(type); in get_key_type() local 293 uint32_t size = sizeof(type); in get_mechanism_type() local
|
A D | attributes.c | 32 void *data, size_t size) in add_attribute() 174 uint32_t size = 0; in get_attribute() local 196 void *data, size_t size) in set_attribute() 237 uint32_t size = sizeof(bbool); in get_bool() local 263 uint32_t size = 0; in attributes_match_reference() local 292 uint32_t size = 0; in attributes_match_add_reference() local
|
/optee_os/scripts/ |
A D | mem_usage.py | 46 def print_sect(name, addr, size, round_up=False, print_num_pages=False): argument 66 def print_pager_stat(name, size): argument
|
/optee_os/lib/libutee/arch/arm/ |
A D | tcb.c | 53 unsigned long size; member 57 #define DTV_SIZE(size) (sizeof(union dtv) + (size)) argument 91 size_t size = 0; in __utee_tcb_init() local
|
/optee_os/core/arch/arm/mm/ |
A D | tee_mm.c | 14 static void *pmalloc(tee_mm_pool_t *pool, size_t size) in pmalloc() 22 static void *pcalloc(tee_mm_pool_t *pool, size_t num_el, size_t size) in pcalloc() 38 bool tee_mm_init(tee_mm_pool_t *pool, paddr_t lo, paddr_size_t size, in tee_mm_init() 141 tee_mm_entry_t *tee_mm_alloc(tee_mm_pool_t *pool, size_t size) in tee_mm_alloc() 248 tee_mm_entry_t *tee_mm_alloc2(tee_mm_pool_t *pool, paddr_t base, size_t size) in tee_mm_alloc2()
|
/optee_os/core/arch/arm/plat-stm32mp1/ |
A D | plat_tzc400.c | 36 static bool tzc_region_is_non_secure(unsigned int i, vaddr_t base, size_t size) in tzc_region_is_non_secure() 51 static bool tzc_region_is_secure(unsigned int i, vaddr_t base, size_t size) in tzc_region_is_secure()
|
/optee_os/core/lib/libtomcrypt/src/pk/pkcs1/ |
A D | pkcs_1_i2osp.c | 32 unsigned long size; in pkcs_1_i2osp() local
|
/optee_os/core/lib/libtomcrypt/src/pk/ecc/ |
A D | ecc_sizes.c | 22 int i, size; in ecc_sizes() local
|
/optee_os/lib/libutee/ |
A D | base64.c | 11 size_t _base64_enc_len(size_t size) in _base64_enc_len() 73 bool _base64_dec(const char *data, size_t size, void *buf, size_t *blen) in _base64_dec()
|