Changeset 2cb5e64 in mainline for generic/include/mm/slab.h
- Timestamp:
- 2006-06-04T19:47:36Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7509ddc
- Parents:
- c4e4507
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/include/mm/slab.h
rc4e4507 r2cb5e64 79 79 link_t link; 80 80 /* Configuration */ 81 size_t size; /**< Size of SLABposition - align_up(sizeof(obj)) */81 size_t size; /**< Size of slab position - align_up(sizeof(obj)) */ 82 82 int (*constructor)(void *obj, int kmflag); 83 83 int (*destructor)(void *obj); … … 92 92 atomic_t allocated_objs; 93 93 atomic_t cached_objs; 94 atomic_t magazine_counter; /* << How many magazines in magazines list */94 atomic_t magazine_counter; /**< How many magazines in magazines list */ 95 95 96 96 /* Slabs */ … … 118 118 extern count_t slab_reclaim(int flags); 119 119 120 /** Initialize SLABsubsytem */120 /** Initialize slab subsytem */ 121 121 extern void slab_cache_init(void); 122 122 extern void slab_enable_cpucache(void); 123 123 124 /* KConsole debug */124 /* kconsole debug */ 125 125 extern void slab_print_list(void); 126 126 127 /* Malloc support */127 /* malloc support */ 128 128 extern void * malloc(unsigned int size, int flags); 129 129 extern void free(void *obj);
Note:
See TracChangeset
for help on using the changeset viewer.