Lines Matching refs:nilfs_sc_info

90 static inline void nilfs_sc_cstage_inc(struct nilfs_sc_info *sci)  in nilfs_sc_cstage_inc()
96 static inline void nilfs_sc_cstage_set(struct nilfs_sc_info *sci, int next_scnt) in nilfs_sc_cstage_set()
102 static inline int nilfs_sc_cstage_get(struct nilfs_sc_info *sci) in nilfs_sc_cstage_get()
115 int (*collect_data)(struct nilfs_sc_info *, struct buffer_head *,
117 int (*collect_node)(struct nilfs_sc_info *, struct buffer_head *,
119 int (*collect_bmap)(struct nilfs_sc_info *, struct buffer_head *,
121 void (*write_data_binfo)(struct nilfs_sc_info *,
124 void (*write_node_binfo)(struct nilfs_sc_info *,
132 static void nilfs_segctor_start_timer(struct nilfs_sc_info *);
133 static void nilfs_segctor_do_flush(struct nilfs_sc_info *, int);
134 static void nilfs_segctor_do_immediate_flush(struct nilfs_sc_info *);
271 struct nilfs_sc_info *sci = nilfs->ns_writer; in nilfs_transaction_commit()
318 struct nilfs_sc_info *sci = nilfs->ns_writer; in nilfs_relax_pressure_in_lock()
344 struct nilfs_sc_info *sci = nilfs->ns_writer; in nilfs_transaction_lock()
388 static void *nilfs_segctor_map_segsum_entry(struct nilfs_sc_info *sci, in nilfs_segctor_map_segsum_entry()
411 static int nilfs_segctor_reset_segment_buffer(struct nilfs_sc_info *sci) in nilfs_segctor_reset_segment_buffer()
440 static void nilfs_segctor_zeropad_segsum(struct nilfs_sc_info *sci) in nilfs_segctor_zeropad_segsum()
450 static int nilfs_segctor_feed_segment(struct nilfs_sc_info *sci) in nilfs_segctor_feed_segment()
463 static int nilfs_segctor_add_super_root(struct nilfs_sc_info *sci) in nilfs_segctor_add_super_root()
484 struct nilfs_sc_info *sci, const struct nilfs_segsum_pointer *ssp, in nilfs_segctor_segsum_block_required()
495 static void nilfs_segctor_begin_finfo(struct nilfs_sc_info *sci, in nilfs_segctor_begin_finfo()
509 static void nilfs_segctor_end_finfo(struct nilfs_sc_info *sci, in nilfs_segctor_end_finfo()
543 static int nilfs_segctor_add_file_block(struct nilfs_sc_info *sci, in nilfs_segctor_add_file_block()
582 static int nilfs_collect_file_data(struct nilfs_sc_info *sci, in nilfs_collect_file_data()
598 static int nilfs_collect_file_node(struct nilfs_sc_info *sci, in nilfs_collect_file_node()
605 static int nilfs_collect_file_bmap(struct nilfs_sc_info *sci, in nilfs_collect_file_bmap()
613 static void nilfs_write_file_data_binfo(struct nilfs_sc_info *sci, in nilfs_write_file_data_binfo()
622 static void nilfs_write_file_node_binfo(struct nilfs_sc_info *sci, in nilfs_write_file_node_binfo()
639 static int nilfs_collect_dat_data(struct nilfs_sc_info *sci, in nilfs_collect_dat_data()
654 static int nilfs_collect_dat_bmap(struct nilfs_sc_info *sci, in nilfs_collect_dat_bmap()
662 static void nilfs_write_dat_data_binfo(struct nilfs_sc_info *sci, in nilfs_write_dat_data_binfo()
671 static void nilfs_write_dat_node_binfo(struct nilfs_sc_info *sci, in nilfs_write_dat_node_binfo()
826 struct nilfs_sc_info *sci = container_of(work, struct nilfs_sc_info, in nilfs_iput_work_func()
849 static int nilfs_segctor_clean(struct nilfs_sc_info *sci) in nilfs_segctor_clean()
857 static int nilfs_segctor_confirm(struct nilfs_sc_info *sci) in nilfs_segctor_confirm()
873 static void nilfs_segctor_clear_metadata_dirty(struct nilfs_sc_info *sci) in nilfs_segctor_clear_metadata_dirty()
900 static void nilfs_segctor_fill_in_file_bmap(struct nilfs_sc_info *sci) in nilfs_segctor_fill_in_file_bmap()
937 static void nilfs_segctor_fill_in_super_root(struct nilfs_sc_info *sci, in nilfs_segctor_fill_in_super_root()
993 static int nilfs_segctor_apply_buffers(struct nilfs_sc_info *sci, in nilfs_segctor_apply_buffers()
996 int (*collect)(struct nilfs_sc_info *, in nilfs_segctor_apply_buffers() argument
1024 static size_t nilfs_segctor_buffer_rest(struct nilfs_sc_info *sci) in nilfs_segctor_buffer_rest()
1031 static int nilfs_segctor_scan_file(struct nilfs_sc_info *sci, in nilfs_segctor_scan_file()
1084 static int nilfs_segctor_scan_file_dsync(struct nilfs_sc_info *sci, in nilfs_segctor_scan_file_dsync()
1158 static int nilfs_segctor_collect_blocks(struct nilfs_sc_info *sci, int mode) in nilfs_segctor_collect_blocks()
1319 static int nilfs_segctor_begin_construction(struct nilfs_sc_info *sci, in nilfs_segctor_begin_construction()
1379 static int nilfs_segctor_extend_segments(struct nilfs_sc_info *sci, in nilfs_segctor_extend_segments()
1474 static void nilfs_segctor_update_segusage(struct nilfs_sc_info *sci, in nilfs_segctor_update_segusage()
1509 static void nilfs_segctor_truncate_segments(struct nilfs_sc_info *sci, in nilfs_segctor_truncate_segments()
1525 static int nilfs_segctor_collect(struct nilfs_sc_info *sci, in nilfs_segctor_collect()
1589 nilfs_segctor_update_payload_blocknr(struct nilfs_sc_info *sci, in nilfs_segctor_update_payload_blocknr()
1661 static int nilfs_segctor_assign(struct nilfs_sc_info *sci, int mode) in nilfs_segctor_assign()
1766 static int nilfs_segctor_write(struct nilfs_sc_info *sci, in nilfs_segctor_write()
1852 static void nilfs_segctor_abort_construction(struct nilfs_sc_info *sci, in nilfs_segctor_abort_construction()
1891 static void nilfs_segctor_complete_write(struct nilfs_sc_info *sci) in nilfs_segctor_complete_write()
1990 static int nilfs_segctor_wait(struct nilfs_sc_info *sci) in nilfs_segctor_wait()
2002 static int nilfs_segctor_collect_dirty_files(struct nilfs_sc_info *sci, in nilfs_segctor_collect_dirty_files()
2045 static void nilfs_segctor_drop_written_files(struct nilfs_sc_info *sci, in nilfs_segctor_drop_written_files()
2084 static int nilfs_segctor_do_construct(struct nilfs_sc_info *sci, int mode) in nilfs_segctor_do_construct()
2191 static void nilfs_segctor_start_timer(struct nilfs_sc_info *sci) in nilfs_segctor_start_timer()
2204 static void nilfs_segctor_do_flush(struct nilfs_sc_info *sci, int bn) in nilfs_segctor_do_flush()
2225 struct nilfs_sc_info *sci = nilfs->ns_writer; in nilfs_flush_segment()
2240 static int nilfs_segctor_sync(struct nilfs_sc_info *sci) in nilfs_segctor_sync()
2290 static void nilfs_segctor_wakeup(struct nilfs_sc_info *sci, int err, bool force) in nilfs_segctor_wakeup()
2331 struct nilfs_sc_info *sci = nilfs->ns_writer; in nilfs_construct_segment()
2367 struct nilfs_sc_info *sci = nilfs->ns_writer; in nilfs_construct_dsync_segment()
2414 static void nilfs_segctor_accept(struct nilfs_sc_info *sci) in nilfs_segctor_accept()
2439 static void nilfs_segctor_notify(struct nilfs_sc_info *sci, int mode, int err) in nilfs_segctor_notify()
2468 static int nilfs_segctor_construct(struct nilfs_sc_info *sci, int mode) in nilfs_segctor_construct()
2505 struct nilfs_sc_info *sci = from_timer(sci, t, sc_timer); in nilfs_construction_timeout()
2529 struct nilfs_sc_info *sci = nilfs->ns_writer; in nilfs_clean_segments()
2582 static void nilfs_segctor_thread_construct(struct nilfs_sc_info *sci, int mode) in nilfs_segctor_thread_construct()
2600 static void nilfs_segctor_do_immediate_flush(struct nilfs_sc_info *sci) in nilfs_segctor_do_immediate_flush()
2620 static int nilfs_segctor_flush_mode(struct nilfs_sc_info *sci) in nilfs_segctor_flush_mode()
2640 static bool nilfs_log_write_required(struct nilfs_sc_info *sci, int *modep) in nilfs_log_write_required()
2671 struct nilfs_sc_info *sci = (struct nilfs_sc_info *)arg; in nilfs_segctor_thread()
2715 static struct nilfs_sc_info *nilfs_segctor_new(struct super_block *sb, in nilfs_segctor_new()
2719 struct nilfs_sc_info *sci; in nilfs_segctor_new()
2751 static void nilfs_segctor_write_out(struct nilfs_sc_info *sci) in nilfs_segctor_write_out()
2779 static void nilfs_segctor_destroy(struct nilfs_sc_info *sci) in nilfs_segctor_destroy()
2846 struct nilfs_sc_info *sci; in nilfs_attach_log_writer()