Searched refs:BLOCK_SZ (Results 1 – 10 of 10) sorted by relevance
/external/f2fs-tools/fsck/ |
D | segment.c | 53 memset(block, 0, BLOCK_SZ); in new_data_block() 77 inode = calloc(BLOCK_SZ, 1); in f2fs_write_block() 98 data_blk = calloc(BLOCK_SZ, 1); in f2fs_write_block() 170 char buffer[BLOCK_SZ]; in f2fs_build_file() 189 node_blk = calloc(BLOCK_SZ, 1); in f2fs_build_file() 197 n = read(fd, buffer, BLOCK_SZ); in f2fs_build_file() 207 while ((n = read(fd, buffer, BLOCK_SZ)) > 0) { in f2fs_build_file()
|
D | resize.c | 137 void *raw = calloc(BLOCK_SZ, 1); in migrate_main() 213 void *zero_block = calloc(BLOCK_SZ, 1); in migrate_ssa() 257 nat_block = malloc(BLOCK_SZ); in shrink_nats() 259 zero_block = calloc(BLOCK_SZ, 1); in shrink_nats() 279 if (memcmp(zero_block, nat_block, BLOCK_SZ)) { in shrink_nats() 306 nat_block = malloc(BLOCK_SZ); in migrate_nat() 331 memset(nat_block, 0, BLOCK_SZ); in migrate_nat() 362 struct f2fs_sit_block *sit_blk = calloc(BLOCK_SZ, 1); in migrate_sit() 396 memset(sit_blk, 0, BLOCK_SZ); in migrate_sit() 430 new_cp = calloc(new_cp_blks * BLOCK_SZ, 1); in rebuild_checkpoint() [all …]
|
D | dump.c | 40 nat_block = (struct f2fs_nat_block *)calloc(BLOCK_SZ, 1); in nat_dump() 41 node_block = (struct f2fs_node *)calloc(BLOCK_SZ, 1); in nat_dump() 291 node_blk = calloc(BLOCK_SZ, 1); in dump_node_blk() 405 node_blk = calloc(BLOCK_SZ, 1); in dump_node() 437 node_blk = calloc(BLOCK_SZ, 1); in dump_node_from_blkaddr() 459 node_blk = calloc(BLOCK_SZ, 1); in dump_data_offset() 494 node_blk = calloc(BLOCK_SZ, 1); in dump_node_offset()
|
D | dir.c | 122 dentry_blk = calloc(BLOCK_SZ, 1); in find_in_level() 215 dentry_blk = calloc(BLOCK_SZ, 1); in f2fs_add_link() 315 dent_blk = calloc(BLOCK_SZ, 1); in make_empty_dir() 363 data_blk = calloc(BLOCK_SZ, 1); in page_symlink() 465 dentry_blk = calloc(BLOCK_SZ, 1); in convert_inline_dentry() 550 parent = calloc(BLOCK_SZ, 1); in f2fs_create() 572 child = calloc(BLOCK_SZ, 1); in f2fs_create() 634 parent = calloc(BLOCK_SZ, 1); in f2fs_find_path()
|
D | xattr.c | 29 txattr_addr = calloc(inline_size + BLOCK_SZ, 1); in read_all_xattrs() 102 xattr_node = calloc(BLOCK_SZ, 1); in write_all_xattrs() 148 inode = calloc(BLOCK_SZ, 1); in f2fs_setxattr()
|
D | fsck.h | 90 #define BLOCK_SZ 4096 macro 92 unsigned char buf[BLOCK_SZ];
|
D | node.c | 71 node_blk = calloc(BLOCK_SZ, 1); in new_node_block() 223 dn->node_blk = calloc(BLOCK_SZ, 1); in get_dnode_of_data()
|
D | defrag.c | 14 void *raw = calloc(BLOCK_SZ, 1); in migrate_block()
|
D | fsck.c | 210 node_blk = (struct f2fs_node *)calloc(BLOCK_SZ, 1); in is_valid_summary() 468 node_blk = (struct f2fs_node *)calloc(BLOCK_SZ, 1); in fsck_chk_xattr_blk() 493 node_blk = (struct f2fs_node *)calloc(BLOCK_SZ, 1); in fsck_chk_node_blk() 1390 de_blk = (struct f2fs_dentry_block *)calloc(BLOCK_SZ, 1); in fsck_chk_dentry_blk() 1476 orphan_blk = calloc(BLOCK_SZ, 1); in fsck_chk_orphan_node() 1479 new_blk = calloc(BLOCK_SZ, 1); in fsck_chk_orphan_node() 1521 memset(orphan_blk, 0, BLOCK_SZ); in fsck_chk_orphan_node() 1522 memset(new_blk, 0, BLOCK_SZ); in fsck_chk_orphan_node() 1680 node_blk = (struct f2fs_node *)calloc(BLOCK_SZ, 1); in fix_hard_links()
|
D | mount.c | 1162 sit_blk = calloc(BLOCK_SZ, 1); in get_current_sit_page() 1283 sum_blk = calloc(BLOCK_SZ, 1); in get_sum_block() 1327 nat_block = (struct f2fs_nat_block *)calloc(BLOCK_SZ, 1); in get_nat_entry() 1349 node_blk = (struct f2fs_node *)calloc(BLOCK_SZ, 1); in update_data_blkaddr() 1399 nat_block = (struct f2fs_nat_block *)calloc(BLOCK_SZ, 1); in update_nat_blkaddr() 1623 nat_block = (struct f2fs_nat_block *)calloc(BLOCK_SZ, 1); in flush_nat_journal_entries() 1852 nat_block = (struct f2fs_nat_block *)calloc(BLOCK_SZ, 1); in nullify_nat_entry() 1946 nat_block = (struct f2fs_nat_block *)calloc(BLOCK_SZ, 1); in build_nat_area_bitmap()
|