some slab cleanups, split the C interface to another file.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20875 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -51,15 +51,11 @@ typedef struct base_cache {
|
||||
void *cookie;
|
||||
} base_cache;
|
||||
|
||||
typedef struct cache_object_link {
|
||||
struct cache_object_link *next;
|
||||
} cache_object_link;
|
||||
|
||||
typedef struct cache_slab {
|
||||
void *pages;
|
||||
size_t count, size;
|
||||
size_t offset;
|
||||
cache_object_link *free;
|
||||
struct cache_object_link *free;
|
||||
struct list_link link;
|
||||
} cache_slab;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user