Lines Matching defs:ofs
271 nid_t ino, unsigned int ofs, bool reset)
285 rn->footer.flag = cpu_to_le32((ofs << OFFSET_BIT_SHIFT) |
347 unsigned int ofs = ofs_of_node(node_page);
349 if (f2fs_has_xattr_block(ofs))
352 if (ofs == 3 || ofs == 4 + NIDS_PER_BLOCK ||
353 ofs == 5 + 2 * NIDS_PER_BLOCK)
355 if (ofs >= 6 + 2 * NIDS_PER_BLOCK) {
356 ofs -= 6 + 2 * NIDS_PER_BLOCK;
357 if (!((long int)ofs % (NIDS_PER_BLOCK + 1)))