Home
last modified time | relevance | path

Searched refs:indirect_blks (Results 1 – 2 of 2) sorted by relevance

/linux/fs/f2fs/
H A Dnode.c705 const long indirect_blks = ADDRS_PER_BLOCK(dn->inode) * NIDS_PER_BLOCK; in f2fs_get_next_page_offset() local
719 base += 2 * indirect_blks; in f2fs_get_next_page_offset()
744 const long indirect_blks = ADDRS_PER_BLOCK(inode) * NIDS_PER_BLOCK; in get_node_path() local
745 const long dindirect_blks = indirect_blks * NIDS_PER_BLOCK; in get_node_path()
772 if (block < indirect_blks) { in get_node_path()
781 block -= indirect_blks; in get_node_path()
782 if (block < indirect_blks) { in get_node_path()
791 block -= indirect_blks; in get_node_path()
795 offset[n++] = block / indirect_blks; in get_node_path()
H A Dgc.c1126 unsigned int indirect_blks = 2 * NIDS_PER_BLOCK + 4; in f2fs_start_bidx_of_node() local
1134 } else if (node_ofs <= indirect_blks) { in f2fs_start_bidx_of_node()
1139 int dec = (node_ofs - indirect_blks - 3) / (NIDS_PER_BLOCK + 1); in f2fs_start_bidx_of_node()