Searched refs:NIDS_PER_BLOCK (Results 1 – 6 of 6) sorted by relevance
352 if (ofs == 3 || ofs == 4 + NIDS_PER_BLOCK || in IS_DNODE()353 ofs == 5 + 2 * NIDS_PER_BLOCK) in IS_DNODE()355 if (ofs >= 6 + 2 * NIDS_PER_BLOCK) { in IS_DNODE()356 ofs -= 6 + 2 * NIDS_PER_BLOCK; in IS_DNODE()357 if (!((long int)ofs % (NIDS_PER_BLOCK + 1))) in IS_DNODE()
636 end = min(end, (int)NIDS_PER_BLOCK); in f2fs_ra_node_pages()649 const long indirect_blks = ADDRS_PER_BLOCK(dn->inode) * NIDS_PER_BLOCK; in f2fs_get_next_page_offset()659 skipped_unit *= NIDS_PER_BLOCK; in f2fs_get_next_page_offset()687 const long dptrs_per_blk = NIDS_PER_BLOCK; in get_node_path()688 const long indirect_blks = ADDRS_PER_BLOCK(inode) * NIDS_PER_BLOCK; in get_node_path()689 const long dindirect_blks = indirect_blks * NIDS_PER_BLOCK; in get_node_path()984 return NIDS_PER_BLOCK + 1; in truncate_nodes()994 f2fs_ra_node_pages(page, ofs, NIDS_PER_BLOCK); in truncate_nodes()998 for (i = ofs; i < NIDS_PER_BLOCK; i++, freed++) { in truncate_nodes()1010 child_nofs = nofs + ofs * (NIDS_PER_BLOCK + 1) + 1; in truncate_nodes()[all …]
1118 unsigned int indirect_blks = 2 * NIDS_PER_BLOCK + 4; in f2fs_start_bidx_of_node()1127 int dec = (node_ofs - 4) / (NIDS_PER_BLOCK + 1); in f2fs_start_bidx_of_node()1131 int dec = (node_ofs - indirect_blks - 3) / (NIDS_PER_BLOCK + 1); in f2fs_start_bidx_of_node()
1913 leaf_count *= NIDS_PER_BLOCK; in max_inode_blocks()1917 leaf_count *= NIDS_PER_BLOCK; in max_inode_blocks()
3312 leaf_count *= NIDS_PER_BLOCK; in max_file_blocks()3316 leaf_count *= NIDS_PER_BLOCK; in max_file_blocks()
267 #define NIDS_PER_BLOCK ((F2FS_BLKSIZE - sizeof(struct node_footer)) / sizeof(__le32)) macro346 __le32 nid[NIDS_PER_BLOCK]; /* array of data block address */