Lines Matching refs:uctx

13 TEE_Result vm_info_init(struct user_mode_ctx *uctx);
16 void vm_info_final(struct user_mode_ctx *uctx);
29 TEE_Result vm_map_pad(struct user_mode_ctx *uctx, vaddr_t *va, size_t len,
39 static inline TEE_Result vm_map(struct user_mode_ctx *uctx, vaddr_t *va, in vm_map() argument
43 return vm_map_pad(uctx, va, len, prot, flags, mobj, offs, 0, 0, 0); in vm_map()
46 TEE_Result vm_remap(struct user_mode_ctx *uctx, vaddr_t *new_va, vaddr_t old_va,
49 TEE_Result vm_get_flags(struct user_mode_ctx *uctx, vaddr_t va, size_t len,
52 TEE_Result vm_get_prot(struct user_mode_ctx *uctx, vaddr_t va, size_t len,
55 TEE_Result vm_set_prot(struct user_mode_ctx *uctx, vaddr_t va, size_t len,
58 TEE_Result vm_unmap(struct user_mode_ctx *uctx, vaddr_t va, size_t len);
61 TEE_Result vm_map_param(struct user_mode_ctx *uctx, struct tee_ta_param *param,
63 void vm_clean_param(struct user_mode_ctx *uctx);
65 TEE_Result vm_add_rwmem(struct user_mode_ctx *uctx, struct mobj *mobj,
67 void vm_rem_rwmem(struct user_mode_ctx *uctx, struct mobj *mobj, vaddr_t va);
76 bool vm_buf_is_inside_um_private(const struct user_mode_ctx *uctx,
79 bool vm_buf_intersects_um_private(const struct user_mode_ctx *uctx,
82 TEE_Result vm_buf_to_mboj_offs(const struct user_mode_ctx *uctx,
87 TEE_Result vm_va2pa(const struct user_mode_ctx *uctx, void *ua, paddr_t *pa);
90 void *vm_pa2va(const struct user_mode_ctx *uctx, paddr_t pa, size_t pa_size);
96 TEE_Result vm_check_access_rights(const struct user_mode_ctx *uctx,
102 struct mobj *vm_get_mobj(struct user_mode_ctx *uctx, vaddr_t va, size_t *len,