Home
last modified time | relevance | path

Searched defs:sbi (Results 1 – 25 of 26) sorted by relevance

12

/third_party/f2fs-tools/fsck/
Dmount.c36 static int get_device_idx(struct f2fs_sb_info *sbi, uint32_t segno) in get_device_idx()
50 static int get_zone_idx_from_dev(struct f2fs_sb_info *sbi, in get_zone_idx_from_dev()
59 bool is_usable_seg(struct f2fs_sb_info *sbi, unsigned int segno) in is_usable_seg()
79 unsigned int get_usable_seg_count(struct f2fs_sb_info *sbi) in get_usable_seg_count()
92 bool is_usable_seg(struct f2fs_sb_info *UNUSED(sbi), unsigned int UNUSED(segno)) in is_usable_seg()
97 unsigned int get_usable_seg_count(struct f2fs_sb_info *sbi) in get_usable_seg_count()
104 u32 get_free_segments(struct f2fs_sb_info *sbi) in get_free_segments()
118 void update_free_segments(struct f2fs_sb_info *sbi) in update_free_segments()
236 void print_inode_info(struct f2fs_sb_info *sbi, in print_inode_info()
347 void print_node_info(struct f2fs_sb_info *sbi, in print_node_info()
[all …]
Dfsck.c19 int f2fs_set_main_bitmap(struct f2fs_sb_info *sbi, u32 blk, int type) 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()
48 static inline int f2fs_clear_main_bitmap(struct f2fs_sb_info *sbi, u32 blk) in f2fs_clear_main_bitmap()
56 static inline int f2fs_test_sit_bitmap(struct f2fs_sb_info *sbi, u32 blk) in f2fs_test_sit_bitmap()
63 int f2fs_set_sit_bitmap(struct f2fs_sb_info *sbi, u32 blk) in f2fs_set_sit_bitmap()
70 static int add_into_hard_link_list(struct f2fs_sb_info *sbi, in add_into_hard_link_list()
111 static int find_and_dec_hard_link_list(struct f2fs_sb_info *sbi, u32 nid) in find_and_dec_hard_link_list()
144 static int is_valid_ssa_node_blk(struct f2fs_sb_info *sbi, u32 nid, in is_valid_ssa_node_blk()
221 static int is_valid_summary(struct f2fs_sb_info *sbi, struct f2fs_summary *sum, in is_valid_summary()
269 static int is_valid_ssa_data_blk(struct f2fs_sb_info *sbi, u32 blk_addr, in is_valid_ssa_data_blk()
[all …]
Df2fs.h295 static inline struct f2fs_super_block *F2FS_RAW_SUPER(struct f2fs_sb_info *sbi) in F2FS_RAW_SUPER()
300 static inline struct f2fs_checkpoint *F2FS_CKPT(struct f2fs_sb_info *sbi) in F2FS_CKPT()
305 static inline struct f2fs_fsck *F2FS_FSCK(struct f2fs_sb_info *sbi) in F2FS_FSCK()
310 static inline struct f2fs_nm_info *NM_I(struct f2fs_sb_info *sbi) in NM_I()
315 static inline struct f2fs_sm_info *SM_I(struct f2fs_sb_info *sbi) in SM_I()
320 static inline struct sit_info *SIT_I(struct f2fs_sb_info *sbi) in SIT_I()
355 static inline unsigned long __bitmap_size(struct f2fs_sb_info *sbi, int flag) in __bitmap_size()
368 static inline block_t __cp_payload(struct f2fs_sb_info *sbi) in __cp_payload()
373 static inline void *__bitmap_ptr(struct f2fs_sb_info *sbi, int flag) in __bitmap_ptr()
403 static inline block_t __start_cp_addr(struct f2fs_sb_info *sbi) in __start_cp_addr()
[all …]
Dmain.c816 static int do_fsck(struct f2fs_sb_info *sbi) in do_fsck()
895 static void do_dump(struct f2fs_sb_info *sbi) in do_dump()
924 static int do_defrag(struct f2fs_sb_info *sbi) in do_defrag()
980 static int do_resize(struct f2fs_sb_info *sbi) in do_resize()
996 static int init_compr(struct f2fs_sb_info *sbi) in init_compr()
1020 static int do_sload(struct f2fs_sb_info *sbi) in do_sload()
1037 static int do_label(struct f2fs_sb_info *sbi) in do_label()
1088 struct f2fs_sb_info *sbi; in main() local
Ddump.c37 void nat_dump(struct f2fs_sb_info *sbi, nid_t start_nat, nid_t end_nat) in nat_dump()
109 void sit_dump(struct f2fs_sb_info *sbi, unsigned int start_sit, in sit_dump()
177 void ssa_dump(struct f2fs_sb_info *sbi, int start_ssa, int end_ssa) in ssa_dump()
250 static void dump_data_blk(struct f2fs_sb_info *sbi, __u64 offset, u32 blkaddr) in dump_data_blk()
294 static void dump_node_blk(struct f2fs_sb_info *sbi, int ntype, in dump_node_blk()
353 static void dump_xattr(struct f2fs_sb_info *sbi, struct f2fs_node *node_blk) in dump_xattr()
415 static void dump_xattr(struct f2fs_sb_info *UNUSED(sbi), in dump_xattr()
422 static int dump_inode_blk(struct f2fs_sb_info *sbi, u32 nid, in dump_inode_blk()
472 static int dump_file(struct f2fs_sb_info *sbi, struct node_info *ni, in dump_file()
530 static bool is_sit_bitmap_set(struct f2fs_sb_info *sbi, u32 blk_addr) in is_sit_bitmap_set()
[all …]
Ddir.c110 static int find_in_level(struct f2fs_sb_info *sbi, struct f2fs_node *dir, in find_in_level()
167 static int f2fs_find_entry(struct f2fs_sb_info *sbi, in f2fs_find_entry()
182 nid_t f2fs_lookup(struct f2fs_sb_info *sbi, struct f2fs_node *dir, in f2fs_lookup()
221 int f2fs_add_link(struct f2fs_sb_info *sbi, struct f2fs_node *parent, in f2fs_add_link()
336 static void make_empty_dir(struct f2fs_sb_info *sbi, struct f2fs_node *inode) in make_empty_dir()
377 static void page_symlink(struct f2fs_sb_info *sbi, struct f2fs_node *inode, in page_symlink()
437 static void set_file_temperature(struct f2fs_sb_info *sbi, in set_file_temperature()
462 static void init_inode_block(struct f2fs_sb_info *sbi, in init_inode_block()
550 int convert_inline_dentry(struct f2fs_sb_info *sbi, struct f2fs_node *node, in convert_inline_dentry()
653 struct hardlink_cache_entry *f2fs_search_hardlink(struct f2fs_sb_info *sbi, in f2fs_search_hardlink()
[all …]
Dsegment.c23 int reserve_new_block(struct f2fs_sb_info *sbi, block_t *to, in reserve_new_block()
104 int new_data_block(struct f2fs_sb_info *sbi, void *block, in new_data_block()
157 u64 f2fs_read(struct f2fs_sb_info *sbi, nid_t ino, u8 *buffer, in f2fs_read()
247 static u64 f2fs_write_ex(struct f2fs_sb_info *sbi, nid_t ino, u8 *buffer, in f2fs_write_ex()
367 u64 f2fs_write(struct f2fs_sb_info *sbi, nid_t ino, u8 *buffer, in f2fs_write()
373 u64 f2fs_write_compress_data(struct f2fs_sb_info *sbi, nid_t ino, u8 *buffer, in f2fs_write_compress_data()
379 u64 f2fs_write_addrtag(struct f2fs_sb_info *sbi, nid_t ino, pgoff_t offset, in f2fs_write_addrtag()
388 void f2fs_filesize_update(struct f2fs_sb_info *sbi, nid_t ino, u64 filesize) in f2fs_filesize_update()
435 u64 f2fs_fix_mutable(struct f2fs_sb_info *sbi, nid_t ino, pgoff_t offset, in f2fs_fix_mutable()
476 static void update_largest_extent(struct f2fs_sb_info *sbi, nid_t ino) in update_largest_extent()
[all …]
Dsload.c48 static int f2fs_make_directory(struct f2fs_sb_info *sbi, in f2fs_make_directory()
71 static int set_selinux_xattr(struct f2fs_sb_info *sbi, const char *path, in set_selinux_xattr()
203 static int build_directory(struct f2fs_sb_info *sbi, const char *full_path, in build_directory()
300 static int build_directory(struct f2fs_sb_info *sbi, const char *full_path, in build_directory()
347 int f2fs_sload(struct f2fs_sb_info *sbi) in f2fs_sload()
Dresize.c166 static void migrate_main(struct f2fs_sb_info *sbi, unsigned int offset) in migrate_main()
209 static void move_ssa(struct f2fs_sb_info *sbi, unsigned int segno, in move_ssa()
233 static void migrate_ssa(struct f2fs_sb_info *sbi, in migrate_ssa()
275 static int shrink_nats(struct f2fs_sb_info *sbi, in shrink_nats()
323 static void migrate_nat(struct f2fs_sb_info *sbi, in migrate_nat()
391 static void migrate_sit(struct f2fs_sb_info *sbi, in migrate_sit()
449 static void rebuild_checkpoint(struct f2fs_sb_info *sbi, in rebuild_checkpoint()
594 static int f2fs_resize_grow(struct f2fs_sb_info *sbi) in f2fs_resize_grow()
649 static int f2fs_resize_shrink(struct f2fs_sb_info *sbi) in f2fs_resize_shrink()
724 int f2fs_resize(struct f2fs_sb_info *sbi) in f2fs_resize()
Dnode.c19 void f2fs_alloc_nid(struct f2fs_sb_info *sbi, nid_t *nid) in f2fs_alloc_nid()
33 void f2fs_release_nid(struct f2fs_sb_info *sbi, nid_t nid) in f2fs_release_nid()
43 int f2fs_rebuild_qf_inode(struct f2fs_sb_info *sbi, int qtype) in f2fs_rebuild_qf_inode()
108 block_t new_node_block(struct f2fs_sb_info *sbi, in new_node_block()
243 int get_dnode_of_data(struct f2fs_sb_info *sbi, struct dnode_of_data *dn, in get_dnode_of_data()
Dxattr.c20 void *read_all_xattrs(struct f2fs_sb_info *sbi, struct f2fs_node *inode) in read_all_xattrs()
83 static void write_all_xattrs(struct f2fs_sb_info *sbi, in write_all_xattrs()
133 int f2fs_setxattr(struct f2fs_sb_info *sbi, nid_t ino, int index, const char *name, in f2fs_setxattr()
250 int inode_set_selinux(struct f2fs_sb_info *sbi, u32 ino, const char *secon) in inode_set_selinux()
Ddefrag.c12 static int migrate_block(struct f2fs_sb_info *sbi, u64 from, u64 to) in migrate_block()
63 int f2fs_defragment(struct f2fs_sb_info *sbi, u64 from, u64 len, u64 to, int left) in f2fs_defragment()
Dquotaio.c107 errcode_t quota_file_open(struct f2fs_sb_info *sbi, struct quota_handle *h, in quota_file_open()
167 errcode_t quota_file_create(struct f2fs_sb_info *sbi, struct quota_handle *h, in quota_file_create()
198 errcode_t quota_file_close(struct f2fs_sb_info *sbi, struct quota_handle *h, in quota_file_close()
Dmkquota.c66 errcode_t quota_write_inode(struct f2fs_sb_info *sbi, enum quota_type qtype) in quota_write_inode()
146 errcode_t quota_init_context(struct f2fs_sb_info *sbi) in quota_init_context()
362 errcode_t quota_compare_and_update(struct f2fs_sb_info *sbi, in quota_compare_and_update()
Dnode.h26 static inline unsigned int ADDRS_PER_PAGE(struct f2fs_sb_info *sbi, in ADDRS_PER_PAGE()
138 static inline bool is_recoverable_dnode(struct f2fs_sb_info *sbi, in is_recoverable_dnode()
Dquotaio.h68 struct f2fs_sb_info *sbi; member
116 struct f2fs_sb_info *sbi; member
Dfsck.h90 struct f2fs_sb_info sbi; member
159 static inline bool need_fsync_data_record(struct f2fs_sb_info *sbi) in need_fsync_data_record()
/third_party/flutter/skia/third_party/externals/spirv-tools/source/opt/
Dblock_merge_pass.cpp95 auto sbi = bi; in MergeBlocks() local
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DBreakIteratorRegTest.java35 BreakIterator sbi = (BreakIterator)usbi.clone(); in TestRegUnreg() local
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/rbbi/
DBreakIteratorRegTest.java38 BreakIterator sbi = (BreakIterator)usbi.clone(); in TestRegUnreg() local
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dblock_merge_util.cpp146 auto sbi = bi; in MergeWithSuccessor() local
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dblock_merge_util.cpp146 auto sbi = bi; in MergeWithSuccessor() local
/third_party/spirv-tools/source/opt/
Dblock_merge_util.cpp151 auto sbi = bi; in MergeWithSuccessor() local
/third_party/icu/icu4c/source/test/intltest/
Dformatted_string_builder_test.cpp213 FormattedValueStringBuilderImpl sbi(kUndefinedField); in testFields() local
/third_party/f2fs-tools/include/
Df2fs_fs.h705 #define F2FS_ROOT_INO(sbi) (sbi->root_ino_num) argument
706 #define F2FS_NODE_INO(sbi) (sbi->node_ino_num) argument
707 #define F2FS_META_INO(sbi) (sbi->meta_ino_num) argument

12