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