Searched refs:ctst_allocated (Results 1 – 1 of 1) sorted by relevance
46 static int ctst_allocated = 0; variable625 if(ctst_allocated >= CTST_MAX_ALLOC - 1) { in ctst_malloc()626 ctst_allocated = 0; in ctst_malloc()629 if(ctst_allocated_stuff[ctst_allocated]) { in ctst_malloc()630 free(ctst_allocated_stuff[ctst_allocated]); in ctst_malloc()632 return ctst_allocated_stuff[ctst_allocated++] = malloc(size); in ctst_malloc()639 for(i=0; i<ctst_allocated; i++) { in ctst_freeAll()649 ctst_allocated = 0; in ctst_freeAll()