Searched refs:sbi (Results 1 - 25 of 46) sorted by relevance

12

/external/f2fs-tools/fsck/
H A Df2fs.h165 static inline struct f2fs_super_block *F2FS_RAW_SUPER(struct f2fs_sb_info *sbi) argument
167 return (struct f2fs_super_block *)(sbi->raw_super);
170 static inline struct f2fs_checkpoint *F2FS_CKPT(struct f2fs_sb_info *sbi) argument
172 return (struct f2fs_checkpoint *)(sbi->ckpt);
175 static inline struct f2fs_fsck *F2FS_FSCK(struct f2fs_sb_info *sbi) argument
177 return (struct f2fs_fsck *)(sbi->fsck);
180 static inline struct f2fs_nm_info *NM_I(struct f2fs_sb_info *sbi) argument
182 return (struct f2fs_nm_info *)(sbi->nm_info);
185 static inline struct f2fs_sm_info *SM_I(struct f2fs_sb_info *sbi) argument
187 return (struct f2fs_sm_info *)(sbi
190 SIT_I(struct f2fs_sb_info *sbi) argument
206 __bitmap_size(struct f2fs_sb_info *sbi, int flag) argument
219 __bitmap_ptr(struct f2fs_sb_info *sbi, int flag) argument
241 __start_cp_addr(struct f2fs_sb_info *sbi) argument
259 __start_sum_addr(struct f2fs_sb_info *sbi) argument
264 __end_block_addr(struct f2fs_sb_info *sbi) argument
300 CURSEG_I(struct f2fs_sb_info *sbi, int type) argument
305 start_sum_block(struct f2fs_sb_info *sbi) argument
310 sum_blk_addr(struct f2fs_sb_info *sbi, int base, int type) argument
331 IS_VALID_NID(struct f2fs_sb_info *sbi, u32 nid) argument
338 IS_VALID_BLK_ADDR(struct f2fs_sb_info *sbi, u32 addr) argument
358 BLKOFF_FROM_MAIN(struct f2fs_sb_info *sbi, u64 blk_addr) argument
364 GET_SEGNO(struct f2fs_sb_info *sbi, u64 blk_addr) argument
370 OFFSET_IN_SEG(struct f2fs_sb_info *sbi, u64 blk_addr) argument
[all...]
H A Dmount.c101 void print_raw_sb_info(struct f2fs_sb_info *sbi) argument
103 struct f2fs_super_block *sb = F2FS_RAW_SUPER(sbi);
150 void print_ckpt_info(struct f2fs_sb_info *sbi) argument
152 struct f2fs_checkpoint *cp = F2FS_CKPT(sbi);
239 int validate_super_block(struct f2fs_sb_info *sbi, int block) argument
243 sbi->raw_super = malloc(sizeof(struct f2fs_super_block));
250 if (dev_read(sbi->raw_super, offset, sizeof(struct f2fs_super_block)))
253 if (!sanity_check_raw_super(sbi->raw_super)) {
263 memcpy(config.sb_version, sbi->raw_super->version, VERSION_LEN);
265 memcpy(config.init_version, sbi
292 init_sb_info(struct f2fs_sb_info *sbi) argument
315 validate_checkpoint(struct f2fs_sb_info *sbi, block_t cp_addr, unsigned long long *version) argument
372 get_valid_checkpoint(struct f2fs_sb_info *sbi) argument
443 sanity_check_ckpt(struct f2fs_sb_info *sbi) argument
462 init_node_manager(struct f2fs_sb_info *sbi) argument
494 build_node_manager(struct f2fs_sb_info *sbi) argument
508 build_sit_info(struct f2fs_sb_info *sbi) argument
553 reset_curseg(struct f2fs_sb_info *sbi, int type) argument
569 read_compacted_summaries(struct f2fs_sb_info *sbi) argument
619 restore_node_summary(struct f2fs_sb_info *sbi, unsigned int segno, struct f2fs_summary_block *sum_blk) argument
644 read_normal_summaries(struct f2fs_sb_info *sbi, int type) argument
682 restore_curseg_summaries(struct f2fs_sb_info *sbi) argument
695 build_curseg(struct f2fs_sb_info *sbi) argument
730 check_seg_range(struct f2fs_sb_info *sbi, unsigned int segno) argument
736 get_current_sit_page(struct f2fs_sb_info *sbi, unsigned int segno) argument
757 rewrite_current_sit_page(struct f2fs_sb_info *sbi, unsigned int segno, struct f2fs_sit_block *sit_blk) argument
773 check_block_count(struct f2fs_sb_info *sbi, unsigned int segno, struct f2fs_sit_entry *raw_sit) argument
815 get_seg_entry(struct f2fs_sb_info *sbi, unsigned int segno) argument
822 get_sum_block(struct f2fs_sb_info *sbi, unsigned int segno, struct f2fs_summary_block *sum_blk) argument
871 get_sum_entry(struct f2fs_sb_info *sbi, u32 blk_addr, struct f2fs_summary *sum_entry) argument
890 get_nat_entry(struct f2fs_sb_info *sbi, nid_t nid, struct f2fs_nat_entry *raw_nat) argument
924 get_node_info(struct f2fs_sb_info *sbi, nid_t nid, struct node_info *ni) argument
932 build_sit_entries(struct f2fs_sb_info *sbi) argument
961 build_segment_manager(struct f2fs_sb_info *sbi) argument
990 build_sit_area_bitmap(struct f2fs_sb_info *sbi) argument
1035 rewrite_sit_area_bitmap(struct f2fs_sb_info *sbi) argument
1092 lookup_nat_in_journal(struct f2fs_sb_info *sbi, u32 nid, struct f2fs_nat_entry *raw_nat) argument
1110 nullify_nat_entry(struct f2fs_sb_info *sbi, u32 nid) argument
1155 build_nat_area_bitmap(struct f2fs_sb_info *sbi) argument
1236 f2fs_do_mount(struct f2fs_sb_info *sbi) argument
1298 f2fs_do_umount(struct f2fs_sb_info *sbi) argument
[all...]
H A Dmain.c141 static void do_fsck(struct f2fs_sb_info *sbi) argument
145 fsck_init(sbi);
147 fsck_chk_orphan_node(sbi);
151 fsck_chk_node_blk(sbi, NULL, sbi->root_ino_num,
153 fsck_verify(sbi);
154 fsck_free(sbi);
157 static void do_dump(struct f2fs_sb_info *sbi) argument
160 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi);
163 fsck_init(sbi);
202 struct f2fs_sb_info *sbi; local
[all...]
H A Dfsck.c16 static inline int f2fs_set_main_bitmap(struct f2fs_sb_info *sbi, u32 blk, argument
19 struct f2fs_fsck *fsck = F2FS_FSCK(sbi);
22 se = get_seg_entry(sbi, GET_SEGNO(sbi, blk));
27 GET_SEGNO(sbi, blk), se->type,
33 GET_SEGNO(sbi, blk), se->type, type);
37 return f2fs_set_bit(BLKOFF_FROM_MAIN(sbi, blk), fsck->main_area_bitmap);
40 static inline int f2fs_test_main_bitmap(struct f2fs_sb_info *sbi, u32 blk) argument
42 struct f2fs_fsck *fsck = F2FS_FSCK(sbi);
44 return f2fs_test_bit(BLKOFF_FROM_MAIN(sbi, bl
48 f2fs_test_sit_bitmap(struct f2fs_sb_info *sbi, u32 blk) argument
55 add_into_hard_link_list(struct f2fs_sb_info *sbi, u32 nid, u32 link_cnt) argument
95 find_and_dec_hard_link_list(struct f2fs_sb_info *sbi, u32 nid) argument
127 is_valid_ssa_node_blk(struct f2fs_sb_info *sbi, u32 nid, u32 blk_addr) argument
158 is_valid_ssa_data_blk(struct f2fs_sb_info *sbi, u32 blk_addr, u32 parent_nid, u16 idx_in_node, u8 version) argument
192 sanity_check_nid(struct f2fs_sb_info *sbi, u32 nid, struct f2fs_node *node_blk, enum FILE_TYPE ftype, enum NODE_TYPE ntype, struct node_info *ni) argument
285 fsck_chk_xattr_blk(struct f2fs_sb_info *sbi, u32 ino, u32 x_nid, u32 *blk_cnt) argument
313 fsck_chk_node_blk(struct f2fs_sb_info *sbi, struct f2fs_inode *inode, u32 nid, enum FILE_TYPE ftype, enum NODE_TYPE ntype, u32 *blk_cnt) argument
360 fsck_chk_inode_blk(struct f2fs_sb_info *sbi, u32 nid, enum FILE_TYPE ftype, struct f2fs_node *node_blk, u32 *blk_cnt, struct node_info *ni) argument
553 fsck_chk_dnode_blk(struct f2fs_sb_info *sbi, struct f2fs_inode *inode, u32 nid, enum FILE_TYPE ftype, struct f2fs_node *node_blk, u32 *blk_cnt, struct node_info *ni) argument
584 fsck_chk_idnode_blk(struct f2fs_sb_info *sbi, struct f2fs_inode *inode, enum FILE_TYPE ftype, struct f2fs_node *node_blk, u32 *blk_cnt) argument
604 fsck_chk_didnode_blk(struct f2fs_sb_info *sbi, struct f2fs_inode *inode, enum FILE_TYPE ftype, struct f2fs_node *node_blk, u32 *blk_cnt) argument
665 __chk_dentries(struct f2fs_sb_info *sbi, u32 *child_cnt, u32* child_files, unsigned long *bitmap, struct f2fs_dir_entry *dentry, __u8 (*filenames)[F2FS_SLOT_LEN], int max, int last_blk) argument
794 fsck_chk_inline_dentries(struct f2fs_sb_info *sbi, struct f2fs_node *node_blk, u32 *child_cnt, u32 *child_files) argument
822 fsck_chk_dentry_blk(struct f2fs_sb_info *sbi, u32 blk_addr, u32 *child_cnt, u32 *child_files, int last_blk) argument
857 fsck_chk_data_blk(struct f2fs_sb_info *sbi, u32 blk_addr, u32 *child_cnt, u32 *child_files, int last_blk, enum FILE_TYPE ftype, u32 parent_nid, u16 idx_in_node, u8 ver) argument
901 fsck_chk_orphan_node(struct f2fs_sb_info *sbi) argument
938 fsck_init(struct f2fs_sb_info *sbi) argument
965 fix_nat_entries(struct f2fs_sb_info *sbi) argument
975 fix_checkpoint(struct f2fs_sb_info *sbi) argument
1024 check_curseg_offset(struct f2fs_sb_info *sbi) argument
1042 check_sit_types(struct f2fs_sb_info *sbi) argument
1064 fsck_verify(struct f2fs_sb_info *sbi) argument
1196 fsck_free(struct f2fs_sb_info *sbi) argument
[all...]
H A Ddump.c25 void sit_dump(struct f2fs_sb_info *sbi, int start_sit, int end_sit) argument
39 se = get_seg_entry(sbi, segno);
58 SM_I(sbi)->main_segments - free_segs, free_segs);
66 void ssa_dump(struct f2fs_sb_info *sbi, int start_ssa, int end_ssa) argument
78 sbi->sm_info->main_blkaddr);
83 ret = get_sum_block(sbi, segno, &sum_blk);
139 static void dump_node_blk(struct f2fs_sb_info *sbi, int ntype, argument
166 get_node_info(sbi, nid, &ni);
178 dump_node_blk(sbi, TYPE_DIRECT_NODE,
182 dump_node_blk(sbi, TYPE_INDIRECT_NOD
190 dump_inode_blk(struct f2fs_sb_info *sbi, u32 nid, struct f2fs_node *node_blk) argument
227 dump_file(struct f2fs_sb_info *sbi, struct node_info *ni, struct f2fs_node *node_blk) argument
270 dump_node(struct f2fs_sb_info *sbi, nid_t nid) argument
374 dump_info_from_blkaddr(struct f2fs_sb_info *sbi, u32 blk_addr) argument
[all...]
H A Dfsck.h23 struct f2fs_sb_info sbi; member in struct:f2fs_fsck
93 extern int fsck_chk_data_blk(struct f2fs_sb_info *sbi, u32, u32 *, u32 *,
/external/squashfs-tools/kernel/fs/squashfs/
H A Dsuper.c328 struct squashfs_sb_info *sbi = sb->s_fs_info; local
329 squashfs_cache_delete(sbi->block_cache);
330 squashfs_cache_delete(sbi->fragment_cache);
331 squashfs_cache_delete(sbi->read_page);
332 kfree(sbi->id_table);
333 kfree(sbi->fragment_index);
334 kfree(sbi->meta_index);
335 kfree(sbi->stream.workspace);
/external/f2fs-tools/include/
H A Df2fs_fs.h301 #define F2FS_ROOT_INO(sbi) (sbi->root_ino_num)
302 #define F2FS_NODE_INO(sbi) (sbi->node_ino_num)
303 #define F2FS_META_INO(sbi) (sbi->meta_ino_num)
/external/squashfs-tools/kernel-2.4/fs/squashfs/
H A Dinode.c1977 struct squashfs_sb_info *sbi = &s->u.squashfs_sb; local
1978 if (sbi->block_cache)
1980 if (sbi->block_cache[i].block !=
1982 kfree(sbi->block_cache[i].data);
1983 if (sbi->fragment)
1985 SQUASHFS_FREE(sbi->fragment[i].data);
1986 kfree(sbi->fragment);
1987 kfree(sbi->block_cache);
1988 kfree(sbi->read_data);
1989 kfree(sbi
[all...]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/
H A DBreakIteratorRegTest.java35 BreakIterator sbi = (BreakIterator)usbi.clone();
38 // sbi.setText(text);
43 Object key1 = BreakIterator.registerInstance(sbi, Locale.US, BreakIterator.KIND_WORD);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
H A DBreakIteratorRegTest.java31 BreakIterator sbi = (BreakIterator)usbi.clone();
34 // sbi.setText(text);
39 Object key1 = BreakIterator.registerInstance(sbi, Locale.US, BreakIterator.KIND_WORD);
/external/fdlibm/
H A Dconfigure506 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
509 | --sbi=* | --sb=*)
/external/fec/
H A Dconfigure541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
544 | --sbi=* | --sb=*)
/external/iputils/ninfod/
H A Dconfigure966 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
969 | --sbi=* | --sb=*)
/external/google-breakpad/
H A Dconfigure1069 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1072 | --sbi=* | --sb=*)
/external/liblzf/
H A Dconfigure936 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
939 | --sbi=* | --sb=*)
/external/marisa-trie/
H A Dconfigure996 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
999 | --sbi=* | --sb=*)
/external/icu/icu4c/source/
H A Dconfigure1111 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1114 | --sbi=* | --sb=*)
/external/libpcap/
H A Dconfigure1055 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1058 | --sbi=* | --sb=*)
/external/netperf/
H A Dconfigure1025 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1028 | --sbi=* | --sb=*)
/external/srtp/
H A Dconfigure541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
544 | --sbi=* | --sb=*)
/external/tcpdump/
H A Dconfigure1011 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1014 | --sbi=* | --sb=*)
/external/e2fsprogs/
H A Dconfigure1163 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1166 | --sbi=* | --sb=*)
/external/libcap-ng/libcap-ng-0.7/
H A Dconfigure1061 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1064 | --sbi=* | --sb=*)
/external/libedit/
H A Dconfigure1074 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1077 | --sbi=* | --sb=*)

Completed in 873 milliseconds

12