From 33776f4955fa52ae3e4dc87ab6ac484a3ebc9a71 Mon Sep 17 00:00:00 2001 From: hunt Date: Mon, 21 Mar 2005 21:47:54 +0000 Subject: *** empty log message *** --- runtime/docs/html/alloc_8h.html | 101 +++++++++++++++++++++++++++------------- 1 file changed, 68 insertions(+), 33 deletions(-) (limited to 'runtime/docs/html/alloc_8h.html') diff --git a/runtime/docs/html/alloc_8h.html b/runtime/docs/html/alloc_8h.html index 6a5db5ab..0bab6a97 100644 --- a/runtime/docs/html/alloc_8h.html +++ b/runtime/docs/html/alloc_8h.html @@ -5,41 +5,44 @@
Intro | Functions | Defines | Enumerations | Enumeration Values
- +

alloc.h File Reference

Go to the source code of this file. - - + - - + + - - + + - - + + - - + + + + + + -

Enumerations

enum  errorcode { ERR_NONE = 0, -ERR_NO_MEM +
enum  errorcode { ERR_NONE = 0, +ERR_NO_MEM }

Functions

void * _stp_alloc (size_t len)
void * _stp_alloc (size_t len)
 Allocates memory within a probe.
void * _stp_calloc (size_t len)
 Allocates memory within a probe.
void * _stp_calloc (size_t len)
 Allocates and clears memory within a probe.
void * _stp_valloc (size_t len)
 Allocates and clears memory within a probe.
void * _stp_valloc (size_t len)
 Allocates and clears memory outside a probe.
void _stp_free (void *ptr)
 Allocates and clears memory outside a probe.
void _stp_free (void *ptr)
 Frees memory allocated by _stp_alloc or _stp_calloc.
void _stp_vfree (void *ptr)
 Frees memory allocated by _stp_alloc or _stp_calloc.
void _stp_vfree (void *ptr)
 Frees memory allocated by _stp_valloc.

Variables

enum errorcode _stp_error = ERR_NONE
 Frees memory allocated by _stp_valloc.


Enumeration Type Documentation

-

- +

+

@@ -55,9 +58,9 @@

Enumeration values:
- +
enum errorcode enum errorcode
- -
ERR_NONE  +
ERR_NONE 
ERR_NO_MEM  +
ERR_NO_MEM 
@@ -67,8 +70,8 @@ Definition at line 1 of fil


Function Documentation

-

- +

+

@@ -105,11 +108,13 @@ This is used for small allocations from within a running probe where the process

Definition at line 12 of file alloc.h.

-Referenced by _stp_calloc(), and _stp_map_set_str(). +References _stp_error, and ERR_NO_MEM. +

+Referenced by _stp_calloc(), and _stp_map_set_str().

-

- +

+

@@ -148,11 +153,11 @@ Definition at line 28 of fi

References _stp_alloc().

-Referenced by _stp_map_set_int64(), _stp_map_set_stat(), and _stp_map_set_str(). +Referenced by _stp_map_set_stat(), and _stp_map_set_str().

-

- +

+

@@ -187,11 +192,11 @@ Frees memory allocated by _stp_alloc or _stp_calloc.

Definition at line 57 of file alloc.h.

-Referenced by _stp_list_clear(), _stp_map_key_del(), and _stp_map_set_str(). +Referenced by _stp_list_clear(), _stp_map_key_del(), and _stp_map_set_str().

-

- +

+

@@ -227,11 +232,13 @@ This is typically used in the module initialization to allocate new maps, lists,

Definition at line 43 of file alloc.h.

+References _stp_error, and ERR_NO_MEM. +

Referenced by _stp_map_new().

-

- +

+

@@ -269,8 +276,36 @@ Definition at line 67 of fi Referenced by _stp_map_del().
-
Generated on Wed Mar 9 13:21:28 2005 for SystemTap by  +

Variable Documentation

+

+ + + + +
+ + + + +
enum errorcode _stp_error = ERR_NONE
+
+ + + + + +
+   + + +

+ +

+Definition at line 2 of file alloc.h. +

+Referenced by _stp_alloc(), and _stp_valloc().

+


Generated on Mon Mar 21 13:29:45 2005 for SystemTap by  -doxygen 1.3.9.1
+doxygen 1.4.1
-- cgit