genode/repos/gems/include/cbe
Norman Feske bdf47785b8 vfs: remove 'file_size' from read/write interfaces
The 'file_size' type denotes the size of files on disk in bytes. On
32-bit architectures it is larger than the size_t, which refers to
in-memory object sizes.

Whereas the use of 'file_size' is appropriate for ftruncate and seek, it
is not a suitable type for the parameters of read/write operations
because those operations refer to in-memory buffers.

This patch replaces the use of 'file_size' by size_t. However, since it
affects all sites where the read/write interface is uses, it takes the
opportunity to replace the C-style (pointer, size) arguments by
'Byte_range_ptr' and 'Const_byte_range_ptr'.

Issue #4706
2023-02-27 08:22:49 +01:00
..
check gems: import Genode-specific code of the CBE 2020-11-27 09:19:08 +01:00
crypto vfs: remove 'file_size' from read/write interfaces 2023-02-27 08:22:49 +01:00
dump gems: import Genode-specific code of the CBE 2020-11-27 09:19:08 +01:00
init xml_node: change with_sub_node signature 2022-09-19 14:00:33 +02:00
vfs vfs: remove 'file_size' from read/write interfaces 2023-02-27 08:22:49 +01:00
library.h gems: import Genode-specific code of the CBE 2020-11-27 09:19:08 +01:00
spark_object.h gems: import Genode-specific code of the CBE 2020-11-27 09:19:08 +01:00
types.h cbe/types: invalid generation, generation string 2021-10-13 14:50:45 +02:00