Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * Copyright (C) 2005-2008 Red Hat, Inc.  All rights reserved.
0004  */
0005 #ifndef __DLM_PLOCK_DOT_H__
0006 #define __DLM_PLOCK_DOT_H__
0007 
0008 #include <uapi/linux/dlm_plock.h>
0009 
0010 int dlm_posix_lock(dlm_lockspace_t *lockspace, u64 number, struct file *file,
0011         int cmd, struct file_lock *fl);
0012 int dlm_posix_unlock(dlm_lockspace_t *lockspace, u64 number, struct file *file,
0013         struct file_lock *fl);
0014 int dlm_posix_get(dlm_lockspace_t *lockspace, u64 number, struct file *file,
0015         struct file_lock *fl);
0016 #endif