Lines Matching refs:block_size
26 static int block_size = 0; variable
27 module_param(block_size, int, 0);
28 MODULE_PARM_DESC(block_size, "Block size to use by RFD, defaults to erase unit size");
74 u_int block_size; /* size of erase unit */ member
98 block->offset = part->block_size * block_no; in build_block_map()
158 sectors_per_block = part->block_size / SECTOR_SIZE; in scan_header()
159 part->total_blocks = (u32)part->mbd.mtd->size / part->block_size; in scan_header()
202 rc = mtd_read(part->mbd.mtd, i * part->block_size, in scan_header()
278 erase->len = part->block_size; in erase_block()
418 old_sector_block = *old_sector / part->block_size; in reclaim_block()
552 block = old_addr / part->block_size; in mark_sector_deleted()
553 offset = (old_addr % part->block_size) / SECTOR_SIZE - in mark_sector_deleted()
761 if (block_size) in rfd_ftl_add_mtd()
762 part->block_size = block_size; in rfd_ftl_add_mtd()
768 part->block_size = mtd->erasesize; in rfd_ftl_add_mtd()