Searched refs:logfs_area (Results 1 – 4 of 4) sorted by relevance
/linux-3.4.99/fs/logfs/ |
D | logfs.h | 115 struct logfs_area { /* a segment open for writing */ struct 134 void (*get_free_segment)(struct logfs_area *area); argument 135 void (*get_erase_count)(struct logfs_area *area); 136 int (*erase_segment)(struct logfs_area *area); 361 struct logfs_area *s_area[LOGFS_NO_AREAS]; /* open segment array */ 388 struct logfs_area *s_journal_area; /* open journal segment */ 596 void logfs_sync_area(struct logfs_area *area); 604 int logfs_open_area(struct logfs_area *area, size_t bytes); 605 int __logfs_buf_write(struct logfs_area *area, u64 ofs, void *buf, size_t len, 608 static inline int logfs_buf_write(struct logfs_area *area, u64 ofs, in logfs_buf_write() [all …]
|
D | segment.c | 39 static s64 logfs_get_free_bytes(struct logfs_area *area, size_t bytes) in logfs_get_free_bytes() 70 int __logfs_buf_write(struct logfs_area *area, u64 ofs, void *buf, size_t len, in __logfs_buf_write() 104 static void pad_partial_page(struct logfs_area *area) in pad_partial_page() 125 static void pad_full_pages(struct logfs_area *area) in pad_full_pages() 154 static void pad_wbuf(struct logfs_area *area, int final) in pad_wbuf() 295 struct logfs_area *area; in __logfs_segment_write() 731 int logfs_open_area(struct logfs_area *area, size_t bytes) in logfs_open_area() 769 void logfs_sync_area(struct logfs_area *area) in logfs_sync_area() 798 static void ostore_get_free_segment(struct logfs_area *area) in ostore_get_free_segment() 811 static void ostore_get_erase_count(struct logfs_area *area) in ostore_get_erase_count() [all …]
|
D | journal.c | 118 struct logfs_area *area = super->s_area[a->gc_level]; in read_area() 358 static void journal_get_free_segment(struct logfs_area *area) in journal_get_free_segment() 382 static void journal_get_erase_count(struct logfs_area *area) in journal_get_erase_count() 388 static int journal_erase_segment(struct logfs_area *area) in journal_erase_segment() 553 static void write_wbuf(struct super_block *sb, struct logfs_area *area, in write_wbuf() 578 struct logfs_area *area = super->s_area[super->s_sum_index]; in logfs_write_area() 628 static s64 logfs_get_free_bytes(struct logfs_area *area, size_t *bytes, in logfs_get_free_bytes() 654 struct logfs_area *area = super->s_journal_area; in logfs_write_je_buf() 737 struct logfs_area *area = super->s_journal_area; in logfs_write_anchor() 808 struct logfs_area *area = super->s_journal_area; in do_logfs_journal_wl_pass()
|
D | gc.c | 68 struct logfs_area *area; in segment_is_reserved() 634 struct logfs_area *area = super->s_area[i]; in check_area()
|