Home
last modified time | relevance | path

Searched refs:num_params (Results 1 – 16 of 16) sorted by relevance

/optee_os/core/tee/
A Dentry_std.c173 uint32_t num_params, in copy_in_params() argument
181 if (num_params > TEE_NUM_PARAMS) in copy_in_params()
186 for (n = 0; n < num_params; n++) { in copy_in_params()
257 for (n = 0; n < num_params; n++) { in cleanup_shm_refs()
323 if (num_params < 2) in get_open_session_meta()
405 if (num_params) { in entry_close_session()
462 if (num_params) { in entry_cancel()
490 if (num_params != 1 || in register_shm()
508 if (num_params == 1) { in unregister_shm()
555 entry_cancel(arg, num_params); in __tee_entry_std()
[all …]
A Dtee_fs_rpc.c49 return thread_rpc_cmd(op->id, op->num_params, op->params); in operation_commit()
72 .id = id, .num_params = 3, .params = { in operation_open_dfh()
103 .id = id, .num_params = 1, .params = { in tee_fs_rpc_close()
128 .id = id, .num_params = 2, .params = { in tee_fs_rpc_read_init()
167 .id = id, .num_params = 2, .params = { in tee_fs_rpc_write_init()
187 .id = id, .num_params = 1, .params = { in tee_fs_rpc_truncate()
216 .id = id, .num_params = 2, .params = { in tee_fs_rpc_remove_dfh()
A Dtee_svc_cryp.c3501 static int pkcs1_get_salt_len(const TEE_Attribute *params, uint32_t num_params, in pkcs1_get_salt_len() argument
3508 for (n = 0; n < num_params; n++) { in pkcs1_get_salt_len()
3524 size_t num_params, const void *src_data, size_t src_len, in syscall_asymm_operate() argument
3563 if (MUL_OVERFLOW(sizeof(TEE_Attribute), num_params, &alloc_size)) in syscall_asymm_operate()
3569 res = copy_in_attrs(utc, usr_params, num_params, params); in syscall_asymm_operate()
3620 for (n = 0; n < num_params; n++) { in syscall_asymm_operate()
3660 salt_len = pkcs1_get_salt_len(params, num_params, src_len); in syscall_asymm_operate()
3701 size_t num_params, const void *data, size_t data_len, in syscall_asymm_verify() argument
3736 if (MUL_OVERFLOW(sizeof(TEE_Attribute), num_params, &alloc_size)) in syscall_asymm_verify()
3742 res = copy_in_attrs(utc, usr_params, num_params, params); in syscall_asymm_verify()
[all …]
/optee_os/core/arch/arm/kernel/
A Dthread_optee_smc.c107 *num_params = READ_ONCE(arg->num_params); in get_cmd_buffer()
108 if (*num_params > OPTEE_MSG_MAX_NUM_PARAMS) in get_cmd_buffer()
133 *num_params = READ_ONCE(arg->num_params); in map_cmd_buffer()
134 if (*num_params > OPTEE_MSG_MAX_NUM_PARAMS) in map_cmd_buffer()
150 uint32_t *num_params __unused) in map_cmd_buffer()
161 uint32_t num_params = 0; in std_smc_entry() local
175 mobj = get_cmd_buffer(parg, &num_params); in std_smc_entry()
179 mobj = map_cmd_buffer(parg, &num_params); in std_smc_entry()
190 rv = tee_entry_std(arg, num_params); in std_smc_entry()
413 arg->num_params = num_params; in get_rpc_arg()
[all …]
A Dthread_spmc.c1020 uint32_t num_params = 0; in yielding_call_with_arg() local
1038 num_params = READ_ONCE(arg->num_params); in yielding_call_with_arg()
1039 if (num_params > OPTEE_MSG_MAX_NUM_PARAMS) in yielding_call_with_arg()
1042 sz = OPTEE_MSG_GET_ARG_SIZE(num_params); in yielding_call_with_arg()
1048 rv = tee_entry_std(arg, num_params); in yielding_call_with_arg()
1120 if (num_params > THREAD_RPC_MAX_NUM_PARAMS) in get_rpc_arg()
1130 arg->num_params = num_params; in get_rpc_arg()
1133 for (size_t n = 0; n < num_params; n++) { in get_rpc_arg()
1168 for (size_t n = 0; n < num_params; n++) { in get_rpc_arg_res()
1205 return get_rpc_arg_res(arg, num_params, params); in thread_rpc_cmd()
[all …]
/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);
A Dtee_svc_cryp.h77 size_t num_params, const void *src_data,
81 size_t num_params, const void *data, size_t data_len,
A Dtee_fs_rpc.h22 size_t num_params; member
/optee_os/core/include/
A Doptee_msg.h212 uint32_t num_params; member
226 #define OPTEE_MSG_GET_ARG_SIZE(num_params) \ argument
228 sizeof(struct optee_msg_param) * (num_params))
/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/out/arm/export-ta_arm64/host_include/
A Dutee_syscalls.h153 unsigned long num_params, const void *src_data,
159 unsigned long num_params, const void *data,
/optee_os/out/arm/export-ta_arm64/include/
A Dutee_syscalls.h153 unsigned long num_params, const void *src_data,
159 unsigned long num_params, const void *data,
/optee_os/lib/libutee/include/
A Dutee_syscalls.h153 unsigned long num_params, const void *src_data,
159 unsigned long num_params, const void *data,
/optee_os/out/arm/export-ta_arm32/host_include/
A Dutee_syscalls.h153 unsigned long num_params, const void *src_data,
159 unsigned long num_params, const void *data,
/optee_os/out/arm/export-ta_arm32/include/
A Dutee_syscalls.h153 unsigned long num_params, const void *src_data,
159 unsigned long num_params, const void *data,
/optee_os/core/arch/arm/include/kernel/
A Dthread.h719 uint32_t thread_rpc_cmd(uint32_t cmd, size_t num_params,

Completed in 25 milliseconds