Linux Audio

Check our new training course

Loading...
v5.14.15
 1/* SPDX-License-Identifier: GPL-2.0-only */
 2/******************************************************************************
 3*******************************************************************************
 4**
 5**  Copyright (C) Sistina Software, Inc.  1997-2003  All rights reserved.
 6**  Copyright (C) 2004-2007 Red Hat, Inc.  All rights reserved.
 7**
 8**
 9*******************************************************************************
10******************************************************************************/
11
12#ifndef __MEMORY_DOT_H__
13#define __MEMORY_DOT_H__
14
15int dlm_memory_init(void);
16void dlm_memory_exit(void);
17struct dlm_rsb *dlm_allocate_rsb(struct dlm_ls *ls);
18void 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);
23
24#endif		/* __MEMORY_DOT_H__ */
25
v5.4
 1/* SPDX-License-Identifier: GPL-2.0-only */
 2/******************************************************************************
 3*******************************************************************************
 4**
 5**  Copyright (C) Sistina Software, Inc.  1997-2003  All rights reserved.
 6**  Copyright (C) 2004-2007 Red Hat, Inc.  All rights reserved.
 7**
 8**
 9*******************************************************************************
10******************************************************************************/
11
12#ifndef __MEMORY_DOT_H__
13#define __MEMORY_DOT_H__
14
15int dlm_memory_init(void);
16void dlm_memory_exit(void);
17struct dlm_rsb *dlm_allocate_rsb(struct dlm_ls *ls);
18void 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);
23
24#endif		/* __MEMORY_DOT_H__ */
25