ref_offset 204 fs/jffs2/build.c dbg_fsbuild("obsoleting node at 0x%08x\n", ref_offset(raw)); ref_offset 85 fs/jffs2/debug.c ref_offset(fn->raw), fn->frags); ref_offset 97 fs/jffs2/debug.c ref_offset(fn->raw)); ref_offset 104 fs/jffs2/debug.c ref_offset(fn->raw), frag->ofs, frag->ofs+frag->size); ref_offset 313 fs/jffs2/debug.c if (ref_offset(ref2) < jeb->offset || ref_offset 314 fs/jffs2/debug.c ref_offset(ref2) > jeb->offset + c->sector_size) { ref_offset 316 fs/jffs2/debug.c ref_offset(ref2), jeb->offset); ref_offset 329 fs/jffs2/debug.c ref_offset(ref2), ref2, ref_offset(ref_next(ref2)), ref_next(ref2), ref_offset 330 fs/jffs2/debug.c ref_offset(jeb->last_node), jeb->last_node); ref_offset 407 fs/jffs2/debug.c printk("%#08x", ref_offset(ref)); ref_offset 705 fs/jffs2/debug.c this->ofs, this->ofs+this->size, ref_offset(this->node->raw), ref_offset 719 fs/jffs2/debug.c printk(JFFS2_DBG "metadata at 0x%08x\n", ref_offset(f->metadata->raw)); ref_offset 277 fs/jffs2/erase.c printk( "0x%08x(%d)->", ref_offset(this), ref_flags(this)); ref_offset 249 fs/jffs2/gc.c D1(printk(KERN_DEBUG "Node at 0x%08x is obsolete... skipping\n", ref_offset(raw))); ref_offset 263 fs/jffs2/gc.c D1(printk(KERN_DEBUG "Going to garbage collect node at 0x%08x\n", ref_offset(raw))); ref_offset 304 fs/jffs2/gc.c D1(printk(KERN_DEBUG "jffs2_garbage_collect_pass collecting from block @0x%08x. Node @0x%08x(%d), ino #%u\n", jeb->offset, ref_offset(raw), ref_flags(raw), ic->ino)); ref_offset 421 fs/jffs2/gc.c printk(KERN_ERR "Error garbage collecting node at %08x!\n", ref_offset(jeb->gc_node)); ref_offset 525 fs/jffs2/gc.c ref_offset(raw), f->inocache->ino); ref_offset 529 fs/jffs2/gc.c jffs2_dbg_dump_node(c, ref_offset(raw)); ref_offset 550 fs/jffs2/gc.c D1(printk(KERN_DEBUG "Going to GC REF_PRISTINE node at 0x%08x\n", ref_offset(raw))); ref_offset 575 fs/jffs2/gc.c ret = jffs2_flash_read(c, ref_offset(raw), rawlen, &retlen, (char *)node); ref_offset 584 fs/jffs2/gc.c ref_offset(raw), je32_to_cpu(node->u.hdr_crc), crc); ref_offset 593 fs/jffs2/gc.c ref_offset(raw), je32_to_cpu(node->i.node_crc), crc); ref_offset 601 fs/jffs2/gc.c ref_offset(raw), je32_to_cpu(node->i.data_crc), crc); ref_offset 611 fs/jffs2/gc.c ref_offset(raw), je32_to_cpu(node->d.node_crc), crc); ref_offset 616 fs/jffs2/gc.c printk(KERN_WARNING "Name in dirent node at 0x%08x contains zeroes\n", ref_offset(raw)); ref_offset 624 fs/jffs2/gc.c ref_offset(raw), je32_to_cpu(node->d.name_crc), crc); ref_offset 633 fs/jffs2/gc.c ref_offset(raw), je16_to_cpu(node->u.nodetype)); ref_offset 686 fs/jffs2/gc.c D1(printk(KERN_DEBUG "WHEEE! GC REF_PRISTINE node at 0x%08x succeeded\n", ref_offset(raw))); ref_offset 874 fs/jffs2/gc.c D1(printk(KERN_DEBUG "Check potential deletion dirent at %08x\n", ref_offset(raw))); ref_offset 878 fs/jffs2/gc.c ret = jffs2_flash_read(c, ref_offset(raw), rawlen, &retlen, (char *)rd); ref_offset 880 fs/jffs2/gc.c printk(KERN_WARNING "jffs2_g_c_deletion_dirent(): Read error (%d) reading obsolete node at %08x\n", ret, ref_offset(raw)); ref_offset 886 fs/jffs2/gc.c retlen, rawlen, ref_offset(raw)); ref_offset 911 fs/jffs2/gc.c ref_offset(fd->raw), fd->name, ref_offset(raw), je32_to_cpu(rd->ino))); ref_offset 961 fs/jffs2/gc.c ret = jffs2_flash_read(c, ref_offset(fn->raw), sizeof(ri), &readlen, (char *)&ri); ref_offset 968 fs/jffs2/gc.c ref_offset(fn->raw), ref_offset 974 fs/jffs2/gc.c ref_offset(fn->raw), ref_offset 981 fs/jffs2/gc.c ref_offset(fn->raw), ref_offset 989 fs/jffs2/gc.c printk(KERN_WARNING "jffs2_garbage_collect_hole: Node 0x%08x wasn't a hole node!\n", ref_offset(fn->raw)); ref_offset 1159 fs/jffs2/gc.c frag->ofs, frag->ofs+frag->size, ref_offset(raw))); ref_offset 1209 fs/jffs2/gc.c frag->ofs, frag->ofs+frag->size, ref_offset(raw))); ref_offset 95 fs/jffs2/nodelist.c frag->node->raw->flash_offset = ref_offset(frag->node->raw) | REF_PRISTINE; ref_offset 108 fs/jffs2/nodelist.c ref_offset(this->node->raw), this->node->ofs, this->node->ofs+this->node->size); ref_offset 113 fs/jffs2/nodelist.c ref_offset(this->node->raw), this->node->ofs, this->node->ofs+this->node->size, this->node->frags); ref_offset 224 fs/jffs2/nodelist.c this->ofs, this->ofs+this->size, this->node?(ref_offset(this->node->raw)):0xffffffff, this); ref_offset 251 fs/jffs2/nodelist.c ref_offset(this->node->raw), ref_flags(this->node->raw)); ref_offset 274 fs/jffs2/nodelist.c this->ofs, this->ofs+this->size, ref_offset(this->node->raw)); ref_offset 376 fs/jffs2/nodelist.c fn->ofs, fn->ofs+fn->size, ref_offset(fn->raw), newfrag); ref_offset 637 fs/jffs2/nodelist.c BUG_ON(ref_offset(ref) != jeb->offset); ref_offset 638 fs/jffs2/nodelist.c } else if (unlikely(ref_offset(ref) != jeb->offset + c->sector_size - jeb->free_size)) { ref_offset 642 fs/jffs2/nodelist.c ref, ref_offset(ref), ref_offset(ref)+len, ref_offset 643 fs/jffs2/nodelist.c ref_offset(jeb->last_node), ref_offset 644 fs/jffs2/nodelist.c ref_offset(jeb->last_node)+last_len); ref_offset 723 fs/jffs2/nodelist.c ref_end = ref_offset(next_ref); ref_offset 731 fs/jffs2/nodelist.c ref, ref_offset(ref), jeb->last_node, jeb->last_node?ref_offset(jeb->last_node):0); ref_offset 736 fs/jffs2/nodelist.c return ref_end - ref_offset(ref); ref_offset 752 fs/jffs2/nodelist.c ref, ref_offset(ref), ref_offset(ref)+ref->__totlen, ref_offset 755 fs/jffs2/nodelist.c printk(KERN_CRIT "next %p (0x%08x-0x%08x)\n", ref_next(ref), ref_offset(ref_next(ref)), ref_offset 756 fs/jffs2/nodelist.c ref_offset(ref_next(ref))+ref->__totlen); ref_offset 140 fs/jffs2/nodelist.h #define mark_ref_normal(ref) do { (ref)->flash_offset = ref_offset(ref) | REF_NORMAL; } while(0) ref_offset 499 fs/jffs2/nodemgmt.c D1(printk(KERN_DEBUG "jffs2_mark_node_obsolete called with already obsolete node at 0x%08x\n", ref_offset(ref))); ref_offset 530 fs/jffs2/nodemgmt.c D1(printk(KERN_DEBUG "Obsoleting previously unchecked node at 0x%08x of len %x: ", ref_offset(ref), freed_len)); ref_offset 539 fs/jffs2/nodemgmt.c D1(printk(KERN_DEBUG "Obsoleting node at 0x%08x of len %#x: ", ref_offset(ref), freed_len)); ref_offset 573 fs/jffs2/nodemgmt.c ref->flash_offset = ref_offset(ref) | REF_OBSOLETE; ref_offset 649 fs/jffs2/nodemgmt.c D1(printk(KERN_DEBUG "obliterating obsoleted node at 0x%08x\n", ref_offset(ref))); ref_offset 650 fs/jffs2/nodemgmt.c ret = jffs2_flash_read(c, ref_offset(ref), sizeof(n), &retlen, (char *)&n); ref_offset 652 fs/jffs2/nodemgmt.c printk(KERN_WARNING "Read error reading from obsoleted node at 0x%08x: %d\n", ref_offset(ref), ret); ref_offset 656 fs/jffs2/nodemgmt.c printk(KERN_WARNING "Short read from obsoleted node at 0x%08x: %zd\n", ref_offset(ref), retlen); ref_offset 664 fs/jffs2/nodemgmt.c D1(printk(KERN_DEBUG "Node at 0x%08x was already marked obsolete (nodetype 0x%04x)\n", ref_offset(ref), je16_to_cpu(n.nodetype))); ref_offset 669 fs/jffs2/nodemgmt.c ret = jffs2_flash_write(c, ref_offset(ref), sizeof(n), &retlen, (char *)&n); ref_offset 671 fs/jffs2/nodemgmt.c printk(KERN_WARNING "Write error in obliterating obsoleted node at 0x%08x: %d\n", ref_offset(ref), ret); ref_offset 675 fs/jffs2/nodemgmt.c printk(KERN_WARNING "Short write in obliterating obsoleted node at 0x%08x: %zd\n", ref_offset(ref), retlen); ref_offset 36 fs/jffs2/read.c ret = jffs2_flash_read(c, ref_offset(fd->raw), sizeof(*ri), &readlen, (char *)ri); ref_offset 39 fs/jffs2/read.c printk(KERN_WARNING "Error reading node from 0x%08x: %d\n", ref_offset(fd->raw), ret); ref_offset 45 fs/jffs2/read.c ref_offset(fd->raw), sizeof(*ri), readlen); ref_offset 51 fs/jffs2/read.c ref_offset(fd->raw), je32_to_cpu(ri->node_crc), ref_offset 56 fs/jffs2/read.c je32_to_cpu(ri->node_crc), crc, ref_offset(fd->raw)); ref_offset 112 fs/jffs2/read.c ret = jffs2_flash_read(c, (ref_offset(fd->raw)) + sizeof(*ri), ref_offset 123 fs/jffs2/read.c je32_to_cpu(ri->data_crc), crc, ref_offset(fd->raw)); ref_offset 197 fs/jffs2/read.c ref_offset(frag->node->raw), ref_flags(frag->node->raw))); ref_offset 41 fs/jffs2/readinode.c ofs = ref_offset(ref) + sizeof(struct jffs2_raw_inode); ref_offset 51 fs/jffs2/readinode.c ref_offset(ref), tn->csize, ofs); ref_offset 60 fs/jffs2/readinode.c ref_offset(ref), tn->csize, tn->partial_crc, tn->data_crc, ofs - len, ofs, len); ref_offset 109 fs/jffs2/readinode.c ref_offset(ref), tn->data_crc, crc); ref_offset 161 fs/jffs2/readinode.c tn->fn->ofs, tn->fn->ofs + tn->fn->size, ref_offset(tn->fn->raw)); ref_offset 225 fs/jffs2/readinode.c dbg_readinode("insert fragment %#04x-%#04x, ver %u at %08x\n", tn->fn->ofs, fn_end, tn->version, ref_offset(tn->fn->raw)); ref_offset 566 fs/jffs2/readinode.c dbg_noderef("node at 0x%08x is obsoleted. Ignoring.\n", ref_offset(ref)); ref_offset 592 fs/jffs2/readinode.c ref_offset(ref), je32_to_cpu(rd->node_crc), crc); ref_offset 605 fs/jffs2/readinode.c ref_offset(ref), rd->nsize, je32_to_cpu(rd->totlen)); ref_offset 618 fs/jffs2/readinode.c ref->flash_offset = ref_offset(ref) | dirent_node_state(rd); ref_offset 654 fs/jffs2/readinode.c err = jffs2_flash_read(c, (ref_offset(ref)) + read, ref_offset 701 fs/jffs2/readinode.c ref_offset(ref), je32_to_cpu(rd->node_crc), crc); ref_offset 721 fs/jffs2/readinode.c JFFS2_WARNING("inode node header CRC is corrupted at %#08x\n", ref_offset(ref)); ref_offset 722 fs/jffs2/readinode.c jffs2_dbg_dump_node(c, ref_offset(ref)); ref_offset 777 fs/jffs2/readinode.c ref_offset(ref), tn->partial_crc, je32_to_cpu(rd->data_crc)); ref_offset 800 fs/jffs2/readinode.c ref->flash_offset = ref_offset(ref) | REF_NORMAL; ref_offset 830 fs/jffs2/readinode.c ref_offset(ref), je32_to_cpu(rd->version), ref_offset 866 fs/jffs2/readinode.c ref_offset(ref)); ref_offset 880 fs/jffs2/readinode.c je16_to_cpu(un->nodetype), ref_offset(ref)); ref_offset 887 fs/jffs2/readinode.c je16_to_cpu(un->nodetype), ref_offset(ref)); ref_offset 893 fs/jffs2/readinode.c je16_to_cpu(un->nodetype), ref_offset(ref)); ref_offset 898 fs/jffs2/readinode.c je16_to_cpu(un->nodetype), ref_offset(ref)); ref_offset 928 fs/jffs2/readinode.c offs = ref_offset(ref) + *rdlen; ref_offset 1008 fs/jffs2/readinode.c end = ref_offset(ref) + len; ref_offset 1012 fs/jffs2/readinode.c len = end - ref_offset(ref); ref_offset 1015 fs/jffs2/readinode.c dbg_readinode("read %d bytes at %#08x(%d).\n", len, ref_offset(ref), ref_flags(ref)); ref_offset 1018 fs/jffs2/readinode.c err = jffs2_flash_read(c, ref_offset(ref), len, &retlen, buf); ref_offset 1020 fs/jffs2/readinode.c JFFS2_ERROR("can not read %d bytes from 0x%08x, " "error code: %d.\n", len, ref_offset(ref), err); ref_offset 1025 fs/jffs2/readinode.c JFFS2_ERROR("short read at %#08x: %zu instead of %d.\n", ref_offset(ref), retlen, len); ref_offset 1035 fs/jffs2/readinode.c ref_offset(ref), je16_to_cpu(node->u.magic), ref_offset 1039 fs/jffs2/readinode.c jffs2_dbg_dump_node(c, ref_offset(ref)); ref_offset 1046 fs/jffs2/readinode.c je16_to_cpu(node->u.magic), ref_offset(ref)); ref_offset 1194 fs/jffs2/readinode.c ret = jffs2_flash_read(c, ref_offset(rii.latest_ref), sizeof(*latest_node), &retlen, (void *)latest_node); ref_offset 1207 fs/jffs2/readinode.c f->inocache->ino, ref_offset(rii.latest_ref)); ref_offset 1253 fs/jffs2/readinode.c ret = jffs2_flash_read(c, ref_offset(rii.latest_ref) + sizeof(*latest_node), ref_offset 294 fs/jffs2/wbuf.c (next && ref_offset(next) <= c->wbuf_ofs)) { ref_offset 296 fs/jffs2/wbuf.c ref_offset(raw), ref_flags(raw), ref_offset 297 fs/jffs2/wbuf.c (ref_offset(raw) + ref_totlen(c, jeb, raw)), ref_offset 302 fs/jffs2/wbuf.c ref_offset(raw), ref_flags(raw), ref_offset 303 fs/jffs2/wbuf.c (ref_offset(raw) + ref_totlen(c, jeb, raw))); ref_offset 316 fs/jffs2/wbuf.c start = ref_offset(first_raw); ref_offset 317 fs/jffs2/wbuf.c end = ref_offset(jeb->last_node); ref_offset 367 fs/jffs2/wbuf.c start = ref_offset(first_raw); ref_offset 463 fs/jffs2/wbuf.c rawlen, ref_offset(raw), ref_flags(raw), ofs)); ref_offset 510 fs/jffs2/wbuf.c (void *)(buf?:c->wbuf) + (ref_offset(raw) - start)); ref_offset 533 fs/jffs2/wbuf.c raw->flash_offset = ref_offset(raw) | REF_OBSOLETE; ref_offset 600 fs/jffs2/write.c fd->ino, ref_offset(fd->raw))); ref_offset 138 fs/jffs2/xattr.c offset = ref_offset(xd->node); ref_offset 180 fs/jffs2/xattr.c jeb = &c->blocks[ref_offset(raw) / c->sector_size]; ref_offset 186 fs/jffs2/xattr.c raw->flash_offset = ref_offset(raw) | ((xd->node==raw) ? REF_PRISTINE : REF_NORMAL); ref_offset 215 fs/jffs2/xattr.c ret = jffs2_flash_read(c, ref_offset(xd->node)+sizeof(struct jffs2_raw_xattr), ref_offset 220 fs/jffs2/xattr.c ret, length, readlen, ref_offset(xd->node)); ref_offset 230 fs/jffs2/xattr.c ref_offset(xd->node), xd->data_crc, crc); ref_offset 449 fs/jffs2/xattr.c offset = ref_offset(ref->node); ref_offset 484 fs/jffs2/xattr.c jeb = &c->blocks[ref_offset(raw) / c->sector_size]; ref_offset 490 fs/jffs2/xattr.c raw->flash_offset = ref_offset(raw) | ((ref->node==raw) ? REF_PRISTINE : REF_NORMAL); ref_offset 495 fs/jffs2/xattr.c ref->ino, ref->xid, ref_offset(ref->node)); ref_offset 1216 fs/jffs2/xattr.c old_ofs = ref_offset(xd->node); ref_offset 1227 fs/jffs2/xattr.c xd->xid, xd->version, old_ofs, ref_offset(xd->node)); ref_offset 1249 fs/jffs2/xattr.c old_ofs = ref_offset(ref->node); ref_offset 1262 fs/jffs2/xattr.c ref->ic->ino, ref->xd->xid, old_ofs, ref_offset(ref->node)); ref_offset 1288 fs/jffs2/xattr.c jeb = &c->blocks[ref_offset(raw) / c->sector_size]; ref_offset 1292 fs/jffs2/xattr.c raw->flash_offset = ref_offset(raw)