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 __MIDCOMMS_DOT_H__
0013 #define __MIDCOMMS_DOT_H__
0014 
0015 struct midcomms_node;
0016 
0017 int dlm_process_incoming_buffer(int nodeid, unsigned char *buf, int buflen);
0018 struct dlm_mhandle *dlm_midcomms_get_mhandle(int nodeid, int len,
0019                          gfp_t allocation, char **ppc);
0020 void dlm_midcomms_commit_mhandle(struct dlm_mhandle *mh);
0021 int dlm_midcomms_close(int nodeid);
0022 int dlm_midcomms_start(void);
0023 void dlm_midcomms_shutdown(void);
0024 void dlm_midcomms_add_member(int nodeid);
0025 void dlm_midcomms_remove_member(int nodeid);
0026 void dlm_midcomms_unack_msg_resend(int nodeid);
0027 const char *dlm_midcomms_state(struct midcomms_node *node);
0028 unsigned long dlm_midcomms_flags(struct midcomms_node *node);
0029 int dlm_midcomms_send_queue_cnt(struct midcomms_node *node);
0030 uint32_t dlm_midcomms_version(struct midcomms_node *node);
0031 int dlm_midcomms_rawmsg_send(struct midcomms_node *node, void *buf,
0032                  int buflen);
0033 struct kmem_cache *dlm_midcomms_cache_create(void);
0034 
0035 #endif              /* __MIDCOMMS_DOT_H__ */
0036