diff options
author | Jens Wiklander <jens.wiklander@linaro.org> | 2022-02-04 10:33:54 +0100 |
---|---|---|
committer | Jens Wiklander <jens.wiklander@linaro.org> | 2022-02-16 07:49:41 +0100 |
commit | 5d41f1b3e3282909b6bbceacb9aebe1d3c849a49 (patch) | |
tree | ac0cfba8dc01820f55079584830fad7f44afca5d /fs/ext2/balloc.c | |
parent | d88e0493a054c9fe72ade41a42d42e958ee6503d (diff) | |
download | linux-5d41f1b3e3282909b6bbceacb9aebe1d3c849a49.tar.gz linux-5d41f1b3e3282909b6bbceacb9aebe1d3c849a49.tar.bz2 linux-5d41f1b3e3282909b6bbceacb9aebe1d3c849a49.zip |
tee: replace tee_shm_alloc()
tee_shm_alloc() is replaced by three new functions,
tee_shm_alloc_user_buf() - for user mode allocations, replacing passing
the flags TEE_SHM_MAPPED | TEE_SHM_DMA_BUF
tee_shm_alloc_kernel_buf() - for kernel mode allocations, slightly
optimized compared to using the flags TEE_SHM_MAPPED | TEE_SHM_DMA_BUF.
tee_shm_alloc_priv_buf() - primarily for TEE driver internal use.
This also makes the interface easier to use as we can get rid of the
somewhat hard to use flags parameter.
The TEE subsystem and the TEE drivers are updated to use the new
functions instead.
Reviewed-by: Sumit Garg <sumit.garg@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'fs/ext2/balloc.c')
0 files changed, 0 insertions, 0 deletions