Searched defs:Regnum (Results 1 - 1 of 1) sorted by relevance

/ast/src/lib/libast/vmalloc/
H A Dmalloc.c278 static unsigned int Regnum = 0; /* current #concurrent regions */ variable
289 if(regmax >= Regnum && regmax <= sizeof(Region)/sizeof(Region[0]))
303 for(k = 0; k < Regnum; ++k)
318 st->n_region = Regnum+1;
340 for(k = 0; k < Regnum; ++k)
350 for(k = 0; k < Regnum; ++k)
438 if(Regnum == 0)
440 else for(pos = p = RAND()%Regnum;; )
446 if((p = (p+1)%Regnum) == pos )
451 while((p = Regnum) < Regma
[all...]

Completed in 14 milliseconds