Home
last modified time | relevance | path

Searched refs:sbi (Results 1 – 25 of 44) sorted by relevance

12

/external/f2fs-tools/fsck/
Df2fs.h165 static inline struct f2fs_super_block *F2FS_RAW_SUPER(struct f2fs_sb_info *sbi) in F2FS_RAW_SUPER() argument
167 return (struct f2fs_super_block *)(sbi->raw_super); in F2FS_RAW_SUPER()
170 static inline struct f2fs_checkpoint *F2FS_CKPT(struct f2fs_sb_info *sbi) in F2FS_CKPT() argument
172 return (struct f2fs_checkpoint *)(sbi->ckpt); in F2FS_CKPT()
175 static inline struct f2fs_fsck *F2FS_FSCK(struct f2fs_sb_info *sbi) in F2FS_FSCK() argument
177 return (struct f2fs_fsck *)(sbi->fsck); in F2FS_FSCK()
180 static inline struct f2fs_nm_info *NM_I(struct f2fs_sb_info *sbi) in NM_I() argument
182 return (struct f2fs_nm_info *)(sbi->nm_info); in NM_I()
185 static inline struct f2fs_sm_info *SM_I(struct f2fs_sb_info *sbi) in SM_I() argument
187 return (struct f2fs_sm_info *)(sbi->sm_info); in SM_I()
[all …]
Dmount.c101 void print_raw_sb_info(struct f2fs_sb_info *sbi) in print_raw_sb_info() argument
103 struct f2fs_super_block *sb = F2FS_RAW_SUPER(sbi); in print_raw_sb_info()
150 void print_ckpt_info(struct f2fs_sb_info *sbi) in print_ckpt_info() argument
152 struct f2fs_checkpoint *cp = F2FS_CKPT(sbi); in print_ckpt_info()
239 int validate_super_block(struct f2fs_sb_info *sbi, int block) in validate_super_block() argument
243 sbi->raw_super = malloc(sizeof(struct f2fs_super_block)); in validate_super_block()
250 if (dev_read(sbi->raw_super, offset, sizeof(struct f2fs_super_block))) in validate_super_block()
253 if (!sanity_check_raw_super(sbi->raw_super)) { in validate_super_block()
263 memcpy(config.sb_version, sbi->raw_super->version, VERSION_LEN); in validate_super_block()
265 memcpy(config.init_version, sbi->raw_super->init_version, VERSION_LEN); in validate_super_block()
[all …]
Dfsck.c16 static inline int f2fs_set_main_bitmap(struct f2fs_sb_info *sbi, u32 blk, in f2fs_set_main_bitmap() argument
19 struct f2fs_fsck *fsck = F2FS_FSCK(sbi); in f2fs_set_main_bitmap()
22 se = get_seg_entry(sbi, GET_SEGNO(sbi, blk)); in f2fs_set_main_bitmap()
27 GET_SEGNO(sbi, blk), se->type, in f2fs_set_main_bitmap()
33 GET_SEGNO(sbi, blk), se->type, type); in f2fs_set_main_bitmap()
37 return f2fs_set_bit(BLKOFF_FROM_MAIN(sbi, blk), fsck->main_area_bitmap); in f2fs_set_main_bitmap()
40 static inline int f2fs_test_main_bitmap(struct f2fs_sb_info *sbi, u32 blk) in f2fs_test_main_bitmap() argument
42 struct f2fs_fsck *fsck = F2FS_FSCK(sbi); in f2fs_test_main_bitmap()
44 return f2fs_test_bit(BLKOFF_FROM_MAIN(sbi, blk), in f2fs_test_main_bitmap()
48 static inline int f2fs_test_sit_bitmap(struct f2fs_sb_info *sbi, u32 blk) in f2fs_test_sit_bitmap() argument
[all …]
Dmain.c141 static void do_fsck(struct f2fs_sb_info *sbi) in do_fsck() argument
145 fsck_init(sbi); in do_fsck()
147 fsck_chk_orphan_node(sbi); in do_fsck()
151 fsck_chk_node_blk(sbi, NULL, sbi->root_ino_num, in do_fsck()
153 fsck_verify(sbi); in do_fsck()
154 fsck_free(sbi); in do_fsck()
157 static void do_dump(struct f2fs_sb_info *sbi) in do_dump() argument
160 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in do_dump()
163 fsck_init(sbi); in do_dump()
166 opt->end_sit = SM_I(sbi)->main_segments; in do_dump()
[all …]
Ddump.c25 void sit_dump(struct f2fs_sb_info *sbi, int start_sit, int end_sit) in sit_dump() argument
39 se = get_seg_entry(sbi, segno); in sit_dump()
58 SM_I(sbi)->main_segments - free_segs, free_segs); in sit_dump()
66 void ssa_dump(struct f2fs_sb_info *sbi, int start_ssa, int end_ssa) in ssa_dump() argument
78 sbi->sm_info->main_blkaddr); in ssa_dump()
83 ret = get_sum_block(sbi, segno, &sum_blk); in ssa_dump()
139 static void dump_node_blk(struct f2fs_sb_info *sbi, int ntype, in dump_node_blk() argument
166 get_node_info(sbi, nid, &ni); in dump_node_blk()
178 dump_node_blk(sbi, TYPE_DIRECT_NODE, in dump_node_blk()
182 dump_node_blk(sbi, TYPE_INDIRECT_NODE, in dump_node_blk()
[all …]
Dfsck.h23 struct f2fs_sb_info sbi; member
93 extern int fsck_chk_data_blk(struct f2fs_sb_info *sbi, u32, u32 *, u32 *,
/external/squashfs-tools/kernel/fs/squashfs/
Dsuper.c328 struct squashfs_sb_info *sbi = sb->s_fs_info; in squashfs_put_super() local
329 squashfs_cache_delete(sbi->block_cache); in squashfs_put_super()
330 squashfs_cache_delete(sbi->fragment_cache); in squashfs_put_super()
331 squashfs_cache_delete(sbi->read_page); in squashfs_put_super()
332 kfree(sbi->id_table); in squashfs_put_super()
333 kfree(sbi->fragment_index); in squashfs_put_super()
334 kfree(sbi->meta_index); in squashfs_put_super()
335 kfree(sbi->stream.workspace); in squashfs_put_super()
/external/squashfs-tools/kernel-2.4/fs/squashfs/
Dinode.c1977 struct squashfs_sb_info *sbi = &s->u.squashfs_sb; in squashfs_put_super() local
1978 if (sbi->block_cache) in squashfs_put_super()
1980 if (sbi->block_cache[i].block != in squashfs_put_super()
1982 kfree(sbi->block_cache[i].data); in squashfs_put_super()
1983 if (sbi->fragment) in squashfs_put_super()
1985 SQUASHFS_FREE(sbi->fragment[i].data); in squashfs_put_super()
1986 kfree(sbi->fragment); in squashfs_put_super()
1987 kfree(sbi->block_cache); in squashfs_put_super()
1988 kfree(sbi->read_data); in squashfs_put_super()
1989 kfree(sbi->read_page); in squashfs_put_super()
[all …]
/external/f2fs-tools/include/
Df2fs_fs.h301 #define F2FS_ROOT_INO(sbi) (sbi->root_ino_num) argument
302 #define F2FS_NODE_INO(sbi) (sbi->node_ino_num) argument
303 #define F2FS_META_INO(sbi) (sbi->meta_ino_num) argument
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DBreakIteratorRegTest.java31 BreakIterator sbi = (BreakIterator)usbi.clone(); in TestRegUnreg() local
39 Object key1 = BreakIterator.registerInstance(sbi, Locale.US, BreakIterator.KIND_WORD); in TestRegUnreg()
/external/fdlibm/
Dconfigure506 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
509 | --sbi=* | --sb=*)
/external/iputils/ninfod/
Dconfigure966 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
969 | --sbi=* | --sb=*)
/external/marisa-trie/
Dconfigure996 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
999 | --sbi=* | --sb=*)
/external/google-breakpad/
Dconfigure1069 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1072 | --sbi=* | --sb=*)
/external/liblzf/
Dconfigure936 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
939 | --sbi=* | --sb=*)
/external/libpcap/
Dconfigure1051 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1054 | --sbi=* | --sb=*)
/external/elfutils/src/
Dconfigure1111 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1114 | --sbi=* | --sb=*)
/external/tcpdump/
Dconfigure1007 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1010 | --sbi=* | --sb=*)
/external/icu/icu4c/source/
Dconfigure1097 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1100 | --sbi=* | --sb=*)
/external/srtp/
Dconfigure541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
544 | --sbi=* | --sb=*)
/external/libusb/
Dconfigure1182 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1185 | --sbi=* | --sb=*)
/external/e2fsprogs/
Dconfigure1163 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1166 | --sbi=* | --sb=*)
/external/libopus/
Dconfigure1092 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1095 | --sbi=* | --sb=*)
/external/libcap-ng/libcap-ng-0.7/
Dconfigure1061 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1064 | --sbi=* | --sb=*)
/external/libusb-compat/
Dconfigure1220 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1223 | --sbi=* | --sb=*)

12