Searched refs:ctst_allocated (Results 1 – 1 of 1) sorted by relevance
618 static int ctst_allocated = 0; variable622 if(ctst_allocated >= CTST_MAX_ALLOC - 1) { in ctst_malloc()623 ctst_allocated = 0; in ctst_malloc()626 if(ctst_allocated_stuff[ctst_allocated]) { in ctst_malloc()627 free(ctst_allocated_stuff[ctst_allocated]); in ctst_malloc()629 return ctst_allocated_stuff[ctst_allocated++] = malloc(size); in ctst_malloc()636 for(i=0; i<ctst_allocated; i++) { in ctst_freeAll()646 ctst_allocated = 0; in ctst_freeAll()