Home
last modified time | relevance | path

Searched defs:mobj (Results 1 – 25 of 36) sorted by relevance

12

/optee_os-3.20.0/core/include/mm/
A Dmobj.h20 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 Dvm.h41 struct mobj *mobj, size_t offs) in vm_map()
A Dsp_mem.h38 struct mobj *mobj; member
/optee_os-3.20.0/core/mm/
A Dmobj.c35 struct mobj mobj; member
112 static void mobj_phys_free(struct mobj *mobj) in mobj_phys_free()
247 struct mobj mobj; member
289 static void mobj_mm_free(struct mobj *mobj) in mobj_mm_free()
348 struct mobj mobj; member
411 static void mobj_shm_free(struct mobj *mobj) in mobj_shm_free()
473 struct mobj mobj; member
532 static bool mobj_is_seccpy_shm(struct mobj *mobj) in mobj_is_seccpy_shm()
582 struct mobj mobj; member
636 static void mobj_with_fobj_free(struct mobj *mobj) in mobj_with_fobj_free()
[all …]
A Dvm.c296 uint32_t prot, uint32_t flags, struct mobj *mobj, in vm_map_pad()
854 struct mobj *mobj = NULL; in map_kinit() local
1079 TEE_Result vm_add_rwmem(struct user_mode_ctx *uctx, struct mobj *mobj, in vm_add_rwmem()
1113 void vm_rem_rwmem(struct user_mode_ctx *uctx, struct mobj *mobj, vaddr_t va) in vm_rem_rwmem()
1178 struct mobj **mobj, size_t *offs) in vm_buf_to_mboj_offs()
/optee_os-3.20.0/core/arch/arm/mm/
A Dmobj_dyn_shm.c35 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 Dsp_mem.c23 struct mobj mobj; member
29 static struct mobj_sp *to_mobj_sp(struct mobj *mobj) in to_mobj_sp()
76 int sp_mem_add_pages(struct mobj *mobj, unsigned int *idx, in sp_mem_add_pages()
105 static TEE_Result get_mem_type(struct mobj *mobj, uint32_t *mt) in get_mem_type()
114 static bool mobj_sp_matches(struct mobj *mobj, enum buf_is_attr attr) in mobj_sp_matches()
124 static TEE_Result get_pa(struct mobj *mobj, size_t offset, in get_pa()
159 static void inactivate(struct mobj *mobj) in inactivate()
210 struct mobj *mobj) in sp_mem_get_va()
A Dmobj_ffa.c17 struct mobj mobj; member
45 static struct mobj_ffa *to_mobj_ffa(struct mobj *mobj) in to_mobj_ffa()
429 static TEE_Result ffa_get_pa(struct mobj *mobj, size_t offset, in ffa_get_pa()
459 static size_t ffa_get_phys_offs(struct mobj *mobj, in ffa_get_phys_offs()
467 static void *ffa_get_va(struct mobj *mobj, size_t offset, size_t len) in ffa_get_va()
477 static void ffa_inactivate(struct mobj *mobj) in ffa_inactivate()
519 static uint64_t ffa_get_cookie(struct mobj *mobj) in ffa_get_cookie()
524 static TEE_Result ffa_inc_map(struct mobj *mobj) in ffa_inc_map()
575 static TEE_Result ffa_dec_map(struct mobj *mobj) in ffa_dec_map()
/optee_os-3.20.0/core/arch/arm/kernel/
A Dthread_optee_smc.c100 static uint32_t get_msg_arg(struct mobj *mobj, size_t offset, in get_msg_arg()
187 struct mobj *mobj = NULL; in std_entry_with_parg() local
244 struct mobj *mobj = NULL; in std_entry_with_regd_arg() local
396 struct mobj *mobj = NULL; in thread_rpc_alloc_arg() local
442 struct mobj *mobj = tpm->u.memref.mobj; in set_tmem() local
473 struct mobj *mobj = thread_rpc_alloc_arg(sz); in get_rpc_arg() local
593 static void thread_rpc_free(unsigned int bt, uint64_t cookie, struct mobj *mobj) in thread_rpc_free()
613 struct mobj *mobj = NULL; in get_rpc_alloc_res() local
695 void thread_rpc_free_kernel_payload(struct mobj *mobj) in thread_rpc_free_kernel_payload()
700 void thread_rpc_free_payload(struct mobj *mobj) in thread_rpc_free_payload()
[all …]
A Drpc_io_i2c.c23 struct mobj *mobj = NULL; in rpc_io_i2c_transfer() local
A Dthread_spmc.c1022 struct mobj *mobj = NULL; in yielding_call_with_arg() local
1210 static void thread_rpc_free(unsigned int bt, uint64_t cookie, struct mobj *mobj) in thread_rpc_free()
1244 struct mobj *mobj = NULL; in thread_rpc_alloc() local
1292 void thread_rpc_free_kernel_payload(struct mobj *mobj) in thread_rpc_free_kernel_payload()
1297 void thread_rpc_free_payload(struct mobj *mobj) in thread_rpc_free_payload()
1308 void thread_rpc_free_global_payload(struct mobj *mobj) in thread_rpc_free_global_payload()
A Dldelf_loader.c34 struct mobj *mobj = mobj_with_fobj_alloc(fobj, NULL, in alloc_and_map_ldelf_fobj() local
/optee_os-3.20.0/core/kernel/
A Dmsg_param.c66 struct mobj *mobj; in msg_param_extract_pages() local
118 struct mobj *mobj = NULL; in msg_param_mobj_from_noncontig() local
A Dree_fs_ta.c62 struct mobj *mobj; member
189 size_t *ta_size, struct mobj **mobj) in rpc_load()
240 struct mobj *mobj = NULL; in ree_fs_ta_open() local
A Dldelf_syscalls.c36 struct mobj *mobj = NULL; in ldelf_syscall_map_zi() local
273 struct mobj *mobj = NULL; in ldelf_syscall_map_bin() local
A Dpseudo_ta.c29 static bool validate_in_param(struct ts_session *s, struct mobj *mobj) in validate_in_param()
A Duser_ta.c273 struct mobj *mobj = NULL; in user_ta_dump_ftrace() local
/optee_os-3.20.0/core/tee/
A Dsocket.c23 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 Dtee_fs_rpc.c57 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 Dtee_supp_plugin_rpc.c26 struct mobj *mobj = NULL; in tee_invoke_supp_plugin_rpc() local
A Dentry_std.c45 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
/optee_os-3.20.0/core/pta/
A Dgprof.c21 struct mobj *mobj; in gprof_send_rpc() local
A Dsystem.c127 struct mobj *mobj = NULL; in system_map_zi() local
/optee_os-3.20.0/core/include/kernel/
A Dthread_private.h26 struct mobj *mobj; member
/optee_os-3.20.0/core/arch/riscv/include/kernel/
A Dthread_arch.h118 static inline void thread_get_user_kcode(struct mobj **mobj, size_t *offset, in thread_get_user_kcode()
127 static inline void thread_get_user_kdata(struct mobj **mobj, size_t *offset, in thread_get_user_kdata()

Completed in 30 milliseconds

12