#include "meminfo.h"

Go to the source code of this file.
Data Structures | |
| struct | fm_block |
| struct | fm_frag |
| struct | fm_frag_lnk |
Defines | |
| #define | F_HASH_SIZE |
| #define | f_malloc_h |
| #define | F_MALLOC_HASH_BITMAP |
| #define | F_MALLOC_OPTIMIZE (1UL<<F_MALLOC_OPTIMIZE_FACTOR) |
| #define | F_MALLOC_OPTIMIZE_FACTOR 14UL |
| #define | FM_HASH_BMP_BITS (sizeof(fm_hash_bitmap_t)*8) |
| #define | FM_HASH_BMP_SIZE ((F_HASH_SIZE+FM_HASH_BMP_BITS-1)/FM_HASH_BMP_BITS) |
| #define | MIN_FRAG_SIZE ROUNDTO |
| #define | ROUNDTO 8UL |
Typedefs | |
| typedef unsigned long | fm_hash_bitmap_t |
Functions | |
| unsigned long | fm_available (struct fm_block *) |
| void | fm_free (struct fm_block *, void *p) |
| void | fm_info (struct fm_block *, struct mem_info *) |
| void * | fm_malloc (struct fm_block *, unsigned long size) |
| struct fm_block * | fm_malloc_init (char *address, unsigned long size) |
| void * | fm_realloc (struct fm_block *, void *p, unsigned long size) |
| void | fm_status (struct fm_block *) |
| #define F_HASH_SIZE |
Value:
(F_MALLOC_OPTIMIZE/ROUNDTO + \ (sizeof(long)*8-F_MALLOC_OPTIMIZE_FACTOR)+1)
Definition at line 72 of file f_malloc.h.
| #define f_malloc_h |
Definition at line 35 of file f_malloc.h.
| #define F_MALLOC_HASH_BITMAP |
Definition at line 47 of file f_malloc.h.
| #define F_MALLOC_OPTIMIZE (1UL<<F_MALLOC_OPTIMIZE_FACTOR) |
Definition at line 67 of file f_malloc.h.
| #define F_MALLOC_OPTIMIZE_FACTOR 14UL |
Definition at line 66 of file f_malloc.h.
| #define FM_HASH_BMP_BITS (sizeof(fm_hash_bitmap_t)*8) |
Definition at line 77 of file f_malloc.h.
| #define FM_HASH_BMP_SIZE ((F_HASH_SIZE+FM_HASH_BMP_BITS-1)/FM_HASH_BMP_BITS) |
Definition at line 78 of file f_malloc.h.
| #define MIN_FRAG_SIZE ROUNDTO |
Definition at line 62 of file f_malloc.h.
Referenced by qm_info(), qm_malloc_init(), and split_frag().
| #define ROUNDTO 8UL |
| typedef unsigned long fm_hash_bitmap_t |
Definition at line 76 of file f_malloc.h.
| unsigned long fm_available | ( | struct fm_block * | ) |
| void fm_free | ( | struct fm_block * | , | |
| void * | p | |||
| ) |
| void* fm_malloc | ( | struct fm_block * | , | |
| unsigned long | size | |||
| ) |
| struct fm_block* fm_malloc_init | ( | char * | address, | |
| unsigned long | size | |||
| ) | [read] |
Referenced by init_pkg_mallocs().
| void* fm_realloc | ( | struct fm_block * | , | |
| void * | p, | |||
| unsigned long | size | |||
| ) |
| void fm_status | ( | struct fm_block * | ) |
1.5.6