Lines Matching defs:sb

31 static int no_free_segments(struct super_block *sb)  in no_free_segments()
39 static u8 root_distance(struct super_block *sb, gc_level_t __gc_level) in root_distance()
65 static int segment_is_reserved(struct super_block *sb, u32 segno) in segment_is_reserved()
87 static void logfs_mark_segment_bad(struct super_block *sb, u32 segno) in logfs_mark_segment_bad()
96 static u32 logfs_valid_bytes(struct super_block *sb, u32 segno, u32 *ec, in logfs_valid_bytes()
113 static void logfs_cleanse_block(struct super_block *sb, u64 ofs, u64 ino, in logfs_cleanse_block()
125 static u32 logfs_gc_segment(struct super_block *sb, u32 segno) in logfs_gc_segment()
226 static void free_candidate(struct super_block *sb, struct gc_candidate *cand) in free_candidate()
234 u32 get_best_cand(struct super_block *sb, struct candidate_list *list, u32 *ec) in get_best_cand()
268 static void __add_candidate(struct super_block *sb, struct gc_candidate *cand) in __add_candidate()
298 static int add_candidate(struct super_block *sb, u32 segno, u32 valid, u32 ec, in add_candidate()
318 static void remove_segment_from_lists(struct super_block *sb, u32 segno) in remove_segment_from_lists()
330 static void scan_segment(struct super_block *sb, u32 segno) in scan_segment()
364 static struct gc_candidate *get_candidate(struct super_block *sb) in get_candidate()
384 static int __logfs_gc_once(struct super_block *sb, struct gc_candidate *cand) in __logfs_gc_once()
411 static int logfs_gc_once(struct super_block *sb) in logfs_gc_once()
422 static int logfs_scan_some(struct super_block *sb) in logfs_scan_some()
456 static void __logfs_gc_pass(struct super_block *sb, int target) in __logfs_gc_pass()
524 static int wl_ratelimit(struct super_block *sb, u64 *next_event) in wl_ratelimit()
535 static void logfs_wl_pass(struct super_block *sb) in logfs_wl_pass()
578 static void logfs_journal_wl_pass(struct super_block *sb) in logfs_journal_wl_pass()
615 void logfs_gc_pass(struct super_block *sb) in logfs_gc_pass()
631 static int check_area(struct super_block *sb, int i) in check_area()
663 int logfs_check_areas(struct super_block *sb) in logfs_check_areas()
684 int logfs_init_gc(struct super_block *sb) in logfs_init_gc()
699 static void logfs_cleanup_list(struct super_block *sb, in logfs_cleanup_list()
713 void logfs_cleanup_gc(struct super_block *sb) in logfs_cleanup_gc()