• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/jffs2/

Lines Matching defs:ofs

35 	uint32_t crc, ofs, len;
41 ofs = ref_offset(ref) + sizeof(struct jffs2_raw_inode);
45 int adj = ofs % c->wbuf_pagesize;
51 ref_offset(ref), tn->csize, ofs);
55 ofs += adj;
60 ref_offset(ref), tn->csize, tn->partial_crc, tn->data_crc, ofs - len, ofs, len);
66 err = c->mtd->point(c->mtd, ofs, len, &retlen,
70 c->mtd->unpoint(c->mtd, ofs, retlen);
85 err = jffs2_flash_read(c, ofs, len, &retlen, buffer);
87 JFFS2_ERROR("can not read %d bytes from 0x%08x, error code: %d.\n", len, ofs, err);
92 JFFS2_ERROR("short read at %#08x: %zd instead of %d.\n", ofs, retlen, len);
104 c->mtd->unpoint(c->mtd, ofs, len);
140 c->mtd->unpoint(c->mtd, ofs, len);
161 tn->fn->ofs, tn->fn->ofs + tn->fn->size, ref_offset(tn->fn->raw));
187 if (tn->fn->ofs < offset)
189 else if (tn->fn->ofs >= offset)
222 uint32_t fn_end = tn->fn->ofs + tn->fn->size;
225 dbg_readinode("insert fragment %#04x-%#04x, ver %u at %08x\n", tn->fn->ofs, fn_end, tn->version, ref_offset(tn->fn->raw));
250 this = jffs2_lookup_tn(&rii->tn_root, tn->fn->ofs);
266 dbg_readinode("'this' found %#04x-%#04x (%s)\n", this->fn->ofs, this->fn->ofs + this->fn->size, this->fn ? "data" : "hole");
270 if (this->fn->ofs > fn_end)
273 this->version, this->fn->ofs, this->fn->size);
293 this->fn->ofs >= tn->fn->ofs &&
294 this->fn->ofs + this->fn->size <= fn_end) {
302 while (this && this->fn->ofs + this->fn->size <= fn_end) {
307 this->version, this->fn->ofs,
308 this->fn->ofs+this->fn->size);
317 this->fn->ofs <= tn->fn->ofs &&
318 this->fn->ofs+this->fn->size >= fn_end) {
345 if (tn->fn->ofs > insert_point->fn->ofs)
347 else if (tn->fn->ofs < insert_point->fn->ofs ||
361 if (this->fn->ofs + this->fn->size > tn->fn->ofs) {
363 this, this->version, this->fn->ofs,
364 this->fn->ofs+this->fn->size);
386 while (this && this->fn->ofs < fn_end) {
389 this->version, this->fn->ofs,
390 this->fn->ofs+this->fn->size);
464 dbg_readinode("tn %p ver %d range 0x%x-0x%x ov %d\n", this, this->version, this->fn->ofs,
465 this->fn->ofs+this->fn->size, this->overlapped);
499 this->version, this->fn->ofs,
500 this->fn->ofs+this->fn->size);
512 this, this->version, this->fn->ofs,
513 this->fn->ofs+this->fn->size, this->overlapped);
836 tn->fn->ofs = je32_to_cpu(rd->offset);
869 tn, tn->version, tn->fn->ofs,
870 tn->fn->ofs+tn->fn->size, tn->overlapped);