Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/fs/f2fs/
H A Dnode.h358 if (ofs == 3 || ofs == 4 + NIDS_PER_BLOCK || in IS_DNODE()
359 ofs == 5 + 2 * NIDS_PER_BLOCK) in IS_DNODE()
361 if (ofs >= 6 + 2 * NIDS_PER_BLOCK) { in IS_DNODE()
362 ofs -= 6 + 2 * NIDS_PER_BLOCK; in IS_DNODE()
363 if (!((long int)ofs % (NIDS_PER_BLOCK + 1))) in IS_DNODE()
H A Dnode.c637 end = min(end, NIDS_PER_BLOCK); in f2fs_ra_node_pages()
650 const long indirect_blks = ADDRS_PER_BLOCK(dn->inode) * NIDS_PER_BLOCK; in f2fs_get_next_page_offset()
660 skipped_unit *= NIDS_PER_BLOCK; in f2fs_get_next_page_offset()
688 const long dptrs_per_blk = NIDS_PER_BLOCK; in get_node_path()
689 const long indirect_blks = ADDRS_PER_BLOCK(inode) * NIDS_PER_BLOCK; in get_node_path()
690 const long dindirect_blks = indirect_blks * NIDS_PER_BLOCK; in get_node_path()
965 return NIDS_PER_BLOCK + 1; in truncate_nodes()
975 f2fs_ra_node_pages(page, ofs, NIDS_PER_BLOCK); in truncate_nodes()
979 for (i = ofs; i < NIDS_PER_BLOCK; i++, freed++) { in truncate_nodes()
991 child_nofs = nofs + ofs * (NIDS_PER_BLOCK + 1) + 1; in truncate_nodes()
[all …]
H A Dgc.c978 unsigned int indirect_blks = 2 * NIDS_PER_BLOCK + 4; in f2fs_start_bidx_of_node()
987 int dec = (node_ofs - 4) / (NIDS_PER_BLOCK + 1); in f2fs_start_bidx_of_node()
991 int dec = (node_ofs - indirect_blks - 3) / (NIDS_PER_BLOCK + 1); in f2fs_start_bidx_of_node()
H A Ddata.c1875 leaf_count *= NIDS_PER_BLOCK; in max_inode_blocks()
1879 leaf_count *= NIDS_PER_BLOCK; in max_inode_blocks()
H A Dsuper.c2996 leaf_count *= NIDS_PER_BLOCK; in max_file_blocks()
3000 leaf_count *= NIDS_PER_BLOCK; in max_file_blocks()
/OK3568_Linux_fs/kernel/include/linux/
H A Df2fs_fs.h230 #define NIDS_PER_BLOCK 1018 /* Node IDs in an Indirect Block */ macro
310 __le32 nid[NIDS_PER_BLOCK]; /* array of data block address */