Lines Matching refs:offL2Tbl
137 uint64_t offL2Tbl;
406 * @param offL2Tbl Offset of the L2 table to search for.
408 static PQEDL2CACHEENTRY qedL2TblCacheRetain(PQEDIMAGE pImage, uint64_t offL2Tbl)
414 if (pL2Entry->offL2Tbl == offL2Tbl)
487 pL2Entry->offL2Tbl = 0;
524 Assert(pL2Entry->offL2Tbl > 0);
537 if (pIt->offL2Tbl > pL2Entry->offL2Tbl)
545 Assert(pIt->offL2Tbl != pL2Entry->offL2Tbl);
546 if (pIt->offL2Tbl < pL2Entry->offL2Tbl)
564 * @param offL2Tbl The offset of the L2 table in the image.
567 static int qedL2TblCacheFetch(PQEDIMAGE pImage, uint64_t offL2Tbl, PQEDL2CACHEENTRY *ppL2Entry)
571 LogFlowFunc(("pImage=%#p offL2Tbl=%llu ppL2Entry=%#p\n", pImage, offL2Tbl, ppL2Entry));
574 PQEDL2CACHEENTRY pL2Entry = qedL2TblCacheRetain(pImage, offL2Tbl);
583 pL2Entry->offL2Tbl = offL2Tbl;
584 rc = vdIfIoIntFileReadSync(pImage->pIfIo, pImage->pStorage, offL2Tbl,
617 * @param offL2Tbl The offset of the L2 table in the image.
621 uint64_t offL2Tbl, PQEDL2CACHEENTRY *ppL2Entry)
626 PQEDL2CACHEENTRY pL2Entry = qedL2TblCacheRetain(pImage, offL2Tbl);
636 pL2Entry->offL2Tbl = offL2Tbl;
638 offL2Tbl, pL2Entry->paL2Tbl,
1449 uint64_t offUpdateLe = RT_H2LE_U64(pClusterAlloc->pL2Entry->offL2Tbl);
1473 pImage->paL1Table[pClusterAlloc->idxL1] = pClusterAlloc->pL2Entry->offL2Tbl;
1898 uint64_t offL2Tbl;
1917 offL2Tbl = qedClusterAllocate(pImage, qedByte2Cluster(pImage, pImage->cbTable));
1918 pL2Entry->offL2Tbl = offL2Tbl;
1922 pL2ClusterAlloc->cbImageOld = offL2Tbl;
1923 pL2ClusterAlloc->offClusterNew = offL2Tbl;
1935 offL2Tbl, pL2Entry->paL2Tbl, pImage->cbTable, pIoCtx,