Home
last modified time | relevance | path

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

/external/f2fs-tools/fsck/
Ddump.c456 unsigned int node_ofs; in dump_data_offset() local
465 node_ofs = ofs_of_node(node_blk); in dump_data_offset()
467 if (node_ofs == 0) in dump_data_offset()
470 if (node_ofs > 0 && node_ofs <= 2) { in dump_data_offset()
471 bidx = node_ofs - 1; in dump_data_offset()
472 } else if (node_ofs <= indirect_blks) { in dump_data_offset()
473 int dec = (node_ofs - 4) / (NIDS_PER_BLOCK + 1); in dump_data_offset()
474 bidx = node_ofs - 2 - dec; in dump_data_offset()
476 int dec = (node_ofs - indirect_blks - 3) / (NIDS_PER_BLOCK + 1); in dump_data_offset()
477 bidx = node_ofs - 5 - dec; in dump_data_offset()