Lines Matching refs:arg
31 static void __noreturn __maybe_unused dump_ta_state(struct dump_entry_arg *arg) in dump_ta_state() argument
41 arg->num_maps, arg->maps, mpool_base); in dump_ta_state()
43 if (arg->is_arm32) in dump_ta_state()
44 ta_elf_stack_trace_a32(arg->arm32.regs); in dump_ta_state()
46 ta_elf_stack_trace_a64(arg->arm64.fp, arg->arm64.sp, in dump_ta_state()
47 arg->arm64.pc); in dump_ta_state()
106 static void __noreturn dl_entry(struct dl_entry_arg *arg) in dl_entry() argument
108 switch (arg->cmd) { in dl_entry()
110 arg->ret = dlopen_entry(arg); in dl_entry()
113 arg->ret = dlsym_entry(arg); in dl_entry()
116 arg->ret = TEE_ERROR_NOT_SUPPORTED; in dl_entry()
128 void __noreturn ldelf(struct ldelf_arg *arg);
129 void ldelf(struct ldelf_arg *arg) in ldelf() argument
134 DMSG("Loading TS %pUl", (void *)&arg->uuid); in ldelf()
143 ta_elf_load_main(&arg->uuid, &arg->is_32bit, &arg->stack_ptr, in ldelf()
144 &arg->flags); in ldelf()
152 ta_elf_load_dependency(elf, arg->is_32bit); in ldelf()
159 ta_elf_finalize_load_main(&arg->entry_func); in ldelf()
161 arg->ftrace_entry = 0; in ldelf()
163 if (ftrace_init(&arg->fbuf)) in ldelf()
164 arg->ftrace_entry = (vaddr_t)(void *)ftrace_dump; in ldelf()
172 arg->dump_entry = (vaddr_t)(void *)dump_ta_state; in ldelf()
174 arg->dump_entry = 0; in ldelf()
176 arg->dl_entry = (vaddr_t)(void *)dl_entry; in ldelf()