Lines Matching refs:minsize
71 static int jffs2_do_reserve_space(struct jffs2_sb_info *c, uint32_t minsize,
74 int jffs2_reserve_space(struct jffs2_sb_info *c, uint32_t minsize, in jffs2_reserve_space() argument
80 minsize = PAD(minsize); in jffs2_reserve_space()
82 jffs2_dbg(1, "%s(): Requested 0x%x bytes\n", __func__, minsize); in jffs2_reserve_space()
197 ret = jffs2_do_reserve_space(c, minsize, len, sumsize); in jffs2_reserve_space()
212 int jffs2_reserve_space_gc(struct jffs2_sb_info *c, uint32_t minsize, in jffs2_reserve_space_gc() argument
216 minsize = PAD(minsize); in jffs2_reserve_space_gc()
218 jffs2_dbg(1, "%s(): Requested 0x%x bytes\n", __func__, minsize); in jffs2_reserve_space_gc()
222 ret = jffs2_do_reserve_space(c, minsize, len, sumsize); in jffs2_reserve_space_gc()
354 static int jffs2_do_reserve_space(struct jffs2_sb_info *c, uint32_t minsize, in jffs2_do_reserve_space() argument
371 minsize, jeb->free_size, in jffs2_do_reserve_space()
377 if (jeb && (PAD(minsize) + PAD(c->summary->sum_size + sumsize + in jffs2_do_reserve_space()
407 if (jeb && minsize > jeb->free_size) { in jffs2_do_reserve_space()