Searched refs:startblock (Results 1 – 3 of 3) sorted by relevance
| /fs/fat/ |
| A D | fat_write.c | 232 if (startblock + getsize > fatlength) in flush_dirty_fat_buffer() 233 getsize = fatlength - startblock; in flush_dirty_fat_buffer() 235 startblock += mydata->fat_sect; in flush_dirty_fat_buffer() 238 if (disk_write(startblock, getsize, bufptr) < 0) { in flush_dirty_fat_buffer() 245 startblock += mydata->fatlength; in flush_dirty_fat_buffer() 246 if (disk_write(startblock, getsize, bufptr) < 0) { in flush_dirty_fat_buffer() 469 __u32 startblock = bufnum * FATBUFBLOCKS; in set_fatent_value() local 472 if (startblock + getsize > fatlength) in set_fatent_value() 473 getsize = fatlength - startblock; in set_fatent_value() 478 startblock += mydata->fat_sect; in set_fatent_value() [all …]
|
| A D | fat.c | 207 __u32 startblock = bufnum * FATBUFBLOCKS; in get_fatent() local 210 if (startblock + getsize > fatlength) in get_fatent() 211 getsize = fatlength - startblock; in get_fatent() 213 startblock += mydata->fat_sect; /* Offset from start of disk */ in get_fatent() 219 if (disk_read(startblock, getsize, bufptr) < 0) { in get_fatent()
|
| /fs/ext4/ |
| A D | ext4_common.c | 197 uint64_t startblock; in put_ext4() local 209 startblock = off >> log2blksz; in put_ext4() 210 startblock += part_offset; in put_ext4() 213 if ((startblock + (size >> log2blksz)) > in put_ext4() 222 blk_dread(fs->dev_desc, startblock, 1, sec_buf); in put_ext4() 225 blk_dwrite(fs->dev_desc, startblock, 1, sec_buf); in put_ext4() 231 blk_dread(fs->dev_desc, startblock, 1, sec_buf); in put_ext4() 234 blk_dwrite(fs->dev_desc, startblock, 1, in put_ext4() 1662 long int startblock, endblock; in read_allocated_block() local 1692 if (startblock > fileblock) { in read_allocated_block() [all …]
|
Completed in 11 milliseconds