EM-ODP 4.4.0
Event Machine on ODP
Loading...
Searching...
No Matches
em_pool_types.h File Reference
#include <stdint.h>
#include <odp_api.h>
#include <event_machine.h>
#include <event_machine/platform/env/environment.h>
#include "misc/objpool.h"
Include dependency graph for em_pool_types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  mpool_elem_t
 
union  pool_subpool_t
 
struct  mpool_tbl_t
 
struct  mpool_pool_t
 

Macros

#define POOL_ODP2EM_TBL_LEN   256
 

Functions

 COMPILE_TIME_ASSERT (EM_CONFIG_POOLS *EM_MAX_SUBPOOLS<=POOL_ODP2EM_TBL_LEN, "MPOOL_TBL_T__POOL_ODP2EM__LEN_ERR")
 
 COMPILE_TIME_ASSERT (sizeof(pool_subpool_t)==sizeof(uint64_t), "POOL_SUBPOOL_T__SIZE_ERR")
 

Variables

const pool_subpool_t pool_subpool_undef
 Undef value for a pool_subpool_t pool_subpool_undef = {.pool = EM_POOL_UNDEF, .subpool = 0};.
 

Detailed Description

EM internal POOL types & definitions

Definition in file em_pool_types.h.

Macro Definition Documentation

◆ POOL_ODP2EM_TBL_LEN

#define POOL_ODP2EM_TBL_LEN   256

Length of the mpool_tbl_t::pool_odp2em[] array

Definition at line 95 of file em_pool_types.h.

Variable Documentation

◆ pool_subpool_undef

const pool_subpool_t pool_subpool_undef
extern

Undef value for a pool_subpool_t pool_subpool_undef = {.pool = EM_POOL_UNDEF, .subpool = 0};.

Undef value for a pool_subpool_t pool_subpool_undef = {.pool = EM_POOL_UNDEF, .subpool = 0};

Definition at line 100 of file em_pool.c.