Linux Kernel
3.7.1
|
#include <logfs.h>
Data Fields | |
struct page *(* | find_first_sb )(struct super_block *sb, u64 *ofs) |
struct page *(* | find_last_sb )(struct super_block *sb, u64 *ofs) |
int(* | write_sb )(struct super_block *sb, struct page *page) |
int(* | readpage )(void *_sb, struct page *page) |
void(* | writeseg )(struct super_block *sb, u64 ofs, size_t len) |
int(* | erase )(struct super_block *sb, loff_t ofs, size_t len, int ensure_write) |
int(* | can_write_buf )(struct super_block *sb, u64 ofs) |
void(* | sync )(struct super_block *sb) |
void(* | put_device )(struct logfs_super *s) |
struct logfs_device_ops - device access operations
: read one page (mm page) : write one segment. may be a partial segment : erase one segment : read from the device : erase part of the device : decide whether wbuf can be written to ofs