Wed Aug 7 17:16:15 2019

Asterisk developer's documentation


ast_region Struct Reference

Data Fields

unsigned int cache
unsigned char data [0]
 Location of the requested malloc block to return.
unsigned int fence
 Lower guard fence.
char file [64]
char func [40]
size_t len
unsigned int lineno
struct {
   struct ast_region *   next
node
enum func_type which

Detailed Description

Definition at line 79 of file astmm.c.


Field Documentation

unsigned int cache
unsigned char data[0]

Location of the requested malloc block to return.

Note:
Must have the same alignment that malloc returns. i.e., It is suitably aligned for any kind of varible.

Definition at line 105 of file astmm.c.

Referenced by __ast_alloc_region(), mm_atexit_cmp(), mm_atexit_hash_restore(), mm_atexit_regions_list(), region_check_fences(), region_data_check(), region_data_wipe(), region_find(), and region_remove().

unsigned int fence

Lower guard fence.

Note:
Must be right before data[].
Padding between fence and data[] is irrelevent because data[] is used to fill in the lower fence check value and not the fence member. The fence member is to ensure that there is space reserved for the fence check value.

Definition at line 98 of file astmm.c.

Referenced by region_data_check(), and region_data_wipe().

char file[64]
char func[40]
size_t len
unsigned int lineno
struct ast_region* next [read]

Definition at line 80 of file astmm.c.

Referenced by handle_memory_show_summary(), and mm_atexit_regions_summary().

struct { ... } node

Definition at line 84 of file astmm.c.

Referenced by __ast_alloc_region().


The documentation for this struct was generated from the following file:

Generated on 7 Aug 2019 for Asterisk - The Open Source Telephony Project by  doxygen 1.6.1