Lines Matching refs:offset
44 bad_offset = jeb->offset; in jffs2_erase_block()
49 jeb->offset, jeb->offset, jeb->offset + c->sector_size)); in jffs2_erase_block()
67 instr->addr = jeb->offset; in jffs2_erase_block()
86 …D1(printk(KERN_DEBUG "Erase at 0x%08x failed: %d. Refiling on erase_pending_list\n", jeb->offset, … in jffs2_erase_block()
99 …k(KERN_WARNING "Erase at 0x%08x failed immediately: -EROFS. Is the sector locked?\n", jeb->offset); in jffs2_erase_block()
101 printk(KERN_WARNING "Erase at 0x%08x failed immediately: errno %d\n", jeb->offset, ret); in jffs2_erase_block()
131 D1(printk(KERN_DEBUG "Starting erase of pending block 0x%08x\n", jeb->offset)); in jffs2_erase_pending_blocks()
164 D1(printk(KERN_DEBUG "Erase completed successfully at 0x%08x\n", jeb->offset)); in jffs2_erase_succeeded()
243 if (SECTOR_ADDR((*prev)->flash_offset) == jeb->offset) { in jffs2_remove_node_refs_from_ino_list()
268 jeb->offset, jeb->offset + c->sector_size, ic->ino)); in jffs2_remove_node_refs_from_ino_list()
306 D1(printk(KERN_DEBUG "Freeing all node refs for eraseblock offset 0x%08x\n", jeb->offset)); in jffs2_free_jeb_node_refs()
336 ret = c->mtd->point(c->mtd, jeb->offset, c->sector_size, in jffs2_block_check_erase()
345 c->mtd->unpoint(c->mtd, jeb->offset, retlen); in jffs2_block_check_erase()
354 c->mtd->unpoint(c->mtd, jeb->offset, c->sector_size); in jffs2_block_check_erase()
357 *wordebuf, jeb->offset + c->sector_size-retlen*sizeof(*wordebuf)); in jffs2_block_check_erase()
365 …N_WARNING "Failed to allocate page buffer for verifying erase at 0x%08x. Refiling\n", jeb->offset); in jffs2_block_check_erase()
369 D1(printk(KERN_DEBUG "Verifying erase at 0x%08x\n", jeb->offset)); in jffs2_block_check_erase()
371 for (ofs = jeb->offset; ofs < jeb->offset + c->sector_size; ) { in jffs2_block_check_erase()
372 uint32_t readlen = min((uint32_t)PAGE_SIZE, jeb->offset + c->sector_size - ofs); in jffs2_block_check_erase()
419 D1(printk(KERN_DEBUG "Writing erased marker to block at 0x%08x\n", jeb->offset)); in jffs2_mark_erased_block()
420 bad_offset = jeb->offset; in jffs2_mark_erased_block()
444 ret = jffs2_flash_direct_writev(c, vecs, 1, jeb->offset, &retlen); in jffs2_mark_erased_block()
449 jeb->offset, ret); in jffs2_mark_erased_block()
452 jeb->offset, sizeof(marker), retlen); in jffs2_mark_erased_block()
468 jffs2_link_node_ref(c, jeb, jeb->offset | REF_NORMAL, c->cleanmarker_size, NULL); in jffs2_mark_erased_block()