Lines Matching +full:check +full:- +full:rust
1 // SPDX-License-Identifier: BSD-2-Clause
16 * return a known non-NULL invalid pointer when the
26 * Teaclave TrustZone SDK seems to roll their own in Rust.
34 /* System API - Internal Client API */
43 up->types = param_types; in copy_param()
45 switch (TEE_PARAM_TYPE_GET(up->types, n)) { in copy_param()
61 up->vals[n * 2] = a; in copy_param()
62 up->vals[n * 2 + 1] = b; in copy_param()
73 up->types = param_types; in copy_gp11_param()
75 switch (TEE_PARAM_TYPE_GET(up->types, n)) { in copy_gp11_param()
91 up->vals[n * 2] = a; in copy_gp11_param()
92 up->vals[n * 2 + 1] = b; in copy_gp11_param()
118 switch (TEE_PARAM_TYPE_GET(up->types, n)) { in map_tmp_param()
122 b = (void *)(vaddr_t)up->vals[n * 2]; in map_tmp_param()
123 s = up->vals[n * 2 + 1]; in map_tmp_param()
153 switch (TEE_PARAM_TYPE_GET(up->types, n)) { in map_tmp_param()
159 s = up->vals[n * 2 + 1]; in map_tmp_param()
160 b = (void *)(vaddr_t)up->vals[n * 2]; in map_tmp_param()
163 up->vals[n * 2] = (vaddr_t)tmp_va[n]; in map_tmp_param()
164 if (TEE_PARAM_TYPE_GET(up->types, n) != in map_tmp_param()
182 uint32_t types = up->types; in update_out_param()
185 uintptr_t a = up->vals[n * 2]; in update_out_param()
186 uintptr_t b = up->vals[n * 2 + 1]; in update_out_param()
212 uint32_t types = up->types; in update_out_gp11_param()
215 uintptr_t a = up->vals[n * 2]; in update_out_gp11_param()
216 uintptr_t b = up->vals[n * 2 + 1]; in update_out_gp11_param()
241 vaddr_t e1 = b1 + sz1 - 1; in bufs_intersect()
242 vaddr_t e2 = b2 + sz2 - 1; in bufs_intersect()
527 /* System API - Cancellations */
559 /* System API - Memory Management */
570 * Check access rights against memory mapping. If this check is in TEE_CheckMemoryAccessRights()
577 * Check access rights against input parameters. in TEE_CheckMemoryAccessRights()
668 time->seconds = 0; in TEE_GetTAPersistentTime()
669 time->millis = 0; in TEE_GetTAPersistentTime()