Home
last modified time | relevance | path

Searched refs:arg (Results 1 – 21 of 21) sorted by relevance

/optee_os/core/arch/arm/kernel/
A Dldelf_loader.c112 memset(arg, 0, sizeof(*arg)); in ldelf_init_with_ldelf()
137 (uaddr_t)arg, sizeof(*arg)); in ldelf_init_with_ldelf()
189 (uaddr_t)arg, sizeof(*arg)); in ldelf_dump_state()
195 memset(arg, 0, sizeof(*arg) + n * sizeof(struct dump_map)); in ldelf_dump_state()
307 (uaddr_t)arg, sizeof(*arg)); in ldelf_dump_ftrace()
313 *arg = *blen; in ldelf_dump_ftrace()
336 *blen = *arg; in ldelf_dump_ftrace()
362 (uaddr_t)arg, sizeof(*arg)); in ldelf_dlopen()
368 memset(arg, 0, sizeof(*arg)); in ldelf_dlopen()
415 (uaddr_t)arg, sizeof(*arg) + len + 1); in ldelf_dlsym()
[all …]
A Dthread_optee_smc.c104 if (!arg) in get_cmd_buffer()
130 if (!arg) in map_cmd_buffer()
395 if (!arg) { in get_rpc_arg()
402 if (!arg) { in get_rpc_arg()
412 arg->cmd = cmd; in get_rpc_arg()
452 *arg_ret = arg; in get_rpc_arg()
482 return arg->ret; in get_rpc_arg_res()
489 void *arg = NULL; in thread_rpc_cmd() local
519 void *arg = NULL; in thread_rpc_free() local
541 if (arg->ret || arg->num_params != 1) in get_rpc_alloc_res()
[all …]
A Dthread_spmc.c1018 struct optee_msg_arg *arg = NULL; in yielding_call_with_arg() local
1034 arg = mobj_get_va(mobj, offset, sizeof(*arg)); in yielding_call_with_arg()
1035 if (!arg) in yielding_call_with_arg()
1123 if (!arg) { in get_rpc_arg()
1128 memset(arg, 0, sz); in get_rpc_arg()
1129 arg->cmd = cmd; in get_rpc_arg()
1130 arg->num_params = num_params; in get_rpc_arg()
1160 *arg_ret = arg; in get_rpc_arg()
1185 return arg->ret; in get_rpc_arg_res()
1196 struct optee_msg_arg *arg = NULL; in thread_rpc_cmd() local
[all …]
/optee_os/ldelf/
A Dmain.c41 arg->num_maps, arg->maps, mpool_base); in dump_ta_state()
43 if (arg->is_arm32) 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()
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()
143 ta_elf_load_main(&arg->uuid, &arg->is_32bit, &arg->stack_ptr, in ldelf()
144 &arg->flags); in ldelf()
161 arg->ftrace_entry = 0; in ldelf()
[all …]
A Ddl.c11 TEE_Result dlopen_entry(struct dl_entry_arg *arg) in dlopen_entry() argument
15 if (arg->dlopen.flags != (RTLD_NOW | RTLD_GLOBAL | RTLD_NODELETE)) in dlopen_entry()
18 if (!memcmp(&arg->dlopen.uuid, &zero, sizeof(zero))) in dlopen_entry()
21 return ta_elf_add_library(&arg->dlopen.uuid); in dlopen_entry()
24 TEE_Result dlsym_entry(struct dl_entry_arg *arg) in dlsym_entry() argument
29 if (memcmp(&arg->dlsym.uuid, &zero, sizeof(zero))) { in dlsym_entry()
30 elf = ta_elf_find_elf(&arg->dlsym.uuid); in dlsym_entry()
35 return ta_elf_resolve_sym(arg->dlsym.symbol, &arg->dlsym.val, NULL, in dlsym_entry()
A Ddl.h12 TEE_Result dlopen_entry(struct dl_entry_arg *arg);
13 TEE_Result dlsym_entry(struct dl_entry_arg *arg);
/optee_os/core/lib/libtomcrypt/src/misc/pbes/
A Dpbes.c30 LTC_ARGCHK(arg != NULL); in pbes_decrypt()
35 hid = find_hash(arg->type.h); in pbes_decrypt()
37 cid = find_cipher(arg->type.c); in pbes_decrypt()
40 klen = arg->type.keylen; in pbes_decrypt()
43 if (arg->key_bits != 0) { in pbes_decrypt()
47 klen = arg->key_bits / 8; in pbes_decrypt()
51 if (arg->iv != NULL) { in pbes_decrypt()
52 iv = arg->iv->data; in pbes_decrypt()
55 klen += arg->type.blocklen; in pbes_decrypt()
60 …if ((err = arg->type.kdf(arg->pwd, arg->pwdlen, arg->salt->data, arg->salt->size, arg->iterations,… in pbes_decrypt()
[all …]
/optee_os/core/tee/
A Dentry_std.c393 arg->session = s->id; in entry_open_session()
395 arg->session = 0; in entry_open_session()
396 arg->ret = res; in entry_open_session()
397 arg->ret_origin = err_orig; in entry_open_session()
416 arg->ret = res; in entry_close_session()
452 arg->ret = res; in entry_invoke_command()
453 arg->ret_origin = err_orig; in entry_invoke_command()
477 arg->ret = res; in entry_cancel()
503 arg->ret = TEE_SUCCESS; in register_shm()
514 arg->ret = res; in unregister_shm()
[all …]
A Dfs_htree.c105 void *arg; member
202 traverse_cb_t cb, void *arg) in htree_traverse_post_order() argument
204 struct traverse_arg targ = { ht, cb, arg }; in htree_traverse_post_order()
565 void *ctx = targ->arg; in verify_node()
732 res = calc_node_hash(node, meta, targ->arg, node->node.hash); in htree_sync_node_to_storage()
/optee_os/lib/libmbedtls/mbedtls/library/
A Dplatform.c127 int mbedtls_platform_win32_vsnprintf( char *s, size_t n, const char *fmt, va_list arg ) in mbedtls_platform_win32_vsnprintf() argument
136 ret = vsnprintf_s( s, n, _TRUNCATE, fmt, arg ); in mbedtls_platform_win32_vsnprintf()
138 ret = vsnprintf( s, n, fmt, arg ); in mbedtls_platform_win32_vsnprintf()
156 const char * format, va_list arg ) in platform_vsnprintf_uninit() argument
161 ((void) arg); in platform_vsnprintf_uninit()
170 va_list arg ) = MBEDTLS_PLATFORM_STD_VSNPRINTF;
174 va_list arg ) ) in mbedtls_platform_set_vsnprintf() argument
/optee_os/scripts/
A Dget_maintainer.py261 for arg in args.arg + downloads:
262 if os.path.exists(arg):
263 patches = split_patchset(arg)
267 arglist.append(arg)
269 for arg in arglist + split_patches:
272 if os.path.exists(arg):
274 (patch_paths, approved_by) = get_paths_from_patch(arg)
279 patch_paths = [PurePath(arg).as_posix()]
/optee_os/ta/pkcs11/scripts/
A Dverify-helpers.sh69 arg="$1"
72 case $arg in
80 echo "error: invalid argument: ${arg}" 1>&2
/optee_os/core/include/tee/
A Dentry_std.h19 uint32_t tee_entry_std(struct optee_msg_arg *arg, uint32_t num_params);
20 uint32_t __tee_entry_std(struct optee_msg_arg *arg, uint32_t num_params);
/optee_os/out/arm/export-ta_arm32/include/mbedtls/
A Dplatform.h259 int mbedtls_platform_win32_vsnprintf( char *s, size_t n, const char *fmt, va_list arg );
264 extern int (*mbedtls_vsnprintf)( char * s, size_t n, const char * format, va_list arg );
274 const char * format, va_list arg ) );
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/
A Dplatform.h259 int mbedtls_platform_win32_vsnprintf( char *s, size_t n, const char *fmt, va_list arg );
264 extern int (*mbedtls_vsnprintf)( char * s, size_t n, const char * format, va_list arg );
274 const char * format, va_list arg ) );
/optee_os/out/arm/export-ta_arm64/include/mbedtls/
A Dplatform.h259 int mbedtls_platform_win32_vsnprintf( char *s, size_t n, const char *fmt, va_list arg );
264 extern int (*mbedtls_vsnprintf)( char * s, size_t n, const char * format, va_list arg );
274 const char * format, va_list arg ) );
/optee_os/out/arm/export-ta_arm32/host_include/mbedtls/
A Dplatform.h259 int mbedtls_platform_win32_vsnprintf( char *s, size_t n, const char *fmt, va_list arg );
264 extern int (*mbedtls_vsnprintf)( char * s, size_t n, const char * format, va_list arg );
274 const char * format, va_list arg ) );
/optee_os/out/arm/export-ta_arm64/host_include/mbedtls/
A Dplatform.h259 int mbedtls_platform_win32_vsnprintf( char *s, size_t n, const char *fmt, va_list arg );
264 extern int (*mbedtls_vsnprintf)( char * s, size_t n, const char * format, va_list arg );
274 const char * format, va_list arg ) );
/optee_os/core/arch/arm/plat-stm/
A Dmain.c53 uint32_t tee_entry_std(struct optee_msg_arg *arg, uint32_t num_params) in tee_entry_std() argument
57 return __tee_entry_std(arg, num_params); in tee_entry_std()
/optee_os/core/arch/arm/include/sm/
A Dpm.h50 int sm_pm_cpu_suspend(uint32_t arg, int (*fn)(uint32_t));
/optee_os/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_private.h226 int pbes_decrypt(const pbes_arg *arg, unsigned char *dec_data, unsigned long *dec_size);

Completed in 25 milliseconds