Searched refs:shm_buf (Results 1 – 3 of 3) sorted by relevance
/u-boot/cmd/ |
A D | optee_rpmb.c | 80 struct tee_shm *shm_buf; in read_persistent_value() local 94 TEE_SHM_ALLOC, &shm_buf); in read_persistent_value() 107 param[1].u.memref.shm = shm_buf; in read_persistent_value() 122 memcpy(out_buffer, shm_buf->addr, *out_num_bytes_read); in read_persistent_value() 125 tee_shm_free(shm_buf); in read_persistent_value() 138 struct tee_shm *shm_buf; in write_persistent_value() local 155 TEE_SHM_ALLOC, &shm_buf); in write_persistent_value() 162 memcpy(shm_buf->addr, value, value_size); in write_persistent_value() 169 param[1].u.memref.shm = shm_buf; in write_persistent_value() 178 tee_shm_free(shm_buf); in write_persistent_value()
|
/u-boot/test/dm/ |
A D | tee.c | 57 struct tee_shm *shm_buf; in invoke_func_rpc_test() local 65 TEE_SHM_ALLOC, &shm_buf); in invoke_func_rpc_test() 70 memcpy(shm_buf->addr, buf, buf_size); in invoke_func_rpc_test() 78 param[1].u.memref.shm = shm_buf; in invoke_func_rpc_test() 87 memcpy(buf, shm_buf->addr, buf_size); in invoke_func_rpc_test() 89 tee_shm_free(shm_buf); in invoke_func_rpc_test()
|
/u-boot/common/ |
A D | avb_verify.c | 863 struct tee_shm *shm_buf; in read_persistent_value() local 879 TEE_SHM_ALLOC, &shm_buf); in read_persistent_value() 892 param[1].u.memref.shm = shm_buf; in read_persistent_value() 907 memcpy(out_buffer, shm_buf->addr, *out_num_bytes_read); in read_persistent_value() 910 tee_shm_free(shm_buf); in read_persistent_value() 924 struct tee_shm *shm_buf; in write_persistent_value() local 943 TEE_SHM_ALLOC, &shm_buf); in write_persistent_value() 950 memcpy(shm_buf->addr, value, value_size); in write_persistent_value() 957 param[1].u.memref.shm = shm_buf; in write_persistent_value() 966 tee_shm_free(shm_buf); in write_persistent_value()
|
Completed in 6 milliseconds