Thomas Gleixner | 2522fe4 | 2019-05-28 09:57:20 -0700 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
David Teigland | e7fd417 | 2006-01-18 09:30:29 +0000 | [diff] [blame] | 2 | /****************************************************************************** |
| 3 | ******************************************************************************* |
| 4 | ** |
| 5 | ** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. |
David Teigland | 52bda2b | 2007-11-07 09:06:49 -0600 | [diff] [blame] | 6 | ** Copyright (C) 2004-2007 Red Hat, Inc. All rights reserved. |
David Teigland | e7fd417 | 2006-01-18 09:30:29 +0000 | [diff] [blame] | 7 | ** |
David Teigland | e7fd417 | 2006-01-18 09:30:29 +0000 | [diff] [blame] | 8 | ** |
| 9 | ******************************************************************************* |
| 10 | ******************************************************************************/ |
| 11 | |
| 12 | #ifndef __MEMORY_DOT_H__ |
| 13 | #define __MEMORY_DOT_H__ |
| 14 | |
| 15 | int dlm_memory_init(void); |
| 16 | void dlm_memory_exit(void); |
David Teigland | 3881ac0 | 2011-07-07 14:05:03 -0500 | [diff] [blame] | 17 | struct dlm_rsb *dlm_allocate_rsb(struct dlm_ls *ls); |
David Teigland | 52bda2b | 2007-11-07 09:06:49 -0600 | [diff] [blame] | 18 | void dlm_free_rsb(struct dlm_rsb *r); |
| 19 | struct dlm_lkb *dlm_allocate_lkb(struct dlm_ls *ls); |
| 20 | void dlm_free_lkb(struct dlm_lkb *l); |
| 21 | char *dlm_allocate_lvb(struct dlm_ls *ls); |
| 22 | void dlm_free_lvb(char *l); |
David Teigland | e7fd417 | 2006-01-18 09:30:29 +0000 | [diff] [blame] | 23 | |
| 24 | #endif /* __MEMORY_DOT_H__ */ |
| 25 | |