Home
last modified time | relevance | path

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

/u-boot/drivers/mtd/onenand/
A Donenand_bbt.c69 int startblock; in create_bbt() local
88 startblock = 0; in create_bbt()
96 for (i = startblock; i < numblocks;) { in create_bbt()
/u-boot/drivers/mtd/nand/raw/
A Dnand_bbt.c460 int startblock; in create_bbt() local
472 startblock = 0; in create_bbt()
481 startblock = chip * numblocks; in create_bbt()
482 numblocks += startblock; in create_bbt()
489 for (i = startblock; i < numblocks; i++) { in create_bbt()
529 int startblock, block, dir; in search_bbt() local
539 startblock = 0; in search_bbt()
547 startblock &= bbtblocks - 1; in search_bbt()
560 int actblock = startblock + dir * block; in search_bbt()
675 startblock = chip * numblocks; in write_bbt()
[all …]
/u-boot/fs/fat/
A Dfat_write.c232 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 Dfat.c202 __u32 startblock = bufnum * FATBUFBLOCKS; in get_fatent() local
205 if (startblock + getsize > fatlength) in get_fatent()
206 getsize = fatlength - startblock; in get_fatent()
208 startblock += mydata->fat_sect; /* Offset from start of disk */ in get_fatent()
214 if (disk_read(startblock, getsize, bufptr) < 0) { in get_fatent()
/u-boot/fs/ext4/
A Dext4_common.c198 uint64_t startblock; in put_ext4() local
205 startblock = off >> log2blksz; in put_ext4()
206 startblock += part_offset; in put_ext4()
212 if ((startblock + (size >> log2blksz)) > in put_ext4()
221 blk_dread(fs->dev_desc, startblock, 1, sec_buf); in put_ext4()
224 blk_dwrite(fs->dev_desc, startblock, 1, sec_buf); in put_ext4()
230 blk_dread(fs->dev_desc, startblock, 1, sec_buf); in put_ext4()
233 blk_dwrite(fs->dev_desc, startblock, 1, in put_ext4()
1667 long int startblock, endblock; in read_allocated_block() local
1697 if (startblock > fileblock) { in read_allocated_block()
[all …]

Completed in 26 milliseconds