src/noarch/internal/imoc_buffer_malloc.c File Reference

#include <stdlib.h>
#include <stdio.h>
#include <internal/imoc.h>
#include <internal/ppu/imoc_core_ppu.h>

Include dependency graph for imoc_buffer_malloc.c:

Go to the source code of this file.

Functions

moc_internal_buffer_node_t * __attribute__ ((always_inline))
 void bmalloc_print_nodes() { if (!bmalloc_first_node) printf("No nodes in list\n"); else { int z = 0; moc_internal_buffer_node_t* t; for (t = bmalloc_first_node; t != 0; t = t->next_node) { printf( "Node %i: offset %u - size %u - valid %i - mid %u\n", z, node_handle.status_array_base[ t->mid ].buffer_offset, node_handle.status_array_base[ t->mid ].message_size, node_handle.status_array_base[ t->mid ].flags.bits.buffer_used, t->mid ); z++; } } }
uint64_t IMOC_bmalloc (uint32_t size, uint8_t mid)
 Allocate buffer-space.

Variables

moc_internal_buffer_node_t * bmalloc_first_node = 0
 Pointer to first entry of linked-list.


Generated on Thu Feb 12 13:50:14 2009 for MPI On Cell (Documentation) by  doxygen 1.5.6