Orion
Barry Importing existing Orion kernel d41a53c (2 years, 4 months ago)#ifndef KERNEL_VFS_CACHE_H #define KERNEL_VFS_CACHE_H #include "vfs.h" void cache_reaper(void); DirEntry *entry_get(DirEntry *entry); void entry_put(DirEntry *entry); DirEntry *entry_find(Inode *inode, const char *name); void entry_add(Inode *inode, DirEntry *insert); void entry_remove(Inode *inode, const char *name); void entry_clean(Inode *inode); Page *page_get(Page *page); Page *page_find(Inode *inode, off_t offset); void page_add(Inode *inode, Page *page); Page *page_create(Inode *inode, page_t frame, off_t offset); void page_remove(Inode *inode, Page *page); void page_clean(Inode *inode); #endif