Searched refs:EraseSize (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/drivers/mtd/ |
H A D | nftlmount.c | 41 nftl->EraseSize = nftl->mbd.mtd->erasesize; in find_boot_record() 123 nftl->MediaUnit * nftl->EraseSize, block * nftl->EraseSize); in find_boot_record() 220 block * nftl->EraseSize + i + in find_boot_record() 236 i * nftl->EraseSize)) in find_boot_record() 326 instr->addr = block * nftl->EraseSize; in NFTL_formatblock() 327 instr->len = nftl->EraseSize; in NFTL_formatblock() 382 block * nftl->EraseSize + i * SECTORSIZE, in check_sectors_in_chain() 403 nftl->EraseSize + in check_sectors_in_chain() 504 if (check_free_sectors (nftl, block * nftl->EraseSize, nftl->EraseSize, 1) != 0) in check_and_mark_free_block() 596 block * s->EraseSize + 8, 8, in NFTL_mount() [all …]
|
H A D | nftlcore.c | 266 nftl_read_oob(mtd, (thisEUN * nftl->EraseSize) + in NFTL_foldchain() 391 for (block = 0; block < nftl->EraseSize / 512 ; block++) { in NFTL_foldchain() 431 nftl_write_oob(mtd, (nftl->EraseSize * targetEUN) + 8, in NFTL_foldchain() 525 u16 thisVUC = block / (nftl->EraseSize / 512); in NFTL_findwriteunit() 552 (writeEUN * nftl->EraseSize) + blockofs, in NFTL_findwriteunit() 639 nftl_read_oob(mtd, writeEUN * nftl->EraseSize + 8, 8, in NFTL_findwriteunit() 644 nftl_write_oob(mtd, writeEUN * nftl->EraseSize + 8, 8, in NFTL_findwriteunit() 654 nftl_read_oob(mtd, (lastEUN * nftl->EraseSize) + 8, in NFTL_findwriteunit() 660 nftl_write_oob(mtd, (lastEUN * nftl->EraseSize) + 8, in NFTL_findwriteunit() 717 if (nftl_read_oob(mtd, (thisEUN * nftl->EraseSize) + in nftl_readblock() [all …]
|
H A D | inftlcore.c | 272 if (inftl_read_oob(mtd, (thisEUN * inftl->EraseSize) in INFTL_foldchain() 485 inftl_read_oob(mtd, (thisEUN * inftl->EraseSize) + in INFTL_findwriteunit() 573 inftl_read_oob(mtd, thisEUN * inftl->EraseSize in INFTL_findwriteunit() 606 inftl_write_oob(mtd, writeEUN * inftl->EraseSize + in INFTL_findwriteunit() 658 if (inftl_read_oob(mtd, (thisEUN * inftl->EraseSize) in INFTL_trydeletechain() 759 if (inftl_read_oob(mtd, (thisEUN * inftl->EraseSize) + in INFTL_deleteblock() 784 block / (inftl->EraseSize / SECTORSIZE)); in INFTL_deleteblock() 792 loff_t ptr = (thisEUN * inftl->EraseSize) + blockofs; in INFTL_deleteblock() 868 if (inftl_read_oob(mtd, (thisEUN * inftl->EraseSize) + in inftl_readblock() 893 block / (inftl->EraseSize / SECTORSIZE)); in inftl_readblock() [all …]
|
H A D | inftlmount.c | 49 inftl->EraseSize = inftl->mbd.mtd->erasesize; in find_boot_record() 72 block * inftl->EraseSize, in find_boot_record() 89 block * inftl->EraseSize + SECTORSIZE + 8, in find_boot_record() 94 "(err %d)\n", block * inftl->EraseSize, in find_boot_record() 169 inftl->EraseSize = inftl->mbd.mtd->erasesize << in find_boot_record() 205 instr->addr = ip->Reserved0 * inftl->EraseSize; in find_boot_record() 206 instr->len = inftl->EraseSize; in find_boot_record() 249 (inftl->EraseSize / SECTORSIZE); in find_boot_record() 289 i * inftl->EraseSize + physblock)) in find_boot_record() 377 instr->addr = block * inftl->EraseSize; in INFTL_formatblock() [all …]
|
/openbmc/linux/include/linux/mtd/ |
H A D | nftl.h | 23 __u32 EraseSize; member
|
H A D | inftl.h | 31 __u32 EraseSize; member
|