agileRTOS (zrtos)  Version 0.8.0 (ghostbuster)
vheap_chunk.h File Reference
Include dependency graph for vheap_chunk.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _zrtos_vheap_chunk_t
 

Typedefs

typedef struct _zrtos_vheap_chunk_t zrtos_vheap_chunk_t
 

Functions

void * zrtos_vheap_chunk__get_ptr (zrtos_vheap_chunk_t *thiz)
 
size_t zrtos_vheap_chunk__get_length (zrtos_vheap_chunk_t *thiz)
 
zrtos_vheap_chunk_uid_t zrtos_vheap_chunk__get_uid (zrtos_vheap_chunk_t *thiz)
 
zrtos_vheap_chunk_type_tzrtos_vheap_chunk__get_type (zrtos_vheap_chunk_t *thiz)
 
void zrtos_vheap_chunk__set_type (zrtos_vheap_chunk_t *thiz, zrtos_vheap_type_t type)
 
void * zrtos_vheap_chunk__get_last_address (zrtos_vheap_chunk_t *thiz)
 
bool zrtos_vheap_chunk__is_type_eq (zrtos_vheap_chunk_t *thiz, zrtos_vheap_type_t type)
 

Typedef Documentation

◆ zrtos_vheap_chunk_t

Function Documentation

◆ zrtos_vheap_chunk__get_last_address()

void* zrtos_vheap_chunk__get_last_address ( zrtos_vheap_chunk_t thiz)

Definition at line 53 of file vheap_chunk.h.

53  {
54  return zrtos_types__ptr_add(
57  );
58 }
void * zrtos_vheap_chunk__get_ptr(zrtos_vheap_chunk_t *thiz)
Definition: vheap_chunk.h:28
size_t zrtos_vheap_chunk__get_length(zrtos_vheap_chunk_t *thiz)
Definition: vheap_chunk.h:32
void * zrtos_types__ptr_add(void *ptr, size_t byte_len)
Definition: types.h:35
Here is the call graph for this function:
Here is the caller graph for this function:

◆ zrtos_vheap_chunk__get_length()

size_t zrtos_vheap_chunk__get_length ( zrtos_vheap_chunk_t thiz)

Definition at line 32 of file vheap_chunk.h.

32  {
33  return thiz->length;
34 }
Here is the caller graph for this function:

◆ zrtos_vheap_chunk__get_ptr()

void* zrtos_vheap_chunk__get_ptr ( zrtos_vheap_chunk_t thiz)

Definition at line 28 of file vheap_chunk.h.

28  {
29  return thiz->ptr;
30 }
Here is the caller graph for this function:

◆ zrtos_vheap_chunk__get_type()

zrtos_vheap_chunk_type_t* zrtos_vheap_chunk__get_type ( zrtos_vheap_chunk_t thiz)

Definition at line 40 of file vheap_chunk.h.

42  {
43  return &thiz->type;
44 }
zrtos_vheap_chunk_type_t type
Definition: vheap_chunk.h:22
Here is the caller graph for this function:

◆ zrtos_vheap_chunk__get_uid()

zrtos_vheap_chunk_uid_t zrtos_vheap_chunk__get_uid ( zrtos_vheap_chunk_t thiz)

Definition at line 36 of file vheap_chunk.h.

36  {
37  return thiz->uid;
38 }
zrtos_vheap_chunk_uid_t uid
Definition: vheap_chunk.h:23
Here is the caller graph for this function:

◆ zrtos_vheap_chunk__is_type_eq()

bool zrtos_vheap_chunk__is_type_eq ( zrtos_vheap_chunk_t thiz,
zrtos_vheap_type_t  type 
)

Definition at line 60 of file vheap_chunk.h.

63  {
66  ,type
67  );
68 }
zrtos_vheap_chunk_type_t * zrtos_vheap_chunk__get_type(zrtos_vheap_chunk_t *thiz)
Definition: vheap_chunk.h:40
bool zrtos_vheap_chunk_type__is_eq(zrtos_vheap_chunk_type_t *thiz, zrtos_vheap_type_t type)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ zrtos_vheap_chunk__set_type()

void zrtos_vheap_chunk__set_type ( zrtos_vheap_chunk_t thiz,
zrtos_vheap_type_t  type 
)

Definition at line 46 of file vheap_chunk.h.

49  {
50  thiz->type.type = type;
51 }
zrtos_vheap_chunk_type_t type
Definition: vheap_chunk.h:22
zrtos_vheap_type_t type
Here is the caller graph for this function: