Home
last modified time | relevance | path

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

/linux-4.19.296/fs/f2fs/
Dnode.h352 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()
Dnode.c592 end = min(end, NIDS_PER_BLOCK); in f2fs_ra_node_pages()
605 const long indirect_blks = ADDRS_PER_BLOCK * NIDS_PER_BLOCK; in f2fs_get_next_page_offset()
615 skipped_unit *= NIDS_PER_BLOCK; in f2fs_get_next_page_offset()
641 const long dptrs_per_blk = NIDS_PER_BLOCK; in get_node_path()
642 const long indirect_blks = ADDRS_PER_BLOCK * NIDS_PER_BLOCK; in get_node_path()
643 const long dindirect_blks = indirect_blks * NIDS_PER_BLOCK; in get_node_path()
902 return NIDS_PER_BLOCK + 1; in truncate_nodes()
912 f2fs_ra_node_pages(page, ofs, NIDS_PER_BLOCK); in truncate_nodes()
916 for (i = ofs; i < NIDS_PER_BLOCK; i++, freed++) { in truncate_nodes()
928 child_nofs = nofs + ofs * (NIDS_PER_BLOCK + 1) + 1; in truncate_nodes()
[all …]
Dgc.c547 unsigned int indirect_blks = 2 * NIDS_PER_BLOCK + 4; in f2fs_start_bidx_of_node()
556 int dec = (node_ofs - 4) / (NIDS_PER_BLOCK + 1); in f2fs_start_bidx_of_node()
559 int dec = (node_ofs - indirect_blks - 3) / (NIDS_PER_BLOCK + 1); in f2fs_start_bidx_of_node()
Dsuper.c2076 leaf_count *= NIDS_PER_BLOCK; in max_file_blocks()
2080 leaf_count *= NIDS_PER_BLOCK; in max_file_blocks()
/linux-4.19.296/include/linux/
Df2fs_fs.h201 #define NIDS_PER_BLOCK 1018 /* Node IDs in an Indirect Block */ macro
273 __le32 nid[NIDS_PER_BLOCK]; /* array of data block address */