RTEMS: cpukit/rtems/src/workspacegreedy.c File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Functions
workspacegreedy.c File Reference

Greedy Allocate that Empties the Workspace and Free. More...

`#include <rtems/rtems/support.h>`
`#include <rtems/score/apimutex.h>`
`#include <rtems/score/heapimpl.h>`
`#include <rtems/score/threaddispatch.h>`
`#include <rtems/score/wkspace.h>`

## Functions
void * | rtems_workspace_greedy_allocate (const uintptr_t *block_sizes, size_t block_count)
| Greedy allocate that empties the workspace.
void * | rtems_workspace_greedy_allocate_all_except_largest (uintptr_t *allocatable_size)
| Greedy allocate all blocks except the largest free block.
void | rtems_workspace_greedy_free (void *opaque)
| Frees space of a greedy allocation.

## Detailed Description

Greedy Allocate that Empties the Workspace and Free.