Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals

smat_freelist.c File Reference


Detailed Description

For internal use only.

This file contains the implementation of the sparse matrix freelist and its support functions. The freelist is intended to avoid memory fragmentation due to the large number of hash entry structures that must be allocated by the sparse matrix system.

Definition in file smat_freelist.c.

#include <stdlib.h>
#include <string.h>
#include "dbprim.h"
#include "dbprim_int.h"

Include dependency graph for smat_freelist.c:

Go to the source code of this file.

Functions

smat_entry_t_smat_alloc (void)
 Allocate a sparse matrix entry.
void _smat_free (smat_entry_t *entry)
 Release a sparse matrix entry.
unsigned long smat_cleanup (void)
 Clean up the smat free list.
unsigned long smat_freemem (void)
 Report how much memory is used by the free list.

Variables

static link_head_t _smat_freelist
 Sparse matrix freelist.


Generated on Sat Jul 15 14:10:48 2006 for DatabasePrimitivesLibrary by  doxygen 1.4.4