Home
last modified time | relevance | path

Searched refs:block_t (Results 1 – 13 of 13) sorted by relevance

/third_party/f2fs-tools/fsck/
Df2fs.h128 block_t nat_blkaddr;
129 block_t nat_blocks;
160 block_t sit_base_addr; /* start block address of SIT area */
161 block_t sit_blocks; /* # of blocks used by SIT area */
162 block_t written_valid_blocks; /* # of valid blocks in main area */
192 block_t seg0_blkaddr;
193 block_t main_blkaddr;
194 block_t ssa_blkaddr;
237 block_t data_blkaddr;
238 block_t node_blkaddr;
[all …]
Dresize.c172 block_t from, to; in migrate_main()
212 block_t new_sum_blk_addr) in move_ssa()
239 block_t old_sum_blkaddr = get_sb(ssa_blkaddr); in migrate_ssa()
240 block_t new_sum_blkaddr = get_newsb(ssa_blkaddr); in migrate_ssa()
241 block_t end_sum_blkaddr = get_newsb(main_blkaddr); in migrate_ssa()
242 block_t expand_sum_blkaddr = new_sum_blkaddr + in migrate_ssa()
244 block_t blkaddr; in migrate_ssa()
282 block_t old_nat_blkaddr = get_sb(nat_blkaddr); in shrink_nats()
330 block_t old_nat_blkaddr = get_sb(nat_blkaddr); in migrate_nat()
331 block_t new_nat_blkaddr = get_newsb(nat_blkaddr); in migrate_nat()
[all …]
Dfsck.h208 extern void update_sum_entry(struct f2fs_sb_info *, block_t,
220 extern int f2fs_ra_meta_pages(struct f2fs_sb_info *, block_t, int, int);
236 extern void update_data_blkaddr(struct f2fs_sb_info *, nid_t, u16, block_t);
237 extern void update_nat_blkaddr(struct f2fs_sb_info *, nid_t, nid_t, block_t);
289 int reserve_new_block(struct f2fs_sb_info *, block_t *,
296 block_t new_node_block(struct f2fs_sb_info *,
326 const unsigned char *, int, nid_t, int, block_t, int);
Dmount.c39 block_t seg_start_blkaddr; in get_device_idx()
54 block_t seg_start_blkaddr = START_BLOCK(sbi, segno); in get_zone_idx_from_dev()
63 block_t seg_start = START_BLOCK(sbi, segno); in is_usable_seg()
64 block_t blocks_per_sec = sbi->blocks_per_seg * sbi->segs_per_sec; in is_usable_seg()
313 block_t blkaddr; in print_inode_info()
652 block_t blkaddr, int type) in f2fs_is_valid_blkaddr()
683 static inline block_t current_sit_addr(struct f2fs_sb_info *sbi,
689 int f2fs_ra_meta_pages(struct f2fs_sb_info *sbi, block_t start, int nrpages, in f2fs_ra_meta_pages()
692 block_t blkno = start; in f2fs_ra_meta_pages()
693 block_t blkaddr, start_blk = 0, len = 0; in f2fs_ra_meta_pages()
[all …]
Dnode.c51 block_t blkaddr = NULL_ADDR; in f2fs_rebuild_qf_inode()
108 block_t new_node_block(struct f2fs_sb_info *sbi, in new_node_block()
117 block_t blkaddr = NULL_ADDR; in new_node_block()
250 block_t nblk[4]; in get_dnode_of_data()
Dnode.h61 static inline block_t datablock_addr(struct f2fs_node *node_page, in datablock_addr()
154 static inline block_t next_blkaddr_of_node(struct f2fs_node *node_blk) in next_blkaddr_of_node()
Ddir.c223 int file_type, block_t p_blkaddr, int inc_link) in f2fs_add_link()
343 block_t blkaddr = NULL_ADDR; in make_empty_dir()
384 block_t blkaddr = NULL_ADDR; in page_symlink()
551 block_t p_blkaddr) in convert_inline_dentry()
684 block_t blkaddr = NULL_ADDR; in f2fs_create()
Dsegment.c23 int reserve_new_block(struct f2fs_sb_info *sbi, block_t *to, in reserve_new_block()
111 *to = (block_t)blkaddr; in reserve_new_block()
182 block_t blkaddr; in f2fs_read()
271 block_t blkaddr; in f2fs_write_ex()
Dfsck.c613 block_t blkaddr, int last) in check_extent_info()
867 block_t blkaddr = le32_to_cpu(node_blk->i.i_addr[ofs]); in fsck_chk_inode_blk()
910 block_t blkaddr = le32_to_cpu(node_blk->i.i_addr[ofs]); in fsck_chk_inode_blk()
945 block_t blkaddr = le32_to_cpu(node_blk->i.i_addr[ofs + idx]); in fsck_chk_inode_blk()
1216 block_t blkaddr = le32_to_cpu(node_blk->dn.addr[idx]); in fsck_chk_dnode_blk()
1897 block_t start_blk, orphan_blkaddr, i, j; in fsck_chk_orphan_node()
2317 block_t orphan_blks = 0; in fix_checkpoint()
2318 block_t cp_blocks; in fix_checkpoint()
2446 block_t cs_block, wp_block, zone_last_vblock; in check_curseg_write_pointer()
2865 block_t addr = le32_to_cpu(node->i.i_addr[ofs + i]); in fsck_failed_reconnect_file()
[all …]
Dxattr.c91 block_t blkaddr; in write_all_xattrs()
/third_party/f2fs-tools/tools/debug_tools/
Dfsck_debug.h36 static inline block_t of_valid_block_count(struct f2fs_sb_info *sbi) in of_valid_block_count()
/third_party/f2fs-tools/mkfs/
Df2fs_format.c1492 static block_t f2fs_add_default_dentry_lpf(void) in f2fs_add_default_dentry_lpf()
1539 block_t data_blk_nor; in f2fs_write_lpf_inode()
/third_party/f2fs-tools/include/
Df2fs_fs.h104 typedef u32 block_t; typedef