#include <stdio.h>
#include "rvm.h"
Go to the source code of this file.
|
int | rds_zap_heap (char *DevName, rvm_offset_t DevLength, char *startAddr, rvm_length_t staticLength, rvm_length_t heapLength, unsigned long nlists, unsigned long chunkSize, int *err) |
|
int | rds_init_heap (char *base, rvm_length_t length, unsigned long chunkSize, unsigned long nlists, rvm_tid_t *tid, int *err) |
|
int | rds_load_heap (char *DevName, rvm_offset_t DevLength, char **staticAddr, int *err) |
|
int | rds_unload_heap (int *err) |
|
int | rds_start_heap (char *startAddr, int *err) |
|
int | rds_stop_heap (int *err) |
|
int | rds_prealloc (unsigned long size, unsigned long nblocks, rvm_tid_t *tid, int *err) |
|
char * | rds_malloc (unsigned long size, rvm_tid_t *tid, int *err) |
|
int | rds_free (char *addr, rvm_tid_t *tid, int *err) |
|
int | rds_maxblock (unsigned long size) |
|
int | rds_fake_free (char *addr, intentionList_t *list) |
|
int | rds_do_free (intentionList_t *list, rvm_mode_t mode) |
|
int | rds_print_stats (void) |
|
int | rds_clear_stats (int *err) |
|
int | rds_get_stats (rds_stats_t *stats) |
|
int | rds_trace_on (FILE *) |
|
int | rds_trace_off (void) |
|
int | rds_trace_dump_heap (void) |
|
◆ EBAD_ARGS
◆ EBAD_LIST
◆ EBAD_SEGMENT_HDR
◆ ECORRUPT
◆ EFREED_TWICE
◆ EHEAP_INIT
◆ EHEAP_VERSION_SKEW
◆ ENO_ROOM
◆ ERVM_FAILED
◆ RDS_LOG
#define RDS_LOG |
( |
|
format, |
|
|
|
a... |
|
) |
| |
Value: do { \
} \
} while (0);
format
Definition: make_certs.py:99
FILE * rds_tracing_file
Definition: rds_stats.c:23
int rds_tracing
Definition: rds_stats.c:22
◆ STARTSIZE
#define STARTSIZE 128 /* Initial size of list, may grow over time */ |
◆ SUCCESS
◆ intentionList_t
◆ rds_clear_stats()
int rds_clear_stats |
( |
int * |
err | ) |
|
◆ rds_do_free()
◆ rds_fake_free()
◆ rds_free()
int rds_free |
( |
char * |
addr, |
|
|
rvm_tid_t * |
tid, |
|
|
int * |
err |
|
) |
| |
◆ rds_get_stats()
◆ rds_init_heap()
int rds_init_heap |
( |
char * |
base, |
|
|
rvm_length_t |
length, |
|
|
unsigned long |
chunkSize, |
|
|
unsigned long |
nlists, |
|
|
rvm_tid_t * |
tid, |
|
|
int * |
err |
|
) |
| |
◆ rds_load_heap()
int rds_load_heap |
( |
char * |
DevName, |
|
|
rvm_offset_t |
DevLength, |
|
|
char ** |
staticAddr, |
|
|
int * |
err |
|
) |
| |
◆ rds_malloc()
char * rds_malloc |
( |
unsigned long |
size, |
|
|
rvm_tid_t * |
tid, |
|
|
int * |
err |
|
) |
| |
◆ rds_maxblock()
int rds_maxblock |
( |
unsigned long |
size | ) |
|
◆ rds_prealloc()
int rds_prealloc |
( |
unsigned long |
size, |
|
|
unsigned long |
nblocks, |
|
|
rvm_tid_t * |
tid, |
|
|
int * |
err |
|
) |
| |
◆ rds_print_stats()
int rds_print_stats |
( |
void |
| ) |
|
◆ rds_start_heap()
int rds_start_heap |
( |
char * |
startAddr, |
|
|
int * |
err |
|
) |
| |
◆ rds_stop_heap()
int rds_stop_heap |
( |
int * |
err | ) |
|
◆ rds_trace_dump_heap()
int rds_trace_dump_heap |
( |
void |
| ) |
|
◆ rds_trace_off()
int rds_trace_off |
( |
void |
| ) |
|
◆ rds_trace_on()
int rds_trace_on |
( |
FILE * |
file | ) |
|
◆ rds_unload_heap()
int rds_unload_heap |
( |
int * |
err | ) |
|
◆ rds_zap_heap()
int rds_zap_heap |
( |
char * |
DevName, |
|
|
rvm_offset_t |
DevLength, |
|
|
char * |
startAddr, |
|
|
rvm_length_t |
staticLength, |
|
|
rvm_length_t |
heapLength, |
|
|
unsigned long |
nlists, |
|
|
unsigned long |
chunkSize, |
|
|
int * |
err |
|
) |
| |
◆ rds_tracing
◆ rds_tracing_file