Home
last modified time | relevance | path

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

/linux-2.4.37.9/fs/jffs2/
Dnodemgmt.c235 jeb = &c->blocks[(new->flash_offset & ~3) / c->sector_size]; in jffs2_add_physical_node_ref()
236 …D1(printk(KERN_DEBUG "jffs2_add_physical_node_ref(): Node at 0x%x, size 0x%x\n", new->flash_offset in jffs2_add_physical_node_ref()
238 …if (jeb != c->nextblock || (new->flash_offset & ~3) != jeb->offset + (c->sector_size - jeb->free_s… in jffs2_add_physical_node_ref()
254 new->flash_offset |= 1; in jffs2_add_physical_node_ref()
295 if (ref->flash_offset & 1) { in jffs2_mark_node_obsolete()
296 … "jffs2_mark_node_obsolete called with already obsolete node at 0x%08x\n", ref->flash_offset &~3)); in jffs2_mark_node_obsolete()
299 blocknr = ref->flash_offset / c->sector_size; in jffs2_mark_node_obsolete()
301 printk(KERN_NOTICE "raw node at 0x%08x is off the end of device!\n", ref->flash_offset); in jffs2_mark_node_obsolete()
307 ref->totlen, blocknr, ref->flash_offset, jeb->used_size); in jffs2_mark_node_obsolete()
316 ref->flash_offset |= 1; in jffs2_mark_node_obsolete()
[all …]
Dnodelist.c116 if (ref->flash_offset & 1) { in jffs2_get_inode_nodes()
118 D1(printk(KERN_DEBUG "node at 0x%08x is obsoleted. Ignoring.\n", ref->flash_offset &~3)); in jffs2_get_inode_nodes()
121 …err = c->mtd->read(c->mtd, (ref->flash_offset & ~3), min(ref->totlen, sizeof(node)), &retlen, (voi… in jffs2_get_inode_nodes()
123 …N_WARNING "error %d reading node at 0x%08x in get_inode_nodes()\n", err, (ref->flash_offset) & ~3); in jffs2_get_inode_nodes()
137 D1(printk(KERN_DEBUG "Node at %08x is a dirent node\n", ref->flash_offset &~3)); in jffs2_get_inode_nodes()
145 if (ref->flash_offset & 1) { in jffs2_get_inode_nodes()
178 err = c->mtd->read(c->mtd, (ref->flash_offset & ~3) + retlen, in jffs2_get_inode_nodes()
199 D1(printk(KERN_DEBUG "Node at %08x is a data node\n", ref->flash_offset &~3)); in jffs2_get_inode_nodes()
209 if (ref->flash_offset & 1) { in jffs2_get_inode_nodes()
237 …D1(printk(KERN_DEBUG "dnode @%08x: ver %u, offset %04x, dsize %04x\n", ref->flash_offset &~3, node… in jffs2_get_inode_nodes()
[all …]
Dread.c58 ret = c->mtd->read(c->mtd, fd->raw->flash_offset & ~3, sizeof(*ri), &readlen, (char *)ri); in jffs2_read_dnode()
61 printk(KERN_WARNING "Error reading node from 0x%08x: %d\n", fd->raw->flash_offset & ~3, ret); in jffs2_read_dnode()
67 fd->raw->flash_offset & ~3, sizeof(*ri), readlen); in jffs2_read_dnode()
72 …lculated CRC %08x. dsize %x, csize %x, offset %x, buf %p\n", fd->raw->flash_offset & ~3, ri->node_… in jffs2_read_dnode()
74 …RC %08x != calculated CRC %08x for node at %08x\n", ri->node_crc, crc, fd->raw->flash_offset & ~3); in jffs2_read_dnode()
127 …ret = c->mtd->read(c->mtd, (fd->raw->flash_offset &~3) + sizeof(*ri), ri->csize, &readlen, readbuf… in jffs2_read_dnode()
136 …RC %08x != calculated CRC %08x for node at %08x\n", ri->data_crc, crc, fd->raw->flash_offset & ~3); in jffs2_read_dnode()
Dreadinode.c56 …flash (*%p->%p)\n", this->ofs, this->ofs+this->size, this->node->raw->flash_offset &~3, this, this… in D1()
62 printk(KERN_DEBUG "metadata at 0x%08x\n", f->metadata->raw->flash_offset &~3); in D1()
85 this->node->raw->flash_offset &~3, this->node->ofs, this->node->ofs+this->node->size)); in jffs2_obsolete_node_frag()
90 this->node->raw->flash_offset &~3, this->node->ofs, this->node->ofs+this->node->size, in jffs2_obsolete_node_frag()
113 …x @0x%08x on flash, newfrag *%p\n", fn->ofs, fn->ofs+fn->size, fn->raw->flash_offset &~3, newfrag); in jffs2_add_full_dnode_to_fraglist()
136 …this->ofs, this->ofs+this->size, this->node?(this->node->raw->flash_offset &~3):0xffffffff, this, … in jffs2_add_full_dnode_to_fraglist()
162 …this->ofs, this->ofs+this->size, this->node?(this->node->raw->flash_offset &~3):0xffffffff, this, … in jffs2_add_full_dnode_to_fraglist()
178 printk("phys 0x%08x\n", this->node->raw->flash_offset &~3); in jffs2_add_full_dnode_to_fraglist()
308 D1(printk(KERN_DEBUG "Obsoleting old metadata at 0x%08x\n", f->metadata->raw->flash_offset &~3)); in jffs2_read_inode()
320 D1(printk(KERN_DEBUG "metadata @%08x: ver %d\n", fn->raw->flash_offset &~3, tn->version)); in jffs2_read_inode()
[all …]
Dgc.c144 while(raw->flash_offset & 1) { in jffs2_garbage_collect_pass()
145 D1(printk(KERN_DEBUG "Node at 0x%08x is obsolete... skipping\n", raw->flash_offset &~3)); in jffs2_garbage_collect_pass()
156 D1(printk(KERN_DEBUG "Going to garbage collect node at 0x%08x\n", raw->flash_offset &~3)); in jffs2_garbage_collect_pass()
170 …lecting from block @0x%08x. Node @0x%08x, ino #%u\n", jeb->offset, raw->flash_offset&~3, ic->ino)); in jffs2_garbage_collect_pass()
217 if (raw->flash_offset & 1) { in jffs2_garbage_collect_pass()
262 …printk(KERN_WARNING "Raw node at 0x%08x wasn't in node lists for ino #%lu\n", raw->flash_offset&~3… in jffs2_garbage_collect_pass()
263 if (raw->flash_offset & 1) { in jffs2_garbage_collect_pass()
462 ret = c->mtd->read(c->mtd, fn->raw->flash_offset & ~3, sizeof(ri), &readlen, (char *)&ri); in jffs2_garbage_collect_hole()
469 fn->raw->flash_offset & ~3, ri.nodetype, JFFS2_NODETYPE_INODE); in jffs2_garbage_collect_hole()
474 fn->raw->flash_offset & ~3, ri.totlen, sizeof(ri)); in jffs2_garbage_collect_hole()
[all …]
Dscan.c303 marker_ref->flash_offset = ofs; in jffs2_scan_eraseblock()
529 raw->flash_offset = *ofs; in jffs2_scan_inode_node()
553 …no #%u. Previous one is at 0x%08x\n", ri.version, ic->ino, (*tn_list)->fn->raw->flash_offset &~3)); in jffs2_scan_inode_node()
556 jeb->offset, raw->flash_offset & ~3)); in jffs2_scan_inode_node()
582 fn->raw->flash_offset&~3, tn->next->fn->raw->flash_offset &~3, ri.version)); in jffs2_scan_inode_node()
593 raw->flash_offset |= 1; in jffs2_scan_inode_node()
685 raw->flash_offset = *ofs; in jffs2_scan_dirent_node()
707 raw->flash_offset |= 1; in jffs2_scan_dirent_node()
Dwrite.c209 raw->flash_offset = flash_ofs; in jffs2_write_dnode()
235 … the space at 0x%08x as dirty because the flash driver returned retlen zero\n", raw->flash_offset); in jffs2_write_dnode()
294 raw->flash_offset = flash_ofs; in jffs2_write_dirent()
317 … the space at 0x%08x as dirty because the flash driver returned retlen zero\n", raw->flash_offset); in jffs2_write_dirent()
Dbuild.c174 metadata->fn->raw->flash_offset &~3)); in jffs2_build_inode_pass1()
189 tn->fn->raw->flash_offset &~3)); in jffs2_build_inode_pass1()
256 D1(printk(KERN_DEBUG "obsoleting node at 0x%08x\n", raw->flash_offset&~3)); in jffs2_build_remove_unlinked_inode()
Derase.c190 if (((*prev)->flash_offset & ~(c->sector_size -1)) == jeb->offset) { in jffs2_remove_node_refs_from_ino_list()
224 printk( "0x%08x(%d)->", this->flash_offset & ~3, this->flash_offset &3); in jffs2_remove_node_refs_from_ino_list()
350 marker_ref->flash_offset = jeb->offset; in jffs2_mark_erased_blocks()
Dnodelist.h75 __u32 flash_offset; member
211 if (!(ref2->flash_offset & 1)) \
Dfile.c284 fragofs+frag->ofs+readlen, frag->node->raw->flash_offset & ~3)); in jffs2_do_readpage_nolock()