#include "dlm_internal.h"
#include "midcomms.h"
#include "lowcomms.h"
#include "config.h"
#include "memory.h"
#include "ast.h"
static struct kmem_cache *writequeue_cache;
static struct kmem_cache *mhandle_cache;
static struct kmem_cache *msg_cache;
static struct kmem_cache *lkb_cache;
static struct kmem_cache *rsb_cache;
static struct kmem_cache *cb_cache;
int __init dlm_memory_init(void)
{ … }
void dlm_memory_exit(void)
{ … }
char *dlm_allocate_lvb(struct dlm_ls *ls)
{ … }
void dlm_free_lvb(char *p)
{ … }
struct dlm_rsb *dlm_allocate_rsb(struct dlm_ls *ls)
{ … }
static void __free_rsb_rcu(struct rcu_head *rcu)
{ … }
void dlm_free_rsb(struct dlm_rsb *r)
{ … }
struct dlm_lkb *dlm_allocate_lkb(struct dlm_ls *ls)
{ … }
void dlm_free_lkb(struct dlm_lkb *lkb)
{ … }
struct dlm_mhandle *dlm_allocate_mhandle(void)
{ … }
void dlm_free_mhandle(struct dlm_mhandle *mhandle)
{ … }
struct writequeue_entry *dlm_allocate_writequeue(void)
{ … }
void dlm_free_writequeue(struct writequeue_entry *writequeue)
{ … }
struct dlm_msg *dlm_allocate_msg(void)
{ … }
void dlm_free_msg(struct dlm_msg *msg)
{ … }
struct dlm_callback *dlm_allocate_cb(void)
{ … }
void dlm_free_cb(struct dlm_callback *cb)
{ … }