/optee_os-3.20.0/lib/libutils/isoc/include/ |
A D | malloc.h | 42 #define malloc(size) mdbg_malloc(__FILE__, __LINE__, (size)) argument 43 #define calloc(nmemb, size) \ argument 45 #define realloc(ptr, size) \ argument 47 #define memalign(alignment, size) \ argument 51 #define aligned_alloc(alignment, size) \ argument 118 #define nex_calloc(nmemb, size) \ argument 120 #define nex_realloc(ptr, size) \ argument 122 #define nex_memalign(alignment, size) \ argument 152 #define nex_malloc(size) malloc(size) argument 153 #define nex_calloc(nmemb, size) calloc(nmemb, size) argument [all …]
|
/optee_os-3.20.0/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() 147 static inline size_t confine_array_index(size_t index, size_t size) { in confine_array_index()
|
A D | memtag.h | 51 static inline void __memtag_disabled_clear_mem(void *addr, size_t size) in __memtag_disabled_clear_mem() 75 static inline void *memtag_set_tags(void *addr, size_t size, uint8_t tag) in memtag_set_tags() 98 static inline void *memtag_set_random_tags(void *addr, size_t size) in memtag_set_random_tags() 107 static inline void memtag_clear_mem(void *addr, size_t size) in memtag_clear_mem()
|
/optee_os-3.20.0/lib/libutils/ext/arch/arm/ |
A D | memtag.c | 58 static void set_tags_dc_gva(vaddr_t va, size_t size, size_t dcsz) in set_tags_dc_gva() 67 static void clear_mem_dc_gzva(vaddr_t va, size_t size, size_t dcsz) in clear_mem_dc_gzva() 76 static void *set_tags_helper(void *addr, size_t size) in set_tags_helper() 90 static void *set_tags_dc_helper(void *addr, size_t size) in set_tags_dc_helper() 115 static void *set_tags_dc(void *addr, size_t size, uint8_t tag) in set_tags_dc() 120 static void *set_random_tags_dc(void *addr, size_t size) in set_random_tags_dc() 125 static void *set_tags(void *addr, size_t size, uint8_t tag) in set_tags() 130 static void *set_random_tags(void *addr, size_t size) in set_random_tags() 135 static void clear_mem(void *va, size_t size) in clear_mem() 141 static void clear_mem_dc(void *addr, size_t size) in clear_mem_dc()
|
/optee_os-3.20.0/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-3.20.0/core/kernel/ |
A D | tpm.c | 27 size_t *size) in read_dt_tpm_log_info() 73 paddr_t *addr, size_t *size) in get_tpm_phys_params() 104 TEE_Result tpm_get_event_log(void *buf, size_t *size) in tpm_get_event_log() 125 TEE_Result tpm_get_event_log_size(size_t *size) in tpm_get_event_log_size()
|
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()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/rsa/ |
A D | rsa_make_key.c | 12 static int s_rsa_make_key(prng_state *prng, int wprng, int size, void *e, rsa_key *key) in s_rsa_make_key() 92 int rsa_make_key(prng_state *prng, int wprng, int size, long e, rsa_key *key) in rsa_make_key() 123 int rsa_make_key_ubin_e(prng_state *prng, int wprng, int size, in rsa_make_key_ubin_e() 150 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-3.20.0/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 | 572 int lineno, size_t size) in gen_mdbg_malloc() 621 size_t nmemb, size_t size) in gen_mdbg_calloc() 738 size_t size) in mdbg_memalign() 745 size_t size) in mdbg_aligned_alloc() 766 void *malloc(size_t size) in malloc() 778 void *realloc(void *ptr, size_t size) in realloc() 785 void *malloc(size_t size) in malloc() 814 size_t size) in realloc_unlocked() 819 void *realloc(void *ptr, size_t size) in realloc() 1025 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-3.20.0/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-3.20.0/core/drivers/imx/dcp/ |
A D | dcp_utils.c | 13 TEE_Result dcp_calloc_align_buf(struct dcp_align_buf *buf, size_t size) in dcp_calloc_align_buf() 67 void dcp_reverse(uint8_t *in, uint8_t *out, size_t size) in dcp_reverse() 75 void dcp_xor(uint8_t *a, uint8_t *b, uint8_t *out, size_t size) in dcp_xor()
|
/optee_os-3.20.0/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-3.20.0/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-3.20.0/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-3.20.0/core/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-3.20.0/core/lib/libtomcrypt/src/pk/pkcs1/ |
A D | pkcs_1_i2osp.c | 25 unsigned long size; in pkcs_1_i2osp() local
|
/optee_os-3.20.0/core/include/mm/ |
A D | core_mmu.h | 179 paddr_size_t size; member 198 #define register_phys_mem(type, addr, size) \ argument 202 #define register_phys_mem_ul(type, addr, size) \ argument 207 #define register_phys_mem_pgdir(type, addr, size) \ argument 213 #define register_sdp_mem(addr, size) \ argument 217 #define register_sdp_mem(addr, size) \ argument 223 #define register_dynamic_shm(addr, size) \ argument 242 #define register_ddr(addr, size) \ argument
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ecc/ |
A D | ecc_sizes.c | 15 int i, size; in ecc_sizes() local
|
A D | ecc_ssh_ecdsa_encode_name.c | 24 int err, size = 0; in ecc_ssh_ecdsa_encode_name() local
|
/optee_os-3.20.0/core/arch/arm/plat-stm32mp1/ |
A D | plat_tzc400.c | 43 static bool tzc_region_is_non_secure(unsigned int i, vaddr_t base, size_t size) in tzc_region_is_non_secure() 58 static bool tzc_region_is_secure(unsigned int i, vaddr_t base, size_t size) in tzc_region_is_secure()
|
/optee_os-3.20.0/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()
|