Home
last modified time | relevance | path

Searched hist:"8 b0894f51ada34fda9392a08aa1c571a1a900190" (Results 1 – 1 of 1) sorted by relevance

/optee_os/core/include/tee/
H A Dtee_fs.h8b0894f51ada34fda9392a08aa1c571a1a900190 Wed Sep 09 06:45:16 UTC 2015 James Kung <james.kung@linaro.org> Secure Storage: Support extending file size and file hole

With this patch, user can extend file size by truncate operation.

Also the file hole feature is supported in this patch, that is,
user can seek to a position larger than file size and write data
from the position.

The file hole implementation actually is not an efficient solution,
because we always fill zero in these holes.

Signed-off-by: James Kung <james.kung@linaro.org>
Tested-by: James Kung <james.kung@linaro.org> (QEMU, MT8173 EVB)
Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
Tested-by: Pascal Brand <pascal.brand@linaro.org> (QEMU platform)
Tested-by: Jerome Forissier <jerome.forissier@linaro.org> (HiKey)
Reviewed-by: Joakim Bech <joakim.bech@linaro.org>