Rev 1288 | Rev 1677 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1288 | Rev 1428 | ||
---|---|---|---|
Line 125... | Line 125... | ||
125 | static slab_cache_t *malloc_caches[SLAB_MAX_MALLOC_W-SLAB_MIN_MALLOC_W+1]; |
125 | static slab_cache_t *malloc_caches[SLAB_MAX_MALLOC_W-SLAB_MIN_MALLOC_W+1]; |
126 | char *malloc_names[] = { |
126 | char *malloc_names[] = { |
127 | "malloc-16","malloc-32","malloc-64","malloc-128", |
127 | "malloc-16","malloc-32","malloc-64","malloc-128", |
128 | "malloc-256","malloc-512","malloc-1K","malloc-2K", |
128 | "malloc-256","malloc-512","malloc-1K","malloc-2K", |
129 | "malloc-4K","malloc-8K","malloc-16K","malloc-32K", |
129 | "malloc-4K","malloc-8K","malloc-16K","malloc-32K", |
130 | "malloc-64K","malloc-128K" |
130 | "malloc-64K","malloc-128K","malloc-256K" |
131 | }; |
131 | }; |
132 | 132 | ||
133 | /** Slab descriptor */ |
133 | /** Slab descriptor */ |
134 | typedef struct { |
134 | typedef struct { |
135 | slab_cache_t *cache; /**< Pointer to parent cache */ |
135 | slab_cache_t *cache; /**< Pointer to parent cache */ |