Home
last modified time | relevance | path

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

/external/f2fs-tools/fsck/
Dnode.h116 if (ofs == 3 || ofs == 4 + NIDS_PER_BLOCK || in IS_DNODE()
117 ofs == 5 + 2 * NIDS_PER_BLOCK) in IS_DNODE()
120 if (ofs >= 6 + 2 * NIDS_PER_BLOCK) { in IS_DNODE()
121 ofs -= 6 + 2 * NIDS_PER_BLOCK; in IS_DNODE()
122 if (!((long int)ofs % (NIDS_PER_BLOCK + 1))) in IS_DNODE()
Dnode.c127 const long dptrs_per_blk = NIDS_PER_BLOCK; in get_node_path()
128 const long indirect_blks = ADDRS_PER_BLOCK(&node->i) * NIDS_PER_BLOCK; in get_node_path()
129 const long dindirect_blks = indirect_blks * NIDS_PER_BLOCK; in get_node_path()
Ddump.c270 idx = NIDS_PER_BLOCK; in dump_node_blk()
275 idx = NIDS_PER_BLOCK; in dump_node_blk()
542 unsigned int indirect_blks = 2 * NIDS_PER_BLOCK + 4; in start_bidx_of_node()
551 int dec = (node_ofs - 4) / (NIDS_PER_BLOCK + 1); in start_bidx_of_node()
554 int dec = (node_ofs - indirect_blks - 3) / (NIDS_PER_BLOCK + 1); in start_bidx_of_node()
Dfsck.c660 for (i = 0; i < NIDS_PER_BLOCK; i++) { in fsck_reada_all_direct_node_blocks()
889 NIDS_PER_BLOCK + in fsck_chk_inode_blk()
891 NIDS_PER_BLOCK * NIDS_PER_BLOCK) * F2FS_BLKSIZE; in fsck_chk_inode_blk()
965 NIDS_PER_BLOCK; in fsck_chk_inode_blk()
968 NIDS_PER_BLOCK * NIDS_PER_BLOCK; in fsck_chk_inode_blk()
1185 for (i = 0; i < NIDS_PER_BLOCK; i++) { in fsck_chk_idnode_blk()
1227 for (i = 0; i < NIDS_PER_BLOCK; i++) { in fsck_chk_didnode_blk()
1245 NIDS_PER_BLOCK; in fsck_chk_didnode_blk()
2628 for (i = 0; i < NIDS_PER_BLOCK; i++) { in fsck_failed_reconnect_file_idnode()
2658 for (i = 0; i < NIDS_PER_BLOCK; i++) { in fsck_failed_reconnect_file_didnode()
/external/f2fs-tools/include/
Df2fs_fs.h878 #define NIDS_PER_BLOCK 1018 /* Node IDs in an Indirect Block */ macro
1001 __le32 nid[NIDS_PER_BLOCK]; /* array of data block address */