Commit graph

22 commits

Author SHA1 Message Date
e18107d2d5 mufs: add support for directories 2017-06-09 14:38:31 +02:00
99e2229bbb mufs: clean up code by embedding struct mufs into struct mufs_tree 2017-06-09 13:35:37 +02:00
7212269675 mufs: write tree updates to disk 2017-06-09 13:18:09 +02:00
250c9bf200 mufs: do not memset during mufs_write() 2017-05-29 19:16:17 +02:00
849fc17eb0 mufs: keep track of read/written bytes in mufs_read()/mufs_write() 2017-05-29 18:56:34 +02:00
abe656c640 mufs: allocate a block for the root, if no root has been allocated in mufs_alloc_page() 2017-05-29 18:56:14 +02:00
55ce3b8798 mufs: calculate proper byte offsets in mufs_read()/mufs_write() 2017-05-29 18:55:37 +02:00
8f74da799e mufs: set root after extending a file tree 2017-05-29 18:54:06 +02:00
3b601ea588 mufs: only manage blocks in data area 2017-05-29 18:53:29 +02:00
a7d71e84cf mufs: add mufs_write() to write data using a file tree 2017-05-29 15:27:43 +02:00
233d991328 mufs: add mufs_read() to read data using a file tree 2017-05-29 15:24:59 +02:00
9480a91ecc mufs: calculate log2_nentries during mount 2017-05-29 15:07:11 +02:00
b634e3c715 mufs: read and write file size during mount and format 2017-05-29 15:02:48 +02:00
2401b024a9 mufs: fix off by one in comparison in mufs_extend_tree() 2017-05-29 14:57:34 +02:00
ba12823d8b mufs: add mufs_shrink_tree() to shrink a file tree to a specific size in terms of VAS 2017-05-29 14:57:13 +02:00
281c1abdfa mufs: add mufs_extend_tree() to extend the depth of a file tree 2017-05-29 14:41:47 +02:00
c5c24788c8 mufs: mufs_mount() read the tree pointer of the root directory 2017-05-29 14:08:36 +02:00
0c284d1ba7 mufs: rename tree base to root 2017-05-29 14:06:34 +02:00
a88a33ef01 mufs: add code to lookup, allocate and free pages in file trees 2017-05-29 14:00:55 +02:00
88707097fb mufs: mufs_free_block() trim block before freeing 2017-05-29 14:00:52 +02:00
f4b08bb89f mufs: implement block allocation 2017-05-26 16:26:56 +02:00
19cd9d185f mufs: initial support for mounting/formatting 2017-05-19 18:58:42 +02:00