Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/mtd/
Dmtdblock.c169 unsigned int sect_size = mtdblk->cache_size; in do_cached_write() local
176 if (!sect_size) in do_cached_write()
180 unsigned long sect_start = (pos/sect_size)*sect_size; in do_cached_write()
182 unsigned int size = sect_size - offset; in do_cached_write()
186 if (size == sect_size) { in do_cached_write()
209 ret = MTD_READ(mtd, sect_start, sect_size, &retlen, mtdblk->cache_data); in do_cached_write()
212 if (retlen != sect_size) in do_cached_write()
216 mtdblk->cache_size = sect_size; in do_cached_write()
238 unsigned int sect_size = mtdblk->cache_size; in do_cached_read() local
245 if (!sect_size) in do_cached_read()
[all …]
/linux-2.4.37.9/fs/isofs/
Dinode.c867 unsigned offset, sect_size; in isofs_get_blocks() local
884 sect_size = inode->u.isofs_i.i_section_size >> ISOFS_BUFFER_BITS(inode); in isofs_get_blocks()
903 while (b_off >= (offset + sect_size)) { in isofs_get_blocks()
906 offset += sect_size; in isofs_get_blocks()
913 sect_size = ninode->u.isofs_i.i_section_size; in isofs_get_blocks()
920 inode->i_ino, iblock, firstext, (unsigned) sect_size, nextino); in isofs_get_blocks()