Lines Matching refs:sect_size
147 unsigned int sect_size = mtdblk->cache_size;
154 if (!sect_size)
158 unsigned long sect_start = (pos/sect_size)*sect_size;
160 unsigned int size = sect_size - offset;
164 if (size == sect_size) {
187 ret = mtd->read(mtd, sect_start, sect_size,
191 if (retlen != sect_size)
195 mtdblk->cache_size = sect_size;
217 unsigned int sect_size = mtdblk->cache_size;
224 if (!sect_size)
228 unsigned long sect_start = (pos/sect_size)*sect_size;
230 unsigned int size = sect_size - offset;