Searched refs:S_CACHE (Results 1 - 4 of 4) sorted by relevance

/ast/src/lib/libast/vmalloc/
H A Dvmclear.c55 for(s = 0; s <= S_CACHE; ++s)
H A Dvmbest.c129 if(C_INDEX(SIZE(b)) < S_CACHE)
130 for(t = CACHE(vd)[S_CACHE]; t; t = LINK(t))
377 { LINK(fp) = CACHE(vd)[S_CACHE]; CACHE(vd)[S_CACHE] = fp;
382 for(n = S_CACHE; n >= c; --n)
656 LINK(tp) = CACHE(vd)[S_CACHE];
657 CACHE(vd)[S_CACHE] = tp;
660 for(n = S_CACHE; n >= 0; --n) /* best-fit except for coalescing */
818 { /**/ASSERT(!vmonlist(CACHE(vd)[S_CACHE], bp) );
819 LINK(bp) = CACHE(vd)[S_CACHE];
[all...]
H A Dvmhdr.h297 #define S_CACHE 6 /* # of types of small blocks to be cached */ macro
299 #define MAXCACHE (S_CACHE*ALIGN + TINYSIZE)
300 #define C_INDEX(s) (s < MAXCACHE ? INDEX(s) : S_CACHE)
315 Block_t* cache[S_CACHE+1]; /* delayed free blocks */
H A Dvmopen.c125 for(k = S_CACHE; k >= 0; --k)

Completed in 17 milliseconds