Home
last modified time | relevance | path

Searched refs:sect_start (Results 1 – 1 of 1) sorted by relevance

/linux-2.4.37.9/drivers/mtd/
Dmtdblock.c180 unsigned long sect_start = (pos/sect_size)*sect_size; in do_cached_write() local
181 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() local
250 unsigned int offset = pos - sect_start; in do_cached_read()
262 mtdblk->cache_offset == sect_start) { in do_cached_read()