Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/lseek/
Dlseek11.c78 off_t startblock; member
208 offset = (tp->startblock * block_size) + tp->offset; in test_lseek()
222 tp->startblock, tp->offset, tp->data ? tp->data : "", buf); in test_lseek()
227 tp->startblock, tp->offset); in test_lseek()
/external/u-boot/drivers/mtd/nand/
Dnand_bbt.c457 int startblock; in create_bbt() local
469 startblock = 0; in create_bbt()
478 startblock = chip * numblocks; in create_bbt()
479 numblocks += startblock; in create_bbt()
480 from = (loff_t)startblock << this->bbt_erase_shift; in create_bbt()
486 for (i = startblock; i < numblocks; i++) { in create_bbt()
526 int startblock, block, dir; in search_bbt() local
533 startblock = (mtd->size >> this->bbt_erase_shift) - 1; in search_bbt()
536 startblock = 0; in search_bbt()
544 startblock &= bbtblocks - 1; in search_bbt()
[all …]
/external/u-boot/fs/fat/
Dfat_write.c111 __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()
[all …]
Dfat.c199 __u32 startblock = bufnum * FATBUFBLOCKS; in get_fatent() local
202 if (startblock + getsize > fatlength) in get_fatent()
203 getsize = fatlength - startblock; in get_fatent()
205 startblock += mydata->fat_sect; /* Offset from start of disk */ in get_fatent()
211 if (disk_read(startblock, getsize, bufptr) < 0) { in get_fatent()
/external/u-boot/drivers/mtd/onenand/
Donenand_bbt.c68 int startblock; in create_bbt() local
87 startblock = 0; in create_bbt()
95 for (i = startblock; i < numblocks;) { in create_bbt()
/external/u-boot/fs/ext4/
Dext4_common.c196 uint64_t startblock; in put_ext4() local
203 startblock = off >> log2blksz; in put_ext4()
204 startblock += part_offset; in put_ext4()
210 if ((startblock + (size >> log2blksz)) > in put_ext4()
219 blk_dread(fs->dev_desc, startblock, 1, sec_buf); in put_ext4()
222 blk_dwrite(fs->dev_desc, startblock, 1, sec_buf); in put_ext4()
225 blk_dwrite(fs->dev_desc, startblock, size >> log2blksz, in put_ext4()
228 blk_dread(fs->dev_desc, startblock, 1, sec_buf); in put_ext4()
231 blk_dwrite(fs->dev_desc, startblock, 1, in put_ext4()
1633 long int startblock, endblock; in read_allocated_block() local
[all …]
/external/e2fsprogs/po/
Dsv.po4103 msgstr "felaktigt startblock (%llu): måste vara mindre än %llu"
4108 msgstr "felaktigt startblock (%llu): måste vara ett 32-bitars värde"