Lines Matching refs:sector_size
30 c->erasing_size - c->resv_blocks_write * c->sector_size in jffs2_rp_can_write()
115 …dirty = c->dirty_size + c->erasing_size - c->nr_erasing_blocks * c->sector_size + c->unchecked_siz… in jffs2_reserve_space()
124 c->sector_size); in jffs2_reserve_space()
141 if ( (avail / c->sector_size) <= blocksneeded) { in jffs2_reserve_space()
149 avail, blocksneeded * c->sector_size); in jffs2_reserve_space()
343 if (!(c->wbuf_ofs % c->sector_size) && !c->wbuf_len) in jffs2_find_nextblock()
438 (jeb->offset + c->sector_size - waste) | REF_OBSOLETE, in jffs2_do_reserve_space()
459 if (jeb->free_size != c->sector_size - c->cleanmarker_size) { in jffs2_do_reserve_space()
484 *len, jeb->offset + (c->sector_size - jeb->free_size)); in jffs2_do_reserve_space()
507 jeb = &c->blocks[ofs / c->sector_size]; in jffs2_add_physical_node_ref()
516 && (jeb != c->nextblock || (ofs & ~3) != jeb->offset + (c->sector_size - jeb->free_size))) { in jffs2_add_physical_node_ref()
524 jeb->offset + (c->sector_size - jeb->free_size)); in jffs2_add_physical_node_ref()
597 blocknr = ref->flash_offset / c->sector_size; in jffs2_mark_node_obsolete()
862 dirty = c->dirty_size + c->erasing_size - c->nr_erasing_blocks * c->sector_size; in jffs2_thread_should_wake()