IBNOS
|
#include <process/handle.h>
#include <memory/allocator.h>
#include <process/object.h>
#include <util/list.h>
#include <util/util.h>
Go to the source code of this file.
Functions | |
void | handleTableInit (struct handleTable *table) |
Initializes the handle table structure which is part of each process. More... | |
void | handleForkTable (struct handleTable *destination, struct handleTable *source) |
Forks a handle table. More... | |
void | handleTableFree (struct handleTable *table) |
Releases the memory of the handle table and all associated objects. More... | |
uint32_t | handleAllocate (struct handleTable *table, struct object *object) |
Allocates a handle (index) for a specific kernel object. More... | |
bool | handleSet (struct handleTable *table, uint32_t handle, struct object *object) |
Associates a handle (index) with a kernel object. More... | |
struct object * | handleGet (struct handleTable *table, uint32_t handle) |
Returns the kernel object associated to a handle. More... | |
bool | handleRelease (struct handleTable *table, uint32_t handle) |
Releases the object associated with a handle. More... | |
uint32_t | handleCount (struct handleTable *table) |
Returns the number of handles in a handletable. More... | |