/trusty/user/base/lib/hwasan/ |
D | hwasan.c | 36 static inline uint8_t get_tag(uintptr_t ptr) { in get_tag() 40 static inline uintptr_t remove_ptr_tag(uintptr_t ptr) { in remove_ptr_tag() 44 static inline uintptr_t tag_ptr(uintptr_t ptr, uint8_t tag) { in tag_ptr() 50 static inline uintptr_t mem_to_shadow(uintptr_t ptr) { in mem_to_shadow() 56 static inline bool is_valid_user_ptr(uintptr_t ptr) { in is_valid_user_ptr() 74 static void check_address(uintptr_t ptr, size_t size) { in check_address() 103 void* __hwasan_memset(uintptr_t ptr, int val, size_t size) { in __hwasan_memset() 120 void __hwasan_loadN(uintptr_t ptr, size_t size) { in __hwasan_loadN() 124 void __hwasan_storeN(uintptr_t ptr, size_t size) { in __hwasan_storeN() 137 static uintptr_t hwasan_tag_memory_etc(uintptr_t ptr, in hwasan_tag_memory_etc() [all …]
|
/trusty/kernel/include/shared/lk/ |
D | err_ptr.h | 31 static inline int PTR_ERR(const void* ptr) { in PTR_ERR() 35 static inline __ALWAYS_INLINE bool IS_ERR(const void* ptr) { in IS_ERR()
|
/trusty/kernel/app/mmutest/ |
D | mmutest.c | 116 void* ptr; in mmutest_vmm_store_uint32() local 161 void *ptr = NULL, *execute_ptr = NULL; in mmu_test_execute() local 261 void* ptr = NULL; in TEST_P() local 273 void* ptr = NULL; in TEST_P() local 649 void* ptr[8]; in TEST_P() local 703 void* ptr = data; in mmutest_stack_overflow_thread_func() local 837 void* ptr = NULL; in TEST() local 1039 void* ptr = NULL; in TEST_F() local 1073 void* ptr = NULL; in TEST_F() local 1087 void* ptr = NULL; in TEST_F() local [all …]
|
/trusty/kernel/platform/generic-x86_64/rust/src/ |
D | lib.rs | 59 let mut ptr: *mut c_void = core::ptr::null_mut(); in map_physical_region() localVariable 83 let ptr = region.virtual_start().as_ptr() as _; in unmap_physical_region() localVariable
|
/trusty/user/base/lib/trusty-std/src/ |
D | alloc.rs | 213 let ptr = NonNull::new(raw_ptr).ok_or(AllocError)?; in alloc_impl() localVariable 246 let ptr = NonNull::new(raw_ptr).ok_or(AllocError)?; in grow_impl() localVariable 337 let ptr = NonNull::new(raw_ptr).ok_or(AllocError)?; in shrink() localVariable 405 let ptr = self.alloc(layout); in alloc_zeroed() localVariable
|
/trusty/user/base/lib/dlmalloc/test/ |
D | dlmalloc_test.c | 131 void* ptr = malloc(4096 * 3); in TEST_F() local 145 void* ptr = malloc(8192 * 1024); in TEST_F() local
|
/trusty/hardware/nxp/app/hwcrypto/ |
D | main.c | 37 void _hexdump8(const void* ptr, size_t len) { in _hexdump8()
|
D | hwrng_srv.c | 64 static void _hexdump8(const void* ptr, size_t len) { in _hexdump8()
|
/trusty/user/base/lib/tipc/rust/src/ |
D | serialization.rs | 29 let ptr = obj as *const _ as *const u8; in serialize_as_bytes() localVariable
|
D | handle.rs | 443 pub fn ptr(&self) -> *mut u8 { in ptr() method
|
/trusty/user/app/sample/hwcrypto/ |
D | hwrng_srv.c | 61 static void _hexdump8(const void* ptr, size_t len) { in _hexdump8()
|
/trusty/user/app/sample/hwrng-unittest/ |
D | main.c | 38 static void hwrng_show_data(const void* ptr, size_t len) { in hwrng_show_data()
|
/trusty/kernel/lib/extmem/ |
D | external_memory.c | 166 void** ptr, in ext_mem_map_obj_id()
|
/trusty/kernel/lib/memlog/ |
D | memlog.c | 92 volatile char* ptr = &rb->data[offset]; in __memlog_write() local
|
/trusty/user/base/lib/storage/ |
D | storage.c | 506 uint8_t* ptr = buf; in storage_read() local 554 const uint8_t* ptr = buf; in storage_write() local
|
/trusty/kernel/lib/trusty/ |
D | syscall.c | 291 void* ptr = (void*)vaddr; in sys_mmap() local
|
D | trusty_app.c | 408 user_addr_t ptr = round_down(*stack_ptr - data_len, align); in user_stack_alloc() local 436 user_addr_t ptr = in add_to_user_stack() local 2068 static inline bool prel_to_abs_ptr(const intptr_t* ptr, uintptr_t* result) { in prel_to_abs_ptr()
|
/trusty/user/base/experimental/lib/tidl/ |
D | ipc_ql_tipc.cpp | 38 __attribute__((weak)) void operator delete(void* ptr) noexcept { in operator delete()
|
/trusty/kernel/lib/trusty/include/lib/trusty/ |
D | trusty_app.h | 248 void* ptr) { in trusty_als_set()
|
/trusty/kernel/lib/ubsan/ |
D | ubsan.c | 319 value_handle_t ptr) { in UBSAN_HANDLER()
|
/trusty/user/base/lib/dlmalloc/ |
D | dlmalloc.c | 1675 void* ptr = VirtualAlloc(0, size, MEM_RESERVE|MEM_COMMIT, PAGE_READWRITE); in win32mmap() local 1681 void* ptr = VirtualAlloc(0, size, MEM_RESERVE|MEM_COMMIT|MEM_TOP_DOWN, in win32direct_mmap() local 1687 static FORCEINLINE int win32munmap(void* ptr, size_t size) { in win32munmap()
|