Commit graph

34 commits

Author SHA1 Message Date
1c736c3324 mufs: add support for reading and writing files 2017-06-11 17:42:32 +02:00
845aba61ed mufs: rename mufs_read()/mufs_write() to mufs_tree_read()/mufs_tree_write() and expose functions 2017-06-11 17:34:35 +02:00
073c7f34be mufs: expose mufs_abspath() 2017-06-11 16:41:48 +02:00
11dd182ee7 mufs: rename mufs_opendir2() to mufs_opendirent() 2017-06-11 16:37:56 +02:00
58f6e87854 mufs: clean up calculation of the va of a tree object in read_dirent() 2017-06-11 16:36:08 +02:00
93c0466c90 mufs: simplify super block by embedding struct mufs_dtree instead of struct mufs_dentry 2017-06-11 16:32:12 +02:00
89ec3a94c0 mufs: embed struct mufs_dtree in struct mufs_dentry and clean up code 2017-06-11 16:31:43 +02:00
0bc9c6fc7a mufs: add mufs_abspath() to sanitise paths 2017-06-11 16:26:48 +02:00
d287d7616a mufs: fix an issue when determining the va of a tree object 2017-06-09 17:13:51 +02:00
3b25180038 mufs: properly determine the va of a tree object 2017-06-09 16:55:32 +02:00
f1e6f8f278 mufs: update path resolution code in mufs_mkdir() 2017-06-09 16:36:11 +02:00
0e9474d377 mufs: add support for path resolution 2017-06-09 16:29:37 +02:00
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