/external/f2fs-tools/fsck/ |
D | f2fs.h | 200 static inline struct f2fs_super_block *F2FS_RAW_SUPER(struct f2fs_sb_info *sbi) in F2FS_RAW_SUPER() argument 202 return (struct f2fs_super_block *)(sbi->raw_super); in F2FS_RAW_SUPER() 205 static inline struct f2fs_checkpoint *F2FS_CKPT(struct f2fs_sb_info *sbi) in F2FS_CKPT() argument 207 return (struct f2fs_checkpoint *)(sbi->ckpt); in F2FS_CKPT() 210 static inline struct f2fs_fsck *F2FS_FSCK(struct f2fs_sb_info *sbi) in F2FS_FSCK() argument 212 return (struct f2fs_fsck *)(sbi->fsck); in F2FS_FSCK() 215 static inline struct f2fs_nm_info *NM_I(struct f2fs_sb_info *sbi) in NM_I() argument 217 return (struct f2fs_nm_info *)(sbi->nm_info); in NM_I() 220 static inline struct f2fs_sm_info *SM_I(struct f2fs_sb_info *sbi) in SM_I() argument 222 return (struct f2fs_sm_info *)(sbi->sm_info); in SM_I() [all …]
|
D | mount.c | 31 u32 get_free_segments(struct f2fs_sb_info *sbi) in get_free_segments() argument 35 for (i = 0; i < TOTAL_SEGS(sbi); i++) { in get_free_segments() 36 struct seg_entry *se = get_seg_entry(sbi, i); in get_free_segments() 38 if (se->valid_blocks == 0x0 && !IS_CUR_SEGNO(sbi, i)) in get_free_segments() 44 void update_free_segments(struct f2fs_sb_info *sbi) in update_free_segments() argument 52 MSG(0, "\r [ %c ] Free segments: 0x%x", progress[i % 5], get_free_segments(sbi)); in update_free_segments() 170 void print_inode_info(struct f2fs_sb_info *sbi, in print_inode_info() argument 259 xattr_addr = read_all_xattrs(sbi, node); in print_inode_info() 268 void print_node_info(struct f2fs_sb_info *sbi, in print_node_info() argument 276 print_inode_info(sbi, node_block, verbose); in print_node_info() [all …]
|
D | fsck.c | 19 int f2fs_set_main_bitmap(struct f2fs_sb_info *sbi, u32 blk, int type) in f2fs_set_main_bitmap() argument 21 struct f2fs_fsck *fsck = F2FS_FSCK(sbi); in f2fs_set_main_bitmap() 25 se = get_seg_entry(sbi, GET_SEGNO(sbi, blk)); in f2fs_set_main_bitmap() 34 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_clear_main_bitmap(struct f2fs_sb_info *sbi, u32 blk) in f2fs_clear_main_bitmap() argument 50 struct f2fs_fsck *fsck = F2FS_FSCK(sbi); in f2fs_clear_main_bitmap() [all …]
|
D | defrag.c | 12 static int migrate_block(struct f2fs_sb_info *sbi, u64 from, u64 to) in migrate_block() argument 31 se = get_seg_entry(sbi, GET_SEGNO(sbi, from)); in migrate_block() 32 offset = OFFSET_IN_SEG(sbi, from); in migrate_block() 38 se = get_seg_entry(sbi, GET_SEGNO(sbi, to)); in migrate_block() 39 offset = OFFSET_IN_SEG(sbi, to); in migrate_block() 46 get_sum_entry(sbi, from, &sum); in migrate_block() 47 update_sum_entry(sbi, to, &sum); in migrate_block() 51 update_data_blkaddr(sbi, le32_to_cpu(sum.nid), in migrate_block() 54 update_nat_blkaddr(sbi, 0, le32_to_cpu(sum.nid), to); in migrate_block() 63 int f2fs_defragment(struct f2fs_sb_info *sbi, u64 from, u64 len, u64 to, int left) in f2fs_defragment() argument [all …]
|
D | resize.c | 166 static void migrate_main(struct f2fs_sb_info *sbi, unsigned int offset) in migrate_main() argument 176 for (i = TOTAL_SEGS(sbi) - 1; i >= 0; i--) { in migrate_main() 177 se = get_seg_entry(sbi, i); in migrate_main() 181 for (j = sbi->blocks_per_seg - 1; j >= 0; j--) { in migrate_main() 185 from = START_BLOCK(sbi, i) + j; in migrate_main() 193 get_sum_entry(sbi, from, &sum); in migrate_main() 196 update_data_blkaddr(sbi, le32_to_cpu(sum.nid), in migrate_main() 199 update_nat_blkaddr(sbi, 0, in migrate_main() 205 START_BLOCK(sbi, 0), in migrate_main() 206 START_BLOCK(sbi, 0) + offset); in migrate_main() [all …]
|
D | dump.c | 34 void nat_dump(struct f2fs_sb_info *sbi, nid_t start_nat, nid_t end_nat) in nat_dump() argument 54 if(nid == 0 || nid == F2FS_NODE_INO(sbi) || in nat_dump() 55 nid == F2FS_META_INO(sbi)) in nat_dump() 59 block_addr = current_nat_addr(sbi, nid, &pack); in nat_dump() 61 if (lookup_nat_in_journal(sbi, nid, &raw_nat) >= 0) { in nat_dump() 106 void sit_dump(struct f2fs_sb_info *sbi, unsigned int start_sit, in sit_dump() argument 110 struct sit_info *sit_i = SIT_I(sbi); in sit_dump() 128 se = get_seg_entry(sbi, segno); in sit_dump() 166 SM_I(sbi)->main_segments - free_segs, in sit_dump() 174 void ssa_dump(struct f2fs_sb_info *sbi, int start_ssa, int end_ssa) in ssa_dump() argument [all …]
|
D | main.c | 575 static void do_fsck(struct f2fs_sb_info *sbi) in do_fsck() argument 577 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in do_fsck() 582 fsck_init(sbi); in do_fsck() 586 fsck_chk_curseg_info(sbi); in do_fsck() 591 if (fsck_chk_meta(sbi)) { in do_fsck() 597 fsck_free(sbi); in do_fsck() 619 fsck_chk_quota_node(sbi); in do_fsck() 625 ret = quota_init_context(sbi); in do_fsck() 631 fsck_chk_orphan_node(sbi); in do_fsck() 632 fsck_chk_node_blk(sbi, NULL, sbi->root_ino_num, in do_fsck() [all …]
|
D | segment.c | 27 void reserve_new_block(struct f2fs_sb_info *sbi, block_t *to, in reserve_new_block() argument 30 struct f2fs_fsck *fsck = F2FS_FSCK(sbi); in reserve_new_block() 35 blkaddr = SM_I(sbi)->main_blkaddr; in reserve_new_block() 37 if (find_next_free_block(sbi, &blkaddr, 0, type)) { in reserve_new_block() 42 se = get_seg_entry(sbi, GET_SEGNO(sbi, blkaddr)); in reserve_new_block() 43 offset = OFFSET_IN_SEG(sbi, blkaddr); in reserve_new_block() 48 f2fs_set_main_bitmap(sbi, blkaddr, type); in reserve_new_block() 49 f2fs_set_sit_bitmap(sbi, blkaddr); in reserve_new_block() 53 sbi->total_valid_block_count++; in reserve_new_block() 61 update_sum_entry(sbi, *to, sum); in reserve_new_block() [all …]
|
D | sload.c | 44 static void f2fs_make_directory(struct f2fs_sb_info *sbi, in f2fs_make_directory() argument 51 f2fs_mkdir(sbi, de + i); in f2fs_make_directory() 53 f2fs_create(sbi, de + i); in f2fs_make_directory() 55 f2fs_symlink(sbi, de + i); in f2fs_make_directory() 60 static int set_selinux_xattr(struct f2fs_sb_info *sbi, const char *path, in set_selinux_xattr() argument 85 inode_set_selinux(sbi, ino, secontext); in set_selinux_xattr() 169 static int build_directory(struct f2fs_sb_info *sbi, const char *full_path, in build_directory() argument 211 f2fs_make_directory(sbi, entries, dentries); in build_directory() 215 f2fs_build_file(sbi, dentries + i); in build_directory() 227 build_directory(sbi, subdir_full_path, subdir_dir_path, in build_directory() [all …]
|
D | dir.c | 109 static int find_in_level(struct f2fs_sb_info *sbi,struct f2fs_node *dir, in find_in_level() argument 142 get_dnode_of_data(sbi, &dn, bidx, LOOKUP_NODE); in find_in_level() 165 static int f2fs_find_entry(struct f2fs_sb_info *sbi, in f2fs_find_entry() argument 173 if (find_in_level(sbi, dir, level, de)) in f2fs_find_entry() 180 nid_t f2fs_lookup(struct f2fs_sb_info *sbi, struct f2fs_node *dir, in f2fs_lookup() argument 189 err = f2fs_find_entry(sbi, dir, &de); in f2fs_lookup() 219 int f2fs_add_link(struct f2fs_sb_info *sbi, struct f2fs_node *parent, in f2fs_add_link() argument 269 get_dnode_of_data(sbi, &dn, block, ALLOC_NODE); in f2fs_add_link() 272 new_data_block(sbi, dentry_blk, &dn, CURSEG_HOT_DATA); in f2fs_add_link() 332 static void make_empty_dir(struct f2fs_sb_info *sbi, struct f2fs_node *inode) in make_empty_dir() argument [all …]
|
D | quotaio.c | 80 written = f2fs_write(qf->sbi, qf->ino, buf, size, offset); in quota_write_nomount() 91 return f2fs_read(qf->sbi, qf->ino, buf, size, offset); in quota_read_nomount() 97 errcode_t quota_file_open(struct f2fs_sb_info *sbi, struct quota_handle *h, in quota_file_open() argument 100 struct f2fs_fsck *fsck = F2FS_FSCK(sbi); in quota_file_open() 101 struct f2fs_super_block *sb = F2FS_RAW_SUPER(sbi); in quota_file_open() 115 (void) quota_file_close(sbi, h, 0); in quota_file_open() 125 h->qh_qf.sbi = sbi; in quota_file_open() 157 errcode_t quota_file_create(struct f2fs_sb_info *sbi, struct quota_handle *h, in quota_file_create() argument 160 struct f2fs_super_block *sb = F2FS_RAW_SUPER(sbi); in quota_file_create() 165 h->qh_qf.sbi = sbi; in quota_file_create() [all …]
|
D | node.c | 19 void f2fs_alloc_nid(struct f2fs_sb_info *sbi, nid_t *nid, int inode) in f2fs_alloc_nid() argument 21 struct f2fs_nm_info *nm_i = NM_I(sbi); in f2fs_alloc_nid() 22 struct f2fs_checkpoint *cp = F2FS_CKPT(sbi); in f2fs_alloc_nid() 58 block_t new_node_block(struct f2fs_sb_info *sbi, in new_node_block() argument 63 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in new_node_block() 87 get_node_info(sbi, dn->nid, &ni); in new_node_block() 89 reserve_new_block(sbi, &blkaddr, &sum, type); in new_node_block() 92 update_nat_blkaddr(sbi, le32_to_cpu(f2fs_inode->footer.ino), in new_node_block() 182 int get_dnode_of_data(struct f2fs_sb_info *sbi, struct dnode_of_data *dn, in get_dnode_of_data() argument 203 get_node_info(sbi, nids[0], &ni); in get_dnode_of_data() [all …]
|
D | xattr.c | 20 void *read_all_xattrs(struct f2fs_sb_info *sbi, struct f2fs_node *inode) in read_all_xattrs() argument 37 get_node_info(sbi, le32_to_cpu(inode->i.i_xattr_nid), &ni); in read_all_xattrs() 67 static void write_all_xattrs(struct f2fs_sb_info *sbi, in write_all_xattrs() argument 86 f2fs_alloc_nid(sbi, &new_nid, 0); in write_all_xattrs() 90 blkaddr = new_node_block(sbi, &dn, XATTR_NODE_OFFSET); in write_all_xattrs() 96 get_node_info(sbi, xnid, &ni); in write_all_xattrs() 116 int f2fs_setxattr(struct f2fs_sb_info *sbi, nid_t ino, int index, const char *name, in f2fs_setxattr() argument 146 get_node_info(sbi, ino, &ni); in f2fs_setxattr() 152 base_addr = read_all_xattrs(sbi, inode); in f2fs_setxattr() 223 write_all_xattrs(sbi, inode, new_hsize, base_addr); in f2fs_setxattr() [all …]
|
D | mkquota.c | 62 errcode_t quota_write_inode(struct f2fs_sb_info *sbi, enum quota_type qtype) in quota_write_inode() argument 64 struct f2fs_fsck *fsck = F2FS_FSCK(sbi); in quota_write_inode() 65 struct f2fs_super_block *sb = F2FS_RAW_SUPER(sbi); in quota_write_inode() 82 retval = quota_file_create(sbi, h, qtype); in quota_write_inode() 87 quota_file_close(sbi, h, 1); in quota_write_inode() 142 errcode_t quota_init_context(struct f2fs_sb_info *sbi) in quota_init_context() argument 144 struct f2fs_fsck *fsck = F2FS_FSCK(sbi); in quota_init_context() 145 struct f2fs_super_block *sb = F2FS_RAW_SUPER(sbi); in quota_init_context() 173 ctx->sbi = sbi; in quota_init_context() 358 errcode_t quota_compare_and_update(struct f2fs_sb_info *sbi, in quota_compare_and_update() argument [all …]
|
D | quotaio.h | 58 struct f2fs_sb_info *sbi; member 106 struct f2fs_sb_info *sbi; member 193 errcode_t quota_file_open(struct f2fs_sb_info *sbi, struct quota_handle *h, 197 errcode_t quota_file_create(struct f2fs_sb_info *sbi, struct quota_handle *h, 201 errcode_t quota_file_close(struct f2fs_sb_info *sbi, struct quota_handle *h, 210 errcode_t quota_init_context(struct f2fs_sb_info *sbi); 214 errcode_t quota_write_inode(struct f2fs_sb_info *sbi, enum quota_type qtype); 218 errcode_t quota_compare_and_update(struct f2fs_sb_info *sbi,
|
D | fsck.h | 72 struct f2fs_sb_info sbi; member 151 extern int fsck_chk_data_blk(struct f2fs_sb_info *sbi, u32, struct child_info *, 157 int fsck_chk_meta(struct f2fs_sb_info *sbi);
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/AVR/ |
D | inst-sbi.s | 6 sbi 3, 5 7 sbi 1, 1 8 sbi 0, 0 9 sbi 7, 2 11 sbi main, 0 13 ; CHECK: sbi 3, 5 ; encoding: [0x1d,0x9a] 14 ; CHECK: sbi 1, 1 ; encoding: [0x09,0x9a] 15 ; CHECK: sbi 0, 0 ; encoding: [0x00,0x9a] 16 ; CHECK: sbi 7, 2 ; encoding: [0x3a,0x9a] 18 ; CHECK: sbi main, 0 ; encoding: [0bAAAAA000,0x9a]
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | block_merge_pass.cpp | 81 auto sbi = bi; in MergeBlocks() local 82 for (; sbi != func->end(); ++sbi) in MergeBlocks() 83 if (sbi->id() == lab_id) break; in MergeBlocks() 86 assert(sbi != func->end()); in MergeBlocks() 89 for (auto& inst : *sbi) { in MergeBlocks() 94 bi->AddInstructions(&*sbi); in MergeBlocks() 107 context()->KillInst(sbi->GetLabelInst()); in MergeBlocks() 108 (void)sbi.Erase(); in MergeBlocks()
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | block_merge_pass.cpp | 81 auto sbi = bi; in MergeBlocks() local 82 for (; sbi != func->end(); ++sbi) in MergeBlocks() 83 if (sbi->id() == lab_id) break; in MergeBlocks() 86 assert(sbi != func->end()); in MergeBlocks() 89 for (auto& inst : *sbi) { in MergeBlocks() 94 bi->AddInstructions(&*sbi); in MergeBlocks() 107 context()->KillInst(sbi->GetLabelInst()); in MergeBlocks() 108 (void)sbi.Erase(); in MergeBlocks()
|
/external/squashfs-tools/kernel/fs/squashfs/ |
D | super.c | 328 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/ |
D | inode.c | 1977 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/swiftshader/third_party/LLVM/test/MC/MBlaze/ |
D | mblaze_memory.s | 69 # CHECK: sbi 72 sbi r1, r2, 28
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/ |
D | BreakIteratorRegTest.java | 38 BreakIterator sbi = (BreakIterator)usbi.clone(); in TestRegUnreg() local 46 Object key1 = BreakIterator.registerInstance(sbi, Locale.US, BreakIterator.KIND_WORD); in TestRegUnreg()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/ |
D | BreakIteratorRegTest.java | 35 BreakIterator sbi = (BreakIterator)usbi.clone(); in TestRegUnreg() local 43 Object key1 = BreakIterator.registerInstance(sbi, Locale.US, BreakIterator.KIND_WORD); in TestRegUnreg()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/AVR/out-of-range-fixups/ |
D | sbi-pass.s | 4 sbi foo+31, 1 label
|