Searched refs:ctst_allocated (Results 1 – 1 of 1) sorted by relevance
48 static int ctst_allocated = 0; variable635 if(ctst_allocated >= CTST_MAX_ALLOC - 1) { in ctst_malloc()636 ctst_allocated = 0; in ctst_malloc()639 if(ctst_allocated_stuff[ctst_allocated]) { in ctst_malloc()640 free(ctst_allocated_stuff[ctst_allocated]); in ctst_malloc()642 return ctst_allocated_stuff[ctst_allocated++] = malloc(size); in ctst_malloc()649 for(i=0; i<ctst_allocated; i++) { in ctst_freeAll()659 ctst_allocated = 0; in ctst_freeAll()