#include <jf/jf_config.h>
#include <jf/jf_recind_pool.h>
Go to the source code of this file.
Defines | |
#define | JF_TRACE_MODULE JF_TRACE_MOD_LIB_RECIND_POOL |
Functions | |
int | jf_recind_pool_create (jf_recind_pool_t *rip, size_t size) |
void | jf_recind_pool_destroy (jf_recind_pool_t *rip) |
void | jf_recind_pool_reset (jf_recind_pool_t *rip) |
|
Definition at line 32 of file jf_recind_pool.c. |
|
Create a new object of type jf_recind_pool_t
References jf_recind_pool_t::array, CATCH, JF_RC_INTERNAL_ERROR, JF_RC_MALLOC_ERROR, JF_RC_OK, jf_recind_pool_reset(), jf_recind_seq_create(), JF_TRACE, jf_recind_pool_t::size, and THROW. Referenced by jf_journal_cold_recovery(), and jf_journal_cold_recovery_prep_pool(). |
|
Destroy an object of type jf_recind_pool_t NOTE: the object MUST be created calling jf_recind_pool_create before this method can be invoked
References jf_recind_pool_t::array, jf_offset_t, jf_recind_pool_is_safe(), jf_recind_pool_reset(), jf_recind_seq_destroy(), JF_TRACE, and jf_recind_pool_t::size. Referenced by jf_journal_cold_recovery(), and jf_journal_cold_recovery_prep_pool(). |
|
Reset a jf_recind_pool_t object
References jf_recind_pool_t::array, JF_TRACE, and jf_recind_pool_t::size. Referenced by jf_recind_pool_create(), and jf_recind_pool_destroy(). |