Asterisk - The Open Source Telephony Project GIT-master-a358458
Public Member Functions | Data Fields
MPOOL Struct Reference

#include <mpool.h>

Public Member Functions

void pgin __P ((void *, pgno_t, void *))
 
void pgout __P ((void *, pgno_t, void *))
 
 CIRCLEQ_HEAD (_hqh, _bkt) hqh[HASHSIZE]
 
 CIRCLEQ_HEAD (_lqh, _bkt) lqh
 

Data Fields

pgno_t curcache
 
int fd
 
pgno_t maxcache
 
pgno_t npages
 
u_long pagesize
 
void * pgcookie
 

Detailed Description

Definition at line 66 of file mpool.h.

Member Function Documentation

◆ __P() [1/2]

void pgin __P ( (void *, pgno_t, void *)  )

◆ __P() [2/2]

void pgout __P ( (void *, pgno_t, void *)  )

◆ CIRCLEQ_HEAD() [1/2]

CIRCLEQ_HEAD ( _hqh  ,
_bkt   
)

◆ CIRCLEQ_HEAD() [2/2]

CIRCLEQ_HEAD ( _lqh  ,
_bkt   
)

Field Documentation

◆ curcache

pgno_t curcache

Definition at line 70 of file mpool.h.

Referenced by mpool_bkt().

◆ fd

int fd

Definition at line 74 of file mpool.h.

Referenced by mpool_get(), mpool_sync(), and mpool_write().

◆ maxcache

pgno_t maxcache

Definition at line 71 of file mpool.h.

Referenced by mpool_bkt().

◆ npages

pgno_t npages

Definition at line 72 of file mpool.h.

Referenced by mpool_get(), and mpool_new().

◆ pagesize

u_long pagesize

Definition at line 73 of file mpool.h.

Referenced by mpool_bkt(), mpool_get(), and mpool_write().

◆ pgcookie

void* pgcookie

Definition at line 79 of file mpool.h.

Referenced by mpool_get(), and mpool_write().


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