Lines Matching defs:ofs
114 uint32_t ofs)
124 temp->offset = cpu_to_je32(ofs); /* relative offset from the begining of the jeb */
132 uint32_t ofs)
142 temp->offset = cpu_to_je32(ofs); /* relative from the begining of the jeb */
156 int jffs2_sum_add_xattr_mem(struct jffs2_summary *s, struct jffs2_raw_xattr *rx, uint32_t ofs)
167 temp->offset = cpu_to_je32(ofs);
174 int jffs2_sum_add_xref_mem(struct jffs2_summary *s, struct jffs2_raw_xref *rr, uint32_t ofs)
183 temp->offset = cpu_to_je32(ofs);
247 unsigned long count, uint32_t ofs)
258 jeb = &c->blocks[ofs / c->sector_size];
259 ofs -= jeb->offset;
272 temp->offset = cpu_to_je32(ofs);
288 temp->offset = cpu_to_je32(ofs);
323 temp->offset = cpu_to_je32(ofs);
334 temp->offset = cpu_to_je32(ofs);
370 uint32_t ofs, uint32_t len,
374 if ((ofs & ~3) > c->sector_size - jeb->free_size) {
376 jffs2_scan_dirty_space(c, jeb, (ofs & ~3) - (c->sector_size - jeb->free_size));
379 return jffs2_link_node_ref(c, jeb, jeb->offset + ofs, len, ic);
572 int ret, ofs;
575 ofs = c->sector_size - sumsize;
578 jeb->offset, jeb->offset + ofs, sumsize);
648 sum_link_node_ref(c, jeb, ofs | REF_NORMAL, sumsize, NULL);