|
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the documentation of this file.
21 #ifndef __included_svm_h__
22 #define __included_svm_h__
29 #define MMAP_PAGESIZE (clib_mem_get_page_size())
38 pthread_mutex_lock (&rp->
mutex);
42 pthread_mutex_unlock (&rp->
mutex);
54 pthread_mutex_lock (&rp->
mutex);
59 pthread_mutex_unlock (&rp->
mutex);
69 pthread_mutex_lock (&rp->
mutex);
73 pthread_mutex_unlock (&rp->
mutex);
82 return ((
void *) oldheap);
90 return ((
void *) oldheap);
static void clib_mem_free(void *p)
static void * svm_mem_alloc_aligned_at_offset(svm_region_t *rp, uword size, uword align, uword offset)
static void * svm_mem_alloc(svm_region_t *rp, uword size)
static void svm_pop_heap(void *oldheap)
template key/value backing page structure
static void svm_mem_free(svm_region_t *rp, void *ptr)
static void * svm_push_pvt_heap(svm_region_t *rp)
static void * clib_mem_alloc_aligned_at_offset(uword size, uword align, uword align_offset, int os_out_of_memory_on_failure)
static void * svm_push_data_heap(svm_region_t *rp)
static clib_mem_heap_t * clib_mem_set_heap(clib_mem_heap_t *heap)
static void * clib_mem_alloc(uword size)