Searched refs:check_access (Results 1 – 3 of 3) sorted by relevance
/optee_os-3.20.0/lib/libutee/ |
A D | tee_api_panic.c | 38 static TEE_Result check_access(uint32_t flags, void *buf, size_t len) in check_access() function 55 check_access(ACCESS_RW, len, sizeof(*len))); in __utee_check_outbuf_annotation() 57 check_access(ACCESS_W_ANY, buf, *len)); in __utee_check_outbuf_annotation() 63 check_access(ACCESS_R, (char *)buf, strlen(buf) + 1)); in __utee_check_instring_annotation() 69 check_access(ACCESS_RW, len, sizeof(*len))); in __utee_check_outstring_annotation() 71 check_access(ACCESS_W_ANY, buf, *len)); in __utee_check_outstring_annotation() 77 check_access(ACCESS_W, buf, len)); in __utee_check_out_annotation() 83 check_access(ACCESS_R, (void *)attr, sizeof(*attr) * count)); in __utee_check_attr_in_annotation() 89 check_access(ACCESS_RW, buf, len)); in __utee_check_inout_annotation()
|
/optee_os-3.20.0/core/kernel/ |
A D | user_access.c | 17 static TEE_Result check_access(uint32_t flags, const void *uaddr, size_t len) in check_access() function 31 res = check_access(flags, uaddr, len); in copy_from_user() 44 res = check_access(flags, uaddr, len); in copy_to_user() 57 res = check_access(flags, uaddr, len); in copy_from_user_private() 70 res = check_access(flags, uaddr, len); in copy_to_user_private()
|
A D | asan.c | 168 static void check_access(vaddr_t addr, size_t size) in check_access() function 198 check_access(addr, size); in check_load() 203 check_access(addr, size); in check_store()
|
Completed in 5 milliseconds