1 /* SPDX-License-Identifier: GPL-2.0-only */ << 2 /********************************************* 1 /****************************************************************************** 3 ********************************************** 2 ******************************************************************************* 4 ** 3 ** 5 ** Copyright (C) Sistina Software, Inc. 1997 4 ** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. 6 ** Copyright (C) 2004-2007 Red Hat, Inc. All 5 ** Copyright (C) 2004-2007 Red Hat, Inc. All rights reserved. 7 ** 6 ** >> 7 ** This copyrighted material is made available to anyone wishing to use, >> 8 ** modify, copy, or redistribute it subject to the terms and conditions >> 9 ** of the GNU General Public License v.2. 8 ** 10 ** 9 ********************************************** 11 ******************************************************************************* 10 ********************************************** 12 ******************************************************************************/ 11 13 12 #ifndef __MEMORY_DOT_H__ 14 #ifndef __MEMORY_DOT_H__ 13 #define __MEMORY_DOT_H__ 15 #define __MEMORY_DOT_H__ 14 16 15 int dlm_memory_init(void); 17 int dlm_memory_init(void); 16 void dlm_memory_exit(void); 18 void dlm_memory_exit(void); 17 struct dlm_rsb *dlm_allocate_rsb(struct dlm_ls 19 struct dlm_rsb *dlm_allocate_rsb(struct dlm_ls *ls); 18 void dlm_free_rsb(struct dlm_rsb *r); 20 void dlm_free_rsb(struct dlm_rsb *r); 19 struct dlm_lkb *dlm_allocate_lkb(struct dlm_ls 21 struct dlm_lkb *dlm_allocate_lkb(struct dlm_ls *ls); 20 void dlm_free_lkb(struct dlm_lkb *l); 22 void dlm_free_lkb(struct dlm_lkb *l); 21 char *dlm_allocate_lvb(struct dlm_ls *ls); 23 char *dlm_allocate_lvb(struct dlm_ls *ls); 22 void dlm_free_lvb(char *l); 24 void dlm_free_lvb(char *l); 23 struct dlm_mhandle *dlm_allocate_mhandle(void) << 24 void dlm_free_mhandle(struct dlm_mhandle *mhan << 25 struct writequeue_entry *dlm_allocate_writeque << 26 void dlm_free_writequeue(struct writequeue_ent << 27 struct dlm_msg *dlm_allocate_msg(void); << 28 void dlm_free_msg(struct dlm_msg *msg); << 29 struct dlm_callback *dlm_allocate_cb(void); << 30 void dlm_free_cb(struct dlm_callback *cb); << 31 25 32 #endif /* __MEMORY_DOT_H__ */ 26 #endif /* __MEMORY_DOT_H__ */ 33 27 34 28
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.