Home
last modified time | relevance | path

Searched defs:ptr (Results 1 – 21 of 21) sorted by relevance

/trusty/user/base/lib/hwasan/
Dhwasan.c36 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/
Derr_ptr.h31 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/
Dmmutest.c116 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/
Dlib.rs59 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/
Dalloc.rs213 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/
Ddlmalloc_test.c131 void* ptr = malloc(4096 * 3); in TEST_F() local
145 void* ptr = malloc(8192 * 1024); in TEST_F() local
/trusty/hardware/nxp/app/hwcrypto/
Dmain.c37 void _hexdump8(const void* ptr, size_t len) { in _hexdump8()
Dhwrng_srv.c64 static void _hexdump8(const void* ptr, size_t len) { in _hexdump8()
/trusty/user/base/lib/tipc/rust/src/
Dserialization.rs29 let ptr = obj as *const _ as *const u8; in serialize_as_bytes() localVariable
Dhandle.rs443 pub fn ptr(&self) -> *mut u8 { in ptr() method
/trusty/user/app/sample/hwcrypto/
Dhwrng_srv.c61 static void _hexdump8(const void* ptr, size_t len) { in _hexdump8()
/trusty/user/app/sample/hwrng-unittest/
Dmain.c38 static void hwrng_show_data(const void* ptr, size_t len) { in hwrng_show_data()
/trusty/kernel/lib/extmem/
Dexternal_memory.c166 void** ptr, in ext_mem_map_obj_id()
/trusty/kernel/lib/memlog/
Dmemlog.c92 volatile char* ptr = &rb->data[offset]; in __memlog_write() local
/trusty/user/base/lib/storage/
Dstorage.c506 uint8_t* ptr = buf; in storage_read() local
554 const uint8_t* ptr = buf; in storage_write() local
/trusty/kernel/lib/trusty/
Dsyscall.c291 void* ptr = (void*)vaddr; in sys_mmap() local
Dtrusty_app.c408 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/
Dipc_ql_tipc.cpp38 __attribute__((weak)) void operator delete(void* ptr) noexcept { in operator delete()
/trusty/kernel/lib/trusty/include/lib/trusty/
Dtrusty_app.h248 void* ptr) { in trusty_als_set()
/trusty/kernel/lib/ubsan/
Dubsan.c319 value_handle_t ptr) { in UBSAN_HANDLER()
/trusty/user/base/lib/dlmalloc/
Ddlmalloc.c1675 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()