Commit Graph

353 Commits (82d765bee37487c867b2c3a2e16d06355a24ca6b)
 

Author SHA1 Message Date
S.J.R. van Schaik eb9b4853c0 mufs: implement mufs_rmpath() to remove file system nodes 7 years ago
S.J.R. van Schaik 1d52ca46a6 mufs: rework tree code to support mufs_map_page()/mufs_unmap_page() 7 years ago
S.J.R. van Schaik 27a15b3fb7 mufs: expose MUFS_FILE and MUFS_DIR constants 7 years ago
S.J.R. van Schaik beb5f64c12 mufs: implement mufs_stat() 7 years ago
S.J.R. van Schaik 26b0ccb405 mufs: optionally record the type and file_size in resolve_path() 7 years ago
S.J.R. van Schaik d9e11a083b mufs: only claim ownership of the tree object as the final step in resolve_path() 7 years ago
S.J.R. van Schaik e3194229a5 mufs: free tree object if owned by struct mufs_dir in mufs_closedir() 7 years ago
S.J.R. van Schaik 9f05686a1f mufs: clean up code in resolve_path() 7 years ago
S.J.R. van Schaik 52b382b8b0 mufs: rename mufs_opendirent() to open_dirent() 7 years ago
S.J.R. van Schaik 71fb90a602 mufs: fix typo in read_dirent() 7 years ago
S.J.R. van Schaik bd5120f8d0 mufs: use a buffer to operate on data in-place to reduce the amount of I/O in read_dirent()/write_dirent() 7 years ago
S.J.R. van Schaik a20c1a8ed4 mufs: implement mufs_seek() to seek and tell the position within a file 7 years ago
S.J.R. van Schaik 9ef95baac3 mufs: implement mufs_sync_tree() to sync tree objects to disk 7 years ago
S.J.R. van Schaik 2c1079d0f4 mufs: implement modes for read, write and append in mufs_open() 7 years ago
S.J.R. van Schaik ffc8669736 mufs: allow empty path in resolve_path() 7 years ago
S.J.R. van Schaik 84c45ee64d mufs: fix va to tree object in super block 7 years ago
S.J.R. van Schaik 92a531b49f mufs: split path properly in mufs_mkpath() 7 years ago
S.J.R. van Schaik a65cdbfedf mufs: generalise mufs_create() and mufs_mkdir() into mufs_mkpath() 7 years ago
S.J.R. van Schaik 1c736c3324 mufs: add support for reading and writing files 7 years ago
S.J.R. van Schaik 845aba61ed mufs: rename mufs_read()/mufs_write() to mufs_tree_read()/mufs_tree_write() and expose functions 7 years ago
S.J.R. van Schaik 073c7f34be mufs: expose mufs_abspath() 7 years ago
S.J.R. van Schaik 11dd182ee7 mufs: rename mufs_opendir2() to mufs_opendirent() 7 years ago
S.J.R. van Schaik 58f6e87854 mufs: clean up calculation of the va of a tree object in read_dirent() 7 years ago
S.J.R. van Schaik 93c0466c90 mufs: simplify super block by embedding struct mufs_dtree instead of struct mufs_dentry 7 years ago
S.J.R. van Schaik 89ec3a94c0 mufs: embed struct mufs_dtree in struct mufs_dentry and clean up code 7 years ago
S.J.R. van Schaik 0bc9c6fc7a mufs: add mufs_abspath() to sanitise paths 7 years ago
S.J.R. van Schaik d287d7616a mufs: fix an issue when determining the va of a tree object 7 years ago
S.J.R. van Schaik 3b25180038 mufs: properly determine the va of a tree object 7 years ago
S.J.R. van Schaik f1e6f8f278 mufs: update path resolution code in mufs_mkdir() 7 years ago
S.J.R. van Schaik 0e9474d377 mufs: add support for path resolution 7 years ago
S.J.R. van Schaik e18107d2d5 mufs: add support for directories 7 years ago
S.J.R. van Schaik 99e2229bbb mufs: clean up code by embedding struct mufs into struct mufs_tree 7 years ago
S.J.R. van Schaik 7212269675 mufs: write tree updates to disk 7 years ago
S.J.R. van Schaik 250c9bf200 mufs: do not memset during mufs_write() 7 years ago
S.J.R. van Schaik 45736a5e9f ftl: simplify calculations in ftl_read()/ftl_write() and remove an out-dated check 7 years ago
S.J.R. van Schaik 849fc17eb0 mufs: keep track of read/written bytes in mufs_read()/mufs_write() 7 years ago
S.J.R. van Schaik abe656c640 mufs: allocate a block for the root, if no root has been allocated in mufs_alloc_page() 7 years ago
S.J.R. van Schaik 55ce3b8798 mufs: calculate proper byte offsets in mufs_read()/mufs_write() 7 years ago
S.J.R. van Schaik 8f74da799e mufs: set root after extending a file tree 7 years ago
S.J.R. van Schaik 3b601ea588 mufs: only manage blocks in data area 7 years ago
S.J.R. van Schaik 847241bbb8 flash: fix default_flash_is_erased() to use a byte-offset address internally 7 years ago
S.J.R. van Schaik f647188666 ftl: fix bug where constant is not bitshifted 7 years ago
S.J.R. van Schaik bf677b7655 macros: add align_up() 7 years ago
S.J.R. van Schaik a7d71e84cf mufs: add mufs_write() to write data using a file tree 7 years ago
S.J.R. van Schaik 233d991328 mufs: add mufs_read() to read data using a file tree 7 years ago
S.J.R. van Schaik 9480a91ecc mufs: calculate log2_nentries during mount 7 years ago
S.J.R. van Schaik b634e3c715 mufs: read and write file size during mount and format 7 years ago
S.J.R. van Schaik c08a8be9a9 mufs: add actual file size to tree information 7 years ago
S.J.R. van Schaik 2401b024a9 mufs: fix off by one in comparison in mufs_extend_tree() 7 years ago
S.J.R. van Schaik ba12823d8b mufs: add mufs_shrink_tree() to shrink a file tree to a specific size in terms of VAS 7 years ago