Searched refs:szAtom (Results 1 – 1 of 1) sorted by relevance
28749 int szAtom; /* Smallest possible allocation in bytes */ member28796 #define MEM5LINK(idx) ((Mem5Link *)(&mem5.zPool[(idx)*mem5.szAtom]))28857 i = (int)(((u8 *)p-mem5.zPool)/mem5.szAtom); in memsys5Size()28859 iSize = mem5.szAtom * (1 << (mem5.aCtrl[i]&CTRL_LOGSIZE)); in memsys5Size()28895 for(iFullSz=mem5.szAtom,iLogsize=0; iFullSz<nByte; iFullSz*=2,iLogsize++){} in memsys5MallocUnsafe()28933 memset(&mem5.zPool[i*mem5.szAtom], 0xAA, iFullSz); in memsys5MallocUnsafe()28937 return (void*)&mem5.zPool[i*mem5.szAtom]; in memsys5MallocUnsafe()28950 iBlock = (int)(((u8 *)pOld-mem5.zPool)/mem5.szAtom); in memsys5FreeUnsafe()28954 assert( ((u8 *)pOld-mem5.zPool)%mem5.szAtom==0 ); in memsys5FreeUnsafe()28966 assert( mem5.currentOut>=(size*mem5.szAtom) ); in memsys5FreeUnsafe()[all …]