Searched refs:mem5 (Results 1 – 8 of 8) sorted by relevance
132 } mem5; variable137 #define mem5 GLOBAL(struct Mem5Global, mem5) macro204 i = (int)(((u8 *)p-mem5.zPool)/mem5.szAtom); in memsys5Size()273 if( mem5.maxCount<mem5.currentCount ) mem5.maxCount = mem5.currentCount; in memsys5MallocUnsafe()274 if( mem5.maxOut<mem5.currentOut ) mem5.maxOut = mem5.currentOut; in memsys5MallocUnsafe()284 return (void*)&mem5.zPool[i*mem5.szAtom]; in memsys5MallocUnsafe()313 assert( mem5.currentOut>=(size*mem5.szAtom) ); in memsys5FreeUnsafe()315 mem5.currentOut -= size*mem5.szAtom; in memsys5FreeUnsafe()424 if( n<=mem5.szAtom ) return mem5.szAtom; in memsys5Roundup()480 mem5.szAtom = mem5.szAtom << 1; in memsys5Init()[all …]
12 # This file contains tests of the mem5 allocation subsystem.18 ifcapable !mem5 {31 do_test mem5-1.1 {40 do_test mem5-1.2 {50 do_test mem5-1.3 {58 do_test mem5-1.4 {
830 ifcapable mem5 {851 ifcapable mem5 {853 Run tests using the allocator in mem5.c.880 Run tests using the allocator in mem5.c in a different configuration.
1327 ifcapable mem5 {
184 main.lo malloc.lo mem0.lo mem1.lo mem2.lo mem3.lo mem5.lo \246 $(TOP)/src/mem5.c \497 $(TOP)/src/mem5.c \919 mem5.lo: $(TOP)/src/mem5.c $(HDR)920 $(LTCOMPILE) $(TEMP_STORE) -c $(TOP)/src/mem5.c
1251 main.lo malloc.lo mem0.lo mem1.lo mem2.lo mem3.lo mem5.lo \1326 $(TOP)\src\mem5.c \2034 mem5.lo: $(TOP)\src\mem5.c $(HDR)2035 $(LTCOMPILE) $(CORE_COMPILE_OPTS) -c $(TOP)\src\mem5.c
68 main.o malloc.o mem0.o mem1.o mem2.o mem3.o mem5.o \123 $(TOP)/src/mem5.c \416 $(TOP)/src/mem5.c \
609 F src/mem5.c 5a3dbd8ac8a6501152a4fc1fcae9b0900c2d7eb0589c4ec7456fdde15725a26c1308 F test/mem5.test c6460fba403c5703141348cd90de1c294188c68f