Lines Matching refs:startblock
111 __u32 startblock = mydata->fatbufnum * FATBUFBLOCKS; in flush_dirty_fat_buffer() local
120 if (startblock + getsize > fatlength) in flush_dirty_fat_buffer()
121 getsize = fatlength - startblock; in flush_dirty_fat_buffer()
123 startblock += mydata->fat_sect; in flush_dirty_fat_buffer()
126 if (disk_write(startblock, getsize, bufptr) < 0) { in flush_dirty_fat_buffer()
133 startblock += mydata->fatlength; in flush_dirty_fat_buffer()
134 if (disk_write(startblock, getsize, bufptr) < 0) { in flush_dirty_fat_buffer()
393 __u32 startblock = bufnum * FATBUFBLOCKS; in set_fatent_value() local
396 if (startblock + getsize > fatlength) in set_fatent_value()
397 getsize = fatlength - startblock; in set_fatent_value()
402 startblock += mydata->fat_sect; in set_fatent_value()
404 if (disk_read(startblock, getsize, bufptr) < 0) { in set_fatent_value()