Lines Matching defs:ofs
116 uint32_t ofs)
126 temp->offset = cpu_to_je32(ofs); /* relative offset from the beginning of the jeb */
134 uint32_t ofs)
144 temp->offset = cpu_to_je32(ofs); /* relative from the beginning of the jeb */
158 int jffs2_sum_add_xattr_mem(struct jffs2_summary *s, struct jffs2_raw_xattr *rx, uint32_t ofs)
169 temp->offset = cpu_to_je32(ofs);
176 int jffs2_sum_add_xref_mem(struct jffs2_summary *s, struct jffs2_raw_xref *rr, uint32_t ofs)
185 temp->offset = cpu_to_je32(ofs);
249 unsigned long count, uint32_t ofs)
260 jeb = &c->blocks[ofs / c->sector_size];
261 ofs -= jeb->offset;
274 temp->offset = cpu_to_je32(ofs);
290 temp->offset = cpu_to_je32(ofs);
325 temp->offset = cpu_to_je32(ofs);
336 temp->offset = cpu_to_je32(ofs);
372 uint32_t ofs, uint32_t len,
376 if ((ofs & ~3) > c->sector_size - jeb->free_size) {
378 jffs2_scan_dirty_space(c, jeb, (ofs & ~3) - (c->sector_size - jeb->free_size));
381 return jffs2_link_node_ref(c, jeb, jeb->offset + ofs, len, ic);
577 int ret, ofs;
580 ofs = c->sector_size - sumsize;
583 jeb->offset, jeb->offset + ofs, sumsize);
653 sum_link_node_ref(c, jeb, ofs | REF_NORMAL, sumsize, NULL);