Lines Matching defs:offs
22 * @offs: offset where new index node will be written
26 struct ubifs_znode *znode, int lnum, int offs, int len)
42 br->offs = cpu_to_le32(zbr->offs);
58 znode->offs = offs;
70 zbr->offs = offs;
75 c->zroot.offs = offs;
159 * @offs: offset of obsoleted index node
163 static int find_old_idx(struct ubifs_info *c, int lnum, int offs)
175 else if (offs < o->offs)
177 else if (offs > o->offs)
191 * @offs: offset of index node
193 * If @key / @lnum / @offs identify an index node that was not part of the old
199 int level, int lnum, int offs)
203 ret = is_idx_node_in_tnc(c, key, level, lnum, offs);
207 if (find_old_idx(c, lnum, offs))
261 snod->offs);
275 gap_end = snod->offs;
283 gap_start = ALIGN(snod->offs + snod->len, 8);
432 int lnum, offs, len, next_len, buf_len, buf_offs, used, avail;
469 offs = buf_offs + used;
472 znode->offs = offs;
484 zbr->offs = offs;
488 c->zroot.offs = offs;
828 int i, lnum, offs, len, next_len, buf_len, buf_offs, used;
875 br->offs = cpu_to_le32(zbr->offs);
914 offs = buf_offs + used;
916 if (lnum != znode->lnum || offs != znode->offs ||