Home | History | Annotate | Download | only in tool

Lines Matching refs:freelist

372   static struct action *freelist = 0;
375 if( freelist==0 ){
378 freelist = (struct action *)calloc(amt, sizeof(struct action));
379 if( freelist==0 ){
383 for(i=0; i<amt-1; i++) freelist[i].next = &freelist[i+1];
384 freelist[amt-1].next = 0;
386 newaction = freelist;
387 freelist = freelist->next;
1144 static struct config *freelist = 0; /* List of free configurations */
1153 if( freelist==0 ){
1156 freelist = (struct config *)calloc( amt, sizeof(struct config) );
1157 if( freelist==0 ){
1161 for(i=0; i<amt-1; i++) freelist[i].next = &freelist[i+1];
1162 freelist[amt-1].next = 0;
1164 newcfg = freelist;
1165 freelist = freelist->next;
1172 old->next = freelist;
1173 freelist = old;