Home
last modified time | relevance | path

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

/linux-6.6.21/fs/f2fs/
Dgc.c1082 block_t f2fs_start_bidx_of_node(unsigned int node_ofs, struct inode *inode) in f2fs_start_bidx_of_node() argument
1087 if (node_ofs == 0) in f2fs_start_bidx_of_node()
1090 if (node_ofs <= 2) { in f2fs_start_bidx_of_node()
1091 bidx = node_ofs - 1; in f2fs_start_bidx_of_node()
1092 } else if (node_ofs <= indirect_blks) { in f2fs_start_bidx_of_node()
1093 int dec = (node_ofs - 4) / (NIDS_PER_BLOCK + 1); in f2fs_start_bidx_of_node()
1095 bidx = node_ofs - 2 - dec; in f2fs_start_bidx_of_node()
1097 int dec = (node_ofs - indirect_blks - 3) / (NIDS_PER_BLOCK + 1); in f2fs_start_bidx_of_node()
1099 bidx = node_ofs - 5 - dec; in f2fs_start_bidx_of_node()
Df2fs.h3857 block_t f2fs_start_bidx_of_node(unsigned int node_ofs, struct inode *inode);