Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /******************************************************************************
0003 *******************************************************************************
0004 **
0005 **  Copyright (C) Sistina Software, Inc.  1997-2003  All rights reserved.
0006 **  Copyright (C) 2004-2005 Red Hat, Inc.  All rights reserved.
0007 **
0008 **
0009 *******************************************************************************
0010 ******************************************************************************/
0011 
0012 #ifndef __LOCKSPACE_DOT_H__
0013 #define __LOCKSPACE_DOT_H__
0014 
0015 int dlm_lockspace_init(void);
0016 void dlm_lockspace_exit(void);
0017 struct dlm_ls *dlm_find_lockspace_global(uint32_t id);
0018 struct dlm_ls *dlm_find_lockspace_local(void *id);
0019 struct dlm_ls *dlm_find_lockspace_device(int minor);
0020 void dlm_put_lockspace(struct dlm_ls *ls);
0021 void dlm_stop_lockspaces(void);
0022 void dlm_stop_lockspaces_check(void);
0023 
0024 #endif              /* __LOCKSPACE_DOT_H__ */
0025