Searched refs:NIDS_PER_BLOCK (Results 1 – 5 of 5) sorted by relevance
353 if (ofs == 3 || ofs == 4 + NIDS_PER_BLOCK || in IS_DNODE()354 ofs == 5 + 2 * NIDS_PER_BLOCK) in IS_DNODE()356 if (ofs >= 6 + 2 * NIDS_PER_BLOCK) { in IS_DNODE()357 ofs -= 6 + 2 * NIDS_PER_BLOCK; in IS_DNODE()358 if (!((long int)ofs % (NIDS_PER_BLOCK + 1))) in IS_DNODE()
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()[all …]
1128 unsigned int indirect_blks = 2 * NIDS_PER_BLOCK + 4; in f2fs_start_bidx_of_node()1137 int dec = (node_ofs - 4) / (NIDS_PER_BLOCK + 1); in f2fs_start_bidx_of_node()1141 int dec = (node_ofs - indirect_blks - 3) / (NIDS_PER_BLOCK + 1); in f2fs_start_bidx_of_node()
3821 leaf_count *= NIDS_PER_BLOCK; in max_file_blocks()3825 leaf_count *= NIDS_PER_BLOCK; in max_file_blocks()
270 #define NIDS_PER_BLOCK ((F2FS_BLKSIZE - sizeof(struct node_footer)) / sizeof(__le32)) macro349 __le32 nid[NIDS_PER_BLOCK]; /* array of data block address */