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

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/fs/jffs2/
H A Dnodemgmt.c58 while(c->nr_free_blocks + c->nr_erasing_blocks < blocksneeded) {
63 * those blocks are counted in c->nr_erasing_blocks.
65 * but it is counted in c->nr_erasing_blocks, so we add it and subtract it
66 * with c->nr_erasing_blocks * c->sector_size again.
67 * Blocks on erasable_list are counted as dirty_size, but not in c->nr_erasing_blocks
73 dirty = c->dirty_size + c->erasing_size - c->nr_erasing_blocks * c->sector_size + c->unchecked_size;
75 if (prio == ALLOC_DELETION && c->nr_free_blocks + c->nr_erasing_blocks >= c->resv_blocks_deletion) {
98 if (prio == ALLOC_DELETION && c->nr_free_blocks + c->nr_erasing_blocks >= c->resv_blocks_deletion) {
112 D1(printk(KERN_DEBUG "Triggering GC pass. nr_free_blocks %d, nr_erasing_blocks %d, free_size 0x%08x, dirty_size 0x%08x, wasted_size 0x%08x, used_size 0x%08x, erasing_size 0x%08x, bad_size 0x%08x (total 0x%08x of 0x%08x)\n",
113 c->nr_free_blocks, c->nr_erasing_blocks,
[all...]
H A Djffs2_fs_sb.h65 uint32_t nr_erasing_blocks; member in struct:jffs2_sb_info
H A Dscan.c167 c->nr_erasing_blocks++;
180 c->nr_erasing_blocks++;
219 c->nr_erasing_blocks++;
256 if (c->nr_erasing_blocks) {
1131 if (c->nr_erasing_blocks) {
1132 rotateby = pseudo_random % c->nr_erasing_blocks;
H A Derase.c205 c->nr_erasing_blocks--;
478 c->nr_erasing_blocks--;
H A Dgc.c239 if (c->nr_erasing_blocks) {
451 c->nr_erasing_blocks++;
1121 if (c->nr_free_blocks + c->nr_erasing_blocks > c->resv_blocks_gcmerge) {
H A Dwbuf.c123 c->nr_erasing_blocks++;
154 c->nr_erasing_blocks++;
545 c->nr_erasing_blocks++;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/fs/jffs2/
H A Dnodemgmt.c58 while(c->nr_free_blocks + c->nr_erasing_blocks < blocksneeded) {
63 * those blocks are counted in c->nr_erasing_blocks.
65 * but it is counted in c->nr_erasing_blocks, so we add it and subtract it
66 * with c->nr_erasing_blocks * c->sector_size again.
67 * Blocks on erasable_list are counted as dirty_size, but not in c->nr_erasing_blocks
73 dirty = c->dirty_size + c->erasing_size - c->nr_erasing_blocks * c->sector_size + c->unchecked_size;
75 if (prio == ALLOC_DELETION && c->nr_free_blocks + c->nr_erasing_blocks >= c->resv_blocks_deletion) {
98 if (prio == ALLOC_DELETION && c->nr_free_blocks + c->nr_erasing_blocks >= c->resv_blocks_deletion) {
112 D1(printk(KERN_DEBUG "Triggering GC pass. nr_free_blocks %d, nr_erasing_blocks %d, free_size 0x%08x, dirty_size 0x%08x, wasted_size 0x%08x, used_size 0x%08x, erasing_size 0x%08x, bad_size 0x%08x (total 0x%08x of 0x%08x)\n",
113 c->nr_free_blocks, c->nr_erasing_blocks,
[all...]
H A Djffs2_fs_sb.h65 uint32_t nr_erasing_blocks; member in struct:jffs2_sb_info
H A Dscan.c167 c->nr_erasing_blocks++;
180 c->nr_erasing_blocks++;
219 c->nr_erasing_blocks++;
256 if (c->nr_erasing_blocks) {
1131 if (c->nr_erasing_blocks) {
1132 rotateby = pseudo_random % c->nr_erasing_blocks;
H A Derase.c205 c->nr_erasing_blocks--;
478 c->nr_erasing_blocks--;
H A Dgc.c239 if (c->nr_erasing_blocks) {
451 c->nr_erasing_blocks++;
1121 if (c->nr_free_blocks + c->nr_erasing_blocks > c->resv_blocks_gcmerge) {
H A Dwbuf.c123 c->nr_erasing_blocks++;
154 c->nr_erasing_blocks++;
545 c->nr_erasing_blocks++;

Completed in 78 milliseconds