Searched refs:waste (Results 1 – 4 of 4) sorted by relevance
408 uint32_t waste; in jffs2_do_reserve_space() local436 waste = jeb->free_size; in jffs2_do_reserve_space()438 (jeb->offset + c->sector_size - waste) | REF_OBSOLETE, in jffs2_do_reserve_space()439 waste, NULL); in jffs2_do_reserve_space()441 jeb->dirty_size -= waste; in jffs2_do_reserve_space()442 c->dirty_size -= waste; in jffs2_do_reserve_space()443 jeb->wasted_size += waste; in jffs2_do_reserve_space()444 c->wasted_size += waste; in jffs2_do_reserve_space()
658 uint32_t waste = c->wbuf_pagesize - c->wbuf_len; in __jffs2_flush_wbuf() local667 if (wbuf_jeb->free_size < waste) { in __jffs2_flush_wbuf()669 c->wbuf_ofs, c->wbuf_len, waste); in __jffs2_flush_wbuf()677 jffs2_link_node_ref(c, wbuf_jeb, (c->wbuf_ofs + c->wbuf_len) | REF_OBSOLETE, waste, NULL); in __jffs2_flush_wbuf()679 wbuf_jeb->dirty_size -= waste; in __jffs2_flush_wbuf()680 c->dirty_size -= waste; in __jffs2_flush_wbuf()681 wbuf_jeb->wasted_size += waste; in __jffs2_flush_wbuf()682 c->wasted_size += waste; in __jffs2_flush_wbuf()
46 * is just a waste of space.
259 for larger buffers it just a memory waste. With this parameter you can