Home
last modified time | relevance | path

Searched refs:logfs_super (Results 1 – 11 of 11) sorted by relevance

/fs/logfs/
Djournal.c13 struct logfs_super *super = logfs_super(sb); in logfs_calc_free()
52 struct logfs_super *super = logfs_super(sb); in reserve_sb_and_journal()
76 struct logfs_super *super = logfs_super(sb); in read_dynsb()
90 struct logfs_super *super = logfs_super(sb); in read_anchor()
108 struct logfs_super *super = logfs_super(sb); in read_erasecount()
117 struct logfs_super *super = logfs_super(sb); in read_area()
162 struct logfs_super *super = logfs_super(sb); in __read_je_header()
224 struct logfs_super *super = logfs_super(sb); in read_je()
262 struct logfs_super *super = logfs_super(sb); in logfs_read_segment()
333 struct logfs_super *super = logfs_super(sb); in logfs_read_journal()
[all …]
Dgc.c33 struct logfs_super *super = logfs_super(sb); in no_free_segments()
41 struct logfs_super *super = logfs_super(sb); in root_distance()
67 struct logfs_super *super = logfs_super(sb); in segment_is_reserved()
127 struct logfs_super *super = logfs_super(sb); in logfs_gc_segment()
228 struct logfs_super *super = logfs_super(sb); in free_candidate()
270 struct logfs_super *super = logfs_super(sb); in __add_candidate()
301 struct logfs_super *super = logfs_super(sb); in add_candidate()
320 struct logfs_super *super = logfs_super(sb); in remove_segment_from_lists()
366 struct logfs_super *super = logfs_super(sb); in get_candidate()
386 struct logfs_super *super = logfs_super(sb); in __logfs_gc_once()
[all …]
Ddev_mtd.c19 struct mtd_info *mtd = logfs_super(sb)->s_mtd; in logfs_mtd_read()
38 struct logfs_super *super = logfs_super(sb); in loffs_mtd_write()
75 struct logfs_super *super = logfs_super(sb); in logfs_mtd_erase_mapping()
93 struct mtd_info *mtd = logfs_super(sb)->s_mtd; in logfs_mtd_erase()
99 if (logfs_super(sb)->s_flags & LOGFS_SB_FLAG_RO) in logfs_mtd_erase()
120 struct mtd_info *mtd = logfs_super(sb)->s_mtd; in logfs_mtd_sync()
150 struct logfs_super *super = logfs_super(sb); in logfs_mtd_find_first_sb()
167 struct logfs_super *super = logfs_super(sb); in logfs_mtd_find_last_sb()
186 struct logfs_super *super = logfs_super(sb); in __logfs_mtd_writeseg()
207 struct logfs_super *super = logfs_super(sb); in logfs_mtd_writeseg()
[all …]
Dsegment.c17 struct logfs_super *super = logfs_super(sb); in logfs_mark_segment_bad()
24 logfs_super(sb)->s_bad_segments++; in logfs_mark_segment_bad()
31 struct logfs_super *super = logfs_super(sb); in logfs_erase_segment()
47 BUG_ON(area->a_used_bytes >= logfs_super(area->a_sb)->s_segsize); in logfs_get_free_bytes()
55 struct logfs_super *super = logfs_super(sb); in get_mapping_page()
128 struct logfs_super *super = logfs_super(sb); in pad_full_pages()
169 struct btree_head128 *head = &logfs_super(sb)->s_object_alias_tree; in alias_tree_lookup()
178 struct btree_head128 *head = &logfs_super(sb)->s_object_alias_tree; in alias_tree_insert()
208 struct logfs_super *super = logfs_super(sb); in logfs_load_object_aliases()
256 struct logfs_super *super = logfs_super(sb); in kill_alias()
[all …]
Ddev_bdev.c50 struct block_device *bdev = logfs_super(sb)->s_bdev; in bdev_readpage()
72 struct logfs_super *super = logfs_super(sb); in writeseg_end_io()
94 struct logfs_super *super = logfs_super(sb); in __bdev_writeseg()
152 struct logfs_super *super = logfs_super(sb); in bdev_writeseg()
178 struct logfs_super *super = logfs_super(sb); in erase_end_io()
191 struct logfs_super *super = logfs_super(sb); in do_erase()
242 struct logfs_super *super = logfs_super(sb); in bdev_erase()
265 struct logfs_super *super = logfs_super(sb); in bdev_sync()
272 struct logfs_super *super = logfs_super(sb); in bdev_find_first_sb()
282 struct logfs_super *super = logfs_super(sb); in bdev_find_last_sb()
[all …]
Dsuper.c56 struct logfs_super *super = logfs_super(sb); in dump_segfile()
100 struct logfs_super *super = logfs_super(sb); in logfs_statfs()
115 struct logfs_super *super = _super; in logfs_sb_set()
133 struct logfs_super *super = _super; in logfs_sb_test()
158 struct logfs_super *super = logfs_super(sb); in logfs_write_ds()
190 struct logfs_super *super = logfs_super(sb); in write_one_sb()
215 struct logfs_super *super = logfs_super(sb); in logfs_write_sb()
243 struct logfs_super *super = logfs_super(sb); in logfs_recover_sb()
309 struct logfs_super *super = logfs_super(sb); in logfs_get_sb_final()
361 struct logfs_super *super = logfs_super(sb); in find_super_block()
[all …]
Dreadwrite.c207 struct logfs_super *super = logfs_super(sb); in prelock_page()
224 struct logfs_super *super = logfs_super(sb); in preunlock_page()
249 struct logfs_super *super = logfs_super(sb); in logfs_get_wblocks()
264 struct logfs_super *super = logfs_super(sb); in logfs_put_wblocks()
383 struct logfs_super *super = logfs_super(sb); in init_shadow_tree()
531 struct logfs_super *super = logfs_super(sb); in logfs_write_obj_aliases_pagecache()
547 mempool_free(block, logfs_super(sb)->s_block_pool); in __free_block()
587 struct logfs_super *super = logfs_super(sb); in __alloc_block()
1034 struct logfs_super *super = logfs_super(sb); in logfs_is_valid_block()
1084 struct logfs_super *super = logfs_super(inode->i_sb); in logfs_reserve_bytes()
[all …]
Dlogfs.h139 struct logfs_super; /* forward */
160 void (*put_device)(struct logfs_super *s);
323 struct logfs_super { struct
475 int logfs_get_sb_bdev(struct logfs_super *s,
479 static inline int logfs_get_sb_bdev(struct logfs_super *s, in logfs_get_sb_bdev()
489 int logfs_get_sb_mtd(struct logfs_super *s, int mtdnr);
491 static inline int logfs_get_sb_mtd(struct logfs_super *s, int mtdnr) in logfs_get_sb_mtd()
628 static inline struct logfs_super *logfs_super(struct super_block *sb) in logfs_super() function
640 logfs_super(sb)->s_flags |= LOGFS_SB_FLAG_RO; in logfs_set_ro()
646 logfs_super(__sb)->s_flags |= LOGFS_SB_FLAG_RO; \
[all …]
Dinode.c122 struct logfs_super *super = logfs_super(sb); in logfs_safe_iget()
297 struct logfs_super *super = logfs_super(inode->i_sb); in logfs_drop_inode()
309 struct logfs_super *super = logfs_super(sb); in logfs_set_ino_generation()
374 struct logfs_super *super = logfs_super(sb); in logfs_put_super()
Ddir.c215 struct logfs_super *super = logfs_super(dir->i_sb); in logfs_unlink()
429 struct logfs_super *super = logfs_super(dir->i_sb); in __logfs_create()
607 struct logfs_super *super = logfs_super(old_dir->i_sb); in logfs_rename_cross()
679 struct logfs_super *super = logfs_super(old_dir->i_sb); in logfs_rename_target()
750 struct logfs_super *super = logfs_super(sb); in logfs_replay_journal()
Dfile.c168 struct logfs_super *super = logfs_super(sb); in logfs_invalidatepage()