Home
last modified time | relevance | path

Searched refs:kaddr (Results 1 – 2 of 2) sorted by relevance

/optee_os/core/kernel/
A Duser_access.c23 TEE_Result copy_from_user(void *kaddr, const void *uaddr, size_t len) in copy_from_user() argument
29 memcpy(kaddr, uaddr, len); in copy_from_user()
34 TEE_Result copy_to_user(void *uaddr, const void *kaddr, size_t len) in copy_to_user() argument
40 memcpy(uaddr, kaddr, len); in copy_to_user()
51 memcpy(kaddr, uaddr, len); in copy_from_user_private()
62 memcpy(uaddr, kaddr, len); in copy_to_user_private()
67 TEE_Result copy_kaddr_to_uref(uint32_t *uref, void *kaddr) in copy_kaddr_to_uref() argument
69 uint32_t ref = kaddr_to_uref(kaddr); in copy_kaddr_to_uref()
74 uint32_t kaddr_to_uref(void *kaddr) in kaddr_to_uref() argument
76 assert(((vaddr_t)kaddr - VCORE_START_VA) < UINT32_MAX); in kaddr_to_uref()
[all …]
/optee_os/core/include/kernel/
A Duser_access.h14 TEE_Result copy_from_user_private(void *kaddr, const void *uaddr, size_t len);
15 TEE_Result copy_from_user(void *kaddr, const void *uaddr, size_t len);
17 static inline TEE_Result copy_from_user_private(void *kaddr __unused, in copy_from_user_private()
24 static inline TEE_Result copy_from_user(void *kaddr __unused, in copy_from_user()
33 TEE_Result copy_to_user_private(void *uaddr, const void *kaddr, size_t len);
34 TEE_Result copy_to_user(void *uaddr, const void *kaddr, size_t len);
36 TEE_Result copy_kaddr_to_uref(uint32_t *uref, void *kaddr);
38 uint32_t kaddr_to_uref(void *kaddr);

Completed in 4 milliseconds