Home
last modified time | relevance | path

Searched refs:NIDS_PER_BLOCK (Results 1 – 5 of 5) sorted by relevance

/external/f2fs-tools/fsck/
Dnode.h94 if (ofs == 3 || ofs == 4 + NIDS_PER_BLOCK || in IS_DNODE()
95 ofs == 5 + 2 * NIDS_PER_BLOCK) in IS_DNODE()
98 if (ofs >= 6 + 2 * NIDS_PER_BLOCK) { in IS_DNODE()
99 ofs -= 6 + 2 * NIDS_PER_BLOCK; in IS_DNODE()
100 if (!((long int)ofs % (NIDS_PER_BLOCK + 1))) in IS_DNODE()
Dnode.c113 const long dptrs_per_blk = NIDS_PER_BLOCK; in get_node_path()
114 const long indirect_blks = ADDRS_PER_BLOCK * NIDS_PER_BLOCK; in get_node_path()
115 const long dindirect_blks = indirect_blks * NIDS_PER_BLOCK; in get_node_path()
Ddump.c263 idx = NIDS_PER_BLOCK; in dump_node_blk()
268 idx = NIDS_PER_BLOCK; in dump_node_blk()
533 unsigned int indirect_blks = 2 * NIDS_PER_BLOCK + 4; in dump_data_offset()
552 int dec = (node_ofs - 4) / (NIDS_PER_BLOCK + 1); in dump_data_offset()
555 int dec = (node_ofs - indirect_blks - 3) / (NIDS_PER_BLOCK + 1); in dump_data_offset()
Dfsck.c644 for (i = 0; i < NIDS_PER_BLOCK; i++) { in fsck_reada_all_direct_node_blocks()
879 child.pgofs += ADDRS_PER_BLOCK * NIDS_PER_BLOCK; in fsck_chk_inode_blk()
882 NIDS_PER_BLOCK * NIDS_PER_BLOCK; in fsck_chk_inode_blk()
1092 for (i = 0; i < NIDS_PER_BLOCK; i++) { in fsck_chk_idnode_blk()
1134 for (i = 0; i < NIDS_PER_BLOCK; i++) { in fsck_chk_didnode_blk()
1151 child->pgofs += ADDRS_PER_BLOCK * NIDS_PER_BLOCK; in fsck_chk_didnode_blk()
2304 for (i = 0; i < NIDS_PER_BLOCK; i++) { in fsck_failed_reconnect_file_idnode()
2334 for (i = 0; i < NIDS_PER_BLOCK; i++) { in fsck_failed_reconnect_file_didnode()
/external/f2fs-tools/include/
Df2fs_fs.h731 #define NIDS_PER_BLOCK 1018 /* Node IDs in an Indirect Block */ macro
840 __le32 nid[NIDS_PER_BLOCK]; /* array of data block address */