#include "system.h"
#include <rpmio_internal.h>
#include <rpmerr.h>
#include "falloc.h"
#include "debug.h"
Go to the source code of this file.
Compounds | |
struct | faFileHeader |
struct | faFooter |
struct | faHeader |
RPMIO Utilities. | |
FDIO_t | fadio = &fadio_s |
Defines | |
#define | FA_MAGIC 0x02050920 |
Functions | |
FD_t | fadOpen (const char *path, int flags, mode_t perms) |
unsigned int | fadAlloc (FD_t fd, unsigned int size) |
void | fadFree (FD_t fd, unsigned int offset) |
int | fadFirstOffset (FD_t fd) |
int | fadNextOffset (FD_t fd, unsigned int lastOffset) |
Variables | |
struct FDIO_s | fadio_s |
The size fields doubly link this block list.
There is an additional free list weaved through the block list, which keeps new allocations fast.
Much of this was inspired by Knuth vol 1.
Definition in file falloc.c.
|
Initial value: { NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, fadOpen, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL } |