Lines Matching refs:NIDS_PER_BLOCK
632 end = min(end, NIDS_PER_BLOCK); in f2fs_ra_node_pages()
645 const long indirect_blks = ADDRS_PER_BLOCK(dn->inode) * NIDS_PER_BLOCK; in f2fs_get_next_page_offset()
655 skipped_unit *= NIDS_PER_BLOCK; in f2fs_get_next_page_offset()
683 const long dptrs_per_blk = NIDS_PER_BLOCK; in get_node_path()
684 const long indirect_blks = ADDRS_PER_BLOCK(inode) * NIDS_PER_BLOCK; in get_node_path()
685 const long dindirect_blks = indirect_blks * NIDS_PER_BLOCK; in get_node_path()
960 return NIDS_PER_BLOCK + 1; in truncate_nodes()
970 f2fs_ra_node_pages(page, ofs, NIDS_PER_BLOCK); in truncate_nodes()
974 for (i = ofs; i < NIDS_PER_BLOCK; i++, freed++) { in truncate_nodes()
986 child_nofs = nofs + ofs * (NIDS_PER_BLOCK + 1) + 1; in truncate_nodes()
987 for (i = ofs; i < NIDS_PER_BLOCK; i++) { in truncate_nodes()
990 child_nofs += NIDS_PER_BLOCK + 1; in truncate_nodes()
995 if (ret == (NIDS_PER_BLOCK + 1)) { in truncate_nodes()
1051 f2fs_ra_node_pages(pages[idx], offset[idx + 1], NIDS_PER_BLOCK); in truncate_partial_nodes()
1054 for (i = offset[idx + 1]; i < NIDS_PER_BLOCK; i++) { in truncate_partial_nodes()
1130 nofs += 1 + NIDS_PER_BLOCK; in f2fs_truncate_inode_blocks()
1133 nofs = 5 + 2 * NIDS_PER_BLOCK; in f2fs_truncate_inode_blocks()