Lines Matching refs:HGSMIOFFSET
62 DECLINLINE(HGSMIOFFSET) hgsmiMADescriptor(HGSMIOFFSET off, bool fFree, HGSMIOFFSET order)
103 HGSMIOFFSET off = 0;
116 HGSMIOFFSET order = HGSMIMASize2Order(cbBlock);
158 HGSMIOFFSET order = HGSMI_MA_DESC_ORDER(pIter->descriptor);
166 static int hgsmiMARestore(HGSMIMADATA *pMA, HGSMIOFFSET *paDescriptors, uint32_t cDescriptors, HGSMISIZE cbMaxBlock)
174 HGSMIOFFSET off = 0;
208 static HGSMIMABLOCK *hgsmiMAGetFreeBlock(HGSMIMADATA *pMA, HGSMIOFFSET order)
212 HGSMIOFFSET i;
227 HGSMIOFFSET off = HGSMI_MA_DESC_OFFSET(pBlock->descriptor);
263 static void hgsmiMAReformatFreeBlocks(HGSMIMADATA *pMA, HGSMIOFFSET maxId,
283 HGSMIOFFSET off = HGSMI_MA_DESC_OFFSET(pStart->descriptor);
292 HGSMIOFFSET order = HGSMIMASize2Order(u32BlockSize);
395 static void hgsmiMAMergeFreeBlocks(HGSMIMADATA *pMA, HGSMIOFFSET order)
414 HGSMIOFFSET i = order - 1;
448 static HGSMIOFFSET hgsmiMAAlloc(HGSMIMADATA *pMA, HGSMISIZE cb)
460 HGSMIOFFSET order = HGSMIPopCnt32(cb - 1) - HGSMI_MA_DESC_ORDER_BASE;
483 static void hgsmiMAFree(HGSMIMADATA *pMA, HGSMIOFFSET off)
509 HGSMIOFFSET *paDescriptors, uint32_t cDescriptors, HGSMISIZE cbMaxBlock,
563 HGSMIOFFSET HGSMIMAPointerToOffset(const HGSMIMADATA *pMA, const void *pv)
574 void *HGSMIMAOffsetToPointer(const HGSMIMADATA *pMA, HGSMIOFFSET off)
587 HGSMIOFFSET off = hgsmiMAAlloc(pMA, cb);
593 HGSMIOFFSET off = HGSMIMAPointerToOffset(pMA, pv);
604 HGSMIMABLOCK *HGSMIMASearchOffset(HGSMIMADATA *pMA, HGSMIOFFSET off)
631 HGSMIOFFSET offMiddle = HGSMI_MA_DESC_OFFSET(pMiddle->descriptor);