Searched refs:sect_start (Results 1 – 1 of 1) sorted by relevance
180 unsigned long sect_start = (pos/sect_size)*sect_size; in do_cached_write() local181 unsigned int offset = pos - sect_start; in do_cached_write()199 mtdblk->cache_offset != sect_start) { in do_cached_write()206 mtdblk->cache_offset != sect_start) { in do_cached_write()209 ret = MTD_READ(mtd, sect_start, sect_size, &retlen, mtdblk->cache_data); in do_cached_write()215 mtdblk->cache_offset = sect_start; in do_cached_write()249 unsigned long sect_start = (pos/sect_size)*sect_size; in do_cached_read() local250 unsigned int offset = pos - sect_start; in do_cached_read()262 mtdblk->cache_offset == sect_start) { in do_cached_read()