Lines Matching refs:NIDS_PER_BLOCK
677 end = min(end, (int)NIDS_PER_BLOCK); in f2fs_ra_node_pages()
690 const long indirect_blks = ADDRS_PER_BLOCK(dn->inode) * NIDS_PER_BLOCK; in f2fs_get_next_page_offset()
700 skipped_unit *= NIDS_PER_BLOCK; in f2fs_get_next_page_offset()
728 const long dptrs_per_blk = NIDS_PER_BLOCK; in get_node_path()
729 const long indirect_blks = ADDRS_PER_BLOCK(inode) * NIDS_PER_BLOCK; in get_node_path()
730 const long dindirect_blks = indirect_blks * NIDS_PER_BLOCK; in get_node_path()
1049 return NIDS_PER_BLOCK + 1; in truncate_nodes()
1060 f2fs_ra_node_pages(folio, ofs, NIDS_PER_BLOCK); in truncate_nodes()
1064 for (i = ofs; i < NIDS_PER_BLOCK; i++, freed++) { in truncate_nodes()
1076 child_nofs = nofs + ofs * (NIDS_PER_BLOCK + 1) + 1; in truncate_nodes()
1077 for (i = ofs; i < NIDS_PER_BLOCK; i++) { in truncate_nodes()
1080 child_nofs += NIDS_PER_BLOCK + 1; in truncate_nodes()
1085 if (ret == (NIDS_PER_BLOCK + 1)) { in truncate_nodes()
1142 f2fs_ra_node_pages(folios[idx], offset[idx + 1], NIDS_PER_BLOCK); in truncate_partial_nodes()
1145 for (i = offset[idx + 1]; i < NIDS_PER_BLOCK; i++) { in truncate_partial_nodes()
1228 nofs += 1 + NIDS_PER_BLOCK; in f2fs_truncate_inode_blocks()
1231 nofs = 5 + 2 * NIDS_PER_BLOCK; in f2fs_truncate_inode_blocks()