PIPS
__stack_head Struct Reference

the stack head More...

+ Collaboration diagram for __stack_head:

Data Fields

size_t size
 
size_t max_extent
 current number of elements in stack More...
 
_stack_ptr stack
 maximum extension of the stack More...
 
_stack_ptr avail
 buckets in use by the stack More...
 
size_t bucket_size
 allocated buckets not in use anymore More...
 
size_t n_buckets
 reference bucket size for allocation More...
 
int type
 number of allocated buckets More...
 
int policy
 as BASIC, LIST, EXTERNAL, CHUNK, domain? More...
 

Detailed Description

the stack head

Definition at line 61 of file stack.c.

Field Documentation

◆ avail

_stack_ptr __stack_head::avail

buckets in use by the stack

Definition at line 66 of file stack.c.

Referenced by find_or_allocate(), stack_info(), stack_make(), and stack_pop().

◆ bucket_size

size_t __stack_head::bucket_size

allocated buckets not in use anymore

Definition at line 67 of file stack.c.

Referenced by find_or_allocate(), stack_copy(), and stack_make().

◆ max_extent

size_t __stack_head::max_extent

current number of elements in stack

Definition at line 64 of file stack.c.

Referenced by stack_info(), stack_make(), and stack_push().

◆ n_buckets

size_t __stack_head::n_buckets

reference bucket size for allocation

Definition at line 68 of file stack.c.

Referenced by find_or_allocate(), and stack_make().

◆ policy

int __stack_head::policy

as BASIC, LIST, EXTERNAL, CHUNK, domain?

Definition at line 70 of file stack.c.

Referenced by stack_copy(), and stack_make().

◆ size

size_t __stack_head::size

Definition at line 63 of file stack.c.

Referenced by stack_info(), stack_iterator_internal_init(), stack_make(), stack_pop(), and stack_push().

◆ stack

_stack_ptr __stack_head::stack

maximum extension of the stack

Definition at line 65 of file stack.c.

Referenced by stack_head(), stack_info(), stack_iterator_internal_init(), stack_make(), stack_map(), stack_pop(), stack_push(), and stack_replace().

◆ type

int __stack_head::type

number of allocated buckets

Definition at line 69 of file stack.c.

Referenced by stack_copy(), stack_info(), and stack_make().


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