Lines Matching defs:region
12 #include "region.h"
16 * A region keeps track of the buffers that are currently allocated
18 * is freed, the region will return an allocation error
48 * @brief initialized a region from which only fixed size buffers are used
50 * @param region Return pointer to the region
51 * @param region_id The ID of the region,
52 * @param cap Capability of the memory region
57 errval_t region_init(struct region** region,
64 struct region* tmp = calloc(1, sizeof(struct region));
80 *region = tmp;
90 * @brief free up a region
92 * @param region The region to free up
96 errval_t region_destroy(struct region* region)
98 free(region);