Home
last modified time | relevance | path

Searched refs:begin (Results 1 – 11 of 11) sorted by relevance

/optee_os-3.20.0/core/kernel/
A Dasan.c59 vaddr_t b = (vaddr_t)begin; in va_range_inside_shadow()
69 vaddr_t b = (vaddr_t)begin; in va_range_outside_shadow()
89 vaddr_t b = (vaddr_t)begin; in asan_set_shadowed()
93 assert(va_is_well_aligned(begin)); in asan_set_shadowed()
103 assert(va_is_well_aligned(begin)); in asan_tag_no_access()
113 if (!asan_va_base || (begin == end)) in asan_tag_access()
117 assert(va_is_well_aligned(begin)); in asan_tag_access()
131 assert(va_is_well_aligned(begin)); in asan_tag_heap_free()
170 void *begin = (void *)addr; in check_access() local
177 if (va_range_outside_shadow(begin, end)) in check_access()
[all …]
/optee_os-3.20.0/core/include/kernel/
A Dasan.h26 void asan_tag_no_access(const void *begin, const void *end);
27 void asan_tag_access(const void *begin, const void *end);
28 void asan_tag_heap_free(const void *begin, const void *end);
33 static inline void asan_tag_no_access(const void *begin __unused, in asan_tag_no_access()
37 static inline void asan_tag_access(const void *begin __unused, in asan_tag_access()
41 static inline void asan_tag_heap_free(const void *begin __unused, in asan_tag_heap_free()
/optee_os-3.20.0/core/arch/arm/mm/
A Dpgt_cache.c163 if (last <= begin) in pgt_entry_matches()
166 last - begin); in pgt_entry_matches()
180 while (pgt_entry_matches(p, begin, last)) { in pgt_flush_range()
201 if (pgt_entry_matches(next_p, begin, last)) { in pgt_flush_range()
238 vaddr_t b = MAX(p->vabase, begin); in pgt_clear_range()
661 if (last <= begin) in pgt_entry_matches()
664 last - begin)) in pgt_entry_matches()
671 vaddr_t begin, vaddr_t last) in flush_ctx_range_from_list() argument
681 while (pgt_entry_matches(p, ctx, begin, last)) { in flush_ctx_range_from_list()
729 void *ctx, vaddr_t begin, vaddr_t end) in clear_ctx_range_from_list() argument
[all …]
A Dtee_pager.c1973 vaddr_t begin = ROUNDUP(va, SMALL_PAGE_SIZE); in tee_pager_release_phys() local
1978 if (end <= begin) in tee_pager_release_phys()
1983 for (va = begin; va < end; va += SMALL_PAGE_SIZE) { in tee_pager_release_phys()
1991 tlbi_mva_range(begin, end - begin, SMALL_PAGE_SIZE); in tee_pager_release_phys()
/optee_os-3.20.0/core/include/mm/
A Dpgt_cache.h84 void pgt_clear_range(struct user_mode_ctx *uctx, vaddr_t begin, vaddr_t end);
85 void pgt_flush_range(struct user_mode_ctx *uctx, vaddr_t begin, vaddr_t last);
/optee_os-3.20.0/core/crypto/
A Drng_fortuna.c68 unsigned int begin; member
185 next_begin = (ring_buffer.begin + 1) % ARRAY_SIZE(ring_buffer.elem); in push_ring_buffer()
194 atomic_store_uint(&ring_buffer.begin, next_begin); in push_ring_buffer()
206 if (atomic_load_uint(&ring_buffer.begin) == ring_buffer.end) in pop_ring_buffer()
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Dpkwrite.c585 const char *begin, *end; in mbedtls_pk_write_key_pem() local
597 begin = PEM_BEGIN_PRIVATE_KEY_RSA; in mbedtls_pk_write_key_pem()
605 begin = PEM_BEGIN_PRIVATE_KEY_EC; in mbedtls_pk_write_key_pem()
612 if( ( ret = mbedtls_pem_write_buffer( begin, end, in mbedtls_pk_write_key_pem()
/optee_os-3.20.0/core/pta/tests/
A Dfs_htree.c222 struct tee_fs_htree **ht, size_t begin, in do_range() argument
229 res = fn(ht, n + begin, salt); in do_range()
239 struct tee_fs_htree **ht, size_t begin, in do_range_backwards() argument
246 res = fn(ht, num_blocks - 1 - n + begin, salt); in do_range_backwards()
/optee_os-3.20.0/core/arch/arm/kernel/
A Dboot.c371 const vaddr_t begin = VCORE_START_VA; in init_vcore() local
376 if (begin + size > ASAN_SHADOW_PA) in init_vcore()
377 size = ASAN_MAP_PA - begin; in init_vcore()
380 if (!tee_mm_init(mm_vcore, begin, size, SMALL_PAGE_SHIFT, in init_vcore()
/optee_os-3.20.0/core/mm/
A Dvm.c137 vaddr_t begin = ROUNDDOWN(r->va, CORE_MMU_PGDIR_SIZE); in rem_um_region() local
163 begin = MAX(begin, in rem_um_region()
166 if (begin < last) in rem_um_region()
167 pgt_flush_range(uctx, begin, last); in rem_um_region()
A Dcore_mmu.c876 paddr_t begin = 0; in add_pager_vaspace() local
889 if (!begin) in add_pager_vaspace()
890 begin = mmap[n].pa; in add_pager_vaspace()
896 size = TEE_RAM_VA_SIZE - (end - begin); in add_pager_vaspace()

Completed in 24 milliseconds