Page MenuHomeClusterLabs Projects

rsb.h
No OneTemporary

/******************************************************************************
*******************************************************************************
**
** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
** Copyright (C) 2004 Red Hat, Inc. All rights reserved.
**
** This copyrighted material is made available to anyone wishing to use,
** modify, copy, or redistribute it subject to the terms and conditions
** of the GNU General Public License v.2.
**
*******************************************************************************
******************************************************************************/
#ifndef __RSB_DOT_H__
#define __RSB_DOT_H__
#define CREATE 1
#define MASTER 2
void lkb_add_ordered(struct list_head *new, struct list_head *head, int mode);
void release_rsb(struct dlm_rsb *r);
void release_rsb_locked(struct dlm_rsb *r);
void hold_rsb(struct dlm_rsb *r);
int find_rsb(struct dlm_ls *ls, struct dlm_rsb *parent, char *name,
int namelen, int flags, struct dlm_rsb **rp);
struct dlm_rsb *find_rsb_to_unlock(struct dlm_ls *ls, struct dlm_lkb *lkb);
void lkb_enqueue(struct dlm_rsb *r, struct dlm_lkb *lkb, int type);
void res_lkb_enqueue(struct dlm_rsb *r, struct dlm_lkb *lkb, int type);
int lkb_dequeue(struct dlm_lkb *lkb);
int res_lkb_dequeue(struct dlm_lkb *lkb);
int lkb_swqueue(struct dlm_rsb *r, struct dlm_lkb *lkb, int type);
int res_lkb_swqueue(struct dlm_rsb *r, struct dlm_lkb *lkb, int type);
#endif /* __RSB_DOT_H__ */

File Metadata

Mime Type
text/x-c
Expires
Thu, Oct 16, 3:24 PM (16 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2524176
Default Alt Text
rsb.h (1 KB)

Event Timeline