Lines Matching defs:end
283 uint32_t start, end, ofs, len;
325 end = ref_offset(jeb->last_node);
333 start, end, end - start, nr_refile);
340 buf = kmalloc(end - start, GFP_KERNEL);
378 start, end, end - start, nr_refile);
382 memcpy(buf + (c->wbuf_ofs - start), c->wbuf, end - c->wbuf_ofs);
385 /* OK... we're to rewrite (end-start) bytes of data from first_raw onwards.
389 ret = jffs2_reserve_space_gc(c, end-start, &len, JFFS2_SUMMARY_NOSUM_SIZE);
408 if (end-start >= c->wbuf_pagesize) {
415 uint32_t towrite = (end-start) - ((end-start)%c->wbuf_pagesize);
444 c->wbuf_len = (end - start) - towrite;
451 memcpy(c->wbuf, buf, end-start);
453 memmove(c->wbuf, c->wbuf + (start - c->wbuf_ofs), end - start);
456 c->wbuf_len = end - start;
513 end up in here with it already being locked, and nobody's
763 /* Pad write-buffer to end and write it, wasting space. */