Lines Matching defs:bfs

86 	struct bfs *bfs;  in bfs_init2()  local
136 bfs_fini(struct bfs *bfs) in bfs_fini()
149 bfs_init_superblock(struct bfs *bfs, int bfs_sector, size_t *required_memory) in bfs_init_superblock()
175 bfs_init_inode(struct bfs *bfs, uint8_t *p, size_t *required_memory) in bfs_init_inode()
216 bfs_init_dirent(struct bfs *bfs, uint8_t *p) in bfs_init_dirent()
243 bfs_file_read(const struct bfs *bfs, const char *fname, void *buf, size_t bufsz, in bfs_file_read()
274 bfs_file_write(struct bfs *bfs, const char *fname, void *buf, in bfs_file_write()
311 bfs_file_delete(struct bfs *bfs, const char *fname, bool keep_inode) in bfs_file_delete()
337 bfs_file_rename(struct bfs *bfs, const char *from_name, const char *to_name) in bfs_file_rename()
358 bfs_file_create(struct bfs *bfs, const char *fname, void *buf, size_t bufsz, in bfs_file_create()
436 bfs_writeback_dirent(const struct bfs *bfs, struct bfs_dirent *dir, in bfs_writeback_dirent()
472 bfs_writeback_inode(const struct bfs *bfs, struct bfs_inode *inode) in bfs_writeback_inode()
485 bfs_file_lookup(const struct bfs *bfs, const char *fname, int *start, int *end, in bfs_file_lookup()
511 bfs_dirent_lookup_by_inode(const struct bfs *bfs, int inode, in bfs_dirent_lookup_by_inode()
530 bfs_dirent_lookup_by_name(const struct bfs *bfs, const char *fname, in bfs_dirent_lookup_by_name()
550 bfs_inode_lookup(const struct bfs *bfs, ino_t n, struct bfs_inode **iinode) in bfs_inode_lookup()
568 bfs_inode_delete(struct bfs *bfs, ino_t ino) in bfs_inode_delete()
593 bfs_inode_alloc(const struct bfs *bfs, struct bfs_inode **free_inode, in bfs_inode_alloc()
643 bfs_inode_set_attr(const struct bfs *bfs, struct bfs_inode *inode, in bfs_inode_set_attr()
673 bfs_dump(const struct bfs *bfs) in bfs_dump()