irods  4.2.8
About: iRODS (the integrated Rule Oriented Data System) is a distributed data-management system for creating data grids, digital libraries, persistent archives, and real-time data systems.
  Fossies Dox: irods-4.2.8.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

region.cpp File Reference
#include "region.h"
#include <cstdlib>
#include <string.h>
Include dependency graph for region.cpp:

Go to the source code of this file.


struct region_nodemake_region_node (size_t is)
Regionmake_region (size_t is, jmp_buf *label)
unsigned char * region_alloc_nodesc (Region *r, size_t s, size_t *alloc_size)
void * region_alloc (Region *r, size_t size)
void region_free (Region *r)
size_t region_size (Region *r)
void assert (int res)

Function Documentation

◆ assert()

void assert ( int  res)

Definition at line 169 of file region.cpp.

◆ make_region()

Region* make_region ( size_t  is,
jmp_buf *  label 

◆ make_region_node()

struct region_node* make_region_node ( size_t  is)

Definition at line 66 of file region.cpp.

References NULL.

Referenced by make_region(), and region_alloc_nodesc().

◆ region_alloc()

◆ region_alloc_nodesc()

unsigned char* region_alloc_nodesc ( Region r,
size_t  s,
size_t *  alloc_size 

Definition at line 105 of file region.cpp.

References region::active, region_node::block, DEFAULT_BLOCK_SIZE, region::label, make_region_node(), region_node::next, irods.six::next, NULL, roundToAlignment, region_node::size, and region_node::used.

Referenced by region_alloc().

Here is the call graph for this function:

◆ region_free()

◆ region_size()

size_t region_size ( Region r)

Definition at line 157 of file region.cpp.

References region::head, and NULL.