blob: 4f218ea4b187df0a051f43678ed86e1ad6043118 [file] [log] [blame]
Thomas Gleixner2522fe42019-05-28 09:57:20 -07001/* SPDX-License-Identifier: GPL-2.0-only */
David Teiglande7fd4172006-01-18 09:30:29 +00002/******************************************************************************
3*******************************************************************************
4**
5** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
David Teigland52bda2b2007-11-07 09:06:49 -06006** Copyright (C) 2004-2007 Red Hat, Inc. All rights reserved.
David Teiglande7fd4172006-01-18 09:30:29 +00007**
David Teiglande7fd4172006-01-18 09:30:29 +00008**
9*******************************************************************************
10******************************************************************************/
11
12#ifndef __MEMORY_DOT_H__
13#define __MEMORY_DOT_H__
14
15int dlm_memory_init(void);
16void dlm_memory_exit(void);
David Teigland3881ac02011-07-07 14:05:03 -050017struct dlm_rsb *dlm_allocate_rsb(struct dlm_ls *ls);
David Teigland52bda2b2007-11-07 09:06:49 -060018void dlm_free_rsb(struct dlm_rsb *r);
19struct dlm_lkb *dlm_allocate_lkb(struct dlm_ls *ls);
20void dlm_free_lkb(struct dlm_lkb *l);
21char *dlm_allocate_lvb(struct dlm_ls *ls);
22void dlm_free_lvb(char *l);
David Teiglande7fd4172006-01-18 09:30:29 +000023
24#endif /* __MEMORY_DOT_H__ */
25