blob: a78d853b9342829c29be1d80f73767cc5f2e0c98 [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.
6** Copyright (C) 2004-2005 Red Hat, Inc. All rights reserved.
7**
David Teiglande7fd4172006-01-18 09:30:29 +00008**
9*******************************************************************************
10******************************************************************************/
11
12#ifndef __LOCKSPACE_DOT_H__
13#define __LOCKSPACE_DOT_H__
14
15int dlm_lockspace_init(void);
16void dlm_lockspace_exit(void);
17struct dlm_ls *dlm_find_lockspace_global(uint32_t id);
18struct dlm_ls *dlm_find_lockspace_local(void *id);
David Teigland597d0ca2006-07-12 16:44:04 -050019struct dlm_ls *dlm_find_lockspace_device(int minor);
David Teiglande7fd4172006-01-18 09:30:29 +000020void dlm_put_lockspace(struct dlm_ls *ls);
David Teiglanddc68c7e2008-08-18 11:43:30 -050021void dlm_stop_lockspaces(void);
David Teiglande7fd4172006-01-18 09:30:29 +000022
23#endif /* __LOCKSPACE_DOT_H__ */
24