Main Page   File List  

alloc.h File Reference

Allocator using a bit-array. More...

Go to the source code of this file.

Data Structures

struct  l4util_alloc_t

Defines

#define L4UTIL_ALLOC_BITS_SIZE   (8 * sizeof(l4_umword_t))

Functions

L4_CV l4util_alloc_t * l4util_alloc_init (int count, int base)
L4_CV int l4util_alloc_avail (l4util_alloc_t *alloc, int elem)
L4_CV int l4util_alloc_occupy (l4util_alloc_t *alloc, int elem)
L4_CV int l4util_alloc_alloc (l4util_alloc_t *alloc)
L4_CV int l4util_alloc_free (l4util_alloc_t *alloc, int elem)


Detailed Description

Allocator using a bit-array.

Date:
09/14/2004
Author:
Jork Loeser <jork.loeser@inf.tu-dresden.de>

Definition in file alloc.h.


L4 Utilities, part of DROPS  © 2000-2003