Lines Matching refs:zPool
22994 int nBlock; /* Number of szAtom sized blocks in zPool */
22995 u8 *zPool; /* Memory available to be allocated */
23037 ** Assuming mem5.zPool is divided up into an array of Mem5Link
23040 #define MEM5LINK(idx) ((Mem5Link *)(&mem5.zPool[(idx)*mem5.szAtom]))
23101 i = (int)(((u8 *)p-mem5.zPool)/mem5.szAtom);
23177 memset(&mem5.zPool[i*mem5.szAtom], 0xAA, iFullSz);
23181 return (void*)&mem5.zPool[i*mem5.szAtom];
23192 ** the array of mem5.szAtom byte blocks pointed to by mem5.zPool.
23194 iBlock = (int)(((u8 *)pOld-mem5.zPool)/mem5.szAtom);
23198 assert( ((u8 *)pOld-mem5.zPool)%mem5.szAtom==0 );
23244 memset(&mem5.zPool[iBlock*mem5.szAtom], 0x55, size);
23376 mem5.zPool = zByte;
23377 mem5.aCtrl = (u8 *)&mem5.zPool[mem5.nBlock*mem5.szAtom];