Home
last modified time | relevance | path

Searched refs:copy_size (Results 1 – 3 of 3) sorted by relevance

/optee_os-3.20.0/core/arch/arm/plat-synquacer/
A Drng_pta.c127 uint32_t copy_size; in pool_add_entropy() local
133 copy_size = size; in pool_add_entropy()
135 copy_size = ENTROPY_POOL_SIZE - entropy_size; in pool_add_entropy()
137 memcpy((entropy_pool + entropy_size), entropy, copy_size); in pool_add_entropy()
139 entropy_size += copy_size; in pool_add_entropy()
/optee_os-3.20.0/core/drivers/crypto/caam/utils/
A Dutils_dmaobj.c852 size_t copy_size = 0; in caam_dmaobj_copy_to_orig() local
876 copy_size = MIN(dst_rlen, sgtdata->length); in caam_dmaobj_copy_to_orig()
878 copy_size = MIN(dst_rlen, sgtdata->length); in caam_dmaobj_copy_to_orig()
882 length += copy_size; in caam_dmaobj_copy_to_orig()
883 dst_rlen -= copy_size; in caam_dmaobj_copy_to_orig()
896 size_t copy_size = 0; in caam_dmaobj_copy_ltrim_to_orig() local
956 copy_size = MIN(dst_rlen, sgtdata->length); in caam_dmaobj_copy_ltrim_to_orig()
958 memmove(dst, sgtdata->dma, copy_size); in caam_dmaobj_copy_ltrim_to_orig()
961 dst += copy_size; in caam_dmaobj_copy_ltrim_to_orig()
962 dst_rlen -= copy_size; in caam_dmaobj_copy_ltrim_to_orig()
[all …]
/optee_os-3.20.0/core/tee/
A Dtee_rpmb_fs.c2444 size_t copy_size = 0; in update_write_helper() local
2468 copy_size = TMP_BLOCK_SIZE; in update_write_helper()
2474 copy_size -= offset; in update_write_helper()
2476 copy_size = MIN(copy_size, rem_size); in update_write_helper()
2478 memcpy(copy_dst, rem_buf, copy_size); in update_write_helper()
2479 rem_buf += copy_size; in update_write_helper()
2480 rem_size -= copy_size; in update_write_helper()

Completed in 11 milliseconds