To summarize my problem: i have blocks (for instance each 2 MB) of memory on my device. Now, the data that has to be saved on the device is steadily increasing and I have no idea when its over.
Now, I could create a new (bigger) buffer object, copy the old one, delete the old one and its fine. However, i will save the copy instruction on the device. Hence, i wanted to create some sort of filesystem where i store a kind of linked list of memory objects (each 2MB) and save me the order of those blocks.
Unfortunately, there is no way to give the kernels a reference to all of these memory objects.
Could anyone imagine a solution?