Home
last modified time | relevance | path

Searched refs:the_nilfs (Results 1 – 12 of 12) sorted by relevance

/linux/fs/nilfs2/
H A Dthe_nilfs.h93 struct the_nilfs { struct
189 static inline void set_nilfs_##name(struct the_nilfs *nilfs) \ argument
193 static inline void clear_nilfs_##name(struct the_nilfs *nilfs) \
197 static inline int nilfs_##name(struct the_nilfs *nilfs) \
234 struct the_nilfs *nilfs;
251 static inline int nilfs_sb_need_update(struct the_nilfs *nilfs) in nilfs_sb_need_update()
259 static inline int nilfs_sb_will_flip(struct the_nilfs *nilfs) in nilfs_sb_will_flip()
266 void nilfs_set_last_segment(struct the_nilfs *, sector_t, u64, __u64);
267 struct the_nilfs *alloc_nilfs(struct super_block *sb);
268 void destroy_nilfs(struct the_nilfs *nilfs);
[all …]
H A Dsysfs.c26 struct the_nilfs *nilfs = container_of(kobj->parent, \
27 struct the_nilfs, \
38 struct the_nilfs *nilfs = container_of(kobj->parent, \
39 struct the_nilfs, \
66 static int nilfs_sysfs_create_##name##_group(struct the_nilfs *nilfs) \
85 static void nilfs_sysfs_delete_##name##_group(struct the_nilfs *nilfs) \
177 struct the_nilfs *nilfs; in nilfs_sysfs_create_snapshot_group()
219 struct the_nilfs *nilfs, char *buf) in nilfs_mounted_snapshots_README_show()
242 struct the_nilfs *nilfs, in nilfs_checkpoints_checkpoints_number_show()
265 struct the_nilfs *nilfs, in nilfs_checkpoints_snapshots_number_show()
[all …]
H A Dthe_nilfs.c28 void nilfs_set_last_segment(struct the_nilfs *nilfs, in nilfs_set_last_segment()
55 struct the_nilfs *alloc_nilfs(struct super_block *sb) in alloc_nilfs()
57 struct the_nilfs *nilfs; in alloc_nilfs()
84 void destroy_nilfs(struct the_nilfs *nilfs) in destroy_nilfs()
94 static int nilfs_load_super_root(struct the_nilfs *nilfs, in nilfs_load_super_root()
172 static int nilfs_store_log_cursor(struct the_nilfs *nilfs, in nilfs_store_log_cursor()
239 int load_nilfs(struct the_nilfs *nilfs, struct super_block *sb) in load_nilfs()
410 unsigned long nilfs_nrsvsegs(struct the_nilfs *nilfs, unsigned long nsegs) in nilfs_nrsvsegs()
423 static u64 nilfs_max_segment_count(struct the_nilfs *nilfs) in nilfs_max_segment_count()
431 void nilfs_set_nsegments(struct the_nilfs *nilfs, unsigned long nsegs) in nilfs_set_nsegments()
[all …]
H A Dsuper.c89 struct the_nilfs *nilfs = sb->s_fs_info; in nilfs_set_error()
126 struct the_nilfs *nilfs = sb->s_fs_info; in __nilfs_error()
180 struct the_nilfs *nilfs = sb->s_fs_info; in nilfs_sync_super()
236 struct the_nilfs *nilfs) in nilfs_set_log_cursor()
254 struct the_nilfs *nilfs = sb->s_fs_info; in nilfs_prepare_super()
279 struct the_nilfs *nilfs = sb->s_fs_info; in nilfs_commit_super()
317 struct the_nilfs *nilfs = sb->s_fs_info; in nilfs_cleanup_super()
349 struct the_nilfs *nilfs = sb->s_fs_info; in nilfs_move_2nd_super()
432 struct the_nilfs *nilfs = sb->s_fs_info; in nilfs_resize_fs()
507 struct the_nilfs *nilfs = sb->s_fs_info; in nilfs_put_super()
[all …]
H A Drecovery.c94 static int nilfs_compute_checksum(struct the_nilfs *nilfs, in nilfs_compute_checksum()
137 int nilfs_read_super_root_block(struct the_nilfs *nilfs, sector_t sr_block, in nilfs_read_super_root_block()
190 nilfs_read_log_header(struct the_nilfs *nilfs, sector_t start_blocknr, in nilfs_read_log_header()
215 static int nilfs_validate_log(struct the_nilfs *nilfs, u64 seg_seq, in nilfs_validate_log()
261 static void *nilfs_read_summary_info(struct the_nilfs *nilfs, in nilfs_read_summary_info()
291 static void nilfs_skip_summary_info(struct the_nilfs *nilfs, in nilfs_skip_summary_info()
328 static int nilfs_scan_dsync_log(struct the_nilfs *nilfs, sector_t start_blocknr, in nilfs_scan_dsync_log()
439 static int nilfs_prepare_segment_for_recovery(struct the_nilfs *nilfs, in nilfs_prepare_segment_for_recovery()
506 static int nilfs_recovery_copy_block(struct the_nilfs *nilfs, in nilfs_recovery_copy_block()
522 static int nilfs_recover_dsync_blocks(struct the_nilfs *nilfs, in nilfs_recover_dsync_blocks()
[all …]
H A Dsegment.h236 extern int nilfs_read_super_root_block(struct the_nilfs *, sector_t,
238 extern int nilfs_search_super_root(struct the_nilfs *,
240 int nilfs_salvage_orphan_logs(struct the_nilfs *nilfs, struct super_block *sb,
H A Dnilfs.h138 #define NILFS_FIRST_INO(sb) (((struct the_nilfs *)sb->s_fs_info)->ns_first_ino)
277 int nilfs_ioctl_prepare_clean_segments(struct the_nilfs *, struct nilfs_argv *,
371 struct the_nilfs *);
388 void nilfs_remove_all_gcinodes(struct the_nilfs *nilfs);
394 void nilfs_sysfs_delete_device_group(struct the_nilfs *);
H A Dsegbuf.h109 struct the_nilfs *);
113 struct the_nilfs *);
163 int nilfs_write_logs(struct list_head *logs, struct the_nilfs *nilfs);
H A Dsysfs.h67 ssize_t (*show)(struct nilfs_##name##_attr *, struct the_nilfs *, \
69 ssize_t (*store)(struct nilfs_##name##_attr *, struct the_nilfs *, \
H A DMakefile5 the_nilfs.o segbuf.o segment.o cpfile.o sufile.o \
H A Dmdt.h106 return ((struct the_nilfs *)inode->i_sb->s_fs_info)->ns_cno; in nilfs_mdt_cno()
H A Difile.c184 struct the_nilfs *nilfs; in nilfs_ifile_read()