0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef __MEMORY_DOT_H__
0013 #define __MEMORY_DOT_H__
0014
0015 int dlm_memory_init(void);
0016 void dlm_memory_exit(void);
0017 struct dlm_rsb *dlm_allocate_rsb(struct dlm_ls *ls);
0018 void dlm_free_rsb(struct dlm_rsb *r);
0019 struct dlm_lkb *dlm_allocate_lkb(struct dlm_ls *ls);
0020 void dlm_free_lkb(struct dlm_lkb *l);
0021 char *dlm_allocate_lvb(struct dlm_ls *ls);
0022 void dlm_free_lvb(char *l);
0023 struct dlm_mhandle *dlm_allocate_mhandle(void);
0024 void dlm_free_mhandle(struct dlm_mhandle *mhandle);
0025 struct writequeue_entry *dlm_allocate_writequeue(void);
0026 void dlm_free_writequeue(struct writequeue_entry *writequeue);
0027 struct dlm_msg *dlm_allocate_msg(gfp_t allocation);
0028 void dlm_free_msg(struct dlm_msg *msg);
0029
0030 #endif
0031