/optee_os/core/include/mm/ |
A D | mobj.h | 20 struct mobj { struct 21 const struct mobj_ops *ops; argument 28 void *(*get_va)(struct mobj *mobj, size_t offs, size_t len); argument 102 static inline TEE_Result mobj_inc_map(struct mobj *mobj) in mobj_inc_map() 122 static inline TEE_Result mobj_dec_map(struct mobj *mobj) in mobj_dec_map() 140 static inline struct mobj *mobj_get(struct mobj *mobj) in mobj_get() 155 static inline void mobj_put(struct mobj *mobj) in mobj_put() 167 static inline void mobj_put_wipe(struct mobj *mobj) in mobj_put_wipe() 198 static inline bool mobj_is_nonsec(struct mobj *mobj) in mobj_is_nonsec() 203 static inline bool mobj_is_secure(struct mobj *mobj) in mobj_is_secure() [all …]
|
A D | vm.h | 41 struct mobj *mobj, size_t offs) in vm_map()
|
A D | sp_mem.h | 38 struct mobj *mobj; member
|
A D | tee_mmu_types.h | 80 struct mobj *mobj; member
|
/optee_os/core/mm/ |
A D | mobj.c | 36 struct mobj mobj; member 112 static void mobj_phys_free(struct mobj *mobj) in mobj_phys_free() 245 struct mobj mobj; member 287 static void mobj_mm_free(struct mobj *mobj) in mobj_mm_free() 346 struct mobj mobj; member 398 static void mobj_shm_free(struct mobj *mobj) in mobj_shm_free() 457 struct mobj mobj; member 516 static bool mobj_is_seccpy_shm(struct mobj *mobj) in mobj_is_seccpy_shm() 566 struct mobj mobj; member 613 static void mobj_with_fobj_free(struct mobj *mobj) in mobj_with_fobj_free() [all …]
|
A D | vm.c | 261 uint32_t prot, uint32_t flags, struct mobj *mobj, in vm_map_pad() 799 struct mobj *mobj = NULL; in map_kinit() local 1022 TEE_Result vm_add_rwmem(struct user_mode_ctx *uctx, struct mobj *mobj, in vm_add_rwmem() 1055 void vm_rem_rwmem(struct user_mode_ctx *uctx, struct mobj *mobj, vaddr_t va) in vm_rem_rwmem() 1117 struct mobj **mobj, size_t *offs) in vm_buf_to_mboj_offs()
|
/optee_os/core/arch/arm/mm/ |
A D | mobj_dyn_shm.c | 35 struct mobj mobj; member 66 static TEE_Result mobj_reg_shm_get_pa(struct mobj *mobj, size_t offst, in mobj_reg_shm_get_pa() 97 static size_t mobj_reg_shm_get_phys_offs(struct mobj *mobj, in mobj_reg_shm_get_phys_offs() 104 static void *mobj_reg_shm_get_va(struct mobj *mobj, size_t offst, size_t len) in mobj_reg_shm_get_va() 137 static void mobj_reg_shm_free(struct mobj *mobj) in mobj_reg_shm_free() 180 static TEE_Result mobj_reg_shm_inc_map(struct mobj *mobj) in mobj_reg_shm_inc_map() 231 static TEE_Result mobj_reg_shm_dec_map(struct mobj *mobj) in mobj_reg_shm_dec_map() 251 static uint64_t mobj_reg_shm_get_cookie(struct mobj *mobj) in mobj_reg_shm_get_cookie() 290 static struct mobj_reg_shm *to_mobj_reg_shm(struct mobj *mobj) in to_mobj_reg_shm() 344 void mobj_reg_shm_unguard(struct mobj *mobj) in mobj_reg_shm_unguard() [all …]
|
A D | sp_mem.c | 24 struct mobj mobj; member 28 static struct mobj_sp *to_mobj_sp(struct mobj *mobj) in to_mobj_sp() 72 int sp_mem_add_pages(struct mobj *mobj, unsigned int *idx, in sp_mem_add_pages() 107 static TEE_Result get_pa(struct mobj *mobj, size_t offset, in get_pa() 142 static void inactivate(struct mobj *mobj) in inactivate() 193 struct mobj *mobj) in sp_mem_get_va()
|
A D | mobj_ffa.c | 18 struct mobj mobj; member 46 static struct mobj_ffa *to_mobj_ffa(struct mobj *mobj) in to_mobj_ffa() 434 static TEE_Result ffa_get_pa(struct mobj *mobj, size_t offset, 465 static size_t ffa_get_phys_offs(struct mobj *mobj, 473 static void *ffa_get_va(struct mobj *mobj, size_t offset, size_t len) 483 static void ffa_inactivate(struct mobj *mobj) 525 static uint64_t ffa_get_cookie(struct mobj *mobj) 530 static TEE_Result ffa_inc_map(struct mobj *mobj) 581 static TEE_Result ffa_dec_map(struct mobj *mobj)
|
/optee_os/core/arch/arm/kernel/ |
A D | thread_optee_smc.c | 119 struct mobj *mobj; in map_cmd_buffer() local 162 struct mobj *mobj = NULL; in std_smc_entry() local 319 struct mobj *mobj = NULL; in thread_rpc_alloc_arg() local 365 struct mobj *mobj = tpm->u.memref.mobj; in set_tmem() local 396 struct mobj *mobj = thread_rpc_alloc_arg(sz); in get_rpc_arg() local 516 static void thread_rpc_free(unsigned int bt, uint64_t cookie, struct mobj *mobj) in thread_rpc_free() 536 struct mobj *mobj = NULL; in get_rpc_alloc_res() local 615 void thread_rpc_free_kernel_payload(struct mobj *mobj) in thread_rpc_free_kernel_payload() 620 void thread_rpc_free_payload(struct mobj *mobj) in thread_rpc_free_payload() 631 void thread_rpc_free_global_payload(struct mobj *mobj) in thread_rpc_free_global_payload()
|
A D | rpc_io_i2c.c | 23 struct mobj *mobj = NULL; in rpc_io_i2c_transfer() local
|
A D | thread_spmc.c | 1019 struct mobj *mobj = NULL; in yielding_call_with_arg() local 1208 static void thread_rpc_free(unsigned int bt, uint64_t cookie, struct mobj *mobj) in thread_rpc_free() 1242 struct mobj *mobj = NULL; in thread_rpc_alloc() local 1290 void thread_rpc_free_kernel_payload(struct mobj *mobj) in thread_rpc_free_kernel_payload() 1295 void thread_rpc_free_payload(struct mobj *mobj) in thread_rpc_free_payload() 1306 void thread_rpc_free_global_payload(struct mobj *mobj) in thread_rpc_free_global_payload()
|
A D | ldelf_loader.c | 34 struct mobj *mobj = mobj_with_fobj_alloc(fobj, NULL); in alloc_and_map_ldelf_fobj() local
|
/optee_os/core/kernel/ |
A D | msg_param.c | 66 struct mobj *mobj; in msg_param_extract_pages() local 118 struct mobj *mobj = NULL; in msg_param_mobj_from_noncontig() local
|
A D | ree_fs_ta.c | 61 struct mobj *mobj; member 83 size_t *ta_size, struct mobj **mobj) in rpc_load() 132 struct mobj *mobj = NULL; in ree_fs_ta_open() local
|
A D | ldelf_syscalls.c | 36 struct mobj *mobj = NULL; in ldelf_syscall_map_zi() local 273 struct mobj *mobj = NULL; in ldelf_syscall_map_bin() local
|
A D | pseudo_ta.c | 29 static bool validate_in_param(struct ts_session *s, struct mobj *mobj) in validate_in_param()
|
A D | user_ta.c | 266 struct mobj *mobj = NULL; in user_ta_dump_ftrace() local
|
/optee_os/core/tee/ |
A D | socket.c | 23 struct mobj *mobj = NULL; in socket_open() local 85 struct mobj *mobj = NULL; in socket_send() local 123 struct mobj *mobj = NULL; in socket_recv() local 164 struct mobj *mobj = NULL; in socket_ioctl() local
|
A D | tee_fs_rpc.c | 57 struct mobj *mobj = NULL; in operation_open_dfh() local 115 struct mobj *mobj; in tee_fs_rpc_read_init() local 154 struct mobj *mobj; in tee_fs_rpc_write_init() local 201 struct mobj *mobj = NULL; in tee_fs_rpc_remove_dfh() local
|
A D | tee_supp_plugin_rpc.c | 26 struct mobj *mobj = NULL; in tee_invoke_supp_plugin_rpc() local
|
A D | entry_std.c | 45 struct mobj *mobj, in param_mem_from_mobj() 101 struct mobj __maybe_unused **mobj; in set_tmem_param() local 486 struct mobj *mobj = NULL; in register_shm() local
|
A D | tadb.c | 100 struct mobj *mobj = NULL; in ta_operation_open() local 126 struct mobj *mobj = NULL; in ta_operation_remove() local
|
/optee_os/core/pta/ |
A D | gprof.c | 21 struct mobj *mobj; in gprof_send_rpc() local
|
A D | system.c | 127 struct mobj *mobj = NULL; in system_map_zi() local
|