Home
last modified time | relevance | path

Searched hist:"86 dbb179ca94ad5512680d4a7691447c47f3bdb1" (Results 1 – 1 of 1) sorted by relevance

/optee_os/core/kernel/
H A Dtransfer_list.c86dbb179ca94ad5512680d4a7691447c47f3bdb1 Mon Nov 27 17:54:55 UTC 2023 Raymond Mao <raymond.mao@linaro.org> core: remove unused bytes from transfer list

Only marks the minimum bytes required by alignment as 'TL_TAG_EMPTY'
and release the rest of unused bytes from transfer list when downsizing
the data of a transfer entry.
Function transfer_list_set_data_size() will remove the unused bytes
from the transfer list so that the freed space is allocable when adding
new transfer entries.

Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>