Lines Matching refs:uctx
13 TEE_Result vm_info_init(struct user_mode_ctx *uctx, struct ts_ctx *ts_ctx);
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);
69 TEE_Result vm_add_rwmem(struct user_mode_ctx *uctx, struct mobj *mobj,
71 void vm_rem_rwmem(struct user_mode_ctx *uctx, struct mobj *mobj, vaddr_t va);
80 bool vm_buf_is_inside_um_private(const struct user_mode_ctx *uctx,
83 bool vm_buf_intersects_um_private(const struct user_mode_ctx *uctx,
86 TEE_Result vm_buf_to_mboj_offs(const struct user_mode_ctx *uctx,
91 TEE_Result vm_va2pa(const struct user_mode_ctx *uctx, void *ua, paddr_t *pa);
94 void *vm_pa2va(const struct user_mode_ctx *uctx, paddr_t pa, size_t pa_size);
100 TEE_Result vm_check_access_rights(const struct user_mode_ctx *uctx,
106 struct mobj *vm_get_mobj(struct user_mode_ctx *uctx, vaddr_t va, size_t *len,