Home
last modified time | relevance | path

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

/linux-4.4.14/fs/nilfs2/
Dthe_nilfs.h105 struct the_nilfs { struct
207 static inline void set_nilfs_##name(struct the_nilfs *nilfs) \ argument
211 static inline void clear_nilfs_##name(struct the_nilfs *nilfs) \
215 static inline int nilfs_##name(struct the_nilfs *nilfs) \
256 struct the_nilfs *nilfs;
273 static inline int nilfs_sb_need_update(struct the_nilfs *nilfs) in nilfs_sb_need_update()
280 static inline int nilfs_sb_will_flip(struct the_nilfs *nilfs) in nilfs_sb_will_flip()
286 void nilfs_set_last_segment(struct the_nilfs *, sector_t, u64, __u64);
287 struct the_nilfs *alloc_nilfs(struct block_device *bdev);
288 void destroy_nilfs(struct the_nilfs *nilfs);
[all …]
Dsysfs.c48 struct the_nilfs *nilfs = container_of(kobj->parent, \
49 struct the_nilfs, \
60 struct the_nilfs *nilfs = container_of(kobj->parent, \
61 struct the_nilfs, \
77 struct the_nilfs *nilfs = container_of(kobj->parent, \
78 struct the_nilfs, \
90 static int nilfs_sysfs_create_##name##_group(struct the_nilfs *nilfs) \
109 static void nilfs_sysfs_delete_##name##_group(struct the_nilfs *nilfs) \
200 struct the_nilfs *nilfs; in nilfs_sysfs_create_snapshot_group()
242 struct the_nilfs *nilfs, char *buf) in nilfs_mounted_snapshots_README_show()
[all …]
Dthe_nilfs.c41 void nilfs_set_last_segment(struct the_nilfs *nilfs, in nilfs_set_last_segment()
68 struct the_nilfs *alloc_nilfs(struct block_device *bdev) in alloc_nilfs()
70 struct the_nilfs *nilfs; in alloc_nilfs()
97 void destroy_nilfs(struct the_nilfs *nilfs) in destroy_nilfs()
108 static int nilfs_load_super_root(struct the_nilfs *nilfs, in nilfs_load_super_root()
183 static int nilfs_store_log_cursor(struct the_nilfs *nilfs, in nilfs_store_log_cursor()
213 int load_nilfs(struct the_nilfs *nilfs, struct super_block *sb) in load_nilfs()
374 unsigned long nilfs_nrsvsegs(struct the_nilfs *nilfs, unsigned long nsegs) in nilfs_nrsvsegs()
381 void nilfs_set_nsegments(struct the_nilfs *nilfs, unsigned long nsegs) in nilfs_set_nsegments()
387 static int nilfs_store_disk_layout(struct the_nilfs *nilfs, in nilfs_store_disk_layout()
[all …]
Dioctl.c60 static int nilfs_ioctl_wrap_copy(struct the_nilfs *nilfs, in nilfs_ioctl_wrap_copy()
62 ssize_t (*dofunc)(struct the_nilfs *, in nilfs_ioctl_wrap_copy() argument
224 struct the_nilfs *nilfs = inode->i_sb->s_fs_info; in nilfs_ioctl_change_cpmode()
279 struct the_nilfs *nilfs = inode->i_sb->s_fs_info; in nilfs_ioctl_delete_checkpoint()
322 nilfs_ioctl_do_get_cpinfo(struct the_nilfs *nilfs, __u64 *posp, int flags, in nilfs_ioctl_do_get_cpinfo()
358 struct the_nilfs *nilfs = inode->i_sb->s_fs_info; in nilfs_ioctl_get_cpstat()
389 nilfs_ioctl_do_get_suinfo(struct the_nilfs *nilfs, __u64 *posp, int flags, in nilfs_ioctl_do_get_suinfo()
425 struct the_nilfs *nilfs = inode->i_sb->s_fs_info; in nilfs_ioctl_get_sustat()
456 nilfs_ioctl_do_get_vinfo(struct the_nilfs *nilfs, __u64 *posp, int flags, in nilfs_ioctl_do_get_vinfo()
483 nilfs_ioctl_do_get_bdescs(struct the_nilfs *nilfs, __u64 *posp, int flags, in nilfs_ioctl_do_get_bdescs()
[all …]
Dsuper.c80 struct the_nilfs *nilfs = sb->s_fs_info; in nilfs_set_error()
112 struct the_nilfs *nilfs = sb->s_fs_info; in nilfs_error()
192 struct the_nilfs *nilfs = sb->s_fs_info; in nilfs_sync_super()
249 struct the_nilfs *nilfs) in nilfs_set_log_cursor()
267 struct the_nilfs *nilfs = sb->s_fs_info; in nilfs_prepare_super()
293 struct the_nilfs *nilfs = sb->s_fs_info; in nilfs_commit_super()
329 struct the_nilfs *nilfs = sb->s_fs_info; in nilfs_cleanup_super()
359 struct the_nilfs *nilfs = sb->s_fs_info; in nilfs_move_2nd_super()
419 struct the_nilfs *nilfs = sb->s_fs_info; in nilfs_resize_fs()
485 struct the_nilfs *nilfs = sb->s_fs_info; in nilfs_put_super()
[all …]
Drecovery.c104 static int nilfs_compute_checksum(struct the_nilfs *nilfs, in nilfs_compute_checksum()
142 int nilfs_read_super_root_block(struct the_nilfs *nilfs, sector_t sr_block, in nilfs_read_super_root_block()
193 nilfs_read_log_header(struct the_nilfs *nilfs, sector_t start_blocknr, in nilfs_read_log_header()
211 static int nilfs_validate_log(struct the_nilfs *nilfs, u64 seg_seq, in nilfs_validate_log()
254 static void *nilfs_read_summary_info(struct the_nilfs *nilfs, in nilfs_read_summary_info()
284 static void nilfs_skip_summary_info(struct the_nilfs *nilfs, in nilfs_skip_summary_info()
316 static int nilfs_scan_dsync_log(struct the_nilfs *nilfs, sector_t start_blocknr, in nilfs_scan_dsync_log()
427 static int nilfs_prepare_segment_for_recovery(struct the_nilfs *nilfs, in nilfs_prepare_segment_for_recovery()
485 static int nilfs_recovery_copy_block(struct the_nilfs *nilfs, in nilfs_recovery_copy_block()
503 static int nilfs_recover_dsync_blocks(struct the_nilfs *nilfs, in nilfs_recover_dsync_blocks()
[all …]
Dsegment.h244 extern int nilfs_read_super_root_block(struct the_nilfs *, sector_t,
246 extern int nilfs_search_super_root(struct the_nilfs *,
248 int nilfs_salvage_orphan_logs(struct the_nilfs *nilfs, struct super_block *sb,
Dsegment.c138 static void nilfs_dispose_list(struct the_nilfs *, struct list_head *, int);
215 struct the_nilfs *nilfs; in nilfs_transaction_begin()
269 struct the_nilfs *nilfs = sb->s_fs_info; in nilfs_transaction_commit()
305 struct the_nilfs *nilfs = sb->s_fs_info; in nilfs_transaction_abort()
327 struct the_nilfs *nilfs = sb->s_fs_info; in nilfs_relax_pressure_in_lock()
353 struct the_nilfs *nilfs = sb->s_fs_info; in nilfs_transaction_lock()
386 struct the_nilfs *nilfs = sb->s_fs_info; in nilfs_transaction_unlock()
775 static void nilfs_dispose_list(struct the_nilfs *nilfs, in nilfs_dispose_list()
812 struct the_nilfs *nilfs = sci->sc_super->s_fs_info; in nilfs_iput_work_func()
817 static int nilfs_test_metadata_dirty(struct the_nilfs *nilfs, in nilfs_test_metadata_dirty()
[all …]
Dnilfs.h131 #define NILFS_FIRST_INO(sb) (((struct the_nilfs *)sb->s_fs_info)->ns_first_ino)
254 int nilfs_ioctl_prepare_clean_segments(struct the_nilfs *, struct nilfs_argv *,
310 struct the_nilfs *);
327 void nilfs_remove_all_gcinodes(struct the_nilfs *nilfs);
333 void nilfs_sysfs_delete_device_group(struct the_nilfs *);
Dsegbuf.c34 struct the_nilfs *nilfs;
44 struct the_nilfs *nilfs);
74 unsigned long offset, struct the_nilfs *nilfs) in nilfs_segbuf_map()
102 __u64 nextnum, struct the_nilfs *nilfs) in nilfs_segbuf_set_next_segnum()
242 struct the_nilfs *nilfs = segbuf->sb_super->s_fs_info; in nilfs_segbuf_fill_in_super_root_crc()
295 int nilfs_write_logs(struct list_head *logs, struct the_nilfs *nilfs) in nilfs_write_logs()
394 static struct bio *nilfs_alloc_seg_bio(struct the_nilfs *nilfs, sector_t start, in nilfs_alloc_seg_bio()
464 struct the_nilfs *nilfs) in nilfs_segbuf_write()
Dsegbuf.h122 struct the_nilfs *);
126 struct the_nilfs *);
175 int nilfs_write_logs(struct list_head *logs, struct the_nilfs *nilfs);
Dgcinode.c87 struct the_nilfs *nilfs = inode->i_sb->s_fs_info; in nilfs_gccache_submit_read_data()
185 void nilfs_remove_all_gcinodes(struct the_nilfs *nilfs) in nilfs_remove_all_gcinodes()
Dsysfs.h76 ssize_t (*show)(struct nilfs_##name##_attr *, struct the_nilfs *, \
78 ssize_t (*store)(struct nilfs_##name##_attr *, struct the_nilfs *, \
DMakefile4 the_nilfs.o segbuf.o segment.o cpfile.o sufile.o \
Dinode.c87 struct the_nilfs *nilfs = inode->i_sb->s_fs_info; in nilfs_get_block()
347 struct the_nilfs *nilfs = sb->s_fs_info; in nilfs_new_inode()
487 struct the_nilfs *nilfs = sb->s_fs_info; in __nilfs_read_inode()
654 struct the_nilfs *nilfs = inode->i_sb->s_fs_info; in nilfs_write_inode_common()
867 struct the_nilfs *nilfs = inode->i_sb->s_fs_info; in nilfs_load_inode_block()
896 struct the_nilfs *nilfs = inode->i_sb->s_fs_info; in nilfs_inode_dirty()
911 struct the_nilfs *nilfs = inode->i_sb->s_fs_info; in nilfs_set_file_dirty()
991 struct the_nilfs *nilfs = inode->i_sb->s_fs_info; in nilfs_fiemap()
Dmdt.h114 return ((struct the_nilfs *)inode->i_sb->s_fs_info)->ns_cno; in nilfs_mdt_cno()
Dsufile.c578 struct the_nilfs *nilfs = sufile->i_sb->s_fs_info; in nilfs_sufile_get_stat()
652 struct the_nilfs *nilfs = sufile->i_sb->s_fs_info; in nilfs_sufile_truncate_range()
755 struct the_nilfs *nilfs = sufile->i_sb->s_fs_info; in nilfs_sufile_resize()
828 struct the_nilfs *nilfs = sufile->i_sb->s_fs_info; in nilfs_sufile_get_suinfo()
902 struct the_nilfs *nilfs = sufile->i_sb->s_fs_info; in nilfs_sufile_set_suinfo()
1028 struct the_nilfs *nilfs = sufile->i_sb->s_fs_info; in nilfs_sufile_trim_fs()
Dsufile.h34 return ((struct the_nilfs *)sufile->i_sb->s_fs_info)->ns_nsegments; in nilfs_sufile_get_nsegments()
Dfile.c40 struct the_nilfs *nilfs; in nilfs_sync_file()
Dbtnode.c91 struct the_nilfs *nilfs = inode->i_sb->s_fs_info; in nilfs_btnode_submit_block()
Dbmap.c37 struct the_nilfs *nilfs = bmap->b_inode->i_sb->s_fs_info; in nilfs_bmap_get_dat()