Searched refs:bbuf (Results 1 – 6 of 6) sorted by relevance
| /optee_os/core/kernel/ |
| H A D | user_access.c | 138 bb = maybe_tag_bb(uctx->bbuf + uctx->bbuf_offs, len); in bb_alloc() 146 vaddr_t bbuf = (vaddr_t)uctx->bbuf; in bb_free_helper() local 148 if (bb >= bbuf && IS_ALIGNED(bb, BB_ALIGNMENT)) { in bb_free_helper() 149 size_t prev_offs = bb - bbuf; in bb_free_helper() 186 maybe_untag_bb(uctx->bbuf, uctx->bbuf_offs); in bb_reset()
|
| H A D | ldelf_loader.c | 69 uctx->bbuf = (void *)bb_addr; in ldelf_load_ldelf()
|
| /optee_os/core/include/kernel/ |
| H A D | user_mode_ctx_struct.h | 55 uint8_t *bbuf; member
|
| /optee_os/core/tee/ |
| H A D | tee_svc_cryp.c | 828 void *bbuf = NULL; in op_attr_bignum_from_user() local 830 res = bb_memdup_user(buffer, size, &bbuf); in op_attr_bignum_from_user() 834 res = crypto_bignum_bin2bn(bbuf, size, *bn); in op_attr_bignum_from_user() 836 bb_free(bbuf, size); in op_attr_bignum_from_user() 849 void *bbuf = NULL; in op_attr_bignum_to_user() local 864 bbuf = bb_alloc(req_size); in op_attr_bignum_to_user() 865 if (!bbuf) in op_attr_bignum_to_user() 872 crypto_bignum_bn2bin(*bn, bbuf); in op_attr_bignum_to_user() 873 res = copy_to_user(buffer, bbuf, req_size); in op_attr_bignum_to_user() 875 bb_free(bbuf, req_size); in op_attr_bignum_to_user() [all …]
|
| H A D | tee_svc_storage.c | 633 struct utee_object_info bbuf = { }; in syscall_storage_next_enum() local 678 bbuf = (struct utee_object_info){ in syscall_storage_next_enum() 691 res = copy_to_user(info, &bbuf, sizeof(bbuf)); in syscall_storage_next_enum()
|
| /optee_os/core/arch/arm/kernel/ |
| H A D | secure_partition.c | 527 uctx->bbuf = (uint8_t *)va; in load_binary_sp()
|