Home
last modified time | relevance | path

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

/linux-4.4.14/fs/f2fs/
Dgc.c487 block_t start_bidx_of_node(unsigned int node_ofs, struct f2fs_inode_info *fi) in start_bidx_of_node() argument
492 if (node_ofs == 0) in start_bidx_of_node()
495 if (node_ofs <= 2) { in start_bidx_of_node()
496 bidx = node_ofs - 1; in start_bidx_of_node()
497 } else if (node_ofs <= indirect_blks) { in start_bidx_of_node()
498 int dec = (node_ofs - 4) / (NIDS_PER_BLOCK + 1); in start_bidx_of_node()
499 bidx = node_ofs - 2 - dec; in start_bidx_of_node()
501 int dec = (node_ofs - indirect_blks - 3) / (NIDS_PER_BLOCK + 1); in start_bidx_of_node()
502 bidx = node_ofs - 5 - dec; in start_bidx_of_node()