Lines Matching refs:minsize
65 static int jffs2_do_reserve_space(struct jffs2_sb_info *c, __u32 minsize, __u32 *ofs, __u32 *len);
67 int jffs2_reserve_space(struct jffs2_sb_info *c, __u32 minsize, __u32 *ofs, __u32 *len, int prio) in jffs2_reserve_space() argument
72 minsize = PAD(minsize); in jffs2_reserve_space()
77 D1(printk(KERN_DEBUG "jffs2_reserve_space(): Requested 0x%x bytes\n", minsize)); in jffs2_reserve_space()
114 ret = jffs2_do_reserve_space(c, minsize, ofs, len); in jffs2_reserve_space()
125 int jffs2_reserve_space_gc(struct jffs2_sb_info *c, __u32 minsize, __u32 *ofs, __u32 *len) in jffs2_reserve_space_gc() argument
128 minsize = PAD(minsize); in jffs2_reserve_space_gc()
130 D1(printk(KERN_DEBUG "jffs2_reserve_space_gc(): Requested 0x%x bytes\n", minsize)); in jffs2_reserve_space_gc()
134 ret = jffs2_do_reserve_space(c, minsize, ofs, len); in jffs2_reserve_space_gc()
144 static int jffs2_do_reserve_space(struct jffs2_sb_info *c, __u32 minsize, __u32 *ofs, __u32 *len) in jffs2_do_reserve_space() argument
149 if (jeb && minsize > jeb->free_size) { in jffs2_do_reserve_space()