Home
last modified time | relevance | path

Searched defs:size (Results 1 – 25 of 250) sorted by relevance

12345678910

/optee_os/lib/libutils/isoc/include/
H A Dmalloc.h40 #define malloc(size) __mdbg_alloc(MAF_NULL, NULL, 1, 1, \ argument
42 #define malloc_flags(flags, ptr, align, size) \ argument
44 #define calloc(nmemb, size) __mdbg_alloc(MAF_ZERO_INIT, NULL, 1, (nmemb), \ argument
46 #define realloc(ptr, size) __mdbg_alloc(MAF_NULL, (ptr), 1, 1, \ argument
48 #define memalign(align, size) __mdbg_alloc(MAF_NULL, NULL, (align), 1, \ argument
52 #define aligned_alloc(align, size) \ argument
94 #define nex_malloc(size) __mdbg_alloc(MAF_NEX, NULL, 1, 1, \ argument
96 #define nex_calloc(nmemb, size) __mdbg_alloc(MAF_NEX | MAF_ZERO_INIT, NULL, 1, \ argument
99 #define nex_realloc(ptr, size) __mdbg_alloc(MAF_NEX, (ptr), 1, 1, \ argument
101 #define nex_memalign(align, size) __mdbg_alloc(MAF_NEX, NULL, (align), 1, \ argument
[all …]
/optee_os/lib/libutils/ext/arch/arm/
H A Dmemtag.c58 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/lib/libutils/ext/include/
H A Dconfine_array_index.h70 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()
H A Dmemtag.h51 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/core/drivers/crypto/caam/utils/
H A Dutils_mem.c40 static void *mem_alloc(size_t size, uint8_t type) in mem_alloc()
94 static enum caam_status mem_alloc_buf(struct caambuf *buf, size_t size, in mem_alloc_buf()
113 void *caam_alloc(size_t size) in caam_alloc()
118 void *caam_calloc(size_t size) in caam_calloc()
123 void *caam_calloc_align(size_t size) in caam_calloc_align()
145 enum caam_status caam_alloc_buf(struct caambuf *buf, size_t size) in caam_alloc_buf()
150 enum caam_status caam_calloc_buf(struct caambuf *buf, size_t size) in caam_calloc_buf()
155 enum caam_status caam_calloc_align_buf(struct caambuf *buf, size_t size) in caam_calloc_align_buf()
160 enum caam_status caam_alloc_align_buf(struct caambuf *buf, size_t size) in caam_alloc_align_buf()
179 bool caam_mem_is_cached_buf(void *buf, size_t size) in caam_mem_is_cached_buf()
/optee_os/core/mm/
H A Dphys_mem.c89 size_t size, uint32_t flags) in mm_alloc()
101 tee_mm_entry_t *nex_phys_mem_core_alloc(size_t size) in nex_phys_mem_core_alloc()
106 tee_mm_entry_t *nex_phys_mem_ta_alloc(size_t size) in nex_phys_mem_ta_alloc()
112 paddr_t base, size_t size) in mm_alloc2()
121 tee_mm_entry_t *nex_phys_mem_alloc2(paddr_t base, size_t size) in nex_phys_mem_alloc2()
126 static void partial_carve_out(tee_mm_pool_t *pool, paddr_t base, size_t size) in partial_carve_out()
144 void nex_phys_mem_partial_carve_out(paddr_t base, size_t size) in nex_phys_mem_partial_carve_out()
195 tee_mm_entry_t *phys_mem_core_alloc(size_t size) in phys_mem_core_alloc()
205 tee_mm_entry_t *phys_mem_ta_alloc(size_t size) in phys_mem_ta_alloc()
210 tee_mm_entry_t *phys_mem_alloc2(paddr_t base, size_t size) in phys_mem_alloc2()
[all …]
/optee_os/core/kernel/
H A Dtpm.c28 size_t *size) in read_dt_tpm_log_info()
77 paddr_t *addr, size_t *size) in get_tpm_phys_params()
108 TEE_Result tpm_get_event_log(void *buf, size_t *size) in tpm_get_event_log()
129 TEE_Result tpm_get_event_log_size(size_t *size) in tpm_get_event_log_size()
H A Dasan.c33 uintptr_t size; member
49 static bool addr_crosses_scale_boundary(vaddr_t addr, size_t size) in addr_crosses_scale_boundary()
189 static void asan_report(vaddr_t addr, size_t size) in asan_report()
281 size_t size) in asan_shadow_Nbyte_isvalid()
293 static __always_inline void check_access(vaddr_t addr, size_t size) in check_access()
338 static __always_inline void check_load(vaddr_t addr, size_t size) in check_load()
343 static __always_inline void check_store(vaddr_t addr, size_t size) in check_store()
360 #define DEFINE_ASAN_FUNC(type, size) \ argument
383 void __asan_loadN_noabort(vaddr_t addr, size_t size) in __asan_loadN_noabort()
389 void __asan_storeN_noabort(vaddr_t addr, size_t size) in __asan_storeN_noabort()
[all …]
/optee_os/core/drivers/crypto/caam/
H A Dcaam_key.c104 size_t size) in data_to_serialized_key()
134 static enum caam_key_type get_key_type(const uint8_t *data, size_t size) in get_key_type()
150 static size_t get_key_sec_size(const uint8_t *data, size_t size) in get_key_sec_size()
166 static unsigned long get_key_buf_offset(const uint8_t *data, size_t size) in get_key_buf_offset()
182 static size_t get_key_buf_size(const uint8_t *data, size_t size) in get_key_buf_size()
410 enum caam_status caam_key_deserialize_from_bin(uint8_t *data, size_t size, in caam_key_deserialize_from_bin()
480 enum caam_status caam_key_serialize_to_bin(uint8_t *data, size_t size, in caam_key_serialize_to_bin()
550 size_t *size) in caam_key_serialized_size()
585 size_t size = 0; in caam_key_deserialize_from_bn() local
617 size_t size = 0; in caam_key_serialize_to_bn() local
/optee_os/core/include/mm/
H A Dphys_mem.h47 static inline tee_mm_entry_t *phys_mem_core_alloc(size_t size) in phys_mem_core_alloc()
52 static inline tee_mm_entry_t *phys_mem_ta_alloc(size_t size) in phys_mem_ta_alloc()
57 static inline tee_mm_entry_t *phys_mem_alloc2(paddr_t base, size_t size) in phys_mem_alloc2()
H A Dtee_mm.h24 uint32_t size; /* size in pages/sections */ member
31 paddr_size_t size; /* pool size */ member
79 static inline tee_mm_entry_t *tee_mm_alloc(tee_mm_pool_t *pool, size_t size) in tee_mm_alloc()
H A Dcore_mmu.h188 paddr_size_t size; member
207 #define register_phys_mem(type, addr, size) \ argument
211 #define register_phys_mem_ul(type, addr, size) \ argument
216 #define register_phys_mem_pgdir(type, addr, size) \ argument
223 #define register_sdp_mem(addr, size) \ argument
227 #define register_sdp_mem(addr, size) \ argument
233 #define register_dynamic_shm(addr, size) \ argument
252 #define register_ddr(addr, size) \ argument
/optee_os/core/lib/libtomcrypt/src/pk/rsa/
H A Drsa_make_key.c12 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/lib/libutils/ext/
H A Dmempool.c57 size_t size; /* size of the memory pool, in bytes */ member
119 mempool_alloc_pool(void *data, size_t size, in mempool_alloc_pool()
141 void *mempool_alloc(struct mempool *pool, size_t size) in mempool_alloc()
167 void *mempool_calloc(struct mempool *pool, size_t nmemb, size_t size) in mempool_calloc()
/optee_os/lib/libutils/isoc/
H A Dsnprintf.c9 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()
/optee_os/ta/pkcs11/src/
H A Dserializer.c20 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()
H A Dattributes.h206 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
/optee_os/core/drivers/crypto/ele/
H A Dmemutils.c19 size_t size) in imx_ele_buf_alloc()
60 size_t size) in imx_ele_buf_copy()
/optee_os/core/drivers/imx/dcp/
H A Ddcp_utils.c13 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/scripts/
H A Dmem_usage.py46 def print_sect(name, addr, size, round_up=False, print_num_pages=False): argument
66 def print_pager_stat(name, size): argument
/optee_os/core/drivers/firewall/
H A Dfirewall.c94 paddr_t paddr, size_t size) in firewall_set_memory_configuration()
125 paddr_t paddr, size_t size, bool read, in firewall_check_memory_access()
137 paddr_t paddr, size_t size, bool read, in firewall_acquire_memory_access()
158 size_t size, bool read, bool write) in firewall_release_memory_access()
/optee_os/ta/remoteproc/src/
H A Delf_parser.c20 TEE_Result e32_parse_ehdr(uint8_t *fw, size_t size) in e32_parse_ehdr()
52 uint32_t size, in e32_parser_load_elf_image()
120 size_t size = shdr->sh_size; in e32_parser_find_rsc_table() local
/optee_os/lib/libutee/
H A Dtcb.c53 unsigned long size; member
57 #define DTV_SIZE(size) (sizeof(union dtv) + (size)) argument
91 size_t size = 0; in __utee_tcb_init() local
H A Dtee_api.c283 static bool buf_overlaps_no_share_heap(void *buf, size_t size) in buf_overlaps_no_share_heap()
297 size_t size = params[n].memref.size; in check_invoke_param() local
562 size_t size) in TEE_CheckMemoryAccessRights()
595 void *buffer, uint32_t size) in __GP11_TEE_CheckMemoryAccessRights()
610 void TEE_MemMove(void *dest, const void *src, size_t size) in TEE_MemMove()
615 void __GP11_TEE_MemMove(void *dest, const void *src, uint32_t size) in __GP11_TEE_MemMove()
620 int32_t TEE_MemCompare(const void *buffer1, const void *buffer2, size_t size) in TEE_MemCompare()
626 uint32_t size) in __GP11_TEE_MemCompare()
631 void TEE_MemFill(void *buff, uint32_t x, size_t size) in TEE_MemFill()
636 void __GP11_TEE_MemFill(void *buff, uint32_t x, uint32_t size) in __GP11_TEE_MemFill()
[all …]
/optee_os/core/drivers/remoteproc/
H A Dstm32_remoteproc.c34 size_t size; member
136 TEE_Result stm32_rproc_da_to_pa(uint32_t rproc_id, paddr_t da, size_t size, in stm32_rproc_da_to_pa()
165 TEE_Result stm32_rproc_map(uint32_t rproc_id, paddr_t pa, size_t size, in stm32_rproc_map()
193 TEE_Result stm32_rproc_unmap(uint32_t rproc_id, void *va, size_t size) in stm32_rproc_unmap()
258 uint32_t size = fdt32_to_cpu(list[i + 2]); in stm32_rproc_get_dma_range() local
349 size_t size = 0; in stm32_rproc_clean_up_memories() local

12345678910