Searched refs:blocksneeded (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/fs/jffs2/
H A Dnodemgmt.c78 int blocksneeded = c->resv_blocks_write; jffs2_reserve_space() local
100 while(c->nr_free_blocks + c->nr_erasing_blocks < blocksneeded) { jffs2_reserve_space()
136 * blocksneeded * sector_size. jffs2_reserve_space()
141 if ( (avail / c->sector_size) <= blocksneeded) { jffs2_reserve_space()
148 jffs2_dbg(1, "max. available size 0x%08x < blocksneeded * sector_size 0x%08x, returning -ENOSPC\n", jffs2_reserve_space()
149 avail, blocksneeded * c->sector_size); jffs2_reserve_space()

Completed in 55 milliseconds