LiVES  3.2.0
Data Fields
rpmalloc_config_t Struct Reference

#include <rpmalloc.h>

Data Fields

void *(* memory_map )(size_t size, size_t *offset)
 Map memory pages for the given number of bytes. The returned address MUST be. More...
 
void(* memory_unmap )(void *address, size_t size, size_t offset, size_t release)
 Unmap the memory pages starting at address and spanning the given number of bytes. More...
 
size_t page_size
 Size of memory pages. The page size MUST be a power of two. All memory mapping. More...
 
size_t span_size
 Size of a span of memory blocks. MUST be a power of two, and in [4096,262144]. More...
 
size_t span_map_count
 Number of spans to map at each request to map new virtual memory blocks. This can. More...
 
int enable_huge_pages
 Enable use of large/huge pages. If this flag is set to non-zero and page size is. More...
 

Detailed Description

Definition at line 136 of file rpmalloc.h.

Field Documentation

◆ enable_huge_pages

int rpmalloc_config_t::enable_huge_pages

Enable use of large/huge pages. If this flag is set to non-zero and page size is.

Definition at line 177 of file rpmalloc.h.

◆ memory_map

void*(* rpmalloc_config_t::memory_map) (size_t size, size_t *offset)

Map memory pages for the given number of bytes. The returned address MUST be.

Definition at line 147 of file rpmalloc.h.

◆ memory_unmap

void(* rpmalloc_config_t::memory_unmap) (void *address, size_t size, size_t offset, size_t release)

Unmap the memory pages starting at address and spanning the given number of bytes.

Definition at line 155 of file rpmalloc.h.

◆ page_size

size_t rpmalloc_config_t::page_size

Size of memory pages. The page size MUST be a power of two. All memory mapping.

Definition at line 159 of file rpmalloc.h.

◆ span_map_count

size_t rpmalloc_config_t::span_map_count

Number of spans to map at each request to map new virtual memory blocks. This can.

Definition at line 169 of file rpmalloc.h.

◆ span_size

size_t rpmalloc_config_t::span_size

Size of a span of memory blocks. MUST be a power of two, and in [4096,262144].

Definition at line 163 of file rpmalloc.h.


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