Searched refs:uref (Results 1 – 2 of 2) sorted by relevance
77 TEE_Result copy_kaddr_to_uref(uint32_t *uref, void *kaddr) in copy_kaddr_to_uref() argument81 return copy_to_user_private(uref, &ref, sizeof(ref)); in copy_kaddr_to_uref()88 vaddr_t uref = memtag_strip_tag_vaddr(kaddr); in kaddr_to_uref() local90 uref -= VCORE_START_VA; in kaddr_to_uref()91 assert(uref < (UINT32_MAX >> MEMTAG_TAG_WIDTH)); in kaddr_to_uref()92 uref |= memtag_get_tag(kaddr) << uref_tag_shift; in kaddr_to_uref()93 return uref; in kaddr_to_uref()100 vaddr_t uref_to_vaddr(uint32_t uref) in uref_to_vaddr() argument103 vaddr_t u = uref & (UINT32_MAX >> MEMTAG_TAG_WIDTH); in uref_to_vaddr()105 uint8_t tag = uref >> uref_tag_shift; in uref_to_vaddr()[all …]
36 TEE_Result copy_kaddr_to_uref(uint32_t *uref, void *kaddr);39 vaddr_t uref_to_vaddr(uint32_t uref);40 static inline void *uref_to_kaddr(uint32_t uref) in uref_to_kaddr() argument42 return (void *)uref_to_vaddr(uref); in uref_to_kaddr()
Completed in 3 milliseconds