Home
last modified time | relevance | path

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

/linux-4.1.27/fs/f2fs/
Dgc.c470 block_t start_bidx_of_node(unsigned int node_ofs, struct f2fs_inode_info *fi) in start_bidx_of_node() argument
475 if (node_ofs == 0) in start_bidx_of_node()
478 if (node_ofs <= 2) { in start_bidx_of_node()
479 bidx = node_ofs - 1; in start_bidx_of_node()
480 } else if (node_ofs <= indirect_blks) { in start_bidx_of_node()
481 int dec = (node_ofs - 4) / (NIDS_PER_BLOCK + 1); in start_bidx_of_node()
482 bidx = node_ofs - 2 - dec; in start_bidx_of_node()
484 int dec = (node_ofs - indirect_blks - 3) / (NIDS_PER_BLOCK + 1); in start_bidx_of_node()
485 bidx = node_ofs - 5 - dec; in start_bidx_of_node()