Searched refs:nilfs (Results 1 - 25 of 36) sorted by relevance

12

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/fs/nilfs2/
H A Dthe_nilfs.c29 #include "nilfs.h"
43 void nilfs_set_last_segment(struct the_nilfs *nilfs, argument
46 spin_lock(&nilfs->ns_last_segment_lock);
47 nilfs->ns_last_pseg = start_blocknr;
48 nilfs->ns_last_seq = seq;
49 nilfs->ns_last_cno = cno;
51 if (!nilfs_sb_dirty(nilfs)) {
52 if (nilfs->ns_prev_seq == nilfs->ns_last_seq)
55 set_nilfs_sb_dirty(nilfs);
75 struct the_nilfs *nilfs; local
110 struct the_nilfs *nilfs, *new = NULL; local
143 put_nilfs(struct the_nilfs *nilfs) argument
174 nilfs_load_super_root(struct the_nilfs *nilfs, sector_t sr_block) argument
271 nilfs_store_log_cursor(struct the_nilfs *nilfs, struct nilfs_super_block *sbp) argument
301 load_nilfs(struct the_nilfs *nilfs, struct nilfs_sb_info *sbi) argument
468 nilfs_store_disk_layout(struct the_nilfs *nilfs, struct nilfs_super_block *sbp) argument
532 nilfs_release_super_block(struct the_nilfs *nilfs) argument
545 nilfs_fall_back_super_block(struct the_nilfs *nilfs) argument
554 nilfs_swap_super_block(struct the_nilfs *nilfs) argument
565 nilfs_load_super_block(struct the_nilfs *nilfs, struct super_block *sb, int blocksize, struct nilfs_super_block **sbpp) argument
644 init_nilfs(struct the_nilfs *nilfs, struct nilfs_sb_info *sbi, char *data) argument
755 nilfs_discard_segments(struct the_nilfs *nilfs, __u64 *segnump, size_t nsegs) argument
795 nilfs_count_free_blocks(struct the_nilfs *nilfs, sector_t *nblocks) argument
807 nilfs_near_disk_full(struct the_nilfs *nilfs) argument
830 nilfs_find_sbinfo(struct the_nilfs *nilfs, int rw_mount, __u64 cno) argument
868 nilfs_checkpoint_is_mounted(struct the_nilfs *nilfs, __u64 cno, int snapshot_mount) argument
[all...]
H A Dthe_nilfs.h46 * struct the_nilfs - struct to supervise multiple nilfs mount points
55 * @ns_mount_mutex: mutex protecting mount process of nilfs
63 * @ns_supers: list of nilfs super block structs
189 static inline void set_nilfs_##name(struct the_nilfs *nilfs) \
191 set_bit(THE_NILFS_##bit, &(nilfs)->ns_flags); \
193 static inline void clear_nilfs_##name(struct the_nilfs *nilfs) \
195 clear_bit(THE_NILFS_##bit, &(nilfs)->ns_flags); \
197 static inline int nilfs_##name(struct the_nilfs *nilfs) \
199 return test_bit(THE_NILFS_##bit, &(nilfs)->ns_flags); \
211 static inline int nilfs_sb_need_update(struct the_nilfs *nilfs) argument
217 nilfs_sb_will_flip(struct the_nilfs *nilfs) argument
237 get_nilfs(struct the_nilfs *nilfs) argument
244 nilfs_attach_writer(struct the_nilfs *nilfs, struct nilfs_sb_info *sbi) argument
252 nilfs_detach_writer(struct the_nilfs *nilfs, struct nilfs_sb_info *sbi) argument
266 nilfs_valid_fs(struct the_nilfs *nilfs) argument
277 nilfs_get_segment_range(struct the_nilfs *nilfs, __u64 segnum, sector_t *seg_start, sector_t *seg_end) argument
287 nilfs_get_segment_start_blocknr(struct the_nilfs *nilfs, __u64 segnum) argument
294 nilfs_get_segnum_of_block(struct the_nilfs *nilfs, sector_t blocknr) argument
303 nilfs_terminate_segment(struct the_nilfs *nilfs, sector_t seg_start, sector_t seg_end) argument
310 nilfs_shift_to_next_segment(struct the_nilfs *nilfs) argument
318 nilfs_last_cno(struct the_nilfs *nilfs) argument
328 nilfs_segment_is_active(struct the_nilfs *nilfs, __u64 n) argument
[all...]
H A Dsuper.c55 #include "nilfs.h"
81 struct the_nilfs *nilfs = sbi->s_nilfs; local
84 down_write(&nilfs->ns_sem);
85 if (!(nilfs->ns_mount_state & NILFS_ERROR_FS)) {
86 nilfs->ns_mount_state |= NILFS_ERROR_FS;
95 up_write(&nilfs->ns_sem);
150 struct inode *nilfs_alloc_inode_common(struct the_nilfs *nilfs) argument
160 nilfs_btnode_cache_init(&ii->i_btnode_cache, nilfs->ns_bdi);
176 struct the_nilfs *nilfs = sbi->s_nilfs; local
180 set_buffer_dirty(nilfs
240 nilfs_set_log_cursor(struct nilfs_super_block *sbp, struct the_nilfs *nilfs) argument
259 struct the_nilfs *nilfs = sbi->s_nilfs; local
285 struct the_nilfs *nilfs = sbi->s_nilfs; local
343 struct the_nilfs *nilfs = sbi->s_nilfs; local
371 struct the_nilfs *nilfs = sbi->s_nilfs; local
394 struct the_nilfs *nilfs = sbi->s_nilfs; local
447 struct the_nilfs *nilfs = sbi->s_nilfs; local
460 struct the_nilfs *nilfs = sbi->s_nilfs; local
706 struct the_nilfs *nilfs = sbi->s_nilfs; local
808 nilfs_fill_super(struct super_block *sb, void *data, int silent, struct the_nilfs *nilfs) argument
943 struct the_nilfs *nilfs = sbi->s_nilfs; local
1106 struct the_nilfs *nilfs; local
[all...]
H A Dgcdat.c26 #include "nilfs.h"
30 int nilfs_init_gcdat_inode(struct the_nilfs *nilfs) argument
32 struct inode *dat = nilfs->ns_dat, *gcdat = nilfs->ns_gc_dat;
50 void nilfs_commit_gcdat_inode(struct the_nilfs *nilfs) argument
52 struct inode *dat = nilfs->ns_dat, *gcdat = nilfs->ns_gc_dat;
76 void nilfs_clear_gcdat_inode(struct the_nilfs *nilfs) argument
78 struct inode *gcdat = nilfs->ns_gc_dat;
H A Drecovery.c28 #include "nilfs.h"
96 * @nilfs: nilfs object
104 static int nilfs_compute_checksum(struct the_nilfs *nilfs, argument
109 unsigned int blocksize = nilfs->ns_blocksize;
116 crc = crc32_le(nilfs->ns_crc_seed,
122 bh = __bread(nilfs->ns_bdev, ++start, blocksize);
137 * @nilfs: nilfs object
142 int nilfs_read_super_root_block(struct the_nilfs *nilfs, sector_ argument
193 nilfs_read_log_header(struct the_nilfs *nilfs, sector_t start_blocknr, struct nilfs_segment_summary **sum) argument
211 nilfs_validate_log(struct the_nilfs *nilfs, u64 seg_seq, struct buffer_head *bh_sum, struct nilfs_segment_summary *sum) argument
254 nilfs_read_summary_info(struct the_nilfs *nilfs, struct buffer_head **pbh, unsigned int *offset, unsigned int bytes) argument
284 nilfs_skip_summary_info(struct the_nilfs *nilfs, struct buffer_head **pbh, unsigned int *offset, unsigned int bytes, unsigned long count) argument
316 nilfs_scan_dsync_log(struct the_nilfs *nilfs, sector_t start_blocknr, struct nilfs_segment_summary *sum, struct list_head *head) argument
427 nilfs_prepare_segment_for_recovery(struct the_nilfs *nilfs, struct nilfs_sb_info *sbi, struct nilfs_recovery_info *ri) argument
487 nilfs_recovery_copy_block(struct the_nilfs *nilfs, struct nilfs_recovery_block *rb, struct page *page) argument
505 nilfs_recover_dsync_blocks(struct the_nilfs *nilfs, struct nilfs_sb_info *sbi, struct list_head *head, unsigned long *nr_salvaged_blocks) argument
579 nilfs_do_roll_forward(struct the_nilfs *nilfs, struct nilfs_sb_info *sbi, struct nilfs_recovery_info *ri) argument
704 nilfs_finish_roll_forward(struct the_nilfs *nilfs, struct nilfs_recovery_info *ri) argument
745 nilfs_salvage_orphan_logs(struct the_nilfs *nilfs, struct nilfs_sb_info *sbi, struct nilfs_recovery_info *ri) argument
813 nilfs_search_super_root(struct the_nilfs *nilfs, struct nilfs_recovery_info *ri) argument
[all...]
H A Dioctl.c32 #include "nilfs.h"
40 static int nilfs_ioctl_wrap_copy(struct the_nilfs *nilfs, argument
77 nr = dofunc(nilfs, &pos, argv->v_flags, buf, argv->v_size,
104 struct the_nilfs *nilfs = NILFS_SB(inode->i_sb)->s_nilfs; local
105 struct inode *cpfile = nilfs->ns_cpfile;
121 mutex_lock(&nilfs->ns_mount_mutex);
131 mutex_unlock(&nilfs->ns_mount_mutex);
169 nilfs_ioctl_do_get_cpinfo(struct the_nilfs *nilfs, __u64 *posp, int flags, argument
174 down_read(&nilfs->ns_segctor_sem);
175 ret = nilfs_cpfile_get_cpinfo(nilfs
184 struct the_nilfs *nilfs = NILFS_SB(inode->i_sb)->s_nilfs; local
200 nilfs_ioctl_do_get_suinfo(struct the_nilfs *nilfs, __u64 *posp, int flags, void *buf, size_t size, size_t nmembs) argument
215 struct the_nilfs *nilfs = NILFS_SB(inode->i_sb)->s_nilfs; local
231 nilfs_ioctl_do_get_vinfo(struct the_nilfs *nilfs, __u64 *posp, int flags, void *buf, size_t size, size_t nmembs) argument
243 nilfs_ioctl_do_get_bdescs(struct the_nilfs *nilfs, __u64 *posp, int flags, void *buf, size_t size, size_t nmembs) argument
272 struct the_nilfs *nilfs = NILFS_SB(inode->i_sb)->s_nilfs; local
337 nilfs_ioctl_move_blocks(struct the_nilfs *nilfs, struct nilfs_argv *argv, void *buf) argument
386 nilfs_ioctl_delete_checkpoints(struct the_nilfs *nilfs, struct nilfs_argv *argv, void *buf) argument
403 nilfs_ioctl_free_vblocknrs(struct the_nilfs *nilfs, struct nilfs_argv *argv, void *buf) argument
414 nilfs_ioctl_mark_blocks_dirty(struct the_nilfs *nilfs, struct nilfs_argv *argv, void *buf) argument
455 nilfs_ioctl_prepare_clean_segments(struct the_nilfs *nilfs, struct nilfs_argv *argv, void **kbufs) argument
508 struct the_nilfs *nilfs; local
604 struct the_nilfs *nilfs; local
629 struct the_nilfs *nilfs = NILFS_SB(inode->i_sb)->s_nilfs; local
[all...]
H A Dgcinode.c50 #include "nilfs.h"
185 * @nilfs - the_nilfs
190 int nilfs_init_gccache(struct the_nilfs *nilfs) argument
194 BUG_ON(nilfs->ns_gc_inodes_h);
196 INIT_LIST_HEAD(&nilfs->ns_gc_inodes);
198 nilfs->ns_gc_inodes_h =
201 if (nilfs->ns_gc_inodes_h == NULL)
205 INIT_HLIST_HEAD(&nilfs->ns_gc_inodes_h[loop]);
211 * @nilfs - the nilfs
213 nilfs_destroy_gccache(struct the_nilfs *nilfs) argument
222 alloc_gcinode(struct the_nilfs *nilfs, ino_t ino, __u64 cno) argument
255 nilfs_gc_iget(struct the_nilfs *nilfs, ino_t ino, __u64 cno) argument
285 nilfs_remove_all_gcinode(struct the_nilfs *nilfs) argument
[all...]
H A Dsegment.c36 #include "nilfs.h"
186 struct the_nilfs *nilfs; local
195 nilfs = sbi->s_nilfs;
196 down_read(&nilfs->ns_segctor_sem);
197 if (vacancy_check && nilfs_near_disk_full(nilfs)) {
198 up_read(&nilfs->ns_segctor_sem);
275 struct the_nilfs *nilfs = sbi->s_nilfs; local
281 up_read(&nilfs->ns_segctor_sem);
283 down_write(&nilfs->ns_segctor_sem);
292 downgrade_write(&nilfs
760 struct the_nilfs *nilfs = sbi->s_nilfs; local
802 struct the_nilfs *nilfs = sbi->s_nilfs; local
812 struct the_nilfs *nilfs = sci->sc_sbi->s_nilfs; local
836 struct the_nilfs *nilfs = sbi->s_nilfs; local
899 nilfs_segctor_fill_in_super_root(struct nilfs_sc_info *sci, struct the_nilfs *nilfs) argument
1061 struct the_nilfs *nilfs = sbi->s_nilfs; local
1218 nilfs_segctor_begin_construction(struct nilfs_sc_info *sci, struct the_nilfs *nilfs) argument
1278 nilfs_segctor_extend_segments(struct nilfs_sc_info *sci, struct the_nilfs *nilfs, int nadd) argument
1334 nilfs_free_incomplete_logs(struct list_head *logs, struct the_nilfs *nilfs) argument
1422 nilfs_segctor_collect(struct nilfs_sc_info *sci, struct the_nilfs *nilfs, int mode) argument
1700 nilfs_segctor_write(struct nilfs_sc_info *sci, struct the_nilfs *nilfs) argument
1828 nilfs_segctor_abort_construction(struct nilfs_sc_info *sci, struct the_nilfs *nilfs, int err) argument
1854 nilfs_set_next_segment(struct the_nilfs *nilfs, struct nilfs_segment_buffer *segbuf) argument
1869 struct the_nilfs *nilfs = sci->sc_sbi->s_nilfs; local
2050 struct the_nilfs *nilfs = sbi->s_nilfs; local
2407 struct the_nilfs *nilfs = sbi->s_nilfs; local
2446 nilfs_remove_written_gcinodes(struct the_nilfs *nilfs, struct list_head *head) argument
2464 struct the_nilfs *nilfs = sbi->s_nilfs; local
2578 struct the_nilfs *nilfs = sci->sc_sbi->s_nilfs; local
2792 struct the_nilfs *nilfs = sbi->s_nilfs; local
2827 struct the_nilfs *nilfs = sbi->s_nilfs; local
[all...]
H A Dcpfile.h44 struct inode *nilfs_cpfile_new(struct the_nilfs *nilfs, size_t cpsize);
H A Dmdt.c30 #include "nilfs.h"
81 struct the_nilfs *nilfs = NILFS_MDT(inode)->mi_nilfs; local
92 if (!nilfs->ns_writer) {
97 sb = nilfs->ns_writer->s_super;
115 bh->b_bdev = nilfs->ns_bdev;
404 struct the_nilfs *nilfs = NILFS_MDT(inode)->mi_nilfs; local
414 down_read(&nilfs->ns_writer_sem);
415 writer = nilfs->ns_writer;
417 up_read(&nilfs->ns_writer_sem);
429 up_read(&nilfs
461 nilfs_mdt_new_common(struct the_nilfs *nilfs, struct super_block *sb, ino_t ino, gfp_t gfp_mask, size_t objsz) argument
528 nilfs_mdt_new(struct the_nilfs *nilfs, struct super_block *sb, ino_t ino, size_t objsz) argument
[all...]
H A Dsegbuf.c34 struct the_nilfs *nilfs; member in struct:nilfs_write_info
44 struct the_nilfs *nilfs);
74 unsigned long offset, struct the_nilfs *nilfs)
77 nilfs_get_segment_range(nilfs, segnum, &segbuf->sb_fseg_start,
102 __u64 nextnum, struct the_nilfs *nilfs)
105 segbuf->sb_sum.next = nilfs_get_segment_start_blocknr(nilfs, nextnum);
304 int nilfs_write_logs(struct list_head *logs, struct the_nilfs *nilfs) argument
310 ret = nilfs_segbuf_write(segbuf, nilfs);
374 if (segbuf->sb_nbio > 0 && bdi_write_congested(wi->nilfs->ns_bdi)) {
409 * @nilfs
73 nilfs_segbuf_map(struct nilfs_segment_buffer *segbuf, __u64 segnum, unsigned long offset, struct the_nilfs *nilfs) argument
101 nilfs_segbuf_set_next_segnum(struct nilfs_segment_buffer *segbuf, __u64 nextnum, struct the_nilfs *nilfs) argument
416 nilfs_alloc_seg_bio(struct the_nilfs *nilfs, sector_t start, int nr_vecs) argument
484 nilfs_segbuf_write(struct nilfs_segment_buffer *segbuf, struct the_nilfs *nilfs) argument
[all...]
H A Ddat.h57 struct inode *nilfs_dat_new(struct the_nilfs *nilfs, size_t entry_size);
H A Dsufile.c508 struct the_nilfs *nilfs = NILFS_MDT(sufile)->mi_nilfs; local
523 sustat->ss_ctime = nilfs->ns_ctime;
524 sustat->ss_nongc_ctime = nilfs->ns_nongc_ctime;
525 spin_lock(&nilfs->ns_last_segment_lock);
526 sustat->ss_prot_seq = nilfs->ns_prot_seq;
527 spin_unlock(&nilfs->ns_last_segment_lock);
586 struct the_nilfs *nilfs = NILFS_MDT(sufile)->mi_nilfs; local
623 if (nilfs_segment_is_active(nilfs, segnum + j))
667 * @nilfs: nilfs objec
670 nilfs_sufile_new(struct the_nilfs *nilfs, size_t susize) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/fs/nilfs2/
H A Dthe_nilfs.c29 #include "nilfs.h"
43 void nilfs_set_last_segment(struct the_nilfs *nilfs, argument
46 spin_lock(&nilfs->ns_last_segment_lock);
47 nilfs->ns_last_pseg = start_blocknr;
48 nilfs->ns_last_seq = seq;
49 nilfs->ns_last_cno = cno;
51 if (!nilfs_sb_dirty(nilfs)) {
52 if (nilfs->ns_prev_seq == nilfs->ns_last_seq)
55 set_nilfs_sb_dirty(nilfs);
75 struct the_nilfs *nilfs; local
110 struct the_nilfs *nilfs, *new = NULL; local
143 put_nilfs(struct the_nilfs *nilfs) argument
174 nilfs_load_super_root(struct the_nilfs *nilfs, sector_t sr_block) argument
271 nilfs_store_log_cursor(struct the_nilfs *nilfs, struct nilfs_super_block *sbp) argument
301 load_nilfs(struct the_nilfs *nilfs, struct nilfs_sb_info *sbi) argument
468 nilfs_store_disk_layout(struct the_nilfs *nilfs, struct nilfs_super_block *sbp) argument
532 nilfs_release_super_block(struct the_nilfs *nilfs) argument
545 nilfs_fall_back_super_block(struct the_nilfs *nilfs) argument
554 nilfs_swap_super_block(struct the_nilfs *nilfs) argument
565 nilfs_load_super_block(struct the_nilfs *nilfs, struct super_block *sb, int blocksize, struct nilfs_super_block **sbpp) argument
644 init_nilfs(struct the_nilfs *nilfs, struct nilfs_sb_info *sbi, char *data) argument
755 nilfs_discard_segments(struct the_nilfs *nilfs, __u64 *segnump, size_t nsegs) argument
795 nilfs_count_free_blocks(struct the_nilfs *nilfs, sector_t *nblocks) argument
807 nilfs_near_disk_full(struct the_nilfs *nilfs) argument
830 nilfs_find_sbinfo(struct the_nilfs *nilfs, int rw_mount, __u64 cno) argument
868 nilfs_checkpoint_is_mounted(struct the_nilfs *nilfs, __u64 cno, int snapshot_mount) argument
[all...]
H A Dthe_nilfs.h46 * struct the_nilfs - struct to supervise multiple nilfs mount points
55 * @ns_mount_mutex: mutex protecting mount process of nilfs
63 * @ns_supers: list of nilfs super block structs
189 static inline void set_nilfs_##name(struct the_nilfs *nilfs) \
191 set_bit(THE_NILFS_##bit, &(nilfs)->ns_flags); \
193 static inline void clear_nilfs_##name(struct the_nilfs *nilfs) \
195 clear_bit(THE_NILFS_##bit, &(nilfs)->ns_flags); \
197 static inline int nilfs_##name(struct the_nilfs *nilfs) \
199 return test_bit(THE_NILFS_##bit, &(nilfs)->ns_flags); \
211 static inline int nilfs_sb_need_update(struct the_nilfs *nilfs) argument
217 nilfs_sb_will_flip(struct the_nilfs *nilfs) argument
237 get_nilfs(struct the_nilfs *nilfs) argument
244 nilfs_attach_writer(struct the_nilfs *nilfs, struct nilfs_sb_info *sbi) argument
252 nilfs_detach_writer(struct the_nilfs *nilfs, struct nilfs_sb_info *sbi) argument
266 nilfs_valid_fs(struct the_nilfs *nilfs) argument
277 nilfs_get_segment_range(struct the_nilfs *nilfs, __u64 segnum, sector_t *seg_start, sector_t *seg_end) argument
287 nilfs_get_segment_start_blocknr(struct the_nilfs *nilfs, __u64 segnum) argument
294 nilfs_get_segnum_of_block(struct the_nilfs *nilfs, sector_t blocknr) argument
303 nilfs_terminate_segment(struct the_nilfs *nilfs, sector_t seg_start, sector_t seg_end) argument
310 nilfs_shift_to_next_segment(struct the_nilfs *nilfs) argument
318 nilfs_last_cno(struct the_nilfs *nilfs) argument
328 nilfs_segment_is_active(struct the_nilfs *nilfs, __u64 n) argument
[all...]
H A Dsuper.c55 #include "nilfs.h"
81 struct the_nilfs *nilfs = sbi->s_nilfs; local
84 down_write(&nilfs->ns_sem);
85 if (!(nilfs->ns_mount_state & NILFS_ERROR_FS)) {
86 nilfs->ns_mount_state |= NILFS_ERROR_FS;
95 up_write(&nilfs->ns_sem);
150 struct inode *nilfs_alloc_inode_common(struct the_nilfs *nilfs) argument
160 nilfs_btnode_cache_init(&ii->i_btnode_cache, nilfs->ns_bdi);
176 struct the_nilfs *nilfs = sbi->s_nilfs; local
180 set_buffer_dirty(nilfs
240 nilfs_set_log_cursor(struct nilfs_super_block *sbp, struct the_nilfs *nilfs) argument
259 struct the_nilfs *nilfs = sbi->s_nilfs; local
285 struct the_nilfs *nilfs = sbi->s_nilfs; local
343 struct the_nilfs *nilfs = sbi->s_nilfs; local
371 struct the_nilfs *nilfs = sbi->s_nilfs; local
394 struct the_nilfs *nilfs = sbi->s_nilfs; local
447 struct the_nilfs *nilfs = sbi->s_nilfs; local
460 struct the_nilfs *nilfs = sbi->s_nilfs; local
706 struct the_nilfs *nilfs = sbi->s_nilfs; local
808 nilfs_fill_super(struct super_block *sb, void *data, int silent, struct the_nilfs *nilfs) argument
943 struct the_nilfs *nilfs = sbi->s_nilfs; local
1106 struct the_nilfs *nilfs; local
[all...]
H A Dgcdat.c26 #include "nilfs.h"
30 int nilfs_init_gcdat_inode(struct the_nilfs *nilfs) argument
32 struct inode *dat = nilfs->ns_dat, *gcdat = nilfs->ns_gc_dat;
50 void nilfs_commit_gcdat_inode(struct the_nilfs *nilfs) argument
52 struct inode *dat = nilfs->ns_dat, *gcdat = nilfs->ns_gc_dat;
76 void nilfs_clear_gcdat_inode(struct the_nilfs *nilfs) argument
78 struct inode *gcdat = nilfs->ns_gc_dat;
H A Drecovery.c28 #include "nilfs.h"
96 * @nilfs: nilfs object
104 static int nilfs_compute_checksum(struct the_nilfs *nilfs, argument
109 unsigned int blocksize = nilfs->ns_blocksize;
116 crc = crc32_le(nilfs->ns_crc_seed,
122 bh = __bread(nilfs->ns_bdev, ++start, blocksize);
137 * @nilfs: nilfs object
142 int nilfs_read_super_root_block(struct the_nilfs *nilfs, sector_ argument
193 nilfs_read_log_header(struct the_nilfs *nilfs, sector_t start_blocknr, struct nilfs_segment_summary **sum) argument
211 nilfs_validate_log(struct the_nilfs *nilfs, u64 seg_seq, struct buffer_head *bh_sum, struct nilfs_segment_summary *sum) argument
254 nilfs_read_summary_info(struct the_nilfs *nilfs, struct buffer_head **pbh, unsigned int *offset, unsigned int bytes) argument
284 nilfs_skip_summary_info(struct the_nilfs *nilfs, struct buffer_head **pbh, unsigned int *offset, unsigned int bytes, unsigned long count) argument
316 nilfs_scan_dsync_log(struct the_nilfs *nilfs, sector_t start_blocknr, struct nilfs_segment_summary *sum, struct list_head *head) argument
427 nilfs_prepare_segment_for_recovery(struct the_nilfs *nilfs, struct nilfs_sb_info *sbi, struct nilfs_recovery_info *ri) argument
487 nilfs_recovery_copy_block(struct the_nilfs *nilfs, struct nilfs_recovery_block *rb, struct page *page) argument
505 nilfs_recover_dsync_blocks(struct the_nilfs *nilfs, struct nilfs_sb_info *sbi, struct list_head *head, unsigned long *nr_salvaged_blocks) argument
579 nilfs_do_roll_forward(struct the_nilfs *nilfs, struct nilfs_sb_info *sbi, struct nilfs_recovery_info *ri) argument
704 nilfs_finish_roll_forward(struct the_nilfs *nilfs, struct nilfs_recovery_info *ri) argument
745 nilfs_salvage_orphan_logs(struct the_nilfs *nilfs, struct nilfs_sb_info *sbi, struct nilfs_recovery_info *ri) argument
813 nilfs_search_super_root(struct the_nilfs *nilfs, struct nilfs_recovery_info *ri) argument
[all...]
H A Dioctl.c32 #include "nilfs.h"
40 static int nilfs_ioctl_wrap_copy(struct the_nilfs *nilfs, argument
77 nr = dofunc(nilfs, &pos, argv->v_flags, buf, argv->v_size,
104 struct the_nilfs *nilfs = NILFS_SB(inode->i_sb)->s_nilfs; local
105 struct inode *cpfile = nilfs->ns_cpfile;
121 mutex_lock(&nilfs->ns_mount_mutex);
131 mutex_unlock(&nilfs->ns_mount_mutex);
169 nilfs_ioctl_do_get_cpinfo(struct the_nilfs *nilfs, __u64 *posp, int flags, argument
174 down_read(&nilfs->ns_segctor_sem);
175 ret = nilfs_cpfile_get_cpinfo(nilfs
184 struct the_nilfs *nilfs = NILFS_SB(inode->i_sb)->s_nilfs; local
200 nilfs_ioctl_do_get_suinfo(struct the_nilfs *nilfs, __u64 *posp, int flags, void *buf, size_t size, size_t nmembs) argument
215 struct the_nilfs *nilfs = NILFS_SB(inode->i_sb)->s_nilfs; local
231 nilfs_ioctl_do_get_vinfo(struct the_nilfs *nilfs, __u64 *posp, int flags, void *buf, size_t size, size_t nmembs) argument
243 nilfs_ioctl_do_get_bdescs(struct the_nilfs *nilfs, __u64 *posp, int flags, void *buf, size_t size, size_t nmembs) argument
272 struct the_nilfs *nilfs = NILFS_SB(inode->i_sb)->s_nilfs; local
337 nilfs_ioctl_move_blocks(struct the_nilfs *nilfs, struct nilfs_argv *argv, void *buf) argument
386 nilfs_ioctl_delete_checkpoints(struct the_nilfs *nilfs, struct nilfs_argv *argv, void *buf) argument
403 nilfs_ioctl_free_vblocknrs(struct the_nilfs *nilfs, struct nilfs_argv *argv, void *buf) argument
414 nilfs_ioctl_mark_blocks_dirty(struct the_nilfs *nilfs, struct nilfs_argv *argv, void *buf) argument
455 nilfs_ioctl_prepare_clean_segments(struct the_nilfs *nilfs, struct nilfs_argv *argv, void **kbufs) argument
508 struct the_nilfs *nilfs; local
604 struct the_nilfs *nilfs; local
629 struct the_nilfs *nilfs = NILFS_SB(inode->i_sb)->s_nilfs; local
[all...]
H A Dgcinode.c50 #include "nilfs.h"
185 * @nilfs - the_nilfs
190 int nilfs_init_gccache(struct the_nilfs *nilfs) argument
194 BUG_ON(nilfs->ns_gc_inodes_h);
196 INIT_LIST_HEAD(&nilfs->ns_gc_inodes);
198 nilfs->ns_gc_inodes_h =
201 if (nilfs->ns_gc_inodes_h == NULL)
205 INIT_HLIST_HEAD(&nilfs->ns_gc_inodes_h[loop]);
211 * @nilfs - the nilfs
213 nilfs_destroy_gccache(struct the_nilfs *nilfs) argument
222 alloc_gcinode(struct the_nilfs *nilfs, ino_t ino, __u64 cno) argument
255 nilfs_gc_iget(struct the_nilfs *nilfs, ino_t ino, __u64 cno) argument
285 nilfs_remove_all_gcinode(struct the_nilfs *nilfs) argument
[all...]
H A Dsegment.c36 #include "nilfs.h"
186 struct the_nilfs *nilfs; local
195 nilfs = sbi->s_nilfs;
196 down_read(&nilfs->ns_segctor_sem);
197 if (vacancy_check && nilfs_near_disk_full(nilfs)) {
198 up_read(&nilfs->ns_segctor_sem);
275 struct the_nilfs *nilfs = sbi->s_nilfs; local
281 up_read(&nilfs->ns_segctor_sem);
283 down_write(&nilfs->ns_segctor_sem);
292 downgrade_write(&nilfs
760 struct the_nilfs *nilfs = sbi->s_nilfs; local
802 struct the_nilfs *nilfs = sbi->s_nilfs; local
812 struct the_nilfs *nilfs = sci->sc_sbi->s_nilfs; local
836 struct the_nilfs *nilfs = sbi->s_nilfs; local
899 nilfs_segctor_fill_in_super_root(struct nilfs_sc_info *sci, struct the_nilfs *nilfs) argument
1061 struct the_nilfs *nilfs = sbi->s_nilfs; local
1218 nilfs_segctor_begin_construction(struct nilfs_sc_info *sci, struct the_nilfs *nilfs) argument
1278 nilfs_segctor_extend_segments(struct nilfs_sc_info *sci, struct the_nilfs *nilfs, int nadd) argument
1334 nilfs_free_incomplete_logs(struct list_head *logs, struct the_nilfs *nilfs) argument
1422 nilfs_segctor_collect(struct nilfs_sc_info *sci, struct the_nilfs *nilfs, int mode) argument
1700 nilfs_segctor_write(struct nilfs_sc_info *sci, struct the_nilfs *nilfs) argument
1828 nilfs_segctor_abort_construction(struct nilfs_sc_info *sci, struct the_nilfs *nilfs, int err) argument
1854 nilfs_set_next_segment(struct the_nilfs *nilfs, struct nilfs_segment_buffer *segbuf) argument
1869 struct the_nilfs *nilfs = sci->sc_sbi->s_nilfs; local
2050 struct the_nilfs *nilfs = sbi->s_nilfs; local
2407 struct the_nilfs *nilfs = sbi->s_nilfs; local
2446 nilfs_remove_written_gcinodes(struct the_nilfs *nilfs, struct list_head *head) argument
2464 struct the_nilfs *nilfs = sbi->s_nilfs; local
2578 struct the_nilfs *nilfs = sci->sc_sbi->s_nilfs; local
2792 struct the_nilfs *nilfs = sbi->s_nilfs; local
2827 struct the_nilfs *nilfs = sbi->s_nilfs; local
[all...]
H A Dcpfile.h44 struct inode *nilfs_cpfile_new(struct the_nilfs *nilfs, size_t cpsize);
H A Dmdt.c30 #include "nilfs.h"
81 struct the_nilfs *nilfs = NILFS_MDT(inode)->mi_nilfs; local
92 if (!nilfs->ns_writer) {
97 sb = nilfs->ns_writer->s_super;
115 bh->b_bdev = nilfs->ns_bdev;
404 struct the_nilfs *nilfs = NILFS_MDT(inode)->mi_nilfs; local
414 down_read(&nilfs->ns_writer_sem);
415 writer = nilfs->ns_writer;
417 up_read(&nilfs->ns_writer_sem);
429 up_read(&nilfs
461 nilfs_mdt_new_common(struct the_nilfs *nilfs, struct super_block *sb, ino_t ino, gfp_t gfp_mask, size_t objsz) argument
528 nilfs_mdt_new(struct the_nilfs *nilfs, struct super_block *sb, ino_t ino, size_t objsz) argument
[all...]
H A Dsegbuf.c34 struct the_nilfs *nilfs; member in struct:nilfs_write_info
44 struct the_nilfs *nilfs);
74 unsigned long offset, struct the_nilfs *nilfs)
77 nilfs_get_segment_range(nilfs, segnum, &segbuf->sb_fseg_start,
102 __u64 nextnum, struct the_nilfs *nilfs)
105 segbuf->sb_sum.next = nilfs_get_segment_start_blocknr(nilfs, nextnum);
304 int nilfs_write_logs(struct list_head *logs, struct the_nilfs *nilfs) argument
310 ret = nilfs_segbuf_write(segbuf, nilfs);
374 if (segbuf->sb_nbio > 0 && bdi_write_congested(wi->nilfs->ns_bdi)) {
409 * @nilfs
73 nilfs_segbuf_map(struct nilfs_segment_buffer *segbuf, __u64 segnum, unsigned long offset, struct the_nilfs *nilfs) argument
101 nilfs_segbuf_set_next_segnum(struct nilfs_segment_buffer *segbuf, __u64 nextnum, struct the_nilfs *nilfs) argument
416 nilfs_alloc_seg_bio(struct the_nilfs *nilfs, sector_t start, int nr_vecs) argument
484 nilfs_segbuf_write(struct nilfs_segment_buffer *segbuf, struct the_nilfs *nilfs) argument
[all...]
H A Ddat.h57 struct inode *nilfs_dat_new(struct the_nilfs *nilfs, size_t entry_size);

Completed in 105 milliseconds

12