Lines Matching refs:Pool
81 __in PFX_POOL Pool, in FxPoolInsertNonPagedAllocateTracker() argument
115 Tracker->Pool = Pool; in FxPoolInsertNonPagedAllocateTracker()
119 Pool->NonPagedLock.Acquire(&irql); in FxPoolInsertNonPagedAllocateTracker()
121 InsertTailList(&Pool->NonPagedHead, &Tracker->Link); in FxPoolInsertNonPagedAllocateTracker()
123 Pool->NonPagedBytes += Size; in FxPoolInsertNonPagedAllocateTracker()
124 Pool->NonPagedAllocations++; in FxPoolInsertNonPagedAllocateTracker()
126 if( Pool->NonPagedBytes > Pool->PeakNonPagedBytes ) { in FxPoolInsertNonPagedAllocateTracker()
127 Pool->PeakNonPagedBytes = Pool->NonPagedBytes; in FxPoolInsertNonPagedAllocateTracker()
130 if( Pool->NonPagedAllocations > Pool->PeakNonPagedAllocations ) { in FxPoolInsertNonPagedAllocateTracker()
131 Pool->PeakNonPagedAllocations = Pool->NonPagedAllocations; in FxPoolInsertNonPagedAllocateTracker()
134 Pool->NonPagedLock.Release(irql); in FxPoolInsertNonPagedAllocateTracker()
160 Tracker->Pool->NonPagedLock.Acquire(&irql); in FxPoolRemoveNonPagedAllocateTracker()
164 Tracker->Pool->NonPagedBytes -= Tracker->Size; in FxPoolRemoveNonPagedAllocateTracker()
165 Tracker->Pool->NonPagedAllocations--; in FxPoolRemoveNonPagedAllocateTracker()
167 Tracker->Pool->NonPagedLock.Release(irql); in FxPoolRemoveNonPagedAllocateTracker()
173 __in PFX_POOL Pool, in FxPoolInsertPagedAllocateTracker() argument
205 Tracker->Pool = Pool; in FxPoolInsertPagedAllocateTracker()
209 Pool->PagedLock.Acquire(); in FxPoolInsertPagedAllocateTracker()
211 InsertTailList(&Pool->PagedHead, &Tracker->Link); in FxPoolInsertPagedAllocateTracker()
213 Pool->PagedBytes += Size; in FxPoolInsertPagedAllocateTracker()
214 Pool->PagedAllocations++; in FxPoolInsertPagedAllocateTracker()
216 if( Pool->PagedBytes > Pool->PeakPagedBytes ) { in FxPoolInsertPagedAllocateTracker()
217 Pool->PeakPagedBytes = Pool->PagedBytes; in FxPoolInsertPagedAllocateTracker()
220 if( Pool->PagedAllocations > Pool->PeakPagedAllocations ) { in FxPoolInsertPagedAllocateTracker()
221 Pool->PeakPagedAllocations = Pool->PagedAllocations; in FxPoolInsertPagedAllocateTracker()
224 Pool->PagedLock.Release(); in FxPoolInsertPagedAllocateTracker()
248 Tracker->Pool->PagedLock.Acquire(); in FxPoolRemovePagedAllocateTracker()
252 Tracker->Pool->PagedBytes -= Tracker->Size; in FxPoolRemovePagedAllocateTracker()
253 Tracker->Pool->PagedAllocations--; in FxPoolRemovePagedAllocateTracker()
255 Tracker->Pool->PagedLock.Release(); in FxPoolRemovePagedAllocateTracker()