Searched refs:imagealloc (Results 1 – 2 of 2) sorted by relevance
26 #define ihash(s) imagealloc.hash[s%IHASHSIZE]38 }imagealloc; variable47 imagealloc.free = xalloc(conf.nimage*sizeof(Image)); in initseg()48 if (imagealloc.free == nil) in initseg()50 ie = &imagealloc.free[conf.nimage-1]; in initseg()51 for(i = imagealloc.free; i < ie; i++) in initseg()54 imagealloc.freechan = malloc(NFREECHAN * sizeof(Chan*)); in initseg()55 imagealloc.szfreechan = NFREECHAN; in initseg()250 if(imagealloc.nfreechan) in attachimage()253 lock(&imagealloc); in attachimage()[all …]
44 imagecacheline(imagealloc.free[i]);