Lines Matching refs:ref_offset

43 	ofs = ref_offset(ref) + sizeof(struct jffs2_raw_inode);
53 ref_offset(ref), tn->csize, ofs);
62 ref_offset(ref), tn->csize, tn->partial_crc, tn->data_crc, ofs - len, ofs, len);
109 ref_offset(ref), tn->data_crc, crc);
161 tn->fn->ofs, tn->fn->ofs + tn->fn->size, ref_offset(tn->fn->raw));
225 dbg_readinode("insert fragment %#04x-%#04x, ver %u at %08x\n", tn->fn->ofs, fn_end, tn->version, ref_offset(tn->fn->raw));
573 dbg_noderef("node at 0x%08x is obsoleted. Ignoring.\n", ref_offset(ref));
599 ref_offset(ref), je32_to_cpu(rd->node_crc), crc);
612 ref_offset(ref), rd->nsize, je32_to_cpu(rd->totlen));
625 ref->flash_offset = ref_offset(ref) | dirent_node_state(rd);
661 err = jffs2_flash_read(c, (ref_offset(ref)) + read,
685 ref_offset(ref), je32_to_cpu(rd->node_crc), crc);
728 ref_offset(ref), je32_to_cpu(rd->node_crc), crc);
748 JFFS2_WARNING("inode node header CRC is corrupted at %#08x\n", ref_offset(ref));
749 jffs2_dbg_dump_node(c, ref_offset(ref));
804 ref_offset(ref), tn->partial_crc, je32_to_cpu(rd->data_crc));
827 ref->flash_offset = ref_offset(ref) | REF_NORMAL;
857 ref_offset(ref), je32_to_cpu(rd->version),
893 ref_offset(ref));
907 je16_to_cpu(un->nodetype), ref_offset(ref));
914 je16_to_cpu(un->nodetype), ref_offset(ref));
920 je16_to_cpu(un->nodetype), ref_offset(ref));
925 je16_to_cpu(un->nodetype), ref_offset(ref));
955 offs = ref_offset(ref) + *rdlen;
1035 end = ref_offset(ref) + len;
1039 len = end - ref_offset(ref);
1042 dbg_readinode("read %d bytes at %#08x(%d).\n", len, ref_offset(ref), ref_flags(ref));
1045 err = jffs2_flash_read(c, ref_offset(ref), len, &retlen, buf);
1047 JFFS2_ERROR("can not read %d bytes from 0x%08x, error code: %d.\n", len, ref_offset(ref), err);
1052 JFFS2_ERROR("short read at %#08x: %zu instead of %d.\n", ref_offset(ref), retlen, len);
1062 ref_offset(ref), je16_to_cpu(node->u.magic),
1066 jffs2_dbg_dump_node(c, ref_offset(ref));
1073 je16_to_cpu(node->u.magic), ref_offset(ref));
1221 ret = jffs2_flash_read(c, ref_offset(rii.latest_ref), sizeof(*latest_node), &retlen, (void *)latest_node);
1232 f->inocache->ino, ref_offset(rii.latest_ref));
1277 ret = jffs2_flash_read(c, ref_offset(rii.latest_ref) + sizeof(*latest_node),