Home
last modified time | relevance | path

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

/linux/fs/f2fs/
A 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()
A Dnode.c630 end = min(end, NIDS_PER_BLOCK); in f2fs_ra_node_pages()
653 skipped_unit *= NIDS_PER_BLOCK; in f2fs_get_next_page_offset()
681 const long dptrs_per_blk = NIDS_PER_BLOCK; in get_node_path()
958 return NIDS_PER_BLOCK + 1; in truncate_nodes()
968 f2fs_ra_node_pages(page, ofs, NIDS_PER_BLOCK); in truncate_nodes()
972 for (i = ofs; i < NIDS_PER_BLOCK; i++, freed++) { in truncate_nodes()
985 for (i = ofs; i < NIDS_PER_BLOCK; i++) { in truncate_nodes()
988 child_nofs += NIDS_PER_BLOCK + 1; in truncate_nodes()
993 if (ret == (NIDS_PER_BLOCK + 1)) { in truncate_nodes()
1128 nofs += 1 + NIDS_PER_BLOCK; in f2fs_truncate_inode_blocks()
[all …]
A Dgc.c983 unsigned int indirect_blks = 2 * NIDS_PER_BLOCK + 4; in f2fs_start_bidx_of_node()
992 int dec = (node_ofs - 4) / (NIDS_PER_BLOCK + 1); in f2fs_start_bidx_of_node()
996 int dec = (node_ofs - indirect_blks - 3) / (NIDS_PER_BLOCK + 1); in f2fs_start_bidx_of_node()
A Ddata.c1915 leaf_count *= NIDS_PER_BLOCK; in max_inode_blocks()
1919 leaf_count *= NIDS_PER_BLOCK; in max_inode_blocks()
A Dsuper.c3076 leaf_count *= NIDS_PER_BLOCK; in max_file_blocks()
3080 leaf_count *= NIDS_PER_BLOCK; in max_file_blocks()
/linux/include/linux/
A Df2fs_fs.h215 #define NIDS_PER_BLOCK 1018 /* Node IDs in an Indirect Block */ macro
295 __le32 nid[NIDS_PER_BLOCK]; /* array of data block address */

Completed in 31 milliseconds