ARGOBOTS  36a41b57298ad4e16b5ada8c95c81f00dfed4d3c
Functions
mem_pool.c File Reference
#include "abti.h"
#include <stddef.h>
Include dependency graph for mem_pool.c:

Go to the source code of this file.

Functions

static ABTI_mem_pool_page * mem_pool_lifo_elem_to_page (ABTI_sync_lifo_element *lifo_elem)
 
static ABTI_mem_pool_header * mem_pool_lifo_elem_to_header (ABTI_sync_lifo_element *lifo_elem)
 
static ABTU_ret_err int protect_memory (void *addr, size_t size, size_t page_size, ABT_bool protect, ABT_bool adjust_size)
 
static void mem_pool_return_partial_bucket (ABTI_mem_pool_global_pool *p_global_pool, ABTI_mem_pool_header *bucket)
 

Function Documentation

◆ mem_pool_lifo_elem_to_header()

static ABTI_mem_pool_header* mem_pool_lifo_elem_to_header ( ABTI_sync_lifo_element *  lifo_elem)
inlinestatic

Definition at line 17 of file mem_pool.c.

◆ mem_pool_lifo_elem_to_page()

static ABTI_mem_pool_page* mem_pool_lifo_elem_to_page ( ABTI_sync_lifo_element *  lifo_elem)
inlinestatic

Definition at line 10 of file mem_pool.c.

◆ mem_pool_return_partial_bucket()

static void mem_pool_return_partial_bucket ( ABTI_mem_pool_global_pool *  p_global_pool,
ABTI_mem_pool_header *  bucket 
)
static

Definition at line 39 of file mem_pool.c.

◆ protect_memory()

static ABTU_ret_err int protect_memory ( void *  addr,
size_t  size,
size_t  page_size,
ABT_bool  protect,
ABT_bool  adjust_size 
)
static

Definition at line 26 of file mem_pool.c.