You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
629 B
13 lines
629 B
#pragma once
|
|
|
|
int mufs_lookup_page(struct mufs *fs, struct mufs_tree *tree, uint32_t *page,
|
|
uint32_t va);
|
|
int mufs_alloc_page(struct mufs *fs, struct mufs_tree *tree, uint32_t *page,
|
|
uint32_t va);
|
|
void mufs_free_page(struct mufs *fs, struct mufs_tree *tree, uint32_t va);
|
|
int mufs_extend_tree(struct mufs *fs, struct mufs_tree *tree, uint8_t depth);
|
|
int mufs_shrink_tree(struct mufs *fs, struct mufs_tree *tree, uint32_t max_size);
|
|
size_t mufs_read(struct mufs *fs, struct mufs_tree *tree, void *data,
|
|
uint32_t va, size_t len);
|
|
size_t mufs_write(struct mufs *fs, struct mufs_tree *tree, void *data,
|
|
uint32_t va, size_t len);
|
|
|