12522fe45SThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-only */ 22402211aSDavid Teigland /* 32402211aSDavid Teigland * Copyright (C) 2005-2008 Red Hat, Inc. All rights reserved. 42402211aSDavid Teigland */ 52402211aSDavid Teigland #ifndef __DLM_PLOCK_DOT_H__ 62402211aSDavid Teigland #define __DLM_PLOCK_DOT_H__ 72402211aSDavid Teigland 8607ca46eSDavid Howells #include <uapi/linux/dlm_plock.h> 937eb1f4cSJaswinder Singh Rajput 102402211aSDavid Teigland int dlm_posix_lock(dlm_lockspace_t *lockspace, u64 number, struct file *file, 112402211aSDavid Teigland int cmd, struct file_lock *fl); 122402211aSDavid Teigland int dlm_posix_unlock(dlm_lockspace_t *lockspace, u64 number, struct file *file, 132402211aSDavid Teigland struct file_lock *fl); 14*dc52cd2eSAlexander Aring int dlm_posix_cancel(dlm_lockspace_t *lockspace, u64 number, struct file *file, 15*dc52cd2eSAlexander Aring struct file_lock *fl); 162402211aSDavid Teigland int dlm_posix_get(dlm_lockspace_t *lockspace, u64 number, struct file *file, 172402211aSDavid Teigland struct file_lock *fl); 182402211aSDavid Teigland #endif 19