MOS Source Code
|
#include <vfs_types.h>
Public Attributes | |
phyframe_t *(* | fill_cache )(inode_cache_t *cache, off_t pgoff) |
Read a page from the underlying storage, at file offset pgoff * MOS_PAGE_SIZE. | |
bool(* | page_write_begin )(inode_cache_t *cache, off_t file_offset, size_t inpage_size, phyframe_t **page_out, void **data) |
void(* | page_write_end )(inode_cache_t *cache, off_t file_offset, size_t inpage_size, phyframe_t *page, void *data) |
long(* | flush_page )(inode_cache_t *cache, off_t pgoff, phyframe_t *page) |
Flush a page to the underlying storage. | |
Definition at line 131 of file vfs_types.h.
phyframe_t *(* fill_cache) (inode_cache_t *cache, off_t pgoff) |
Read a page from the underlying storage, at file offset pgoff * MOS_PAGE_SIZE.
Definition at line 136 of file vfs_types.h.
Referenced by pagecache_get_page_for_read().
bool(* page_write_begin) (inode_cache_t *cache, off_t file_offset, size_t inpage_size, phyframe_t **page_out, void **data) |
Definition at line 138 of file vfs_types.h.
Referenced by vfs_write_pagecache().
void(* page_write_end) (inode_cache_t *cache, off_t file_offset, size_t inpage_size, phyframe_t *page, void *data) |
Definition at line 139 of file vfs_types.h.
Referenced by vfs_write_pagecache().
long(* flush_page) (inode_cache_t *cache, off_t pgoff, phyframe_t *page) |
Flush a page to the underlying storage.
Definition at line 144 of file vfs_types.h.
Referenced by do_flush_and_drop_cached_page().