Searched refs:blockofs (Results 1 – 2 of 2) sorted by relevance
/drivers/mtd/ |
D | inftlcore.c | 477 unsigned long blockofs = (block * SECTORSIZE) & (inftl->EraseSize -1); in INFTL_findwriteunit() local 499 blockofs, 8, &retlen, (char *)&bci); in INFTL_findwriteunit() 761 unsigned long blockofs = (block * SECTORSIZE) & (inftl->EraseSize - 1); in INFTL_deleteblock() local 773 blockofs, 8, &retlen, (char *)&bci) < 0) in INFTL_deleteblock() 805 loff_t ptr = (thisEUN * inftl->EraseSize) + blockofs; in INFTL_deleteblock() 822 unsigned long blockofs = (block * SECTORSIZE) & (inftl->EraseSize - 1); in inftl_writeblock() local 852 blockofs, SECTORSIZE, &retlen, (char *)buffer, in inftl_writeblock() 870 unsigned long blockofs = (block * SECTORSIZE) & (inftl->EraseSize - 1); in inftl_readblock() local 882 blockofs, 8, &retlen, (char *)&bci) < 0) in inftl_readblock() 919 loff_t ptr = (thisEUN * inftl->EraseSize) + blockofs; in inftl_readblock()
|
D | nftlcore.c | 541 unsigned long blockofs = (block * 512) & (nftl->EraseSize -1); in NFTL_findwriteunit() local 565 (writeEUN * nftl->EraseSize) + blockofs, in NFTL_findwriteunit() 692 unsigned long blockofs = (block * 512) & (nftl->EraseSize - 1); in nftl_writeblock() local 708 nftl_write(nftl->mbd.mtd, (writeEUN * nftl->EraseSize) + blockofs, in nftl_writeblock() 721 unsigned long blockofs = (block * 512) & (nftl->EraseSize - 1); in nftl_readblock() local 732 blockofs, 8, &retlen, in nftl_readblock() 770 loff_t ptr = (lastgoodEUN * nftl->EraseSize) + blockofs; in nftl_readblock()
|